shoal-web-sdk 0.0.175 → 0.0.176

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.
@@ -588,6 +588,10 @@ export type VersionUuid = string;
588
588
  * Optional version UUID to exclude from the environment versions response.
589
589
  */
590
590
  export type ExcludeVersionUuidQuery = string;
591
+ /**
592
+ * A list of statuses.
593
+ */
594
+ export type DeploymentStatusesQuery = Array<DeploymentStatus>;
591
595
  /**
592
596
  * Optional version status to filter the environment versions response.
593
597
  */
@@ -2262,9 +2266,9 @@ export type GetEnvironmentVersionsData = {
2262
2266
  */
2263
2267
  limit?: number;
2264
2268
  /**
2265
- * Optional version status to filter the environment versions response.
2269
+ * A list of statuses.
2266
2270
  */
2267
- status?: DeploymentStatus;
2271
+ statuses?: Array<DeploymentStatus>;
2268
2272
  };
2269
2273
  url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/versions';
2270
2274
  };
@@ -1141,6 +1141,18 @@ export declare const zVersionUuid: z.ZodUUID;
1141
1141
  * Optional version UUID to exclude from the environment versions response.
1142
1142
  */
1143
1143
  export declare const zExcludeVersionUuidQuery: z.ZodUUID;
1144
+ /**
1145
+ * A list of statuses.
1146
+ */
1147
+ export declare const zDeploymentStatusesQuery: z.ZodArray<z.ZodEnum<{
1148
+ pending: "pending";
1149
+ prebuilding: "prebuilding";
1150
+ building: "building";
1151
+ deploying: "deploying";
1152
+ configuring: "configuring";
1153
+ succeeded: "succeeded";
1154
+ failed: "failed";
1155
+ }>>;
1144
1156
  /**
1145
1157
  * Optional version status to filter the environment versions response.
1146
1158
  */
@@ -2437,7 +2449,7 @@ export declare const zGetEnvironmentVersionsData: z.ZodObject<{
2437
2449
  query: z.ZodOptional<z.ZodObject<{
2438
2450
  page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
2439
2451
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
2440
- status: z.ZodOptional<z.ZodEnum<{
2452
+ statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2441
2453
  pending: "pending";
2442
2454
  prebuilding: "prebuilding";
2443
2455
  building: "building";
@@ -2445,7 +2457,7 @@ export declare const zGetEnvironmentVersionsData: z.ZodObject<{
2445
2457
  configuring: "configuring";
2446
2458
  succeeded: "succeeded";
2447
2459
  failed: "failed";
2448
- }>>;
2460
+ }>>>;
2449
2461
  }, z.core.$strip>>;
2450
2462
  }, z.core.$strip>;
2451
2463
  /**
@@ -570,6 +570,10 @@ export const zVersionUuid = z.uuid();
570
570
  * Optional version UUID to exclude from the environment versions response.
571
571
  */
572
572
  export const zExcludeVersionUuidQuery = z.uuid();
573
+ /**
574
+ * A list of statuses.
575
+ */
576
+ export const zDeploymentStatusesQuery = z.array(zDeploymentStatus);
573
577
  /**
574
578
  * Optional version status to filter the environment versions response.
575
579
  */
@@ -1065,7 +1069,7 @@ export const zGetEnvironmentVersionsData = z.object({
1065
1069
  query: z.optional(z.object({
1066
1070
  page: z.optional(z.int().gte(1)).default(1),
1067
1071
  limit: z.optional(z.int().gte(1).lte(100)).default(10),
1068
- status: z.optional(zDeploymentStatus)
1072
+ statuses: z.optional(z.array(zDeploymentStatus))
1069
1073
  }))
1070
1074
  });
1071
1075
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.175",
3
+ "version": "0.0.176",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",