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.
@@ -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: number;
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
- [key: string]: unknown;
234
+ comment?: string;
231
235
  };
232
236
  export type CacheNodeProps = {
233
- [key: string]: unknown;
237
+ size?: number;
234
238
  };
235
239
  export type ContainerNodeProps = {
236
- [key: string]: unknown;
240
+ image?: string;
237
241
  };
238
242
  export type CronJobNodeProps = {
239
- [key: string]: unknown;
243
+ cronTab?: string;
240
244
  };
241
245
  export type DatabaseNodeProps = {
242
- [key: string]: unknown;
246
+ space?: number;
243
247
  };
244
248
  export type FunctionNodeProps = {
245
- [key: string]: unknown;
249
+ space?: number;
246
250
  };
247
251
  export type MessageQueueNodeProps = {
248
- [key: string]: unknown;
252
+ foobar?: string;
249
253
  };
250
254
  export type ProxyNodeProps = {
251
- [key: string]: unknown;
255
+ domain?: string;
252
256
  };
253
257
  export type VmNodeProps = {
254
- [key: string]: unknown;
258
+ os?: string;
255
259
  };
256
260
  export type CommentNode = BaseNode & {
257
261
  typ: 'comment';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",