shoal-web-sdk 0.0.160 → 0.0.161

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.
@@ -2081,7 +2081,12 @@ export type CreateEnvironmentData = {
2081
2081
  */
2082
2082
  projectHandle: string;
2083
2083
  };
2084
- query?: never;
2084
+ query?: {
2085
+ /**
2086
+ * Determine whether space code should be read by space handle
2087
+ */
2088
+ spaceByHandle?: string;
2089
+ };
2085
2090
  url: '/auth/{spaceHandle}/{projectHandle}/environments/create';
2086
2091
  };
2087
2092
  export type CreateEnvironmentErrors = {
@@ -2462,7 +2467,12 @@ export type UpdateGraphStateData = {
2462
2467
  */
2463
2468
  version: string;
2464
2469
  };
2465
- query?: never;
2470
+ query?: {
2471
+ /**
2472
+ * Determine whether space code should be read by space handle
2473
+ */
2474
+ spaceByHandle?: string;
2475
+ };
2466
2476
  url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/{version}/graph';
2467
2477
  };
2468
2478
  export type UpdateGraphStateErrors = {
@@ -2412,7 +2412,9 @@ export declare const zCreateEnvironmentData: z.ZodObject<{
2412
2412
  spaceHandle: z.ZodString;
2413
2413
  projectHandle: z.ZodString;
2414
2414
  }, z.core.$strip>;
2415
- query: z.ZodOptional<z.ZodNever>;
2415
+ query: z.ZodOptional<z.ZodObject<{
2416
+ spaceByHandle: z.ZodOptional<z.ZodString>;
2417
+ }, z.core.$strip>>;
2416
2418
  }, z.core.$strip>;
2417
2419
  /**
2418
2420
  * Successfully created an environment inside a project.
@@ -2817,7 +2819,9 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
2817
2819
  environmentHandle: z.ZodString;
2818
2820
  version: z.ZodString;
2819
2821
  }, z.core.$strip>;
2820
- query: z.ZodOptional<z.ZodNever>;
2822
+ query: z.ZodOptional<z.ZodObject<{
2823
+ spaceByHandle: z.ZodOptional<z.ZodString>;
2824
+ }, z.core.$strip>>;
2821
2825
  }, z.core.$strip>;
2822
2826
  export declare const zDeployVersionData: z.ZodObject<{
2823
2827
  body: z.ZodOptional<z.ZodNever>;
@@ -1056,7 +1056,9 @@ export const zCreateEnvironmentData = z.object({
1056
1056
  spaceHandle: z.string(),
1057
1057
  projectHandle: z.string()
1058
1058
  }),
1059
- query: z.optional(z.never())
1059
+ query: z.optional(z.object({
1060
+ spaceByHandle: z.optional(z.string())
1061
+ }))
1060
1062
  });
1061
1063
  /**
1062
1064
  * Successfully created an environment inside a project.
@@ -1164,7 +1166,9 @@ export const zUpdateGraphStateData = z.object({
1164
1166
  environmentHandle: z.string(),
1165
1167
  version: z.string()
1166
1168
  }),
1167
- query: z.optional(z.never())
1169
+ query: z.optional(z.object({
1170
+ spaceByHandle: z.optional(z.string())
1171
+ }))
1168
1172
  });
1169
1173
  export const zDeployVersionData = z.object({
1170
1174
  body: z.optional(z.never()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.160",
3
+ "version": "0.0.161",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",