mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
* Update UI to de-couple ETL replication context from Analytics Buckets * Nit * Nit * nit * Address all feedback * Address feedback * Add enabled feature check for analytics and vector buckets * FIXX * Update apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/TableRowComponent.tsx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> --------- Co-authored-by: Alaister Young <alaister@users.noreply.github.com> Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
54 lines
1.6 KiB
TypeScript
54 lines
1.6 KiB
TypeScript
export const storageKeys = {
|
|
buckets: (projectRef: string | undefined) => ['projects', projectRef, 'buckets'] as const,
|
|
analyticsBuckets: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'analytics-buckets'] as const,
|
|
vectorBuckets: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'vector-buckets'] as const,
|
|
vectorBucket: (projectRef: string | undefined, vectorbucketName: string | undefined) =>
|
|
['projects', projectRef, 'vector-bucket', vectorbucketName] as const,
|
|
vectorBucketsIndexes: (projectRef: string | undefined, vectorBucketName: string | undefined) =>
|
|
['projects', projectRef, 'vector-buckets', vectorBucketName, 'indexes'] as const,
|
|
archive: (projectRef: string | undefined) => ['projects', projectRef, 'archive'] as const,
|
|
icebergNamespaces: ({
|
|
projectRef,
|
|
catalog,
|
|
warehouse,
|
|
}: {
|
|
projectRef?: string
|
|
catalog: string
|
|
warehouse: string
|
|
}) => [projectRef, 'catalog', catalog, 'warehouse', warehouse, 'namespaces'] as const,
|
|
icebergNamespace: ({
|
|
projectRef,
|
|
catalog,
|
|
warehouse,
|
|
namespace,
|
|
}: {
|
|
projectRef?: string
|
|
catalog: string
|
|
warehouse: string
|
|
namespace: string
|
|
}) => [projectRef, 'catalog', catalog, 'warehouse', warehouse, 'namespaces', namespace] as const,
|
|
icebergNamespaceTables: ({
|
|
projectRef,
|
|
catalog,
|
|
warehouse,
|
|
namespace,
|
|
}: {
|
|
projectRef?: string
|
|
catalog: string
|
|
warehouse: string
|
|
namespace: string
|
|
}) =>
|
|
[
|
|
projectRef,
|
|
'catalog',
|
|
catalog,
|
|
'warehouse',
|
|
warehouse,
|
|
'namespaces',
|
|
namespace,
|
|
'tables',
|
|
] as const,
|
|
}
|