From 019d344b63bfda8e85c45d67d653de234b831f5d Mon Sep 17 00:00:00 2001 From: Xata Bot <97746683+xata-bot@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:06:37 +0000 Subject: [PATCH] [OpenAPI] Spec updates (#1236) Co-authored-by: simonapencea --- packages/client/src/api/controlPlaneComponents.ts | 7 +++++++ packages/client/src/api/dataPlaneComponents.ts | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/packages/client/src/api/controlPlaneComponents.ts b/packages/client/src/api/controlPlaneComponents.ts index 24a2658c8..23405c52e 100644 --- a/packages/client/src/api/controlPlaneComponents.ts +++ b/packages/client/src/api/controlPlaneComponents.ts @@ -1289,6 +1289,13 @@ export type CreateDatabaseRequestBody = { * @minLength 1 */ region: string; + /** + * The dedicated cluster where branches from this database will be created. Defaults to 'xata-cloud'. + * + * @minLength 1 + * @x-internal true + */ + defaultClusterID?: string; ui?: { color?: string; }; diff --git a/packages/client/src/api/dataPlaneComponents.ts b/packages/client/src/api/dataPlaneComponents.ts index ab9e63823..754954b07 100644 --- a/packages/client/src/api/dataPlaneComponents.ts +++ b/packages/client/src/api/dataPlaneComponents.ts @@ -132,6 +132,13 @@ export type CreateBranchRequestBody = { * Select the branch to fork from. Defaults to 'main' */ from?: string; + /** + * Select the dedicated cluster to create on. Defaults to 'xata-cloud' + * + * @minLength 1 + * @x-internal true + */ + clusterID?: string; metadata?: Schemas.BranchMetadata; };