shoal-web-sdk 0.0.64 → 0.0.65

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.
@@ -219,7 +219,25 @@ export type Node = {
219
219
  height?: number;
220
220
  edges?: Array<Edge>;
221
221
  typ: NodeType;
222
- props?: CommentNodeProps | CacheNodeProps | ContainerNodeProps | CronJobNodeProps | DatabaseNodeProps | FunctionNodeProps | MessageQueueNodeProps | ProxyNodeProps | VmNodeProps;
222
+ props?: ({
223
+ typ: 'comment';
224
+ } & CommentNodeProps) | ({
225
+ typ: 'cache';
226
+ } & CacheNodeProps) | ({
227
+ typ: 'container';
228
+ } & ContainerNodeProps) | ({
229
+ typ: 'cronjob';
230
+ } & CronJobNodeProps) | ({
231
+ typ: 'database';
232
+ } & DatabaseNodeProps) | ({
233
+ typ: 'function';
234
+ } & FunctionNodeProps) | ({
235
+ typ: 'messagequeue';
236
+ } & MessageQueueNodeProps) | ({
237
+ typ: 'proxy';
238
+ } & ProxyNodeProps) | ({
239
+ typ: 'vm';
240
+ } & VmNodeProps);
223
241
  };
224
242
  export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'message_queue' | 'proxy' | 'vm';
225
243
  export type CommentNodeProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",