Skip to content

Commit

Permalink
[OpenAPI] Spec updates (#1236)
Browse files Browse the repository at this point in the history
Co-authored-by: simonapencea <[email protected]>
  • Loading branch information
xata-bot and simonapencea authored Nov 2, 2023
1 parent 786fc78 commit 019d344
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/client/src/api/controlPlaneComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
7 changes: 7 additions & 0 deletions packages/client/src/api/dataPlaneComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 019d344

Please sign in to comment.