mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
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.
6 lines
258 B
TypeScript
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,
|
|
}
|