@rlvt/workflows-openapi-client 0.0.0-ea125dc → 0.0.0-f5588f0
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/build/api.d.ts +220 -31
- package/build/api.js +9 -2
- package/build/definitions.d.ts +42 -25
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import type {
|
|
3
|
-
export
|
|
2
|
+
import type { WorkflowStatus } from "./definitions";
|
|
3
|
+
export { WorkflowTemplates, Workflows, WorkflowStatus, Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_, Partial_SerializedWorkflow_, Partial_SerializedWorkflowVersions_, AnyValue, WithoutReadonly, WithoutWriteonly } from "./definitions";
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
6
|
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
@@ -13,6 +13,7 @@ export default class {
|
|
|
13
13
|
private deleteWorkflow;
|
|
14
14
|
private publishWorkflow;
|
|
15
15
|
private run;
|
|
16
|
+
private getContentUsage;
|
|
16
17
|
get Workflow(): {
|
|
17
18
|
listTemplates: (params: {
|
|
18
19
|
name?: string;
|
|
@@ -35,7 +36,9 @@ export default class {
|
|
|
35
36
|
readonly id: string & {
|
|
36
37
|
readonly?: "__readonly";
|
|
37
38
|
};
|
|
38
|
-
metadata?: {
|
|
39
|
+
metadata?: {
|
|
40
|
+
[x: string]: any;
|
|
41
|
+
};
|
|
39
42
|
icon: string;
|
|
40
43
|
slug: string;
|
|
41
44
|
feature?: string;
|
|
@@ -44,7 +47,26 @@ export default class {
|
|
|
44
47
|
node: string;
|
|
45
48
|
type: "email" | "raw";
|
|
46
49
|
}[];
|
|
47
|
-
nodes: {
|
|
50
|
+
nodes: {
|
|
51
|
+
[x: string]: {
|
|
52
|
+
name: string;
|
|
53
|
+
metadata: {};
|
|
54
|
+
dependencies: string[];
|
|
55
|
+
edges: {
|
|
56
|
+
node: string;
|
|
57
|
+
config: {
|
|
58
|
+
[x: string]: any;
|
|
59
|
+
};
|
|
60
|
+
}[];
|
|
61
|
+
} | {
|
|
62
|
+
name: string;
|
|
63
|
+
metadata: {};
|
|
64
|
+
dependencies: string[];
|
|
65
|
+
config: {
|
|
66
|
+
[x: string]: any;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
48
70
|
};
|
|
49
71
|
}[];
|
|
50
72
|
}>>;
|
|
@@ -101,7 +123,9 @@ export default class {
|
|
|
101
123
|
readonly?: "__readonly";
|
|
102
124
|
};
|
|
103
125
|
readonly versions: {
|
|
104
|
-
metadata?: {
|
|
126
|
+
metadata?: {
|
|
127
|
+
[x: string]: any;
|
|
128
|
+
};
|
|
105
129
|
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
106
130
|
readonly?: "__readonly";
|
|
107
131
|
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
@@ -114,13 +138,38 @@ export default class {
|
|
|
114
138
|
node: string;
|
|
115
139
|
type: "email" | "raw";
|
|
116
140
|
}[];
|
|
117
|
-
nodes: {
|
|
141
|
+
nodes: {
|
|
142
|
+
[x: string]: {
|
|
143
|
+
name: string;
|
|
144
|
+
metadata: {};
|
|
145
|
+
dependencies: string[];
|
|
146
|
+
edges: {
|
|
147
|
+
node: string;
|
|
148
|
+
config: {
|
|
149
|
+
[x: string]: any;
|
|
150
|
+
};
|
|
151
|
+
}[];
|
|
152
|
+
} | {
|
|
153
|
+
name: string;
|
|
154
|
+
metadata: {};
|
|
155
|
+
dependencies: string[];
|
|
156
|
+
config: {
|
|
157
|
+
[x: string]: any;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
118
161
|
};
|
|
119
162
|
readonly analyze: {
|
|
120
163
|
readonly?: "__readonly";
|
|
121
|
-
outputsForEntrypoint: {
|
|
122
|
-
|
|
123
|
-
|
|
164
|
+
outputsForEntrypoint: {
|
|
165
|
+
[x: string]: string[];
|
|
166
|
+
};
|
|
167
|
+
entrypointsForOuput: {
|
|
168
|
+
[x: string]: string[];
|
|
169
|
+
};
|
|
170
|
+
datasForEntrypoint: {
|
|
171
|
+
[x: string]: string[];
|
|
172
|
+
};
|
|
124
173
|
};
|
|
125
174
|
}[];
|
|
126
175
|
readonly urls?: {
|
|
@@ -166,7 +215,9 @@ export default class {
|
|
|
166
215
|
readonly?: "__readonly";
|
|
167
216
|
};
|
|
168
217
|
readonly versions: {
|
|
169
|
-
metadata?: {
|
|
218
|
+
metadata?: {
|
|
219
|
+
[x: string]: any;
|
|
220
|
+
};
|
|
170
221
|
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
171
222
|
readonly?: "__readonly";
|
|
172
223
|
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
@@ -179,13 +230,38 @@ export default class {
|
|
|
179
230
|
node: string;
|
|
180
231
|
type: "email" | "raw";
|
|
181
232
|
}[];
|
|
182
|
-
nodes: {
|
|
233
|
+
nodes: {
|
|
234
|
+
[x: string]: {
|
|
235
|
+
name: string;
|
|
236
|
+
metadata: {};
|
|
237
|
+
dependencies: string[];
|
|
238
|
+
edges: {
|
|
239
|
+
node: string;
|
|
240
|
+
config: {
|
|
241
|
+
[x: string]: any;
|
|
242
|
+
};
|
|
243
|
+
}[];
|
|
244
|
+
} | {
|
|
245
|
+
name: string;
|
|
246
|
+
metadata: {};
|
|
247
|
+
dependencies: string[];
|
|
248
|
+
config: {
|
|
249
|
+
[x: string]: any;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
183
253
|
};
|
|
184
254
|
readonly analyze: {
|
|
185
255
|
readonly?: "__readonly";
|
|
186
|
-
outputsForEntrypoint: {
|
|
187
|
-
|
|
188
|
-
|
|
256
|
+
outputsForEntrypoint: {
|
|
257
|
+
[x: string]: string[];
|
|
258
|
+
};
|
|
259
|
+
entrypointsForOuput: {
|
|
260
|
+
[x: string]: string[];
|
|
261
|
+
};
|
|
262
|
+
datasForEntrypoint: {
|
|
263
|
+
[x: string]: string[];
|
|
264
|
+
};
|
|
189
265
|
};
|
|
190
266
|
}[];
|
|
191
267
|
readonly urls?: {
|
|
@@ -229,7 +305,9 @@ export default class {
|
|
|
229
305
|
readonly?: "__readonly";
|
|
230
306
|
};
|
|
231
307
|
readonly versions: {
|
|
232
|
-
metadata?: {
|
|
308
|
+
metadata?: {
|
|
309
|
+
[x: string]: any;
|
|
310
|
+
};
|
|
233
311
|
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
234
312
|
readonly?: "__readonly";
|
|
235
313
|
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
@@ -242,13 +320,38 @@ export default class {
|
|
|
242
320
|
node: string;
|
|
243
321
|
type: "email" | "raw";
|
|
244
322
|
}[];
|
|
245
|
-
nodes: {
|
|
323
|
+
nodes: {
|
|
324
|
+
[x: string]: {
|
|
325
|
+
name: string;
|
|
326
|
+
metadata: {};
|
|
327
|
+
dependencies: string[];
|
|
328
|
+
edges: {
|
|
329
|
+
node: string;
|
|
330
|
+
config: {
|
|
331
|
+
[x: string]: any;
|
|
332
|
+
};
|
|
333
|
+
}[];
|
|
334
|
+
} | {
|
|
335
|
+
name: string;
|
|
336
|
+
metadata: {};
|
|
337
|
+
dependencies: string[];
|
|
338
|
+
config: {
|
|
339
|
+
[x: string]: any;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
246
343
|
};
|
|
247
344
|
readonly analyze: {
|
|
248
345
|
readonly?: "__readonly";
|
|
249
|
-
outputsForEntrypoint: {
|
|
250
|
-
|
|
251
|
-
|
|
346
|
+
outputsForEntrypoint: {
|
|
347
|
+
[x: string]: string[];
|
|
348
|
+
};
|
|
349
|
+
entrypointsForOuput: {
|
|
350
|
+
[x: string]: string[];
|
|
351
|
+
};
|
|
352
|
+
datasForEntrypoint: {
|
|
353
|
+
[x: string]: string[];
|
|
354
|
+
};
|
|
252
355
|
};
|
|
253
356
|
}[];
|
|
254
357
|
readonly urls?: {
|
|
@@ -264,13 +367,34 @@ export default class {
|
|
|
264
367
|
name?: string;
|
|
265
368
|
resourceGroupIds?: string[];
|
|
266
369
|
} & {
|
|
267
|
-
metadata?: {
|
|
370
|
+
metadata?: {
|
|
371
|
+
[x: string]: any;
|
|
372
|
+
};
|
|
268
373
|
definition?: {
|
|
269
374
|
entrypoints: {
|
|
270
375
|
node: string;
|
|
271
376
|
type: "email" | "raw";
|
|
272
377
|
}[];
|
|
273
|
-
nodes: {
|
|
378
|
+
nodes: {
|
|
379
|
+
[x: string]: {
|
|
380
|
+
name: string;
|
|
381
|
+
metadata: {};
|
|
382
|
+
dependencies: string[];
|
|
383
|
+
edges: {
|
|
384
|
+
node: string;
|
|
385
|
+
config: {
|
|
386
|
+
[x: string]: any;
|
|
387
|
+
};
|
|
388
|
+
}[];
|
|
389
|
+
} | {
|
|
390
|
+
name: string;
|
|
391
|
+
metadata: {};
|
|
392
|
+
dependencies: string[];
|
|
393
|
+
config: {
|
|
394
|
+
[x: string]: any;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
274
398
|
};
|
|
275
399
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
276
400
|
status: "success";
|
|
@@ -305,7 +429,9 @@ export default class {
|
|
|
305
429
|
readonly?: "__readonly";
|
|
306
430
|
};
|
|
307
431
|
readonly versions: {
|
|
308
|
-
metadata?: {
|
|
432
|
+
metadata?: {
|
|
433
|
+
[x: string]: any;
|
|
434
|
+
};
|
|
309
435
|
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
310
436
|
readonly?: "__readonly";
|
|
311
437
|
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
@@ -318,13 +444,38 @@ export default class {
|
|
|
318
444
|
node: string;
|
|
319
445
|
type: "email" | "raw";
|
|
320
446
|
}[];
|
|
321
|
-
nodes: {
|
|
447
|
+
nodes: {
|
|
448
|
+
[x: string]: {
|
|
449
|
+
name: string;
|
|
450
|
+
metadata: {};
|
|
451
|
+
dependencies: string[];
|
|
452
|
+
edges: {
|
|
453
|
+
node: string;
|
|
454
|
+
config: {
|
|
455
|
+
[x: string]: any;
|
|
456
|
+
};
|
|
457
|
+
}[];
|
|
458
|
+
} | {
|
|
459
|
+
name: string;
|
|
460
|
+
metadata: {};
|
|
461
|
+
dependencies: string[];
|
|
462
|
+
config: {
|
|
463
|
+
[x: string]: any;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
};
|
|
322
467
|
};
|
|
323
468
|
readonly analyze: {
|
|
324
469
|
readonly?: "__readonly";
|
|
325
|
-
outputsForEntrypoint: {
|
|
326
|
-
|
|
327
|
-
|
|
470
|
+
outputsForEntrypoint: {
|
|
471
|
+
[x: string]: string[];
|
|
472
|
+
};
|
|
473
|
+
entrypointsForOuput: {
|
|
474
|
+
[x: string]: string[];
|
|
475
|
+
};
|
|
476
|
+
datasForEntrypoint: {
|
|
477
|
+
[x: string]: string[];
|
|
478
|
+
};
|
|
328
479
|
};
|
|
329
480
|
}[];
|
|
330
481
|
readonly urls?: {
|
|
@@ -379,7 +530,9 @@ export default class {
|
|
|
379
530
|
readonly?: "__readonly";
|
|
380
531
|
};
|
|
381
532
|
readonly versions: {
|
|
382
|
-
metadata?: {
|
|
533
|
+
metadata?: {
|
|
534
|
+
[x: string]: any;
|
|
535
|
+
};
|
|
383
536
|
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
384
537
|
readonly?: "__readonly";
|
|
385
538
|
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
@@ -392,13 +545,38 @@ export default class {
|
|
|
392
545
|
node: string;
|
|
393
546
|
type: "email" | "raw";
|
|
394
547
|
}[];
|
|
395
|
-
nodes: {
|
|
548
|
+
nodes: {
|
|
549
|
+
[x: string]: {
|
|
550
|
+
name: string;
|
|
551
|
+
metadata: {};
|
|
552
|
+
dependencies: string[];
|
|
553
|
+
edges: {
|
|
554
|
+
node: string;
|
|
555
|
+
config: {
|
|
556
|
+
[x: string]: any;
|
|
557
|
+
};
|
|
558
|
+
}[];
|
|
559
|
+
} | {
|
|
560
|
+
name: string;
|
|
561
|
+
metadata: {};
|
|
562
|
+
dependencies: string[];
|
|
563
|
+
config: {
|
|
564
|
+
[x: string]: any;
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
};
|
|
396
568
|
};
|
|
397
569
|
readonly analyze: {
|
|
398
570
|
readonly?: "__readonly";
|
|
399
|
-
outputsForEntrypoint: {
|
|
400
|
-
|
|
401
|
-
|
|
571
|
+
outputsForEntrypoint: {
|
|
572
|
+
[x: string]: string[];
|
|
573
|
+
};
|
|
574
|
+
entrypointsForOuput: {
|
|
575
|
+
[x: string]: string[];
|
|
576
|
+
};
|
|
577
|
+
datasForEntrypoint: {
|
|
578
|
+
[x: string]: string[];
|
|
579
|
+
};
|
|
402
580
|
};
|
|
403
581
|
}[];
|
|
404
582
|
readonly urls?: {
|
|
@@ -407,6 +585,17 @@ export default class {
|
|
|
407
585
|
}[];
|
|
408
586
|
};
|
|
409
587
|
}>>;
|
|
588
|
+
getContentUsage: (params: {
|
|
589
|
+
id: string;
|
|
590
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
591
|
+
status: "success";
|
|
592
|
+
program: string;
|
|
593
|
+
version: string;
|
|
594
|
+
datetime: string;
|
|
595
|
+
code?: number;
|
|
596
|
+
message: string;
|
|
597
|
+
data: string[];
|
|
598
|
+
}>>;
|
|
410
599
|
};
|
|
411
600
|
get Runner(): {
|
|
412
601
|
run: (params: {
|
package/build/api.js
CHANGED
|
@@ -5,7 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6
6
|
};
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.WorkflowStatus = void 0;
|
|
8
9
|
const axios_1 = __importDefault(require("axios"));
|
|
10
|
+
var definitions_1 = require("./definitions");
|
|
11
|
+
Object.defineProperty(exports, "WorkflowStatus", { enumerable: true, get: function () { return definitions_1.WorkflowStatus; } });
|
|
9
12
|
class default_1 {
|
|
10
13
|
constructor(configOrInstance) {
|
|
11
14
|
this.axios = 'interceptors' in configOrInstance
|
|
@@ -45,6 +48,9 @@ class default_1 {
|
|
|
45
48
|
params: pick(params, "~ru~", "mode", "no-cache"),
|
|
46
49
|
}, options));
|
|
47
50
|
}
|
|
51
|
+
getContentUsage(params, options) {
|
|
52
|
+
return this.axios.get("/workflows/usage/content/{id}".replace(/{id}/, String(params["id"])), options);
|
|
53
|
+
}
|
|
48
54
|
get Workflow() {
|
|
49
55
|
return {
|
|
50
56
|
listTemplates: this.listTemplatesWorkflow.bind(this),
|
|
@@ -54,7 +60,8 @@ class default_1 {
|
|
|
54
60
|
get: this.getWorkflow.bind(this),
|
|
55
61
|
update: this.updateWorkflow.bind(this),
|
|
56
62
|
delete: this.deleteWorkflow.bind(this),
|
|
57
|
-
publish: this.publishWorkflow.bind(this)
|
|
63
|
+
publish: this.publishWorkflow.bind(this),
|
|
64
|
+
getContentUsage: this.getContentUsage.bind(this)
|
|
58
65
|
};
|
|
59
66
|
}
|
|
60
67
|
get Runner() {
|
|
@@ -72,4 +79,4 @@ function pick(obj, ...keys) {
|
|
|
72
79
|
});
|
|
73
80
|
return ret;
|
|
74
81
|
}
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7QUFFcEIsa0RBQWlFO0FBR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QztBQUNmLENBQUMifQ==
|
package/build/definitions.d.ts
CHANGED
|
@@ -23,34 +23,31 @@ export declare type _node_string_type_email_or_raw__ = {
|
|
|
23
23
|
};
|
|
24
24
|
export declare type __ = {};
|
|
25
25
|
export declare type AnyValue = any | null;
|
|
26
|
-
export declare type
|
|
27
|
-
|
|
28
|
-
value: AnyValue;
|
|
26
|
+
export declare type __x_string__any__ = {
|
|
27
|
+
[key: string]: AnyValue;
|
|
29
28
|
};
|
|
30
|
-
export declare type
|
|
31
|
-
type: "dynamic";
|
|
32
|
-
value: AnyValue;
|
|
33
|
-
};
|
|
34
|
-
export declare type __x_string___type_static_value_any___or__type_dynamic_value_any____ = {};
|
|
35
|
-
export declare type _node_string_config___x_string___type_static_value_any___or__type_dynamic_value_any______ = {
|
|
29
|
+
export declare type _node_string_config___x_string__any____ = {
|
|
36
30
|
node: string;
|
|
37
|
-
config:
|
|
31
|
+
config: __x_string__any__;
|
|
38
32
|
};
|
|
39
|
-
export declare type
|
|
33
|
+
export declare type _name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array__ = {
|
|
40
34
|
name: string;
|
|
41
35
|
metadata: __;
|
|
42
36
|
dependencies: string[];
|
|
43
|
-
edges:
|
|
37
|
+
edges: _node_string_config___x_string__any____[];
|
|
44
38
|
};
|
|
45
|
-
export declare type
|
|
39
|
+
export declare type _name_string_config___x_string__any___metadata____dependencies_string_Array__ = {
|
|
46
40
|
name: string;
|
|
47
|
-
config:
|
|
41
|
+
config: __x_string__any__;
|
|
48
42
|
metadata: __;
|
|
49
43
|
dependencies: string[];
|
|
50
44
|
};
|
|
45
|
+
export declare type __x_string___name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array___or__name_string_config___x_string__any___metadata____dependencies_string_Array____ = {
|
|
46
|
+
[key: string]: _name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array__ | _name_string_config___x_string__any___metadata____dependencies_string_Array__;
|
|
47
|
+
};
|
|
51
48
|
export declare type Workflow = {
|
|
52
49
|
entrypoints: _node_string_type_email_or_raw__[];
|
|
53
|
-
nodes:
|
|
50
|
+
nodes: __x_string___name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array___or__name_string_config___x_string__any___metadata____dependencies_string_Array____;
|
|
54
51
|
};
|
|
55
52
|
export declare type SerializedWorkflowTemplates = {
|
|
56
53
|
readonly id: (string) & readonlyP;
|
|
@@ -60,7 +57,9 @@ export declare type SerializedWorkflowTemplates = {
|
|
|
60
57
|
categories: string[];
|
|
61
58
|
feature?: string;
|
|
62
59
|
template: Workflow;
|
|
63
|
-
metadata?: {
|
|
60
|
+
metadata?: {
|
|
61
|
+
[key: string]: AnyValue;
|
|
62
|
+
};
|
|
64
63
|
};
|
|
65
64
|
export declare type WorkflowTemplates = SerializedWorkflowTemplates;
|
|
66
65
|
export declare enum WorkflowVersionState {
|
|
@@ -69,13 +68,21 @@ export declare enum WorkflowVersionState {
|
|
|
69
68
|
INACTIVE = "inactive"
|
|
70
69
|
}
|
|
71
70
|
export declare type SerializedWorkflowVersions = {
|
|
72
|
-
metadata?: {
|
|
71
|
+
metadata?: {
|
|
72
|
+
[key: string]: AnyValue;
|
|
73
|
+
};
|
|
73
74
|
readonly state: (WorkflowVersionState) & readonlyP;
|
|
74
75
|
definition: Workflow;
|
|
75
76
|
readonly analyze: ({
|
|
76
|
-
outputsForEntrypoint: {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
outputsForEntrypoint: {
|
|
78
|
+
[key: string]: string[];
|
|
79
|
+
};
|
|
80
|
+
entrypointsForOuput: {
|
|
81
|
+
[key: string]: string[];
|
|
82
|
+
};
|
|
83
|
+
datasForEntrypoint: {
|
|
84
|
+
[key: string]: string[];
|
|
85
|
+
};
|
|
79
86
|
}) & readonlyP;
|
|
80
87
|
};
|
|
81
88
|
export declare type WorkflowVersions = SerializedWorkflowVersions;
|
|
@@ -122,18 +129,28 @@ export declare type Partial_SerializedWorkflow_ = {
|
|
|
122
129
|
readonly status?: (WorkflowStatus) & readonlyP;
|
|
123
130
|
};
|
|
124
131
|
export declare type Partial_SerializedWorkflowVersions_ = {
|
|
125
|
-
metadata?: {
|
|
132
|
+
metadata?: {
|
|
133
|
+
[key: string]: AnyValue;
|
|
134
|
+
};
|
|
126
135
|
readonly state?: (WorkflowVersionState) & readonlyP;
|
|
127
136
|
definition?: Workflow;
|
|
128
137
|
readonly analyze?: ({
|
|
129
|
-
outputsForEntrypoint: {
|
|
130
|
-
|
|
131
|
-
|
|
138
|
+
outputsForEntrypoint: {
|
|
139
|
+
[key: string]: string[];
|
|
140
|
+
};
|
|
141
|
+
entrypointsForOuput: {
|
|
142
|
+
[key: string]: string[];
|
|
143
|
+
};
|
|
144
|
+
datasForEntrypoint: {
|
|
145
|
+
[key: string]: string[];
|
|
146
|
+
};
|
|
132
147
|
}) & readonlyP;
|
|
133
148
|
};
|
|
134
149
|
export declare type Error = {
|
|
135
150
|
path: string;
|
|
136
151
|
message: string;
|
|
137
|
-
payload?: {
|
|
152
|
+
payload?: {
|
|
153
|
+
[key: string]: AnyValue;
|
|
154
|
+
};
|
|
138
155
|
};
|
|
139
156
|
export {};
|
package/build/definitions.js
CHANGED
|
@@ -16,4 +16,4 @@ var WorkflowStatus;
|
|
|
16
16
|
WorkflowStatus["PUBLISHED"] = "published";
|
|
17
17
|
WorkflowStatus["ERROR"] = "error";
|
|
18
18
|
})(WorkflowStatus = exports.WorkflowStatus || (exports.WorkflowStatus = {}));
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBNkVwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFzQkQsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
|
package/package.json
CHANGED