@octonodes/sdk 0.2.26 → 0.2.40
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/PLUGINS.md +7 -1
- package/README.md +12 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/data-tables/table.d.ts.map +1 -1
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.d.ts.map +1 -1
- package/dist/gen/index.js +3 -3
- package/dist/gen/index.js.map +1 -1
- package/dist/gen/sdk.gen.d.ts +19 -11
- package/dist/gen/sdk.gen.d.ts.map +1 -1
- package/dist/gen/sdk.gen.js +51 -21
- package/dist/gen/sdk.gen.js.map +1 -1
- package/dist/gen/types.gen.d.ts +344 -97
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/octonode-client.d.ts.map +1 -1
- package/dist/plugins/schema/app/contributions.d.ts +2 -2
- package/dist/plugins/schema/app-contributions.d.ts +2 -2
- package/dist/plugins/schema/app.d.ts +69 -69
- package/dist/plugins/schema/app.d.ts.map +1 -1
- package/dist/plugins/schema/app.js +4 -3
- package/dist/plugins/schema/app.js.map +1 -1
- package/dist/plugins/schema/constants.d.ts +30 -2
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +74 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/ipc/envelope.d.ts +25 -25
- package/dist/plugins/schema/ipc-envelope.d.ts +25 -25
- package/dist/plugins/schema/plugin/execution.d.ts +112 -112
- package/dist/plugins/schema/plugin/plugin.d.ts +97 -97
- package/dist/plugins/schema/plugin/publishing.d.ts +129 -70
- package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/publishing.js +18 -1
- package/dist/plugins/schema/plugin/publishing.js.map +1 -1
- package/dist/plugins/schema/plugin-publishing.d.ts +70 -70
- package/dist/plugins/schema/plugin.d.ts +32 -32
- package/dist/plugins/sdk/constants.d.ts +3 -0
- package/dist/plugins/sdk/constants.d.ts.map +1 -1
- package/dist/plugins/sdk/constants.js +4 -1
- package/dist/plugins/sdk/constants.js.map +1 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts +5 -2
- package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
- package/dist/plugins/sdk/json/schema.d.ts +2 -2
- package/dist/plugins/sdk/json/schema.js +15 -4
- package/dist/plugins/sdk/json/schema.js.map +1 -1
- package/dist/plugins/sdk/plugins/index.d.ts +1 -0
- package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/index.js +4 -1
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/package.json +6 -3
|
@@ -38,9 +38,9 @@ export declare const InvocationContext: z.ZodObject<{
|
|
|
38
38
|
env?: string | undefined;
|
|
39
39
|
deadlineMs?: number | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
config?: Record<string, unknown> | undefined;
|
|
42
41
|
runId?: string | undefined;
|
|
43
42
|
env?: string | undefined;
|
|
43
|
+
config?: Record<string, unknown> | undefined;
|
|
44
44
|
attempt?: number | undefined;
|
|
45
45
|
deadlineMs?: number | undefined;
|
|
46
46
|
}>;
|
|
@@ -66,9 +66,9 @@ export declare const InvokeRequest: z.ZodObject<{
|
|
|
66
66
|
env?: string | undefined;
|
|
67
67
|
deadlineMs?: number | undefined;
|
|
68
68
|
}, {
|
|
69
|
-
config?: Record<string, unknown> | undefined;
|
|
70
69
|
runId?: string | undefined;
|
|
71
70
|
env?: string | undefined;
|
|
71
|
+
config?: Record<string, unknown> | undefined;
|
|
72
72
|
attempt?: number | undefined;
|
|
73
73
|
deadlineMs?: number | undefined;
|
|
74
74
|
}>>;
|
|
@@ -92,9 +92,9 @@ export declare const InvokeRequest: z.ZodObject<{
|
|
|
92
92
|
node?: string | undefined;
|
|
93
93
|
inputs?: unknown;
|
|
94
94
|
context?: {
|
|
95
|
-
config?: Record<string, unknown> | undefined;
|
|
96
95
|
runId?: string | undefined;
|
|
97
96
|
env?: string | undefined;
|
|
97
|
+
config?: Record<string, unknown> | undefined;
|
|
98
98
|
attempt?: number | undefined;
|
|
99
99
|
deadlineMs?: number | undefined;
|
|
100
100
|
} | undefined;
|
|
@@ -143,9 +143,9 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
143
143
|
env?: string | undefined;
|
|
144
144
|
deadlineMs?: number | undefined;
|
|
145
145
|
}, {
|
|
146
|
-
config?: Record<string, unknown> | undefined;
|
|
147
146
|
runId?: string | undefined;
|
|
148
147
|
env?: string | undefined;
|
|
148
|
+
config?: Record<string, unknown> | undefined;
|
|
149
149
|
attempt?: number | undefined;
|
|
150
150
|
deadlineMs?: number | undefined;
|
|
151
151
|
}>>;
|
|
@@ -169,9 +169,9 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
169
169
|
node?: string | undefined;
|
|
170
170
|
inputs?: unknown;
|
|
171
171
|
context?: {
|
|
172
|
-
config?: Record<string, unknown> | undefined;
|
|
173
172
|
runId?: string | undefined;
|
|
174
173
|
env?: string | undefined;
|
|
174
|
+
config?: Record<string, unknown> | undefined;
|
|
175
175
|
attempt?: number | undefined;
|
|
176
176
|
deadlineMs?: number | undefined;
|
|
177
177
|
} | undefined;
|
|
@@ -420,7 +420,6 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
420
420
|
id: string;
|
|
421
421
|
language: string;
|
|
422
422
|
symbol?: string | undefined;
|
|
423
|
-
config?: Record<string, unknown> | undefined;
|
|
424
423
|
service?: {
|
|
425
424
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
426
425
|
methods: {
|
|
@@ -431,19 +430,19 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
431
430
|
}[];
|
|
432
431
|
} | undefined;
|
|
433
432
|
label?: string | undefined;
|
|
433
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
434
434
|
workflowId?: string | undefined;
|
|
435
|
+
config?: Record<string, unknown> | undefined;
|
|
435
436
|
inputs?: Record<string, unknown> | undefined;
|
|
436
437
|
outputs?: Record<string, unknown> | undefined;
|
|
437
438
|
description?: string | undefined;
|
|
438
439
|
defaults?: Record<string, unknown> | undefined;
|
|
439
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
440
440
|
setup?: Record<string, unknown> | undefined;
|
|
441
441
|
icon?: string | undefined;
|
|
442
442
|
}, {
|
|
443
443
|
id: string;
|
|
444
444
|
language: string;
|
|
445
445
|
symbol?: string | undefined;
|
|
446
|
-
config?: Record<string, unknown> | undefined;
|
|
447
446
|
service?: {
|
|
448
447
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
449
448
|
methods: {
|
|
@@ -454,12 +453,13 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
454
453
|
}[];
|
|
455
454
|
} | undefined;
|
|
456
455
|
label?: string | undefined;
|
|
456
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
457
457
|
workflowId?: string | undefined;
|
|
458
|
+
config?: Record<string, unknown> | undefined;
|
|
458
459
|
inputs?: Record<string, unknown> | undefined;
|
|
459
460
|
outputs?: Record<string, unknown> | undefined;
|
|
460
461
|
description?: string | undefined;
|
|
461
462
|
defaults?: Record<string, unknown> | undefined;
|
|
462
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
463
463
|
setup?: Record<string, unknown> | undefined;
|
|
464
464
|
icon?: string | undefined;
|
|
465
465
|
}>;
|
|
@@ -532,7 +532,6 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
532
532
|
id: string;
|
|
533
533
|
language: string;
|
|
534
534
|
symbol?: string | undefined;
|
|
535
|
-
config?: Record<string, unknown> | undefined;
|
|
536
535
|
service?: {
|
|
537
536
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
538
537
|
methods: {
|
|
@@ -543,19 +542,19 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
543
542
|
}[];
|
|
544
543
|
} | undefined;
|
|
545
544
|
label?: string | undefined;
|
|
545
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
546
546
|
workflowId?: string | undefined;
|
|
547
|
+
config?: Record<string, unknown> | undefined;
|
|
547
548
|
inputs?: Record<string, unknown> | undefined;
|
|
548
549
|
outputs?: Record<string, unknown> | undefined;
|
|
549
550
|
description?: string | undefined;
|
|
550
551
|
defaults?: Record<string, unknown> | undefined;
|
|
551
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
552
552
|
setup?: Record<string, unknown> | undefined;
|
|
553
553
|
icon?: string | undefined;
|
|
554
554
|
}, {
|
|
555
555
|
id: string;
|
|
556
556
|
language: string;
|
|
557
557
|
symbol?: string | undefined;
|
|
558
|
-
config?: Record<string, unknown> | undefined;
|
|
559
558
|
service?: {
|
|
560
559
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
561
560
|
methods: {
|
|
@@ -566,12 +565,13 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
566
565
|
}[];
|
|
567
566
|
} | undefined;
|
|
568
567
|
label?: string | undefined;
|
|
568
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
569
569
|
workflowId?: string | undefined;
|
|
570
|
+
config?: Record<string, unknown> | undefined;
|
|
570
571
|
inputs?: Record<string, unknown> | undefined;
|
|
571
572
|
outputs?: Record<string, unknown> | undefined;
|
|
572
573
|
description?: string | undefined;
|
|
573
574
|
defaults?: Record<string, unknown> | undefined;
|
|
574
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
575
575
|
setup?: Record<string, unknown> | undefined;
|
|
576
576
|
icon?: string | undefined;
|
|
577
577
|
}>;
|
|
@@ -584,7 +584,6 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
584
584
|
id: string;
|
|
585
585
|
language: string;
|
|
586
586
|
symbol?: string | undefined;
|
|
587
|
-
config?: Record<string, unknown> | undefined;
|
|
588
587
|
service?: {
|
|
589
588
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
590
589
|
methods: {
|
|
@@ -595,12 +594,13 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
595
594
|
}[];
|
|
596
595
|
} | undefined;
|
|
597
596
|
label?: string | undefined;
|
|
597
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
598
598
|
workflowId?: string | undefined;
|
|
599
|
+
config?: Record<string, unknown> | undefined;
|
|
599
600
|
inputs?: Record<string, unknown> | undefined;
|
|
600
601
|
outputs?: Record<string, unknown> | undefined;
|
|
601
602
|
description?: string | undefined;
|
|
602
603
|
defaults?: Record<string, unknown> | undefined;
|
|
603
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
604
604
|
setup?: Record<string, unknown> | undefined;
|
|
605
605
|
icon?: string | undefined;
|
|
606
606
|
};
|
|
@@ -613,7 +613,6 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
613
613
|
id: string;
|
|
614
614
|
language: string;
|
|
615
615
|
symbol?: string | undefined;
|
|
616
|
-
config?: Record<string, unknown> | undefined;
|
|
617
616
|
service?: {
|
|
618
617
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
619
618
|
methods: {
|
|
@@ -624,12 +623,13 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
624
623
|
}[];
|
|
625
624
|
} | undefined;
|
|
626
625
|
label?: string | undefined;
|
|
626
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
627
627
|
workflowId?: string | undefined;
|
|
628
|
+
config?: Record<string, unknown> | undefined;
|
|
628
629
|
inputs?: Record<string, unknown> | undefined;
|
|
629
630
|
outputs?: Record<string, unknown> | undefined;
|
|
630
631
|
description?: string | undefined;
|
|
631
632
|
defaults?: Record<string, unknown> | undefined;
|
|
632
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
633
633
|
setup?: Record<string, unknown> | undefined;
|
|
634
634
|
icon?: string | undefined;
|
|
635
635
|
};
|
|
@@ -752,7 +752,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
752
752
|
id: string;
|
|
753
753
|
language: string;
|
|
754
754
|
symbol?: string | undefined;
|
|
755
|
-
config?: Record<string, unknown> | undefined;
|
|
756
755
|
service?: {
|
|
757
756
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
758
757
|
methods: {
|
|
@@ -763,19 +762,19 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
763
762
|
}[];
|
|
764
763
|
} | undefined;
|
|
765
764
|
label?: string | undefined;
|
|
765
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
766
766
|
workflowId?: string | undefined;
|
|
767
|
+
config?: Record<string, unknown> | undefined;
|
|
767
768
|
inputs?: Record<string, unknown> | undefined;
|
|
768
769
|
outputs?: Record<string, unknown> | undefined;
|
|
769
770
|
description?: string | undefined;
|
|
770
771
|
defaults?: Record<string, unknown> | undefined;
|
|
771
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
772
772
|
setup?: Record<string, unknown> | undefined;
|
|
773
773
|
icon?: string | undefined;
|
|
774
774
|
}, {
|
|
775
775
|
id: string;
|
|
776
776
|
language: string;
|
|
777
777
|
symbol?: string | undefined;
|
|
778
|
-
config?: Record<string, unknown> | undefined;
|
|
779
778
|
service?: {
|
|
780
779
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
781
780
|
methods: {
|
|
@@ -786,12 +785,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
786
785
|
}[];
|
|
787
786
|
} | undefined;
|
|
788
787
|
label?: string | undefined;
|
|
788
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
789
789
|
workflowId?: string | undefined;
|
|
790
|
+
config?: Record<string, unknown> | undefined;
|
|
790
791
|
inputs?: Record<string, unknown> | undefined;
|
|
791
792
|
outputs?: Record<string, unknown> | undefined;
|
|
792
793
|
description?: string | undefined;
|
|
793
794
|
defaults?: Record<string, unknown> | undefined;
|
|
794
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
795
795
|
setup?: Record<string, unknown> | undefined;
|
|
796
796
|
icon?: string | undefined;
|
|
797
797
|
}>;
|
|
@@ -804,7 +804,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
804
804
|
id: string;
|
|
805
805
|
language: string;
|
|
806
806
|
symbol?: string | undefined;
|
|
807
|
-
config?: Record<string, unknown> | undefined;
|
|
808
807
|
service?: {
|
|
809
808
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
810
809
|
methods: {
|
|
@@ -815,12 +814,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
815
814
|
}[];
|
|
816
815
|
} | undefined;
|
|
817
816
|
label?: string | undefined;
|
|
817
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
818
818
|
workflowId?: string | undefined;
|
|
819
|
+
config?: Record<string, unknown> | undefined;
|
|
819
820
|
inputs?: Record<string, unknown> | undefined;
|
|
820
821
|
outputs?: Record<string, unknown> | undefined;
|
|
821
822
|
description?: string | undefined;
|
|
822
823
|
defaults?: Record<string, unknown> | undefined;
|
|
823
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
824
824
|
setup?: Record<string, unknown> | undefined;
|
|
825
825
|
icon?: string | undefined;
|
|
826
826
|
};
|
|
@@ -833,7 +833,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
833
833
|
id: string;
|
|
834
834
|
language: string;
|
|
835
835
|
symbol?: string | undefined;
|
|
836
|
-
config?: Record<string, unknown> | undefined;
|
|
837
836
|
service?: {
|
|
838
837
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
839
838
|
methods: {
|
|
@@ -844,12 +843,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
844
843
|
}[];
|
|
845
844
|
} | undefined;
|
|
846
845
|
label?: string | undefined;
|
|
846
|
+
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
847
847
|
workflowId?: string | undefined;
|
|
848
|
+
config?: Record<string, unknown> | undefined;
|
|
848
849
|
inputs?: Record<string, unknown> | undefined;
|
|
849
850
|
outputs?: Record<string, unknown> | undefined;
|
|
850
851
|
description?: string | undefined;
|
|
851
852
|
defaults?: Record<string, unknown> | undefined;
|
|
852
|
-
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
853
853
|
setup?: Record<string, unknown> | undefined;
|
|
854
854
|
icon?: string | undefined;
|
|
855
855
|
};
|