shoal-web-sdk 0.0.133 → 0.0.134

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.
@@ -86,11 +86,14 @@ export type SpaceOverview = {
86
86
  export type SpaceOrgCodeResponse = {
87
87
  orgCode: string;
88
88
  };
89
+ export type EnvironmentStatus = 'idle' | 'deploying';
89
90
  export type EnvironmentOverview = {
90
91
  id: string;
91
92
  name: string;
92
93
  handle: string;
93
94
  description: string;
95
+ deployingVersionID?: string;
96
+ status: EnvironmentStatus;
94
97
  createdAt: string;
95
98
  updatedAt: string;
96
99
  versions: number;
@@ -123,11 +123,20 @@ export declare const zOnboardingAnalytics: z.ZodObject<{
123
123
  export declare const zSpaceOrgCodeResponse: z.ZodObject<{
124
124
  orgCode: z.ZodString;
125
125
  }, z.core.$strip>;
126
+ export declare const zEnvironmentStatus: z.ZodEnum<{
127
+ deploying: "deploying";
128
+ idle: "idle";
129
+ }>;
126
130
  export declare const zEnvironmentOverview: z.ZodObject<{
127
131
  id: z.ZodUUID;
128
132
  name: z.ZodString;
129
133
  handle: z.ZodString;
130
134
  description: z.ZodString;
135
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
136
+ status: z.ZodEnum<{
137
+ deploying: "deploying";
138
+ idle: "idle";
139
+ }>;
131
140
  createdAt: z.ZodISODateTime;
132
141
  updatedAt: z.ZodISODateTime;
133
142
  versions: z.ZodInt;
@@ -145,6 +154,11 @@ export declare const zProjectOverview: z.ZodObject<{
145
154
  name: z.ZodString;
146
155
  handle: z.ZodString;
147
156
  description: z.ZodString;
157
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
158
+ status: z.ZodEnum<{
159
+ deploying: "deploying";
160
+ idle: "idle";
161
+ }>;
148
162
  createdAt: z.ZodISODateTime;
149
163
  updatedAt: z.ZodISODateTime;
150
164
  versions: z.ZodInt;
@@ -167,6 +181,11 @@ export declare const zSpaceOverview: z.ZodObject<{
167
181
  name: z.ZodString;
168
182
  handle: z.ZodString;
169
183
  description: z.ZodString;
184
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
185
+ status: z.ZodEnum<{
186
+ deploying: "deploying";
187
+ idle: "idle";
188
+ }>;
170
189
  createdAt: z.ZodISODateTime;
171
190
  updatedAt: z.ZodISODateTime;
172
191
  versions: z.ZodInt;
@@ -381,6 +400,11 @@ export declare const zUserSpacesResponse: z.ZodObject<{
381
400
  name: z.ZodString;
382
401
  handle: z.ZodString;
383
402
  description: z.ZodString;
403
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
404
+ status: z.ZodEnum<{
405
+ deploying: "deploying";
406
+ idle: "idle";
407
+ }>;
384
408
  createdAt: z.ZodISODateTime;
385
409
  updatedAt: z.ZodISODateTime;
386
410
  versions: z.ZodInt;
@@ -1987,6 +2011,11 @@ export declare const zListUserSpacesResponse: z.ZodObject<{
1987
2011
  name: z.ZodString;
1988
2012
  handle: z.ZodString;
1989
2013
  description: z.ZodString;
2014
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
2015
+ status: z.ZodEnum<{
2016
+ deploying: "deploying";
2017
+ idle: "idle";
2018
+ }>;
1990
2019
  createdAt: z.ZodISODateTime;
1991
2020
  updatedAt: z.ZodISODateTime;
1992
2021
  versions: z.ZodInt;
@@ -2033,6 +2062,11 @@ export declare const zCreateSpaceResponse: z.ZodObject<{
2033
2062
  name: z.ZodString;
2034
2063
  handle: z.ZodString;
2035
2064
  description: z.ZodString;
2065
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
2066
+ status: z.ZodEnum<{
2067
+ deploying: "deploying";
2068
+ idle: "idle";
2069
+ }>;
2036
2070
  createdAt: z.ZodISODateTime;
2037
2071
  updatedAt: z.ZodISODateTime;
2038
2072
  versions: z.ZodInt;
@@ -2111,6 +2145,11 @@ export declare const zGetSpaceOverviewResponse: z.ZodObject<{
2111
2145
  name: z.ZodString;
2112
2146
  handle: z.ZodString;
2113
2147
  description: z.ZodString;
2148
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
2149
+ status: z.ZodEnum<{
2150
+ deploying: "deploying";
2151
+ idle: "idle";
2152
+ }>;
2114
2153
  createdAt: z.ZodISODateTime;
2115
2154
  updatedAt: z.ZodISODateTime;
2116
2155
  versions: z.ZodInt;
@@ -2281,6 +2320,11 @@ export declare const zCreateProjectResponse: z.ZodObject<{
2281
2320
  name: z.ZodString;
2282
2321
  handle: z.ZodString;
2283
2322
  description: z.ZodString;
2323
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
2324
+ status: z.ZodEnum<{
2325
+ deploying: "deploying";
2326
+ idle: "idle";
2327
+ }>;
2284
2328
  createdAt: z.ZodISODateTime;
2285
2329
  updatedAt: z.ZodISODateTime;
2286
2330
  versions: z.ZodInt;
@@ -2310,6 +2354,11 @@ export declare const zGetProjectOverviewResponse: z.ZodObject<{
2310
2354
  name: z.ZodString;
2311
2355
  handle: z.ZodString;
2312
2356
  description: z.ZodString;
2357
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
2358
+ status: z.ZodEnum<{
2359
+ deploying: "deploying";
2360
+ idle: "idle";
2361
+ }>;
2313
2362
  createdAt: z.ZodISODateTime;
2314
2363
  updatedAt: z.ZodISODateTime;
2315
2364
  versions: z.ZodInt;
@@ -2335,6 +2384,11 @@ export declare const zCreateEnvironmentResponse: z.ZodObject<{
2335
2384
  name: z.ZodString;
2336
2385
  handle: z.ZodString;
2337
2386
  description: z.ZodString;
2387
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
2388
+ status: z.ZodEnum<{
2389
+ deploying: "deploying";
2390
+ idle: "idle";
2391
+ }>;
2338
2392
  createdAt: z.ZodISODateTime;
2339
2393
  updatedAt: z.ZodISODateTime;
2340
2394
  versions: z.ZodInt;
@@ -2356,6 +2410,11 @@ export declare const zGetEnvironmentOverviewResponse: z.ZodObject<{
2356
2410
  name: z.ZodString;
2357
2411
  handle: z.ZodString;
2358
2412
  description: z.ZodString;
2413
+ deployingVersionID: z.ZodOptional<z.ZodUUID>;
2414
+ status: z.ZodEnum<{
2415
+ deploying: "deploying";
2416
+ idle: "idle";
2417
+ }>;
2359
2418
  createdAt: z.ZodISODateTime;
2360
2419
  updatedAt: z.ZodISODateTime;
2361
2420
  versions: z.ZodInt;
@@ -93,11 +93,17 @@ export const zOnboardingAnalytics = z.object({
93
93
  export const zSpaceOrgCodeResponse = z.object({
94
94
  orgCode: z.string()
95
95
  });
96
+ export const zEnvironmentStatus = z.enum([
97
+ 'idle',
98
+ 'deploying'
99
+ ]);
96
100
  export const zEnvironmentOverview = z.object({
97
101
  id: z.uuid(),
98
102
  name: z.string(),
99
103
  handle: z.string(),
100
104
  description: z.string(),
105
+ deployingVersionID: z.optional(z.uuid()),
106
+ status: zEnvironmentStatus,
101
107
  createdAt: z.iso.datetime(),
102
108
  updatedAt: z.iso.datetime(),
103
109
  versions: z.int()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.133",
3
+ "version": "0.0.134",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",