@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
|
@@ -75,12 +75,12 @@ export declare const PluginImplementationSource: z.ZodDiscriminatedUnion<"kind",
|
|
|
75
75
|
version: z.ZodString;
|
|
76
76
|
}, "strict", z.ZodTypeAny, {
|
|
77
77
|
package: string;
|
|
78
|
-
version: string;
|
|
79
78
|
kind: "npm";
|
|
79
|
+
version: string;
|
|
80
80
|
}, {
|
|
81
81
|
package: string;
|
|
82
|
-
version: string;
|
|
83
82
|
kind: "npm";
|
|
83
|
+
version: string;
|
|
84
84
|
}>]>;
|
|
85
85
|
export type PluginImplementationSource = z.infer<typeof PluginImplementationSource>;
|
|
86
86
|
export declare const PluginNpmDependency: z.ZodObject<{
|
|
@@ -177,12 +177,12 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
177
177
|
version: z.ZodString;
|
|
178
178
|
}, "strict", z.ZodTypeAny, {
|
|
179
179
|
package: string;
|
|
180
|
-
version: string;
|
|
181
180
|
kind: "npm";
|
|
181
|
+
version: string;
|
|
182
182
|
}, {
|
|
183
183
|
package: string;
|
|
184
|
-
version: string;
|
|
185
184
|
kind: "npm";
|
|
185
|
+
version: string;
|
|
186
186
|
}>]>>;
|
|
187
187
|
/** Explicit mapping to the library export; workflow adapters keep their own argument convention. */
|
|
188
188
|
libraryExport: z.ZodOptional<z.ZodString>;
|
|
@@ -209,9 +209,10 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
209
209
|
kind: "plugin";
|
|
210
210
|
} | {
|
|
211
211
|
package: string;
|
|
212
|
-
version: string;
|
|
213
212
|
kind: "npm";
|
|
213
|
+
version: string;
|
|
214
214
|
} | undefined;
|
|
215
|
+
trigger?: boolean | undefined;
|
|
215
216
|
env?: string[] | undefined;
|
|
216
217
|
inputs?: Record<string, unknown> | undefined;
|
|
217
218
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -219,7 +220,6 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
219
220
|
defaults?: Record<string, unknown> | undefined;
|
|
220
221
|
language?: string | undefined;
|
|
221
222
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
222
|
-
trigger?: boolean | undefined;
|
|
223
223
|
connections?: string[] | undefined;
|
|
224
224
|
bindings?: Record<string, {
|
|
225
225
|
module: string;
|
|
@@ -249,9 +249,10 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
249
249
|
kind: "plugin";
|
|
250
250
|
} | {
|
|
251
251
|
package: string;
|
|
252
|
-
version: string;
|
|
253
252
|
kind: "npm";
|
|
253
|
+
version: string;
|
|
254
254
|
} | undefined;
|
|
255
|
+
trigger?: boolean | undefined;
|
|
255
256
|
env?: string[] | undefined;
|
|
256
257
|
inputs?: Record<string, unknown> | undefined;
|
|
257
258
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -259,7 +260,6 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
259
260
|
defaults?: Record<string, unknown> | undefined;
|
|
260
261
|
language?: string | undefined;
|
|
261
262
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
262
|
-
trigger?: boolean | undefined;
|
|
263
263
|
connections?: string[] | undefined;
|
|
264
264
|
bindings?: Record<string, {
|
|
265
265
|
module: string;
|
|
@@ -421,12 +421,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
421
421
|
version: z.ZodString;
|
|
422
422
|
}, "strict", z.ZodTypeAny, {
|
|
423
423
|
package: string;
|
|
424
|
-
version: string;
|
|
425
424
|
kind: "npm";
|
|
425
|
+
version: string;
|
|
426
426
|
}, {
|
|
427
427
|
package: string;
|
|
428
|
-
version: string;
|
|
429
428
|
kind: "npm";
|
|
429
|
+
version: string;
|
|
430
430
|
}>]>>;
|
|
431
431
|
library: z.ZodOptional<z.ZodObject<{
|
|
432
432
|
format: z.ZodLiteral<1>;
|
|
@@ -637,12 +637,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
637
637
|
version: z.ZodString;
|
|
638
638
|
}, "strict", z.ZodTypeAny, {
|
|
639
639
|
package: string;
|
|
640
|
-
version: string;
|
|
641
640
|
kind: "npm";
|
|
641
|
+
version: string;
|
|
642
642
|
}, {
|
|
643
643
|
package: string;
|
|
644
|
-
version: string;
|
|
645
644
|
kind: "npm";
|
|
645
|
+
version: string;
|
|
646
646
|
}>]>>;
|
|
647
647
|
/** Explicit mapping to the library export; workflow adapters keep their own argument convention. */
|
|
648
648
|
libraryExport: z.ZodOptional<z.ZodString>;
|
|
@@ -669,9 +669,10 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
669
669
|
kind: "plugin";
|
|
670
670
|
} | {
|
|
671
671
|
package: string;
|
|
672
|
-
version: string;
|
|
673
672
|
kind: "npm";
|
|
673
|
+
version: string;
|
|
674
674
|
} | undefined;
|
|
675
|
+
trigger?: boolean | undefined;
|
|
675
676
|
env?: string[] | undefined;
|
|
676
677
|
inputs?: Record<string, unknown> | undefined;
|
|
677
678
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -679,7 +680,6 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
679
680
|
defaults?: Record<string, unknown> | undefined;
|
|
680
681
|
language?: string | undefined;
|
|
681
682
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
682
|
-
trigger?: boolean | undefined;
|
|
683
683
|
connections?: string[] | undefined;
|
|
684
684
|
bindings?: Record<string, {
|
|
685
685
|
module: string;
|
|
@@ -709,9 +709,10 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
709
709
|
kind: "plugin";
|
|
710
710
|
} | {
|
|
711
711
|
package: string;
|
|
712
|
-
version: string;
|
|
713
712
|
kind: "npm";
|
|
713
|
+
version: string;
|
|
714
714
|
} | undefined;
|
|
715
|
+
trigger?: boolean | undefined;
|
|
715
716
|
env?: string[] | undefined;
|
|
716
717
|
inputs?: Record<string, unknown> | undefined;
|
|
717
718
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -719,7 +720,6 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
719
720
|
defaults?: Record<string, unknown> | undefined;
|
|
720
721
|
language?: string | undefined;
|
|
721
722
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
722
|
-
trigger?: boolean | undefined;
|
|
723
723
|
connections?: string[] | undefined;
|
|
724
724
|
bindings?: Record<string, {
|
|
725
725
|
module: string;
|
|
@@ -752,9 +752,10 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
752
752
|
kind: "plugin";
|
|
753
753
|
} | {
|
|
754
754
|
package: string;
|
|
755
|
-
version: string;
|
|
756
755
|
kind: "npm";
|
|
756
|
+
version: string;
|
|
757
757
|
} | undefined;
|
|
758
|
+
trigger?: boolean | undefined;
|
|
758
759
|
env?: string[] | undefined;
|
|
759
760
|
inputs?: Record<string, unknown> | undefined;
|
|
760
761
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -762,7 +763,6 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
762
763
|
defaults?: Record<string, unknown> | undefined;
|
|
763
764
|
language?: string | undefined;
|
|
764
765
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
765
|
-
trigger?: boolean | undefined;
|
|
766
766
|
connections?: string[] | undefined;
|
|
767
767
|
bindings?: Record<string, {
|
|
768
768
|
module: string;
|
|
@@ -784,9 +784,9 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
784
784
|
export: string;
|
|
785
785
|
} | undefined;
|
|
786
786
|
}[];
|
|
787
|
+
id: string;
|
|
787
788
|
version: string;
|
|
788
789
|
scope: ("user" | "org" | "public" | "group")[];
|
|
789
|
-
id: string;
|
|
790
790
|
schemaVersion: string;
|
|
791
791
|
permissions: {
|
|
792
792
|
resource: "project_data" | "secrets" | "network";
|
|
@@ -797,8 +797,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
797
797
|
kind: "plugin";
|
|
798
798
|
} | {
|
|
799
799
|
package: string;
|
|
800
|
-
version: string;
|
|
801
800
|
kind: "npm";
|
|
801
|
+
version: string;
|
|
802
802
|
} | undefined;
|
|
803
803
|
integration?: {
|
|
804
804
|
tags: string[];
|
|
@@ -839,8 +839,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
839
839
|
license?: string | undefined;
|
|
840
840
|
}, {
|
|
841
841
|
name: string;
|
|
842
|
-
version: string;
|
|
843
842
|
id: string;
|
|
843
|
+
version: string;
|
|
844
844
|
nodes?: {
|
|
845
845
|
id: string;
|
|
846
846
|
command: string;
|
|
@@ -850,9 +850,10 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
850
850
|
kind: "plugin";
|
|
851
851
|
} | {
|
|
852
852
|
package: string;
|
|
853
|
-
version: string;
|
|
854
853
|
kind: "npm";
|
|
854
|
+
version: string;
|
|
855
855
|
} | undefined;
|
|
856
|
+
trigger?: boolean | undefined;
|
|
856
857
|
env?: string[] | undefined;
|
|
857
858
|
inputs?: Record<string, unknown> | undefined;
|
|
858
859
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -860,7 +861,6 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
860
861
|
defaults?: Record<string, unknown> | undefined;
|
|
861
862
|
language?: string | undefined;
|
|
862
863
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
863
|
-
trigger?: boolean | undefined;
|
|
864
864
|
connections?: string[] | undefined;
|
|
865
865
|
bindings?: Record<string, {
|
|
866
866
|
module: string;
|
|
@@ -887,8 +887,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
887
887
|
kind: "plugin";
|
|
888
888
|
} | {
|
|
889
889
|
package: string;
|
|
890
|
-
version: string;
|
|
891
890
|
kind: "npm";
|
|
891
|
+
version: string;
|
|
892
892
|
} | undefined;
|
|
893
893
|
integration?: {
|
|
894
894
|
npm?: {
|
|
@@ -944,9 +944,10 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
944
944
|
kind: "plugin";
|
|
945
945
|
} | {
|
|
946
946
|
package: string;
|
|
947
|
-
version: string;
|
|
948
947
|
kind: "npm";
|
|
948
|
+
version: string;
|
|
949
949
|
} | undefined;
|
|
950
|
+
trigger?: boolean | undefined;
|
|
950
951
|
env?: string[] | undefined;
|
|
951
952
|
inputs?: Record<string, unknown> | undefined;
|
|
952
953
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -954,7 +955,6 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
954
955
|
defaults?: Record<string, unknown> | undefined;
|
|
955
956
|
language?: string | undefined;
|
|
956
957
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
957
|
-
trigger?: boolean | undefined;
|
|
958
958
|
connections?: string[] | undefined;
|
|
959
959
|
bindings?: Record<string, {
|
|
960
960
|
module: string;
|
|
@@ -976,9 +976,9 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
976
976
|
export: string;
|
|
977
977
|
} | undefined;
|
|
978
978
|
}[];
|
|
979
|
+
id: string;
|
|
979
980
|
version: string;
|
|
980
981
|
scope: ("user" | "org" | "public" | "group")[];
|
|
981
|
-
id: string;
|
|
982
982
|
schemaVersion: string;
|
|
983
983
|
permissions: {
|
|
984
984
|
resource: "project_data" | "secrets" | "network";
|
|
@@ -989,8 +989,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
989
989
|
kind: "plugin";
|
|
990
990
|
} | {
|
|
991
991
|
package: string;
|
|
992
|
-
version: string;
|
|
993
992
|
kind: "npm";
|
|
993
|
+
version: string;
|
|
994
994
|
} | undefined;
|
|
995
995
|
integration?: {
|
|
996
996
|
tags: string[];
|
|
@@ -1031,8 +1031,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
1031
1031
|
license?: string | undefined;
|
|
1032
1032
|
}, {
|
|
1033
1033
|
name: string;
|
|
1034
|
-
version: string;
|
|
1035
1034
|
id: string;
|
|
1035
|
+
version: string;
|
|
1036
1036
|
nodes?: {
|
|
1037
1037
|
id: string;
|
|
1038
1038
|
command: string;
|
|
@@ -1042,9 +1042,10 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
1042
1042
|
kind: "plugin";
|
|
1043
1043
|
} | {
|
|
1044
1044
|
package: string;
|
|
1045
|
-
version: string;
|
|
1046
1045
|
kind: "npm";
|
|
1046
|
+
version: string;
|
|
1047
1047
|
} | undefined;
|
|
1048
|
+
trigger?: boolean | undefined;
|
|
1048
1049
|
env?: string[] | undefined;
|
|
1049
1050
|
inputs?: Record<string, unknown> | undefined;
|
|
1050
1051
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -1052,7 +1053,6 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
1052
1053
|
defaults?: Record<string, unknown> | undefined;
|
|
1053
1054
|
language?: string | undefined;
|
|
1054
1055
|
icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
1055
|
-
trigger?: boolean | undefined;
|
|
1056
1056
|
connections?: string[] | undefined;
|
|
1057
1057
|
bindings?: Record<string, {
|
|
1058
1058
|
module: string;
|
|
@@ -1079,8 +1079,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
1079
1079
|
kind: "plugin";
|
|
1080
1080
|
} | {
|
|
1081
1081
|
package: string;
|
|
1082
|
-
version: string;
|
|
1083
1082
|
kind: "npm";
|
|
1083
|
+
version: string;
|
|
1084
1084
|
} | undefined;
|
|
1085
1085
|
integration?: {
|
|
1086
1086
|
npm?: {
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export declare const LANGUAGE = "typescript";
|
|
2
|
+
/** Minimum Node runtime shared by public SDKs and generated artifacts. */
|
|
3
|
+
export declare const NODE_ENGINE_RANGE = "^20.19.0 || >=22.12.0";
|
|
4
|
+
export declare const NODE_BUILD_TARGET = "node20.19";
|
|
2
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/plugins/sdk/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/plugins/sdk/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,eAAe,CAAC;AAErC,0EAA0E;AAC1E,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AACzD,eAAO,MAAM,iBAAiB,cAAc,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LANGUAGE = void 0;
|
|
3
|
+
exports.NODE_BUILD_TARGET = exports.NODE_ENGINE_RANGE = exports.LANGUAGE = void 0;
|
|
4
4
|
// Generated from packages/plugin-runtime/src/constants.ts. Do not edit; run the Octonode SDK sync.
|
|
5
5
|
exports.LANGUAGE = "typescript";
|
|
6
|
+
/** Minimum Node runtime shared by public SDKs and generated artifacts. */
|
|
7
|
+
exports.NODE_ENGINE_RANGE = "^20.19.0 || >=22.12.0";
|
|
8
|
+
exports.NODE_BUILD_TARGET = "node20.19";
|
|
6
9
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/plugins/sdk/constants.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACtF,QAAA,QAAQ,GAAG,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/plugins/sdk/constants.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACtF,QAAA,QAAQ,GAAG,YAAY,CAAC;AAErC,0EAA0E;AAC7D,QAAA,iBAAiB,GAAG,uBAAuB,CAAC;AAC5C,QAAA,iBAAiB,GAAG,WAAW,CAAC"}
|
|
@@ -12,7 +12,7 @@ export interface NpmPackageMeta {
|
|
|
12
12
|
license?: string;
|
|
13
13
|
homepage?: string;
|
|
14
14
|
repository?: string;
|
|
15
|
-
/** Entry
|
|
15
|
+
/** Entry declaration or explicitly requested JavaScript source for static SDK inspection. */
|
|
16
16
|
dtsPath: string | null;
|
|
17
17
|
/** Fallback export names discovered at runtime when dtsPath is null. */
|
|
18
18
|
runtimeExports?: string[];
|
|
@@ -50,6 +50,9 @@ export interface NpmOutputStreams {
|
|
|
50
50
|
paths: string[][];
|
|
51
51
|
path: string[];
|
|
52
52
|
}
|
|
53
|
+
export interface NpmSchemaBudget {
|
|
54
|
+
remaining: number;
|
|
55
|
+
}
|
|
53
56
|
export interface CompiledNpmPlugin {
|
|
54
57
|
/** A valid octonode.plugin.json object. */
|
|
55
58
|
manifest: Record<string, unknown>;
|
|
@@ -74,7 +77,7 @@ export interface NpmGenerateOptions {
|
|
|
74
77
|
include?: string[];
|
|
75
78
|
/** Discover public typed client methods without executing upstream code. */
|
|
76
79
|
discoverClients?: boolean;
|
|
77
|
-
/** Zero-based
|
|
80
|
+
/** Zero-based overload per exported function or client constructor/factory name. */
|
|
78
81
|
overloads?: Record<string, number>;
|
|
79
82
|
exclude?: string[];
|
|
80
83
|
dir?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/sdk/definitions/npm/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,WAAW,cAAc;IAC7B,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,mEAAmE;IACnE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/sdk/definitions/npm/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,WAAW,cAAc;IAC7B,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,mEAAmE;IACnE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gCAAgC;IAChC,OAA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AAM,EAAE,EAAE,CAAC,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,0EAA0E;IAC1E,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { JsonSchema, ValidationError } from "../types";
|
|
2
2
|
/**
|
|
3
3
|
* A deliberately tiny JSON Schema validator covering the common subset Octonode
|
|
4
|
-
* nodes use to describe their I/O
|
|
5
|
-
*
|
|
4
|
+
* nodes use to describe their I/O, including positional tuple items and bounds.
|
|
5
|
+
* It is intentionally NOT a full JSON Schema implementation — the
|
|
6
6
|
* point is that every language SDK can carry an equivalent ~80-line validator
|
|
7
7
|
* with zero dependencies, so the contract is enforced identically everywhere.
|
|
8
8
|
*
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.validate = validate;
|
|
4
4
|
/**
|
|
5
5
|
* A deliberately tiny JSON Schema validator covering the common subset Octonode
|
|
6
|
-
* nodes use to describe their I/O
|
|
7
|
-
*
|
|
6
|
+
* nodes use to describe their I/O, including positional tuple items and bounds.
|
|
7
|
+
* It is intentionally NOT a full JSON Schema implementation — the
|
|
8
8
|
* point is that every language SDK can carry an equivalent ~80-line validator
|
|
9
9
|
* with zero dependencies, so the contract is enforced identically everywhere.
|
|
10
10
|
*
|
|
@@ -55,8 +55,19 @@ function walk(schema, data, path, errors) {
|
|
|
55
55
|
walk(schema.additionalProperties, value, `${path}.${key}`, errors);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
if (Array.isArray(data)
|
|
59
|
-
|
|
58
|
+
if (Array.isArray(data)) {
|
|
59
|
+
if (typeof schema.minItems === "number" && data.length < schema.minItems)
|
|
60
|
+
errors.push({ path, message: `expected at least ${schema.minItems} items` });
|
|
61
|
+
if (typeof schema.maxItems === "number" && data.length > schema.maxItems)
|
|
62
|
+
errors.push({ path, message: `expected at most ${schema.maxItems} items` });
|
|
63
|
+
const prefix = Array.isArray(schema.prefixItems) ? schema.prefixItems : [];
|
|
64
|
+
data.forEach((item, i) => {
|
|
65
|
+
const itemSchema = i < prefix.length ? prefix[i] : schema.items;
|
|
66
|
+
if (itemSchema === false)
|
|
67
|
+
errors.push({ path: `${path}[${i}]`, message: "unexpected item" });
|
|
68
|
+
else if (isPlainObject(itemSchema))
|
|
69
|
+
walk(itemSchema, item, `${path}[${i}]`, errors);
|
|
70
|
+
});
|
|
60
71
|
}
|
|
61
72
|
}
|
|
62
73
|
function normalizeTypes(type) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/plugins/sdk/json/schema.ts"],"names":[],"mappings":";;AAaA,4BAKC;AAfD;;;;;;;;;GASG;AACH,SAAgB,QAAQ,CAAC,MAA8B,EAAE,IAAa;IACpE,IAAI,CAAC,MAAM;QAAE,OAAO,EAAE,CAAC;IACvB,MAAM,MAAM,GAAsB,EAAE,CAAC;IACrC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;IAChC,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,IAAI,CAAC,MAAkB,EAAE,IAAa,EAAE,IAAY,EAAE,MAAyB;IACtF,IACE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;QAC3B,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,EAC5F,CAA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C;AACH,CAAC;AAED,SAAS,QAAQ,CAAC,IAAa;IAC7B,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,MAAM,CAAC;IACjC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QAAE,OAAO,OAAO,CAAC;IACxC,OAAO,OAAO,IAAI,CAAC;AACrB,CAAC;AAED,SAAS,aAAa,CAAC,CAAU;IAC/B,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAClE,CAAC;AAED,SAAS,SAAS,CAAC,CAAU,EAAE,CAAU;IACvC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC"}
|
|
@@ -12,4 +12,5 @@ export { SETTINGS_API_VERSION } from "../../schema/plugin-sdk";
|
|
|
12
12
|
export { PreparedPluginRuntime } from "../../schema/plugin-sdk";
|
|
13
13
|
export { PluginReleaseConfig, PluginConfigPath, pluginReleaseScope, bumpPluginVersion, PLUGIN_RELEASE_FILES, PLUGIN_CONFIG_MAX_BYTES, PLUGIN_PUBLISH_MAX_BYTES, PLUGIN_PUBLISH_AUDIENCE, } from "../../schema/plugin-sdk";
|
|
14
14
|
export type { PluginScope } from "../../schema/plugin-sdk";
|
|
15
|
+
export { NODE_ENGINE_RANGE, NODE_BUILD_TARGET } from "../constants.js";
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/sdk/plugins/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,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UAAU,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC5D,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAChF,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACnH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAC5H,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PLUGIN_PUBLISH_AUDIENCE = exports.PLUGIN_PUBLISH_MAX_BYTES = exports.PLUGIN_CONFIG_MAX_BYTES = exports.PLUGIN_RELEASE_FILES = exports.bumpPluginVersion = exports.pluginReleaseScope = exports.PluginConfigPath = exports.PluginReleaseConfig = exports.PreparedPluginRuntime = exports.SETTINGS_API_VERSION = exports.APP_LAUNCHER_TARGETS = exports.APP_ACTION_TARGETS = exports.APP_VIEW_TARGETS = exports.AppContributionTarget = exports.ContributionApp = exports.SelfHostedAppExtension = exports.SelfHostedApp = exports.ExtensionOnlyApp = exports.AppDefinition = exports.AppAction = exports.PluginConnection = exports.PluginNode = exports.PluginManifest = exports.PLUGIN_UI_BUNDLE_MAX_BYTES = exports.validate = exports.NodeError = exports.processRequest = exports.runNode = exports.startPlugin = exports.definePlugin = exports.defineNode = void 0;
|
|
3
|
+
exports.NODE_BUILD_TARGET = exports.NODE_ENGINE_RANGE = exports.PLUGIN_PUBLISH_AUDIENCE = exports.PLUGIN_PUBLISH_MAX_BYTES = exports.PLUGIN_CONFIG_MAX_BYTES = exports.PLUGIN_RELEASE_FILES = exports.bumpPluginVersion = exports.pluginReleaseScope = exports.PluginConfigPath = exports.PluginReleaseConfig = exports.PreparedPluginRuntime = exports.SETTINGS_API_VERSION = exports.APP_LAUNCHER_TARGETS = exports.APP_ACTION_TARGETS = exports.APP_VIEW_TARGETS = exports.AppContributionTarget = exports.ContributionApp = exports.SelfHostedAppExtension = exports.SelfHostedApp = exports.ExtensionOnlyApp = exports.AppDefinition = exports.AppAction = exports.PluginConnection = exports.PluginNode = exports.PluginManifest = exports.PLUGIN_UI_BUNDLE_MAX_BYTES = exports.validate = exports.NodeError = exports.processRequest = exports.runNode = exports.startPlugin = exports.definePlugin = exports.defineNode = void 0;
|
|
4
4
|
// Generated from packages/plugin-runtime/src/plugins/index.ts. Do not edit; run the Octonode SDK sync.
|
|
5
5
|
var node_1 = require("./define/node");
|
|
6
6
|
Object.defineProperty(exports, "defineNode", { enumerable: true, get: function () { return node_1.defineNode; } });
|
|
@@ -43,4 +43,7 @@ Object.defineProperty(exports, "PLUGIN_RELEASE_FILES", { enumerable: true, get:
|
|
|
43
43
|
Object.defineProperty(exports, "PLUGIN_CONFIG_MAX_BYTES", { enumerable: true, get: function () { return plugin_sdk_6.PLUGIN_CONFIG_MAX_BYTES; } });
|
|
44
44
|
Object.defineProperty(exports, "PLUGIN_PUBLISH_MAX_BYTES", { enumerable: true, get: function () { return plugin_sdk_6.PLUGIN_PUBLISH_MAX_BYTES; } });
|
|
45
45
|
Object.defineProperty(exports, "PLUGIN_PUBLISH_AUDIENCE", { enumerable: true, get: function () { return plugin_sdk_6.PLUGIN_PUBLISH_AUDIENCE; } });
|
|
46
|
+
var constants_js_1 = require("../constants.js");
|
|
47
|
+
Object.defineProperty(exports, "NODE_ENGINE_RANGE", { enumerable: true, get: function () { return constants_js_1.NODE_ENGINE_RANGE; } });
|
|
48
|
+
Object.defineProperty(exports, "NODE_BUILD_TARGET", { enumerable: true, get: function () { return constants_js_1.NODE_BUILD_TARGET; } });
|
|
46
49
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/sdk/plugins/index.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,sCAA2C;AAAlC,kGAAA,UAAU,OAAA;AACnB,oCAAsD;AAA7C,sGAAA,YAAY,OAAA;AAAE,qGAAA,WAAW,OAAA;AAClC,oCAA+D;AAAtD,iGAAA,OAAO,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,mGAAA,SAAS,OAAA;AAC3C,yCAA0C;AAAjC,kGAAA,QAAQ,OAAA;AAIjB,sDAAmH;AAA1G,wHAAA,0BAA0B,OAAA;AAAE,4GAAA,cAAc,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AACjF,sDAA4H;AAAnH,uGAAA,SAAS,OAAA;AAAE,2GAAA,aAAa,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AAAE,2GAAA,aAAa,OAAA;AAAE,oHAAA,sBAAsB,OAAA;AAC1F,sDAMiC;AAL/B,6GAAA,eAAe,OAAA;AACf,mHAAA,qBAAqB,OAAA;AACrB,8GAAA,gBAAgB,OAAA;AAChB,gHAAA,kBAAkB,OAAA;AAClB,kHAAA,oBAAoB,OAAA;AAEtB,sDAA+D;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,OAAA;AAChB,gHAAA,kBAAkB,OAAA;AAClB,+GAAA,iBAAiB,OAAA;AACjB,kHAAA,oBAAoB,OAAA;AACpB,qHAAA,uBAAuB,OAAA;AACvB,sHAAA,wBAAwB,OAAA;AACxB,qHAAA,uBAAuB,OAAA;AAKzB,gDAAuE;AAA9D,iHAAA,iBAAiB,OAAA;AAAE,iHAAA,iBAAiB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octonodes/sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.40",
|
|
4
4
|
"description": "Octonode API client and code-first plugin SDK.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
|
-
"gen": "openapi-ts",
|
|
52
|
+
"gen": "openapi-ts && node ../../scripts/generated/format.mjs",
|
|
53
53
|
"prepack": "tsc -b"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"zod": "^3.23.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/node": "^
|
|
60
|
+
"@types/node": "^20.19.0"
|
|
61
61
|
},
|
|
62
62
|
"typesVersions": {
|
|
63
63
|
"*": {
|
|
@@ -77,5 +77,8 @@
|
|
|
77
77
|
"dist/plugins/sdk/nodes/index.d.ts"
|
|
78
78
|
]
|
|
79
79
|
}
|
|
80
|
+
},
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
80
83
|
}
|
|
81
84
|
}
|