init: initial commit

This commit is contained in:
Blizzard
2026-08-02 21:15:48 +08:00
commit 48119ef99b
83 changed files with 13349 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
export const queryKeys = {
projects: {
all: ["projects"] as const,
detail: (id: string) => ["projects", id] as const,
},
tasks: {
all: ["tasks"] as const,
detail: (id: string) => ["tasks", id] as const,
byProject: (projectId: string) => ["tasks", "project", projectId] as const,
},
files: {
tree: (projectId: string, dir?: string) =>
["files", "tree", projectId, dir] as const,
content: (projectId: string, filePath: string) =>
["files", "content", projectId, filePath] as const,
},
git: {
status: (projectId: string) => ["git", "status", projectId] as const,
},
} as const;