shoal-web-sdk 0.0.55 → 0.0.57
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 +14 -10
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -4,9 +4,13 @@ export type ClientOptions = {
|
|
|
4
4
|
export type HealthResponse = {
|
|
5
5
|
status: string;
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* Internal application error code.
|
|
9
|
+
*/
|
|
10
|
+
export type ErrorCode = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
7
11
|
export type ErrorResponse = {
|
|
8
12
|
message: string;
|
|
9
|
-
internalCode:
|
|
13
|
+
internalCode: ErrorCode;
|
|
10
14
|
};
|
|
11
15
|
export type CreateProject = {
|
|
12
16
|
name: string;
|
|
@@ -227,31 +231,31 @@ export type BaseNode = {
|
|
|
227
231
|
};
|
|
228
232
|
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'message_queue' | 'proxy' | 'vm';
|
|
229
233
|
export type CommentNodeProps = {
|
|
230
|
-
|
|
234
|
+
comment?: string;
|
|
231
235
|
};
|
|
232
236
|
export type CacheNodeProps = {
|
|
233
|
-
|
|
237
|
+
size?: number;
|
|
234
238
|
};
|
|
235
239
|
export type ContainerNodeProps = {
|
|
236
|
-
|
|
240
|
+
image?: string;
|
|
237
241
|
};
|
|
238
242
|
export type CronJobNodeProps = {
|
|
239
|
-
|
|
243
|
+
cronTab?: string;
|
|
240
244
|
};
|
|
241
245
|
export type DatabaseNodeProps = {
|
|
242
|
-
|
|
246
|
+
space?: number;
|
|
243
247
|
};
|
|
244
248
|
export type FunctionNodeProps = {
|
|
245
|
-
|
|
249
|
+
space?: number;
|
|
246
250
|
};
|
|
247
251
|
export type MessageQueueNodeProps = {
|
|
248
|
-
|
|
252
|
+
foobar?: string;
|
|
249
253
|
};
|
|
250
254
|
export type ProxyNodeProps = {
|
|
251
|
-
|
|
255
|
+
domain?: string;
|
|
252
256
|
};
|
|
253
257
|
export type VmNodeProps = {
|
|
254
|
-
|
|
258
|
+
os?: string;
|
|
255
259
|
};
|
|
256
260
|
export type CommentNode = BaseNode & {
|
|
257
261
|
typ: 'comment';
|