shoal-web-sdk 1.0.65 → 1.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -268,6 +268,10 @@ export type CloneEnvironment = {
268
268
  * The environment variables to carry over into the clone. Only the keys and values listed here are copied; any other variable on the source environment is dropped.
269
269
  */
270
270
  variables: Array<EnvironmentVariable>;
271
+ /**
272
+ * When true the clone keeps the database settings of the source's Neon and MongoDB nodes, so both environments point at the same database. When false or omitted those settings are reset and the cloned environment provisions its own databases on deploy. No other node type is affected either way.
273
+ */
274
+ cloneDbSettings?: boolean;
271
275
  };
272
276
  export type OnboardingAnalytics = {
273
277
  /**
@@ -3147,6 +3151,10 @@ export type CreateSpaceErrors = {
3147
3151
  * Related content not found.
3148
3152
  */
3149
3153
  404: ErrorResponse;
3154
+ /**
3155
+ * A space with this handle already exists.
3156
+ */
3157
+ 409: ErrorResponse;
3150
3158
  /**
3151
3159
  * Unexpected error.
3152
3160
  */
@@ -330,6 +330,7 @@ export declare const zCloneEnvironment: z.ZodObject<{
330
330
  value: z.ZodString;
331
331
  isExported: z.ZodBoolean;
332
332
  }, z.core.$strip>>;
333
+ cloneDbSettings: z.ZodOptional<z.ZodBoolean>;
333
334
  }, z.core.$strip>;
334
335
  export declare const zOnboardingAnalytics: z.ZodObject<{
335
336
  occupation: z.ZodOptional<z.ZodString>;
@@ -5576,6 +5577,7 @@ export declare const zCloneEnvironmentData: z.ZodObject<{
5576
5577
  value: z.ZodString;
5577
5578
  isExported: z.ZodBoolean;
5578
5579
  }, z.core.$strip>>;
5580
+ cloneDbSettings: z.ZodOptional<z.ZodBoolean>;
5579
5581
  }, z.core.$strip>;
5580
5582
  path: z.ZodObject<{
5581
5583
  spaceHandle: z.ZodString;
@@ -239,7 +239,8 @@ export const zCloneEnvironment = z.object({
239
239
  name: zPlainString,
240
240
  handle: z.string(),
241
241
  description: z.optional(z.string()),
242
- variables: z.array(zEnvironmentVariable)
242
+ variables: z.array(zEnvironmentVariable),
243
+ cloneDbSettings: z.optional(z.boolean())
243
244
  });
244
245
  export const zOnboardingAnalytics = z.object({
245
246
  occupation: z.optional(z.string()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",