authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-26 19:34:53-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-26 19:34:53-08:00
log501335bc313f1006b6e4143b2d9539d3cdfaca71
tree62e1e9c70de997c97a2f02c294376622a0d2e6c3
parent0cfaf7325ec314cfc9582a6ae9bcb22a8d9bfb4d

maybe fix test


1 files changed, 2 insertions(+), 3 deletions(-)

apps/web/src/lib/gitReactQuery.ts+2-3
...@@ -1,6 +1,6 @@...@@ -1,6 +1,6 @@
1import type { GitStackedAction } from "@t3tools/contracts";1import type { GitStackedAction } from "@t3tools/contracts";
2import { mutationOptions, queryOptions, type QueryClient } from "@tanstack/react-query";2import { mutationOptions, queryOptions, type QueryClient } from "@tanstack/react-query";
3import { ensureNativeApi } from "~/nativeApi";3import { ensureNativeApi } from "../nativeApi";
44
5const GIT_STATUS_STALE_TIME_MS = 5_000;5const GIT_STATUS_STALE_TIME_MS = 5_000;
6const GIT_STATUS_REFETCH_INTERVAL_MS = 15_000;6const GIT_STATUS_REFETCH_INTERVAL_MS = 15_000;
...@@ -18,8 +18,7 @@ export const gitMutationKeys = {...@@ -18,8 +18,7 @@ export const gitMutationKeys = {
18 checkout: (cwd: string | null) => ["git", "mutation", "checkout", cwd] as const,18 checkout: (cwd: string | null) => ["git", "mutation", "checkout", cwd] as const,
19 createBranchAndCheckout: (cwd: string | null) =>19 createBranchAndCheckout: (cwd: string | null) =>
20 ["git", "mutation", "create-branch-and-checkout", cwd] as const,20 ["git", "mutation", "create-branch-and-checkout", cwd] as const,
21 runStackedAction: (cwd: string | null) =>21 runStackedAction: (cwd: string | null) => ["git", "mutation", "run-stacked-action", cwd] as const,
22 ["git", "mutation", "run-stacked-action", cwd] as const,
23 pull: (cwd: string | null) => ["git", "mutation", "pull", cwd] as const,22 pull: (cwd: string | null) => ["git", "mutation", "pull", cwd] as const,
24};23};
2524