@octonodes/sdk 0.2.8 → 0.2.9
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/README.md +15 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.d.ts.map +1 -1
- package/dist/gen/index.js +10 -3
- package/dist/gen/index.js.map +1 -1
- package/dist/gen/sdk.gen.d.ts +126 -82
- package/dist/gen/sdk.gen.d.ts.map +1 -1
- package/dist/gen/sdk.gen.js +252 -151
- package/dist/gen/sdk.gen.js.map +1 -1
- package/dist/gen/types.gen.d.ts +445 -0
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/plugins/schema/app.d.ts +425 -0
- package/dist/plugins/schema/app.d.ts.map +1 -0
- package/dist/plugins/schema/app.js +136 -0
- package/dist/plugins/schema/app.js.map +1 -0
- package/dist/plugins/schema/plugin/execution.d.ts +424 -15
- package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/plugin.d.ts +345 -6
- package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/plugin.js +14 -0
- package/dist/plugins/schema/plugin/plugin.js.map +1 -1
- package/dist/plugins/schema/plugin/publishing.d.ts +59 -59
- package/dist/plugins/schema/plugin-publishing.d.ts +59 -59
- package/dist/plugins/schema/plugin-sdk/index.d.ts +1 -0
- package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.js +1 -0
- package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
- package/dist/plugins/schema/plugin.d.ts +6 -6
- 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 +17 -11
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,12 +28,12 @@ export declare const PluginExecutionReference: z.ZodObject<{
|
|
|
28
28
|
nodeId: z.ZodString;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
30
|
nodeId: string;
|
|
31
|
-
installId: string;
|
|
32
31
|
sha256: string;
|
|
32
|
+
installId: string;
|
|
33
33
|
}, {
|
|
34
34
|
nodeId: string;
|
|
35
|
-
installId: string;
|
|
36
35
|
sha256: string;
|
|
36
|
+
installId: string;
|
|
37
37
|
}>;
|
|
38
38
|
export type PluginExecutionReference = z.infer<typeof PluginExecutionReference>;
|
|
39
39
|
export declare const PluginExecutionRequest: z.ZodObject<{
|
|
@@ -43,12 +43,12 @@ export declare const PluginExecutionRequest: z.ZodObject<{
|
|
|
43
43
|
nodeId: z.ZodString;
|
|
44
44
|
}, "strict", z.ZodTypeAny, {
|
|
45
45
|
nodeId: string;
|
|
46
|
-
installId: string;
|
|
47
46
|
sha256: string;
|
|
47
|
+
installId: string;
|
|
48
48
|
}, {
|
|
49
49
|
nodeId: string;
|
|
50
|
-
installId: string;
|
|
51
50
|
sha256: string;
|
|
51
|
+
installId: string;
|
|
52
52
|
}>;
|
|
53
53
|
request: z.ZodObject<{
|
|
54
54
|
octonode: z.ZodLiteral<"1">;
|
|
@@ -107,8 +107,8 @@ export declare const PluginExecutionRequest: z.ZodObject<{
|
|
|
107
107
|
}, "strict", z.ZodTypeAny, {
|
|
108
108
|
plugin: {
|
|
109
109
|
nodeId: string;
|
|
110
|
-
installId: string;
|
|
111
110
|
sha256: string;
|
|
111
|
+
installId: string;
|
|
112
112
|
};
|
|
113
113
|
request: {
|
|
114
114
|
octonode: "1";
|
|
@@ -129,8 +129,8 @@ export declare const PluginExecutionRequest: z.ZodObject<{
|
|
|
129
129
|
}, {
|
|
130
130
|
plugin: {
|
|
131
131
|
nodeId: string;
|
|
132
|
-
installId: string;
|
|
133
132
|
sha256: string;
|
|
133
|
+
installId: string;
|
|
134
134
|
};
|
|
135
135
|
request: {
|
|
136
136
|
octonode: "1";
|
|
@@ -209,6 +209,205 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
209
209
|
resource: "project_data" | "secrets" | "network";
|
|
210
210
|
access: "read" | "write" | "outbound";
|
|
211
211
|
}>, "many">>;
|
|
212
|
+
app: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
213
|
+
apiVersion: z.ZodLiteral<"1">;
|
|
214
|
+
hosting: z.ZodLiteral<"self-hosted">;
|
|
215
|
+
applicationUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
216
|
+
iconUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
217
|
+
privacyUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
218
|
+
supportUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
219
|
+
redirectUrls: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
220
|
+
webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
221
|
+
requestedActions: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEnum<["projects:read", "data:read", "data:write", "workflows:run"]>, "many">>, ("projects:read" | "data:read" | "data:write" | "workflows:run")[], ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined>;
|
|
222
|
+
extensions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
223
|
+
id: z.ZodString;
|
|
224
|
+
target: z.ZodEnum<["app.page", "workspace.block"]>;
|
|
225
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
226
|
+
sha256: z.ZodString;
|
|
227
|
+
}, "strict", z.ZodTypeAny, {
|
|
228
|
+
url: string;
|
|
229
|
+
id: string;
|
|
230
|
+
target: "app.page" | "workspace.block";
|
|
231
|
+
sha256: string;
|
|
232
|
+
}, {
|
|
233
|
+
url: string;
|
|
234
|
+
id: string;
|
|
235
|
+
target: "app.page" | "workspace.block";
|
|
236
|
+
sha256: string;
|
|
237
|
+
}>, "many">>;
|
|
238
|
+
}, "strict", z.ZodTypeAny, {
|
|
239
|
+
apiVersion: "1";
|
|
240
|
+
hosting: "self-hosted";
|
|
241
|
+
applicationUrl: string;
|
|
242
|
+
redirectUrls: string[];
|
|
243
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
244
|
+
extensions: {
|
|
245
|
+
url: string;
|
|
246
|
+
id: string;
|
|
247
|
+
target: "app.page" | "workspace.block";
|
|
248
|
+
sha256: string;
|
|
249
|
+
}[];
|
|
250
|
+
iconUrl?: string | undefined;
|
|
251
|
+
privacyUrl?: string | undefined;
|
|
252
|
+
supportUrl?: string | undefined;
|
|
253
|
+
webhookUrl?: string | undefined;
|
|
254
|
+
}, {
|
|
255
|
+
apiVersion: "1";
|
|
256
|
+
hosting: "self-hosted";
|
|
257
|
+
applicationUrl: string;
|
|
258
|
+
redirectUrls: string[];
|
|
259
|
+
iconUrl?: string | undefined;
|
|
260
|
+
privacyUrl?: string | undefined;
|
|
261
|
+
supportUrl?: string | undefined;
|
|
262
|
+
webhookUrl?: string | undefined;
|
|
263
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
264
|
+
extensions?: {
|
|
265
|
+
url: string;
|
|
266
|
+
id: string;
|
|
267
|
+
target: "app.page" | "workspace.block";
|
|
268
|
+
sha256: string;
|
|
269
|
+
}[] | undefined;
|
|
270
|
+
}>, {
|
|
271
|
+
apiVersion: "1";
|
|
272
|
+
hosting: "self-hosted";
|
|
273
|
+
applicationUrl: string;
|
|
274
|
+
redirectUrls: string[];
|
|
275
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
276
|
+
extensions: {
|
|
277
|
+
url: string;
|
|
278
|
+
id: string;
|
|
279
|
+
target: "app.page" | "workspace.block";
|
|
280
|
+
sha256: string;
|
|
281
|
+
}[];
|
|
282
|
+
iconUrl?: string | undefined;
|
|
283
|
+
privacyUrl?: string | undefined;
|
|
284
|
+
supportUrl?: string | undefined;
|
|
285
|
+
webhookUrl?: string | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
apiVersion: "1";
|
|
288
|
+
hosting: "self-hosted";
|
|
289
|
+
applicationUrl: string;
|
|
290
|
+
redirectUrls: string[];
|
|
291
|
+
iconUrl?: string | undefined;
|
|
292
|
+
privacyUrl?: string | undefined;
|
|
293
|
+
supportUrl?: string | undefined;
|
|
294
|
+
webhookUrl?: string | undefined;
|
|
295
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
296
|
+
extensions?: {
|
|
297
|
+
url: string;
|
|
298
|
+
id: string;
|
|
299
|
+
target: "app.page" | "workspace.block";
|
|
300
|
+
sha256: string;
|
|
301
|
+
}[] | undefined;
|
|
302
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
303
|
+
apiVersion: z.ZodLiteral<"2">;
|
|
304
|
+
hosting: z.ZodLiteral<"extension-only">;
|
|
305
|
+
iconUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
306
|
+
settings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
307
|
+
id: z.ZodString;
|
|
308
|
+
label: z.ZodString;
|
|
309
|
+
defaultValue: z.ZodDefault<z.ZodString>;
|
|
310
|
+
}, "strict", z.ZodTypeAny, {
|
|
311
|
+
label: string;
|
|
312
|
+
id: string;
|
|
313
|
+
defaultValue: string;
|
|
314
|
+
}, {
|
|
315
|
+
label: string;
|
|
316
|
+
id: string;
|
|
317
|
+
defaultValue?: string | undefined;
|
|
318
|
+
}>, "many">>;
|
|
319
|
+
privacyUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
320
|
+
supportUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
321
|
+
requestedActions: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEnum<["projects:read", "data:read", "data:write", "workflows:run"]>, "many">>, ("projects:read" | "data:read" | "data:write" | "workflows:run")[], ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined>;
|
|
322
|
+
extensions: z.ZodArray<z.ZodObject<{
|
|
323
|
+
id: z.ZodString;
|
|
324
|
+
target: z.ZodEnum<["app.page", "workspace.block"]>;
|
|
325
|
+
path: z.ZodString;
|
|
326
|
+
sha256: z.ZodString;
|
|
327
|
+
}, "strict", z.ZodTypeAny, {
|
|
328
|
+
path: string;
|
|
329
|
+
id: string;
|
|
330
|
+
target: "app.page" | "workspace.block";
|
|
331
|
+
sha256: string;
|
|
332
|
+
}, {
|
|
333
|
+
path: string;
|
|
334
|
+
id: string;
|
|
335
|
+
target: "app.page" | "workspace.block";
|
|
336
|
+
sha256: string;
|
|
337
|
+
}>, "many">;
|
|
338
|
+
}, "strict", z.ZodTypeAny, {
|
|
339
|
+
settings: {
|
|
340
|
+
label: string;
|
|
341
|
+
id: string;
|
|
342
|
+
defaultValue: string;
|
|
343
|
+
}[];
|
|
344
|
+
apiVersion: "2";
|
|
345
|
+
hosting: "extension-only";
|
|
346
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
347
|
+
extensions: {
|
|
348
|
+
path: string;
|
|
349
|
+
id: string;
|
|
350
|
+
target: "app.page" | "workspace.block";
|
|
351
|
+
sha256: string;
|
|
352
|
+
}[];
|
|
353
|
+
iconUrl?: string | undefined;
|
|
354
|
+
privacyUrl?: string | undefined;
|
|
355
|
+
supportUrl?: string | undefined;
|
|
356
|
+
}, {
|
|
357
|
+
apiVersion: "2";
|
|
358
|
+
hosting: "extension-only";
|
|
359
|
+
extensions: {
|
|
360
|
+
path: string;
|
|
361
|
+
id: string;
|
|
362
|
+
target: "app.page" | "workspace.block";
|
|
363
|
+
sha256: string;
|
|
364
|
+
}[];
|
|
365
|
+
settings?: {
|
|
366
|
+
label: string;
|
|
367
|
+
id: string;
|
|
368
|
+
defaultValue?: string | undefined;
|
|
369
|
+
}[] | undefined;
|
|
370
|
+
iconUrl?: string | undefined;
|
|
371
|
+
privacyUrl?: string | undefined;
|
|
372
|
+
supportUrl?: string | undefined;
|
|
373
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
374
|
+
}>, {
|
|
375
|
+
settings: {
|
|
376
|
+
label: string;
|
|
377
|
+
id: string;
|
|
378
|
+
defaultValue: string;
|
|
379
|
+
}[];
|
|
380
|
+
apiVersion: "2";
|
|
381
|
+
hosting: "extension-only";
|
|
382
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
383
|
+
extensions: {
|
|
384
|
+
path: string;
|
|
385
|
+
id: string;
|
|
386
|
+
target: "app.page" | "workspace.block";
|
|
387
|
+
sha256: string;
|
|
388
|
+
}[];
|
|
389
|
+
iconUrl?: string | undefined;
|
|
390
|
+
privacyUrl?: string | undefined;
|
|
391
|
+
supportUrl?: string | undefined;
|
|
392
|
+
}, {
|
|
393
|
+
apiVersion: "2";
|
|
394
|
+
hosting: "extension-only";
|
|
395
|
+
extensions: {
|
|
396
|
+
path: string;
|
|
397
|
+
id: string;
|
|
398
|
+
target: "app.page" | "workspace.block";
|
|
399
|
+
sha256: string;
|
|
400
|
+
}[];
|
|
401
|
+
settings?: {
|
|
402
|
+
label: string;
|
|
403
|
+
id: string;
|
|
404
|
+
defaultValue?: string | undefined;
|
|
405
|
+
}[] | undefined;
|
|
406
|
+
iconUrl?: string | undefined;
|
|
407
|
+
privacyUrl?: string | undefined;
|
|
408
|
+
supportUrl?: string | undefined;
|
|
409
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
410
|
+
}>]>>;
|
|
212
411
|
integration: z.ZodOptional<z.ZodObject<{
|
|
213
412
|
category: z.ZodOptional<z.ZodString>;
|
|
214
413
|
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -482,6 +681,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
482
681
|
} | undefined;
|
|
483
682
|
}>, "many">>;
|
|
484
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
name: string;
|
|
485
685
|
nodes: {
|
|
486
686
|
id: string;
|
|
487
687
|
command: string;
|
|
@@ -523,9 +723,8 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
523
723
|
export: string;
|
|
524
724
|
} | undefined;
|
|
525
725
|
}[];
|
|
526
|
-
|
|
726
|
+
scope: ("user" | "org" | "public" | "group")[];
|
|
527
727
|
id: string;
|
|
528
|
-
scope: ("user" | "group" | "org" | "public")[];
|
|
529
728
|
version: string;
|
|
530
729
|
schemaVersion: string;
|
|
531
730
|
permissions: {
|
|
@@ -577,6 +776,41 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
577
776
|
contributors?: string[] | undefined;
|
|
578
777
|
homepage?: string | undefined;
|
|
579
778
|
license?: string | undefined;
|
|
779
|
+
app?: {
|
|
780
|
+
apiVersion: "1";
|
|
781
|
+
hosting: "self-hosted";
|
|
782
|
+
applicationUrl: string;
|
|
783
|
+
redirectUrls: string[];
|
|
784
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
785
|
+
extensions: {
|
|
786
|
+
url: string;
|
|
787
|
+
id: string;
|
|
788
|
+
target: "app.page" | "workspace.block";
|
|
789
|
+
sha256: string;
|
|
790
|
+
}[];
|
|
791
|
+
iconUrl?: string | undefined;
|
|
792
|
+
privacyUrl?: string | undefined;
|
|
793
|
+
supportUrl?: string | undefined;
|
|
794
|
+
webhookUrl?: string | undefined;
|
|
795
|
+
} | {
|
|
796
|
+
settings: {
|
|
797
|
+
label: string;
|
|
798
|
+
id: string;
|
|
799
|
+
defaultValue: string;
|
|
800
|
+
}[];
|
|
801
|
+
apiVersion: "2";
|
|
802
|
+
hosting: "extension-only";
|
|
803
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
804
|
+
extensions: {
|
|
805
|
+
path: string;
|
|
806
|
+
id: string;
|
|
807
|
+
target: "app.page" | "workspace.block";
|
|
808
|
+
sha256: string;
|
|
809
|
+
}[];
|
|
810
|
+
iconUrl?: string | undefined;
|
|
811
|
+
privacyUrl?: string | undefined;
|
|
812
|
+
supportUrl?: string | undefined;
|
|
813
|
+
} | undefined;
|
|
580
814
|
}, {
|
|
581
815
|
name: string;
|
|
582
816
|
id: string;
|
|
@@ -645,7 +879,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
645
879
|
spec: string;
|
|
646
880
|
}[] | undefined;
|
|
647
881
|
} | undefined;
|
|
648
|
-
scope?: ("user" | "
|
|
882
|
+
scope?: ("user" | "org" | "public" | "group")[] | undefined;
|
|
649
883
|
description?: string | undefined;
|
|
650
884
|
icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
|
|
651
885
|
connections?: Record<string, {
|
|
@@ -673,7 +907,43 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
673
907
|
resource: "project_data" | "secrets" | "network";
|
|
674
908
|
access: "read" | "write" | "outbound";
|
|
675
909
|
}[] | undefined;
|
|
910
|
+
app?: {
|
|
911
|
+
apiVersion: "1";
|
|
912
|
+
hosting: "self-hosted";
|
|
913
|
+
applicationUrl: string;
|
|
914
|
+
redirectUrls: string[];
|
|
915
|
+
iconUrl?: string | undefined;
|
|
916
|
+
privacyUrl?: string | undefined;
|
|
917
|
+
supportUrl?: string | undefined;
|
|
918
|
+
webhookUrl?: string | undefined;
|
|
919
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
920
|
+
extensions?: {
|
|
921
|
+
url: string;
|
|
922
|
+
id: string;
|
|
923
|
+
target: "app.page" | "workspace.block";
|
|
924
|
+
sha256: string;
|
|
925
|
+
}[] | undefined;
|
|
926
|
+
} | {
|
|
927
|
+
apiVersion: "2";
|
|
928
|
+
hosting: "extension-only";
|
|
929
|
+
extensions: {
|
|
930
|
+
path: string;
|
|
931
|
+
id: string;
|
|
932
|
+
target: "app.page" | "workspace.block";
|
|
933
|
+
sha256: string;
|
|
934
|
+
}[];
|
|
935
|
+
settings?: {
|
|
936
|
+
label: string;
|
|
937
|
+
id: string;
|
|
938
|
+
defaultValue?: string | undefined;
|
|
939
|
+
}[] | undefined;
|
|
940
|
+
iconUrl?: string | undefined;
|
|
941
|
+
privacyUrl?: string | undefined;
|
|
942
|
+
supportUrl?: string | undefined;
|
|
943
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
944
|
+
} | undefined;
|
|
676
945
|
}>, {
|
|
946
|
+
name: string;
|
|
677
947
|
nodes: {
|
|
678
948
|
id: string;
|
|
679
949
|
command: string;
|
|
@@ -715,9 +985,8 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
715
985
|
export: string;
|
|
716
986
|
} | undefined;
|
|
717
987
|
}[];
|
|
718
|
-
|
|
988
|
+
scope: ("user" | "org" | "public" | "group")[];
|
|
719
989
|
id: string;
|
|
720
|
-
scope: ("user" | "group" | "org" | "public")[];
|
|
721
990
|
version: string;
|
|
722
991
|
schemaVersion: string;
|
|
723
992
|
permissions: {
|
|
@@ -769,6 +1038,41 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
769
1038
|
contributors?: string[] | undefined;
|
|
770
1039
|
homepage?: string | undefined;
|
|
771
1040
|
license?: string | undefined;
|
|
1041
|
+
app?: {
|
|
1042
|
+
apiVersion: "1";
|
|
1043
|
+
hosting: "self-hosted";
|
|
1044
|
+
applicationUrl: string;
|
|
1045
|
+
redirectUrls: string[];
|
|
1046
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
1047
|
+
extensions: {
|
|
1048
|
+
url: string;
|
|
1049
|
+
id: string;
|
|
1050
|
+
target: "app.page" | "workspace.block";
|
|
1051
|
+
sha256: string;
|
|
1052
|
+
}[];
|
|
1053
|
+
iconUrl?: string | undefined;
|
|
1054
|
+
privacyUrl?: string | undefined;
|
|
1055
|
+
supportUrl?: string | undefined;
|
|
1056
|
+
webhookUrl?: string | undefined;
|
|
1057
|
+
} | {
|
|
1058
|
+
settings: {
|
|
1059
|
+
label: string;
|
|
1060
|
+
id: string;
|
|
1061
|
+
defaultValue: string;
|
|
1062
|
+
}[];
|
|
1063
|
+
apiVersion: "2";
|
|
1064
|
+
hosting: "extension-only";
|
|
1065
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
1066
|
+
extensions: {
|
|
1067
|
+
path: string;
|
|
1068
|
+
id: string;
|
|
1069
|
+
target: "app.page" | "workspace.block";
|
|
1070
|
+
sha256: string;
|
|
1071
|
+
}[];
|
|
1072
|
+
iconUrl?: string | undefined;
|
|
1073
|
+
privacyUrl?: string | undefined;
|
|
1074
|
+
supportUrl?: string | undefined;
|
|
1075
|
+
} | undefined;
|
|
772
1076
|
}, {
|
|
773
1077
|
name: string;
|
|
774
1078
|
id: string;
|
|
@@ -837,7 +1141,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
837
1141
|
spec: string;
|
|
838
1142
|
}[] | undefined;
|
|
839
1143
|
} | undefined;
|
|
840
|
-
scope?: ("user" | "
|
|
1144
|
+
scope?: ("user" | "org" | "public" | "group")[] | undefined;
|
|
841
1145
|
description?: string | undefined;
|
|
842
1146
|
icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
|
|
843
1147
|
connections?: Record<string, {
|
|
@@ -865,10 +1169,46 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
865
1169
|
resource: "project_data" | "secrets" | "network";
|
|
866
1170
|
access: "read" | "write" | "outbound";
|
|
867
1171
|
}[] | undefined;
|
|
1172
|
+
app?: {
|
|
1173
|
+
apiVersion: "1";
|
|
1174
|
+
hosting: "self-hosted";
|
|
1175
|
+
applicationUrl: string;
|
|
1176
|
+
redirectUrls: string[];
|
|
1177
|
+
iconUrl?: string | undefined;
|
|
1178
|
+
privacyUrl?: string | undefined;
|
|
1179
|
+
supportUrl?: string | undefined;
|
|
1180
|
+
webhookUrl?: string | undefined;
|
|
1181
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
1182
|
+
extensions?: {
|
|
1183
|
+
url: string;
|
|
1184
|
+
id: string;
|
|
1185
|
+
target: "app.page" | "workspace.block";
|
|
1186
|
+
sha256: string;
|
|
1187
|
+
}[] | undefined;
|
|
1188
|
+
} | {
|
|
1189
|
+
apiVersion: "2";
|
|
1190
|
+
hosting: "extension-only";
|
|
1191
|
+
extensions: {
|
|
1192
|
+
path: string;
|
|
1193
|
+
id: string;
|
|
1194
|
+
target: "app.page" | "workspace.block";
|
|
1195
|
+
sha256: string;
|
|
1196
|
+
}[];
|
|
1197
|
+
settings?: {
|
|
1198
|
+
label: string;
|
|
1199
|
+
id: string;
|
|
1200
|
+
defaultValue?: string | undefined;
|
|
1201
|
+
}[] | undefined;
|
|
1202
|
+
iconUrl?: string | undefined;
|
|
1203
|
+
privacyUrl?: string | undefined;
|
|
1204
|
+
supportUrl?: string | undefined;
|
|
1205
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
1206
|
+
} | undefined;
|
|
868
1207
|
}>;
|
|
869
1208
|
archiveSha256: z.ZodString;
|
|
870
1209
|
}, "strip", z.ZodTypeAny, {
|
|
871
1210
|
manifest: {
|
|
1211
|
+
name: string;
|
|
872
1212
|
nodes: {
|
|
873
1213
|
id: string;
|
|
874
1214
|
command: string;
|
|
@@ -910,9 +1250,8 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
910
1250
|
export: string;
|
|
911
1251
|
} | undefined;
|
|
912
1252
|
}[];
|
|
913
|
-
|
|
1253
|
+
scope: ("user" | "org" | "public" | "group")[];
|
|
914
1254
|
id: string;
|
|
915
|
-
scope: ("user" | "group" | "org" | "public")[];
|
|
916
1255
|
version: string;
|
|
917
1256
|
schemaVersion: string;
|
|
918
1257
|
permissions: {
|
|
@@ -964,6 +1303,41 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
964
1303
|
contributors?: string[] | undefined;
|
|
965
1304
|
homepage?: string | undefined;
|
|
966
1305
|
license?: string | undefined;
|
|
1306
|
+
app?: {
|
|
1307
|
+
apiVersion: "1";
|
|
1308
|
+
hosting: "self-hosted";
|
|
1309
|
+
applicationUrl: string;
|
|
1310
|
+
redirectUrls: string[];
|
|
1311
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
1312
|
+
extensions: {
|
|
1313
|
+
url: string;
|
|
1314
|
+
id: string;
|
|
1315
|
+
target: "app.page" | "workspace.block";
|
|
1316
|
+
sha256: string;
|
|
1317
|
+
}[];
|
|
1318
|
+
iconUrl?: string | undefined;
|
|
1319
|
+
privacyUrl?: string | undefined;
|
|
1320
|
+
supportUrl?: string | undefined;
|
|
1321
|
+
webhookUrl?: string | undefined;
|
|
1322
|
+
} | {
|
|
1323
|
+
settings: {
|
|
1324
|
+
label: string;
|
|
1325
|
+
id: string;
|
|
1326
|
+
defaultValue: string;
|
|
1327
|
+
}[];
|
|
1328
|
+
apiVersion: "2";
|
|
1329
|
+
hosting: "extension-only";
|
|
1330
|
+
requestedActions: ("projects:read" | "data:read" | "data:write" | "workflows:run")[];
|
|
1331
|
+
extensions: {
|
|
1332
|
+
path: string;
|
|
1333
|
+
id: string;
|
|
1334
|
+
target: "app.page" | "workspace.block";
|
|
1335
|
+
sha256: string;
|
|
1336
|
+
}[];
|
|
1337
|
+
iconUrl?: string | undefined;
|
|
1338
|
+
privacyUrl?: string | undefined;
|
|
1339
|
+
supportUrl?: string | undefined;
|
|
1340
|
+
} | undefined;
|
|
967
1341
|
};
|
|
968
1342
|
archiveSha256: string;
|
|
969
1343
|
}, {
|
|
@@ -1035,7 +1409,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
1035
1409
|
spec: string;
|
|
1036
1410
|
}[] | undefined;
|
|
1037
1411
|
} | undefined;
|
|
1038
|
-
scope?: ("user" | "
|
|
1412
|
+
scope?: ("user" | "org" | "public" | "group")[] | undefined;
|
|
1039
1413
|
description?: string | undefined;
|
|
1040
1414
|
icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
|
|
1041
1415
|
connections?: Record<string, {
|
|
@@ -1063,6 +1437,41 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
|
|
|
1063
1437
|
resource: "project_data" | "secrets" | "network";
|
|
1064
1438
|
access: "read" | "write" | "outbound";
|
|
1065
1439
|
}[] | undefined;
|
|
1440
|
+
app?: {
|
|
1441
|
+
apiVersion: "1";
|
|
1442
|
+
hosting: "self-hosted";
|
|
1443
|
+
applicationUrl: string;
|
|
1444
|
+
redirectUrls: string[];
|
|
1445
|
+
iconUrl?: string | undefined;
|
|
1446
|
+
privacyUrl?: string | undefined;
|
|
1447
|
+
supportUrl?: string | undefined;
|
|
1448
|
+
webhookUrl?: string | undefined;
|
|
1449
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
1450
|
+
extensions?: {
|
|
1451
|
+
url: string;
|
|
1452
|
+
id: string;
|
|
1453
|
+
target: "app.page" | "workspace.block";
|
|
1454
|
+
sha256: string;
|
|
1455
|
+
}[] | undefined;
|
|
1456
|
+
} | {
|
|
1457
|
+
apiVersion: "2";
|
|
1458
|
+
hosting: "extension-only";
|
|
1459
|
+
extensions: {
|
|
1460
|
+
path: string;
|
|
1461
|
+
id: string;
|
|
1462
|
+
target: "app.page" | "workspace.block";
|
|
1463
|
+
sha256: string;
|
|
1464
|
+
}[];
|
|
1465
|
+
settings?: {
|
|
1466
|
+
label: string;
|
|
1467
|
+
id: string;
|
|
1468
|
+
defaultValue?: string | undefined;
|
|
1469
|
+
}[] | undefined;
|
|
1470
|
+
iconUrl?: string | undefined;
|
|
1471
|
+
privacyUrl?: string | undefined;
|
|
1472
|
+
supportUrl?: string | undefined;
|
|
1473
|
+
requestedActions?: ("projects:read" | "data:read" | "data:write" | "workflows:run")[] | undefined;
|
|
1474
|
+
} | undefined;
|
|
1066
1475
|
};
|
|
1067
1476
|
archiveSha256: string;
|
|
1068
1477
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin/execution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qBAA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