diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6216782..36187f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, windows-latest] node: [20, 22, 24] steps: diff --git a/src/metadata/types.ts b/src/metadata/types.ts index 0075b0f..61df13c 100644 --- a/src/metadata/types.ts +++ b/src/metadata/types.ts @@ -82,10 +82,26 @@ export interface MetadataStore { // Workspaces getWorkspaceBySlug(slug: string): Promise; getWorkspaceById(id: string): Promise; - ensureWorkspace(slug: string, name?: string, quotaBytes?: number, tier?: WorkspaceTier): Promise; + ensureWorkspace( + slug: string, + name?: string, + quotaBytes?: number, + tier?: WorkspaceTier, + ): Promise; updateWorkspace( id: string, - updates: Partial> + updates: Partial< + Pick< + Workspace, + | "name" + | "quotaBytes" + | "tier" + | "subscriptionId" + | "subscriptionStatus" + | "subscriptionExpiresAt" + | "defaultTtlSeconds" + > + >, ): Promise; listWorkspaces(): Promise;