mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 09:20:21 -04:00
a9a1326b92
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? This is a prototype for private apps UI. There are no endpoints at the minute, just wanted to see what a potential flow could look like.
10 lines
512 B
TypeScript
10 lines
512 B
TypeScript
export const platformAppKeys = {
|
|
list: (slug: string | undefined) => ['organizations', slug, 'platform-apps'] as const,
|
|
detail: (slug: string | undefined, id: string | undefined) =>
|
|
['organizations', slug, 'platform-apps', id] as const,
|
|
signingKeys: (slug: string | undefined, appId: string | undefined) =>
|
|
['organizations', slug, 'platform-apps', appId, 'signing-keys'] as const,
|
|
installations: (slug: string | undefined) =>
|
|
['organizations', slug, 'platform-app-installations'] as const,
|
|
}
|