mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 06:39:09 +03:00
* Add restrictions for orioledb technical preview * Add callouts to pgvector and postgis if orioledb * Restrict restore to new project for orioledb * Scaffold client side validation for preventing org upgrade if org has oriole db present * Hook up proper logic for oriole * Fix * Remove console log * Fix type * Disable version selector if only one version is available * chore: oriole badges * UI updates based on requests * Update copy * Fix * Dont open assistant if opt is selected * Fix * Fix * Update badge * Add feature flag for orioleDB * Feature flag oriole check in plan update --------- Co-authored-by: Paul Cioanca <paul.cioanca@supabase.io>
21 lines
1.2 KiB
TypeScript
21 lines
1.2 KiB
TypeScript
export const organizationKeys = {
|
|
list: () => ['organizations'] as const,
|
|
detail: (slug?: string) => ['organizations', slug] as const,
|
|
members: (slug?: string) => ['organizations', slug, 'members'] as const,
|
|
paymentMethods: (slug: string | undefined) => ['organizations', slug, 'payment-methods'] as const,
|
|
roles: (slug: string | undefined) => ['organizations', slug, 'roles'] as const,
|
|
freeProjectLimitCheck: (slug: string | undefined) =>
|
|
['organizations', slug, 'free-project-limit-check'] as const,
|
|
customerProfile: (slug: string | undefined) =>
|
|
['organizations', slug, 'customer-profile'] as const,
|
|
auditLogs: (
|
|
slug: string | undefined,
|
|
{ date_start, date_end }: { date_start: string | undefined; date_end: string | undefined }
|
|
) => ['organizations', slug, 'audit-logs', { date_start, date_end }] as const,
|
|
subscriptionPreview: (slug: string | undefined, tier: string | undefined) =>
|
|
['organizations', slug, 'subscription', 'preview', tier] as const,
|
|
taxId: (slug: string | undefined) => ['organizations', slug, 'tax-ids'] as const,
|
|
tokenValidation: (slug: string | undefined, token: string | undefined) =>
|
|
['organizations', slug, 'validate-token', token] as const,
|
|
}
|