mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 11:55:05 +03:00
* chore: remove unused mutation to disable branching * chore: use branch ref in delete mutation * chore: use branch ref in diff query * chore: use branch ref in push mutation * chore: use branch ref in detail query * chore: use branch ref in update mutation * Update apps/studio/data/branches/branch-query.ts Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> --------- Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
8 lines
403 B
TypeScript
8 lines
403 B
TypeScript
export const branchKeys = {
|
|
list: (projectRef: string | undefined) => ['projects', projectRef, 'branches'] as const,
|
|
detail: (projectRef: string | undefined, branchRef: string | undefined) =>
|
|
['projects', projectRef, 'branches', branchRef] as const,
|
|
diff: (projectRef: string | undefined, branchRef: string | undefined) =>
|
|
['projects', projectRef, 'branch', branchRef, 'diff'] as const,
|
|
}
|