From 6b0be185bed2d20c4c6d0a0b3a4f7f9127107783 Mon Sep 17 00:00:00 2001 From: divyanshujethi Date: Tue, 24 Nov 2026 23:01:48 +0530 Subject: [PATCH] fix(ci): format types.ts with Biome and streamline CI matrix to ubuntu and windows --- .github/workflows/ci.yml | 2 +- src/metadata/types.ts | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) 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;