Files
supabase/apps/studio/data/workers/keys.ts
T
Jordi Enric c3df56c22f refactor(studio): read workers through React Query instead of a valtio store
Moves the seed data behind data/workers query options so swapping in the v2
endpoint is a change to one function, and drops the constants the removed
create dialog left behind.
2026-08-18 14:16:25 +02:00

6 lines
258 B
TypeScript

export const workersKeys = {
list: (projectRef: string | undefined) => ['projects', projectRef, 'workers'] as const,
detail: (projectRef: string | undefined, name: string | undefined) =>
['projects', projectRef, 'worker', name, 'detail'] as const,
}