shoal-web-sdk 0.0.43 → 0.0.44

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.
@@ -6,7 +6,7 @@ export type HealthResponse = {
6
6
  };
7
7
  export type ErrorResponse = {
8
8
  message: string;
9
- internalCode: unknown;
9
+ internalCode: number;
10
10
  };
11
11
  export type CreateProject = {
12
12
  name: string;
@@ -49,7 +49,7 @@ export type EnvironmentOverview = {
49
49
  description?: string;
50
50
  createdAt: string;
51
51
  updatedAt: string;
52
- versions: unknown;
52
+ versions: number;
53
53
  };
54
54
  export type AccountIdentity = {
55
55
  id: string;
@@ -57,7 +57,7 @@ export type AccountIdentity = {
57
57
  is_confirmed: boolean;
58
58
  created_on: string;
59
59
  last_login_on: string;
60
- total_logins: unknown;
60
+ total_logins: number;
61
61
  name: string;
62
62
  email: string;
63
63
  is_primary: boolean;
@@ -73,8 +73,8 @@ export type AccountProfile = {
73
73
  lastName: string;
74
74
  isSuspended: boolean;
75
75
  picture: string;
76
- totalSignIns: unknown;
77
- failedSignIns: unknown;
76
+ totalSignIns: number;
77
+ failedSignIns: number;
78
78
  lastSignedIn: string;
79
79
  createdOn: string;
80
80
  };
@@ -143,8 +143,8 @@ export type RemoveNodes = {
143
143
  ids: Array<string>;
144
144
  };
145
145
  export type CreateNode = {
146
- x: unknown;
147
- y: unknown;
146
+ x: number;
147
+ y: number;
148
148
  typ: NodeType;
149
149
  };
150
150
  export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'message_queue' | 'proxy' | 'vm';
@@ -188,8 +188,8 @@ export type BaseNode = {
188
188
  versionId: string;
189
189
  name: string;
190
190
  description: string;
191
- x: unknown;
192
- y: unknown;
191
+ x: number;
192
+ y: number;
193
193
  edges: Array<Edge>;
194
194
  };
195
195
  export type CommentNode = BaseNode & {
@@ -229,23 +229,23 @@ export type VmNode = BaseNode & {
229
229
  props: VmNodeProps;
230
230
  };
231
231
  export type Node = ({
232
- typ: 'CommentNode';
232
+ typ: 'comment';
233
233
  } & CommentNode) | ({
234
- typ: 'CacheNode';
234
+ typ: 'cache';
235
235
  } & CacheNode) | ({
236
- typ: 'ContainerNode';
236
+ typ: 'container';
237
237
  } & ContainerNode) | ({
238
- typ: 'CronJobNode';
238
+ typ: 'cronjob';
239
239
  } & CronJobNode) | ({
240
- typ: 'DatabaseNode';
240
+ typ: 'database';
241
241
  } & DatabaseNode) | ({
242
- typ: 'FunctionNode';
242
+ typ: 'function';
243
243
  } & FunctionNode) | ({
244
- typ: 'MessageQueueNode';
244
+ typ: 'message_queue';
245
245
  } & MessageQueueNode) | ({
246
- typ: 'ProxyNode';
246
+ typ: 'proxy';
247
247
  } & ProxyNode) | ({
248
- typ: 'VMNode';
248
+ typ: 'vm';
249
249
  } & VmNode);
250
250
  /**
251
251
  * A version number with in an environment.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",