shoal-web-sdk 0.0.62 → 0.0.64
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 +5 -56
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -208,14 +208,18 @@ export type Edge = {
|
|
|
208
208
|
src: string;
|
|
209
209
|
dst: string;
|
|
210
210
|
};
|
|
211
|
-
export type
|
|
211
|
+
export type Node = {
|
|
212
212
|
id: string;
|
|
213
213
|
versionId?: string;
|
|
214
214
|
name?: string;
|
|
215
215
|
description?: string;
|
|
216
216
|
x?: number;
|
|
217
217
|
y?: number;
|
|
218
|
+
width?: number;
|
|
219
|
+
height?: number;
|
|
218
220
|
edges?: Array<Edge>;
|
|
221
|
+
typ: NodeType;
|
|
222
|
+
props?: CommentNodeProps | CacheNodeProps | ContainerNodeProps | CronJobNodeProps | DatabaseNodeProps | FunctionNodeProps | MessageQueueNodeProps | ProxyNodeProps | VmNodeProps;
|
|
219
223
|
};
|
|
220
224
|
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'message_queue' | 'proxy' | 'vm';
|
|
221
225
|
export type CommentNodeProps = {
|
|
@@ -245,61 +249,6 @@ export type ProxyNodeProps = {
|
|
|
245
249
|
export type VmNodeProps = {
|
|
246
250
|
os?: string;
|
|
247
251
|
};
|
|
248
|
-
export type CommentNode = BaseNode & {
|
|
249
|
-
typ: 'comment';
|
|
250
|
-
props: CommentNodeProps;
|
|
251
|
-
};
|
|
252
|
-
export type CacheNode = BaseNode & {
|
|
253
|
-
typ: 'cache';
|
|
254
|
-
props: CacheNodeProps;
|
|
255
|
-
};
|
|
256
|
-
export type ContainerNode = BaseNode & {
|
|
257
|
-
typ: 'container';
|
|
258
|
-
props: ContainerNodeProps;
|
|
259
|
-
};
|
|
260
|
-
export type CronJobNode = BaseNode & {
|
|
261
|
-
typ: 'cronjob';
|
|
262
|
-
props: CronJobNodeProps;
|
|
263
|
-
};
|
|
264
|
-
export type DatabaseNode = BaseNode & {
|
|
265
|
-
typ: 'database';
|
|
266
|
-
props: DatabaseNodeProps;
|
|
267
|
-
};
|
|
268
|
-
export type FunctionNode = BaseNode & {
|
|
269
|
-
typ: 'function';
|
|
270
|
-
props: FunctionNodeProps;
|
|
271
|
-
};
|
|
272
|
-
export type MessageQueueNode = BaseNode & {
|
|
273
|
-
typ: 'message_queue';
|
|
274
|
-
props: MessageQueueNodeProps;
|
|
275
|
-
};
|
|
276
|
-
export type ProxyNode = BaseNode & {
|
|
277
|
-
typ: 'proxy';
|
|
278
|
-
props: ProxyNodeProps;
|
|
279
|
-
};
|
|
280
|
-
export type VmNode = BaseNode & {
|
|
281
|
-
typ: 'vm';
|
|
282
|
-
props: VmNodeProps;
|
|
283
|
-
};
|
|
284
|
-
export type Node = ({
|
|
285
|
-
typ: 'comment';
|
|
286
|
-
} & CommentNode) | ({
|
|
287
|
-
typ: 'cache';
|
|
288
|
-
} & CacheNode) | ({
|
|
289
|
-
typ: 'container';
|
|
290
|
-
} & ContainerNode) | ({
|
|
291
|
-
typ: 'cronjob';
|
|
292
|
-
} & CronJobNode) | ({
|
|
293
|
-
typ: 'database';
|
|
294
|
-
} & DatabaseNode) | ({
|
|
295
|
-
typ: 'function';
|
|
296
|
-
} & FunctionNode) | ({
|
|
297
|
-
typ: 'message_queue';
|
|
298
|
-
} & MessageQueueNode) | ({
|
|
299
|
-
typ: 'proxy';
|
|
300
|
-
} & ProxyNode) | ({
|
|
301
|
-
typ: 'vm';
|
|
302
|
-
} & VmNode);
|
|
303
252
|
/**
|
|
304
253
|
* A version number with in an environment.
|
|
305
254
|
*/
|