| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | import type { GitStackedAction } from "@t3tools/contracts"; | 1 | import type { GitStackedAction } from "@t3tools/contracts"; |
| 2 | import { mutationOptions, queryOptions, type QueryClient } from "@tanstack/react-query"; | 2 | import { mutationOptions, queryOptions, type QueryClient } from "@tanstack/react-query"; |
| 3 | import { ensureNativeApi } from "~/nativeApi"; | 3 | import { ensureNativeApi } from "../nativeApi"; |
| 4 | | 4 | |
| 5 | const GIT_STATUS_STALE_TIME_MS = 5_000; | 5 | const GIT_STATUS_STALE_TIME_MS = 5_000; |
| 6 | const GIT_STATUS_REFETCH_INTERVAL_MS = 15_000; | 6 | const 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 | }; |
| 25 | | 24 | |