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