Files
supabase/apps/studio/data/branches/keys.ts
Alaister Young a8ee3a212b feat: branching statuses first pass (#20631)
* feat: branching statuses first pass

* handle error

* use warning icon
2024-02-29 20:18:00 +11:00

6 lines
246 B
TypeScript

export const branchKeys = {
list: (projectRef: string | undefined) => ['projects', projectRef, 'branches'] as const,
detail: (projectRef: string | undefined, id: string | undefined) =>
['projects', projectRef, 'branches', id] as const,
}