shoal-web-sdk 0.0.175 → 0.0.177
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.
- package/dist/sdk/types.gen.d.ts +7 -2
- package/dist/sdk/zod.gen.d.ts +17 -2
- package/dist/sdk/zod.gen.js +6 -1
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -318,6 +318,7 @@ export type Version = {
|
|
|
318
318
|
};
|
|
319
319
|
export type Graph = {
|
|
320
320
|
versionUUID: string;
|
|
321
|
+
version: number;
|
|
321
322
|
nodes: Array<Node>;
|
|
322
323
|
};
|
|
323
324
|
export type Edge = {
|
|
@@ -588,6 +589,10 @@ export type VersionUuid = string;
|
|
|
588
589
|
* Optional version UUID to exclude from the environment versions response.
|
|
589
590
|
*/
|
|
590
591
|
export type ExcludeVersionUuidQuery = string;
|
|
592
|
+
/**
|
|
593
|
+
* A list of statuses.
|
|
594
|
+
*/
|
|
595
|
+
export type DeploymentStatusesQuery = Array<DeploymentStatus>;
|
|
591
596
|
/**
|
|
592
597
|
* Optional version status to filter the environment versions response.
|
|
593
598
|
*/
|
|
@@ -2262,9 +2267,9 @@ export type GetEnvironmentVersionsData = {
|
|
|
2262
2267
|
*/
|
|
2263
2268
|
limit?: number;
|
|
2264
2269
|
/**
|
|
2265
|
-
*
|
|
2270
|
+
* A list of statuses.
|
|
2266
2271
|
*/
|
|
2267
|
-
|
|
2272
|
+
statuses?: Array<DeploymentStatus>;
|
|
2268
2273
|
};
|
|
2269
2274
|
url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/versions';
|
|
2270
2275
|
};
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -818,6 +818,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
818
818
|
}, z.core.$strip>;
|
|
819
819
|
export declare const zGraph: z.ZodObject<{
|
|
820
820
|
versionUUID: z.ZodUUID;
|
|
821
|
+
version: z.ZodInt;
|
|
821
822
|
nodes: z.ZodArray<z.ZodObject<{
|
|
822
823
|
id: z.ZodUUID;
|
|
823
824
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1141,6 +1142,18 @@ export declare const zVersionUuid: z.ZodUUID;
|
|
|
1141
1142
|
* Optional version UUID to exclude from the environment versions response.
|
|
1142
1143
|
*/
|
|
1143
1144
|
export declare const zExcludeVersionUuidQuery: z.ZodUUID;
|
|
1145
|
+
/**
|
|
1146
|
+
* A list of statuses.
|
|
1147
|
+
*/
|
|
1148
|
+
export declare const zDeploymentStatusesQuery: z.ZodArray<z.ZodEnum<{
|
|
1149
|
+
pending: "pending";
|
|
1150
|
+
prebuilding: "prebuilding";
|
|
1151
|
+
building: "building";
|
|
1152
|
+
deploying: "deploying";
|
|
1153
|
+
configuring: "configuring";
|
|
1154
|
+
succeeded: "succeeded";
|
|
1155
|
+
failed: "failed";
|
|
1156
|
+
}>>;
|
|
1144
1157
|
/**
|
|
1145
1158
|
* Optional version status to filter the environment versions response.
|
|
1146
1159
|
*/
|
|
@@ -1297,6 +1310,7 @@ export declare const zFetchGraphM2mData: z.ZodObject<{
|
|
|
1297
1310
|
*/
|
|
1298
1311
|
export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
1299
1312
|
versionUUID: z.ZodUUID;
|
|
1313
|
+
version: z.ZodInt;
|
|
1300
1314
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1301
1315
|
id: z.ZodUUID;
|
|
1302
1316
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2437,7 +2451,7 @@ export declare const zGetEnvironmentVersionsData: z.ZodObject<{
|
|
|
2437
2451
|
query: z.ZodOptional<z.ZodObject<{
|
|
2438
2452
|
page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
2439
2453
|
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
2440
|
-
|
|
2454
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2441
2455
|
pending: "pending";
|
|
2442
2456
|
prebuilding: "prebuilding";
|
|
2443
2457
|
building: "building";
|
|
@@ -2445,7 +2459,7 @@ export declare const zGetEnvironmentVersionsData: z.ZodObject<{
|
|
|
2445
2459
|
configuring: "configuring";
|
|
2446
2460
|
succeeded: "succeeded";
|
|
2447
2461
|
failed: "failed";
|
|
2448
|
-
}
|
|
2462
|
+
}>>>;
|
|
2449
2463
|
}, z.core.$strip>>;
|
|
2450
2464
|
}, z.core.$strip>;
|
|
2451
2465
|
/**
|
|
@@ -2596,6 +2610,7 @@ export declare const zGetGraphOverviewData: z.ZodObject<{
|
|
|
2596
2610
|
*/
|
|
2597
2611
|
export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
2598
2612
|
versionUUID: z.ZodUUID;
|
|
2613
|
+
version: z.ZodInt;
|
|
2599
2614
|
nodes: z.ZodArray<z.ZodObject<{
|
|
2600
2615
|
id: z.ZodUUID;
|
|
2601
2616
|
name: z.ZodOptional<z.ZodString>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -446,6 +446,7 @@ export const zNodes = z.object({
|
|
|
446
446
|
});
|
|
447
447
|
export const zGraph = z.object({
|
|
448
448
|
versionUUID: z.uuid(),
|
|
449
|
+
version: z.int(),
|
|
449
450
|
nodes: z.array(zNode)
|
|
450
451
|
});
|
|
451
452
|
export const zSignedUrlUploadResponse = z.object({
|
|
@@ -570,6 +571,10 @@ export const zVersionUuid = z.uuid();
|
|
|
570
571
|
* Optional version UUID to exclude from the environment versions response.
|
|
571
572
|
*/
|
|
572
573
|
export const zExcludeVersionUuidQuery = z.uuid();
|
|
574
|
+
/**
|
|
575
|
+
* A list of statuses.
|
|
576
|
+
*/
|
|
577
|
+
export const zDeploymentStatusesQuery = z.array(zDeploymentStatus);
|
|
573
578
|
/**
|
|
574
579
|
* Optional version status to filter the environment versions response.
|
|
575
580
|
*/
|
|
@@ -1065,7 +1070,7 @@ export const zGetEnvironmentVersionsData = z.object({
|
|
|
1065
1070
|
query: z.optional(z.object({
|
|
1066
1071
|
page: z.optional(z.int().gte(1)).default(1),
|
|
1067
1072
|
limit: z.optional(z.int().gte(1).lte(100)).default(10),
|
|
1068
|
-
|
|
1073
|
+
statuses: z.optional(z.array(zDeploymentStatus))
|
|
1069
1074
|
}))
|
|
1070
1075
|
});
|
|
1071
1076
|
/**
|