mirror of
https://github.com/supabase/supabase.git
synced 2026-09-22 13:37:53 +08:00
0bf22ee6fc
workers -> compute <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added the Compute experience for deploying, viewing, managing, and monitoring compute instances. - Added Compute navigation, instance detail pages, secrets, logs, deployment dialogs, generated snippets, and CLI commands. - Added filtering, status, availability, and data-loading support for compute instances. - **Updates** - Updated labels, icons, links, feature controls, unified logs, and secret-deletion messaging to use Compute terminology. - Compute routes now replace the previous Workers routes and pages. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
16 lines
553 B
TypeScript
16 lines
553 B
TypeScript
export const computeKeys = {
|
|
list: (projectRef: string | undefined) => ['projects', projectRef, 'compute'] as const,
|
|
detail: (projectRef: string | undefined, name: string | undefined) =>
|
|
['projects', projectRef, 'instance', name, 'detail'] as const,
|
|
logs: (
|
|
projectRef: string | undefined,
|
|
name: string | undefined,
|
|
stream: string,
|
|
filters: {
|
|
iso_timestamp_start?: string
|
|
iso_timestamp_end?: string
|
|
message?: string
|
|
}
|
|
) => ['projects', projectRef, 'instance', name, 'logs', stream, filters] as const,
|
|
}
|