@octonodes/sdk 0.2.7 → 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
|
@@ -11,16 +11,16 @@ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
|
|
|
11
11
|
workflow: z.ZodDefault<z.ZodString>;
|
|
12
12
|
}, "strict", z.ZodTypeAny, {
|
|
13
13
|
workflow: string;
|
|
14
|
+
scope: "user" | "team" | "public" | "organization";
|
|
14
15
|
id: string;
|
|
15
|
-
scope: "user" | "public" | "team" | "organization";
|
|
16
16
|
apiVersion: "octonode.plugin/v1";
|
|
17
17
|
version: string;
|
|
18
18
|
contributors?: string[] | undefined;
|
|
19
19
|
teamId?: string | undefined;
|
|
20
20
|
orgId?: string | undefined;
|
|
21
21
|
}, {
|
|
22
|
+
scope: "user" | "team" | "public" | "organization";
|
|
22
23
|
id: string;
|
|
23
|
-
scope: "user" | "public" | "team" | "organization";
|
|
24
24
|
apiVersion: "octonode.plugin/v1";
|
|
25
25
|
version: string;
|
|
26
26
|
workflow?: string | undefined;
|
|
@@ -29,16 +29,16 @@ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
|
|
|
29
29
|
orgId?: string | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
workflow: string;
|
|
32
|
+
scope: "user" | "team" | "public" | "organization";
|
|
32
33
|
id: string;
|
|
33
|
-
scope: "user" | "public" | "team" | "organization";
|
|
34
34
|
apiVersion: "octonode.plugin/v1";
|
|
35
35
|
version: string;
|
|
36
36
|
contributors?: string[] | undefined;
|
|
37
37
|
teamId?: string | undefined;
|
|
38
38
|
orgId?: string | undefined;
|
|
39
39
|
}, {
|
|
40
|
+
scope: "user" | "team" | "public" | "organization";
|
|
40
41
|
id: string;
|
|
41
|
-
scope: "user" | "public" | "team" | "organization";
|
|
42
42
|
apiVersion: "octonode.plugin/v1";
|
|
43
43
|
version: string;
|
|
44
44
|
workflow?: string | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
|
|
|
47
47
|
orgId?: string | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
export type PluginReleaseConfig = z.infer<typeof PluginReleaseConfig>;
|
|
50
|
-
export declare const pluginReleaseScope: (config: PluginReleaseConfig) => "user" | "
|
|
50
|
+
export declare const pluginReleaseScope: (config: PluginReleaseConfig) => "user" | "org" | "public" | "group";
|
|
51
51
|
export declare const PluginPublisherInput: z.ZodObject<{
|
|
52
52
|
repositoryId: z.ZodNumber;
|
|
53
53
|
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -105,16 +105,16 @@ export declare const PluginPublisherPreview: z.ZodObject<{
|
|
|
105
105
|
workflow: z.ZodDefault<z.ZodString>;
|
|
106
106
|
}, "strict", z.ZodTypeAny, {
|
|
107
107
|
workflow: string;
|
|
108
|
+
scope: "user" | "team" | "public" | "organization";
|
|
108
109
|
id: string;
|
|
109
|
-
scope: "user" | "public" | "team" | "organization";
|
|
110
110
|
apiVersion: "octonode.plugin/v1";
|
|
111
111
|
version: string;
|
|
112
112
|
contributors?: string[] | undefined;
|
|
113
113
|
teamId?: string | undefined;
|
|
114
114
|
orgId?: string | undefined;
|
|
115
115
|
}, {
|
|
116
|
+
scope: "user" | "team" | "public" | "organization";
|
|
116
117
|
id: string;
|
|
117
|
-
scope: "user" | "public" | "team" | "organization";
|
|
118
118
|
apiVersion: "octonode.plugin/v1";
|
|
119
119
|
version: string;
|
|
120
120
|
workflow?: string | undefined;
|
|
@@ -123,16 +123,16 @@ export declare const PluginPublisherPreview: z.ZodObject<{
|
|
|
123
123
|
orgId?: string | undefined;
|
|
124
124
|
}>, {
|
|
125
125
|
workflow: string;
|
|
126
|
+
scope: "user" | "team" | "public" | "organization";
|
|
126
127
|
id: string;
|
|
127
|
-
scope: "user" | "public" | "team" | "organization";
|
|
128
128
|
apiVersion: "octonode.plugin/v1";
|
|
129
129
|
version: string;
|
|
130
130
|
contributors?: string[] | undefined;
|
|
131
131
|
teamId?: string | undefined;
|
|
132
132
|
orgId?: string | undefined;
|
|
133
133
|
}, {
|
|
134
|
+
scope: "user" | "team" | "public" | "organization";
|
|
134
135
|
id: string;
|
|
135
|
-
scope: "user" | "public" | "team" | "organization";
|
|
136
136
|
apiVersion: "octonode.plugin/v1";
|
|
137
137
|
version: string;
|
|
138
138
|
workflow?: string | undefined;
|
|
@@ -147,8 +147,8 @@ export declare const PluginPublisherPreview: z.ZodObject<{
|
|
|
147
147
|
repository: string;
|
|
148
148
|
config: {
|
|
149
149
|
workflow: string;
|
|
150
|
+
scope: "user" | "team" | "public" | "organization";
|
|
150
151
|
id: string;
|
|
151
|
-
scope: "user" | "public" | "team" | "organization";
|
|
152
152
|
apiVersion: "octonode.plugin/v1";
|
|
153
153
|
version: string;
|
|
154
154
|
contributors?: string[] | undefined;
|
|
@@ -160,8 +160,8 @@ export declare const PluginPublisherPreview: z.ZodObject<{
|
|
|
160
160
|
}, {
|
|
161
161
|
repository: string;
|
|
162
162
|
config: {
|
|
163
|
+
scope: "user" | "team" | "public" | "organization";
|
|
163
164
|
id: string;
|
|
164
|
-
scope: "user" | "public" | "team" | "organization";
|
|
165
165
|
apiVersion: "octonode.plugin/v1";
|
|
166
166
|
version: string;
|
|
167
167
|
workflow?: string | undefined;
|
|
@@ -184,16 +184,16 @@ export declare const PluginPublisherConnection: z.ZodObject<{
|
|
|
184
184
|
workflow: z.ZodDefault<z.ZodString>;
|
|
185
185
|
}, "strict", z.ZodTypeAny, {
|
|
186
186
|
workflow: string;
|
|
187
|
+
scope: "user" | "team" | "public" | "organization";
|
|
187
188
|
id: string;
|
|
188
|
-
scope: "user" | "public" | "team" | "organization";
|
|
189
189
|
apiVersion: "octonode.plugin/v1";
|
|
190
190
|
version: string;
|
|
191
191
|
contributors?: string[] | undefined;
|
|
192
192
|
teamId?: string | undefined;
|
|
193
193
|
orgId?: string | undefined;
|
|
194
194
|
}, {
|
|
195
|
+
scope: "user" | "team" | "public" | "organization";
|
|
195
196
|
id: string;
|
|
196
|
-
scope: "user" | "public" | "team" | "organization";
|
|
197
197
|
apiVersion: "octonode.plugin/v1";
|
|
198
198
|
version: string;
|
|
199
199
|
workflow?: string | undefined;
|
|
@@ -202,16 +202,16 @@ export declare const PluginPublisherConnection: z.ZodObject<{
|
|
|
202
202
|
orgId?: string | undefined;
|
|
203
203
|
}>, {
|
|
204
204
|
workflow: string;
|
|
205
|
+
scope: "user" | "team" | "public" | "organization";
|
|
205
206
|
id: string;
|
|
206
|
-
scope: "user" | "public" | "team" | "organization";
|
|
207
207
|
apiVersion: "octonode.plugin/v1";
|
|
208
208
|
version: string;
|
|
209
209
|
contributors?: string[] | undefined;
|
|
210
210
|
teamId?: string | undefined;
|
|
211
211
|
orgId?: string | undefined;
|
|
212
212
|
}, {
|
|
213
|
+
scope: "user" | "team" | "public" | "organization";
|
|
213
214
|
id: string;
|
|
214
|
-
scope: "user" | "public" | "team" | "organization";
|
|
215
215
|
apiVersion: "octonode.plugin/v1";
|
|
216
216
|
version: string;
|
|
217
217
|
workflow?: string | undefined;
|
|
@@ -233,8 +233,8 @@ export declare const PluginPublisherConnection: z.ZodObject<{
|
|
|
233
233
|
repository: string;
|
|
234
234
|
config: {
|
|
235
235
|
workflow: string;
|
|
236
|
+
scope: "user" | "team" | "public" | "organization";
|
|
236
237
|
id: string;
|
|
237
|
-
scope: "user" | "public" | "team" | "organization";
|
|
238
238
|
apiVersion: "octonode.plugin/v1";
|
|
239
239
|
version: string;
|
|
240
240
|
contributors?: string[] | undefined;
|
|
@@ -252,8 +252,8 @@ export declare const PluginPublisherConnection: z.ZodObject<{
|
|
|
252
252
|
}, {
|
|
253
253
|
repository: string;
|
|
254
254
|
config: {
|
|
255
|
+
scope: "user" | "team" | "public" | "organization";
|
|
255
256
|
id: string;
|
|
256
|
-
scope: "user" | "public" | "team" | "organization";
|
|
257
257
|
apiVersion: "octonode.plugin/v1";
|
|
258
258
|
version: string;
|
|
259
259
|
workflow?: string | undefined;
|
|
@@ -283,16 +283,16 @@ export declare const PluginPublisherConnections: z.ZodObject<{
|
|
|
283
283
|
workflow: z.ZodDefault<z.ZodString>;
|
|
284
284
|
}, "strict", z.ZodTypeAny, {
|
|
285
285
|
workflow: string;
|
|
286
|
+
scope: "user" | "team" | "public" | "organization";
|
|
286
287
|
id: string;
|
|
287
|
-
scope: "user" | "public" | "team" | "organization";
|
|
288
288
|
apiVersion: "octonode.plugin/v1";
|
|
289
289
|
version: string;
|
|
290
290
|
contributors?: string[] | undefined;
|
|
291
291
|
teamId?: string | undefined;
|
|
292
292
|
orgId?: string | undefined;
|
|
293
293
|
}, {
|
|
294
|
+
scope: "user" | "team" | "public" | "organization";
|
|
294
295
|
id: string;
|
|
295
|
-
scope: "user" | "public" | "team" | "organization";
|
|
296
296
|
apiVersion: "octonode.plugin/v1";
|
|
297
297
|
version: string;
|
|
298
298
|
workflow?: string | undefined;
|
|
@@ -301,16 +301,16 @@ export declare const PluginPublisherConnections: z.ZodObject<{
|
|
|
301
301
|
orgId?: string | undefined;
|
|
302
302
|
}>, {
|
|
303
303
|
workflow: string;
|
|
304
|
+
scope: "user" | "team" | "public" | "organization";
|
|
304
305
|
id: string;
|
|
305
|
-
scope: "user" | "public" | "team" | "organization";
|
|
306
306
|
apiVersion: "octonode.plugin/v1";
|
|
307
307
|
version: string;
|
|
308
308
|
contributors?: string[] | undefined;
|
|
309
309
|
teamId?: string | undefined;
|
|
310
310
|
orgId?: string | undefined;
|
|
311
311
|
}, {
|
|
312
|
+
scope: "user" | "team" | "public" | "organization";
|
|
312
313
|
id: string;
|
|
313
|
-
scope: "user" | "public" | "team" | "organization";
|
|
314
314
|
apiVersion: "octonode.plugin/v1";
|
|
315
315
|
version: string;
|
|
316
316
|
workflow?: string | undefined;
|
|
@@ -332,8 +332,8 @@ export declare const PluginPublisherConnections: z.ZodObject<{
|
|
|
332
332
|
repository: string;
|
|
333
333
|
config: {
|
|
334
334
|
workflow: string;
|
|
335
|
+
scope: "user" | "team" | "public" | "organization";
|
|
335
336
|
id: string;
|
|
336
|
-
scope: "user" | "public" | "team" | "organization";
|
|
337
337
|
apiVersion: "octonode.plugin/v1";
|
|
338
338
|
version: string;
|
|
339
339
|
contributors?: string[] | undefined;
|
|
@@ -351,8 +351,8 @@ export declare const PluginPublisherConnections: z.ZodObject<{
|
|
|
351
351
|
}, {
|
|
352
352
|
repository: string;
|
|
353
353
|
config: {
|
|
354
|
+
scope: "user" | "team" | "public" | "organization";
|
|
354
355
|
id: string;
|
|
355
|
-
scope: "user" | "public" | "team" | "organization";
|
|
356
356
|
apiVersion: "octonode.plugin/v1";
|
|
357
357
|
version: string;
|
|
358
358
|
workflow?: string | undefined;
|
|
@@ -374,8 +374,8 @@ export declare const PluginPublisherConnections: z.ZodObject<{
|
|
|
374
374
|
repository: string;
|
|
375
375
|
config: {
|
|
376
376
|
workflow: string;
|
|
377
|
+
scope: "user" | "team" | "public" | "organization";
|
|
377
378
|
id: string;
|
|
378
|
-
scope: "user" | "public" | "team" | "organization";
|
|
379
379
|
apiVersion: "octonode.plugin/v1";
|
|
380
380
|
version: string;
|
|
381
381
|
contributors?: string[] | undefined;
|
|
@@ -395,8 +395,8 @@ export declare const PluginPublisherConnections: z.ZodObject<{
|
|
|
395
395
|
items: {
|
|
396
396
|
repository: string;
|
|
397
397
|
config: {
|
|
398
|
+
scope: "user" | "team" | "public" | "organization";
|
|
398
399
|
id: string;
|
|
399
|
-
scope: "user" | "public" | "team" | "organization";
|
|
400
400
|
apiVersion: "octonode.plugin/v1";
|
|
401
401
|
version: string;
|
|
402
402
|
workflow?: string | undefined;
|
|
@@ -428,16 +428,16 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
|
|
|
428
428
|
workflow: z.ZodDefault<z.ZodString>;
|
|
429
429
|
}, "strict", z.ZodTypeAny, {
|
|
430
430
|
workflow: string;
|
|
431
|
+
scope: "user" | "team" | "public" | "organization";
|
|
431
432
|
id: string;
|
|
432
|
-
scope: "user" | "public" | "team" | "organization";
|
|
433
433
|
apiVersion: "octonode.plugin/v1";
|
|
434
434
|
version: string;
|
|
435
435
|
contributors?: string[] | undefined;
|
|
436
436
|
teamId?: string | undefined;
|
|
437
437
|
orgId?: string | undefined;
|
|
438
438
|
}, {
|
|
439
|
+
scope: "user" | "team" | "public" | "organization";
|
|
439
440
|
id: string;
|
|
440
|
-
scope: "user" | "public" | "team" | "organization";
|
|
441
441
|
apiVersion: "octonode.plugin/v1";
|
|
442
442
|
version: string;
|
|
443
443
|
workflow?: string | undefined;
|
|
@@ -446,16 +446,16 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
|
|
|
446
446
|
orgId?: string | undefined;
|
|
447
447
|
}>, {
|
|
448
448
|
workflow: string;
|
|
449
|
+
scope: "user" | "team" | "public" | "organization";
|
|
449
450
|
id: string;
|
|
450
|
-
scope: "user" | "public" | "team" | "organization";
|
|
451
451
|
apiVersion: "octonode.plugin/v1";
|
|
452
452
|
version: string;
|
|
453
453
|
contributors?: string[] | undefined;
|
|
454
454
|
teamId?: string | undefined;
|
|
455
455
|
orgId?: string | undefined;
|
|
456
456
|
}, {
|
|
457
|
+
scope: "user" | "team" | "public" | "organization";
|
|
457
458
|
id: string;
|
|
458
|
-
scope: "user" | "public" | "team" | "organization";
|
|
459
459
|
apiVersion: "octonode.plugin/v1";
|
|
460
460
|
version: string;
|
|
461
461
|
workflow?: string | undefined;
|
|
@@ -470,8 +470,8 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
|
|
|
470
470
|
missing: boolean;
|
|
471
471
|
config: {
|
|
472
472
|
workflow: string;
|
|
473
|
+
scope: "user" | "team" | "public" | "organization";
|
|
473
474
|
id: string;
|
|
474
|
-
scope: "user" | "public" | "team" | "organization";
|
|
475
475
|
apiVersion: "octonode.plugin/v1";
|
|
476
476
|
version: string;
|
|
477
477
|
contributors?: string[] | undefined;
|
|
@@ -484,8 +484,8 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
|
|
|
484
484
|
}, {
|
|
485
485
|
missing: boolean;
|
|
486
486
|
config: {
|
|
487
|
+
scope: "user" | "team" | "public" | "organization";
|
|
487
488
|
id: string;
|
|
488
|
-
scope: "user" | "public" | "team" | "organization";
|
|
489
489
|
apiVersion: "octonode.plugin/v1";
|
|
490
490
|
version: string;
|
|
491
491
|
workflow?: string | undefined;
|
|
@@ -516,16 +516,16 @@ export declare const PluginPublisherReview: z.ZodObject<{
|
|
|
516
516
|
workflow: z.ZodDefault<z.ZodString>;
|
|
517
517
|
}, "strict", z.ZodTypeAny, {
|
|
518
518
|
workflow: string;
|
|
519
|
+
scope: "user" | "team" | "public" | "organization";
|
|
519
520
|
id: string;
|
|
520
|
-
scope: "user" | "public" | "team" | "organization";
|
|
521
521
|
apiVersion: "octonode.plugin/v1";
|
|
522
522
|
version: string;
|
|
523
523
|
contributors?: string[] | undefined;
|
|
524
524
|
teamId?: string | undefined;
|
|
525
525
|
orgId?: string | undefined;
|
|
526
526
|
}, {
|
|
527
|
+
scope: "user" | "team" | "public" | "organization";
|
|
527
528
|
id: string;
|
|
528
|
-
scope: "user" | "public" | "team" | "organization";
|
|
529
529
|
apiVersion: "octonode.plugin/v1";
|
|
530
530
|
version: string;
|
|
531
531
|
workflow?: string | undefined;
|
|
@@ -534,16 +534,16 @@ export declare const PluginPublisherReview: z.ZodObject<{
|
|
|
534
534
|
orgId?: string | undefined;
|
|
535
535
|
}>, {
|
|
536
536
|
workflow: string;
|
|
537
|
+
scope: "user" | "team" | "public" | "organization";
|
|
537
538
|
id: string;
|
|
538
|
-
scope: "user" | "public" | "team" | "organization";
|
|
539
539
|
apiVersion: "octonode.plugin/v1";
|
|
540
540
|
version: string;
|
|
541
541
|
contributors?: string[] | undefined;
|
|
542
542
|
teamId?: string | undefined;
|
|
543
543
|
orgId?: string | undefined;
|
|
544
544
|
}, {
|
|
545
|
+
scope: "user" | "team" | "public" | "organization";
|
|
545
546
|
id: string;
|
|
546
|
-
scope: "user" | "public" | "team" | "organization";
|
|
547
547
|
apiVersion: "octonode.plugin/v1";
|
|
548
548
|
version: string;
|
|
549
549
|
workflow?: string | undefined;
|
|
@@ -558,8 +558,8 @@ export declare const PluginPublisherReview: z.ZodObject<{
|
|
|
558
558
|
missing: boolean;
|
|
559
559
|
config: {
|
|
560
560
|
workflow: string;
|
|
561
|
+
scope: "user" | "team" | "public" | "organization";
|
|
561
562
|
id: string;
|
|
562
|
-
scope: "user" | "public" | "team" | "organization";
|
|
563
563
|
apiVersion: "octonode.plugin/v1";
|
|
564
564
|
version: string;
|
|
565
565
|
contributors?: string[] | undefined;
|
|
@@ -572,8 +572,8 @@ export declare const PluginPublisherReview: z.ZodObject<{
|
|
|
572
572
|
}, {
|
|
573
573
|
missing: boolean;
|
|
574
574
|
config: {
|
|
575
|
+
scope: "user" | "team" | "public" | "organization";
|
|
575
576
|
id: string;
|
|
576
|
-
scope: "user" | "public" | "team" | "organization";
|
|
577
577
|
apiVersion: "octonode.plugin/v1";
|
|
578
578
|
version: string;
|
|
579
579
|
workflow?: string | undefined;
|
|
@@ -593,8 +593,8 @@ export declare const PluginPublisherReview: z.ZodObject<{
|
|
|
593
593
|
missing: boolean;
|
|
594
594
|
config: {
|
|
595
595
|
workflow: string;
|
|
596
|
+
scope: "user" | "team" | "public" | "organization";
|
|
596
597
|
id: string;
|
|
597
|
-
scope: "user" | "public" | "team" | "organization";
|
|
598
598
|
apiVersion: "octonode.plugin/v1";
|
|
599
599
|
version: string;
|
|
600
600
|
contributors?: string[] | undefined;
|
|
@@ -614,8 +614,8 @@ export declare const PluginPublisherReview: z.ZodObject<{
|
|
|
614
614
|
items: {
|
|
615
615
|
missing: boolean;
|
|
616
616
|
config: {
|
|
617
|
+
scope: "user" | "team" | "public" | "organization";
|
|
617
618
|
id: string;
|
|
618
|
-
scope: "user" | "public" | "team" | "organization";
|
|
619
619
|
apiVersion: "octonode.plugin/v1";
|
|
620
620
|
version: string;
|
|
621
621
|
workflow?: string | undefined;
|
|
@@ -685,21 +685,21 @@ export declare const PluginPublisherListQuery: z.ZodObject<{
|
|
|
685
685
|
direction: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
686
686
|
}, "strip", z.ZodTypeAny, {
|
|
687
687
|
source: "" | "sdk" | "npm";
|
|
688
|
-
sort: "
|
|
688
|
+
sort: "name" | "updated" | "source" | "scope" | "version" | "installs" | "score" | "versions";
|
|
689
689
|
offset: number;
|
|
690
|
-
limit: number;
|
|
691
690
|
q: string;
|
|
692
|
-
scope: "" | "user" | "group" | "org" | "public";
|
|
693
691
|
direction: "asc" | "desc";
|
|
692
|
+
limit: number;
|
|
693
|
+
scope: "" | "user" | "org" | "public" | "group";
|
|
694
694
|
days: "7" | "30" | "90";
|
|
695
695
|
}, {
|
|
696
696
|
source?: "" | "sdk" | "npm" | undefined;
|
|
697
|
-
sort?: "
|
|
697
|
+
sort?: "name" | "updated" | "source" | "scope" | "version" | "installs" | "score" | "versions" | undefined;
|
|
698
698
|
offset?: number | undefined;
|
|
699
|
-
limit?: number | undefined;
|
|
700
699
|
q?: string | undefined;
|
|
701
|
-
scope?: "" | "user" | "group" | "org" | "public" | undefined;
|
|
702
700
|
direction?: "asc" | "desc" | undefined;
|
|
701
|
+
limit?: number | undefined;
|
|
702
|
+
scope?: "" | "user" | "org" | "public" | "group" | undefined;
|
|
703
703
|
days?: "7" | "30" | "90" | undefined;
|
|
704
704
|
}>;
|
|
705
705
|
export type PluginPublisherListQuery = z.infer<typeof PluginPublisherListQuery>;
|
|
@@ -717,8 +717,8 @@ export declare const PluginPublisherBuildQuery: z.ZodObject<{
|
|
|
717
717
|
sort: "name" | "status" | "branch" | "sha" | "newest" | "oldest";
|
|
718
718
|
search: string;
|
|
719
719
|
status: "" | "queued" | "in_progress" | "success" | "failure";
|
|
720
|
-
limit: number;
|
|
721
720
|
direction: "asc" | "desc";
|
|
721
|
+
limit: number;
|
|
722
722
|
branch: string;
|
|
723
723
|
sha: string;
|
|
724
724
|
page: number;
|
|
@@ -727,8 +727,8 @@ export declare const PluginPublisherBuildQuery: z.ZodObject<{
|
|
|
727
727
|
sort?: "name" | "status" | "branch" | "sha" | "newest" | "oldest" | undefined;
|
|
728
728
|
search?: string | undefined;
|
|
729
729
|
status?: "" | "queued" | "in_progress" | "success" | "failure" | undefined;
|
|
730
|
-
limit?: number | undefined;
|
|
731
730
|
direction?: "asc" | "desc" | undefined;
|
|
731
|
+
limit?: number | undefined;
|
|
732
732
|
repositoryId?: number | undefined;
|
|
733
733
|
branch?: string | undefined;
|
|
734
734
|
sha?: string | undefined;
|
|
@@ -839,7 +839,7 @@ export declare const PluginPublisherBuildDetail: z.ZodObject<{
|
|
|
839
839
|
name: string;
|
|
840
840
|
url: string | null;
|
|
841
841
|
status: string;
|
|
842
|
-
scope: "user" | "
|
|
842
|
+
scope: "user" | "team" | "public" | "organization";
|
|
843
843
|
version: string;
|
|
844
844
|
configPath: string;
|
|
845
845
|
operation: "update" | "delete" | "create";
|
|
@@ -848,7 +848,7 @@ export declare const PluginPublisherBuildDetail: z.ZodObject<{
|
|
|
848
848
|
name: string;
|
|
849
849
|
url: string | null;
|
|
850
850
|
status: string;
|
|
851
|
-
scope: "user" | "
|
|
851
|
+
scope: "user" | "team" | "public" | "organization";
|
|
852
852
|
version: string;
|
|
853
853
|
configPath: string;
|
|
854
854
|
operation: "update" | "delete" | "create";
|
|
@@ -863,7 +863,7 @@ export declare const PluginPublisherBuildDetail: z.ZodObject<{
|
|
|
863
863
|
name: string;
|
|
864
864
|
url: string | null;
|
|
865
865
|
status: string;
|
|
866
|
-
scope: "user" | "
|
|
866
|
+
scope: "user" | "team" | "public" | "organization";
|
|
867
867
|
version: string;
|
|
868
868
|
configPath: string;
|
|
869
869
|
operation: "update" | "delete" | "create";
|
|
@@ -880,7 +880,7 @@ export declare const PluginPublisherBuildDetail: z.ZodObject<{
|
|
|
880
880
|
name: string;
|
|
881
881
|
url: string | null;
|
|
882
882
|
status: string;
|
|
883
|
-
scope: "user" | "
|
|
883
|
+
scope: "user" | "team" | "public" | "organization";
|
|
884
884
|
version: string;
|
|
885
885
|
configPath: string;
|
|
886
886
|
operation: "update" | "delete" | "create";
|
|
@@ -911,16 +911,16 @@ export declare const PluginCloudBuild: z.ZodObject<{
|
|
|
911
911
|
workflow: z.ZodDefault<z.ZodString>;
|
|
912
912
|
}, "strict", z.ZodTypeAny, {
|
|
913
913
|
workflow: string;
|
|
914
|
+
scope: "user" | "team" | "public" | "organization";
|
|
914
915
|
id: string;
|
|
915
|
-
scope: "user" | "public" | "team" | "organization";
|
|
916
916
|
apiVersion: "octonode.plugin/v1";
|
|
917
917
|
version: string;
|
|
918
918
|
contributors?: string[] | undefined;
|
|
919
919
|
teamId?: string | undefined;
|
|
920
920
|
orgId?: string | undefined;
|
|
921
921
|
}, {
|
|
922
|
+
scope: "user" | "team" | "public" | "organization";
|
|
922
923
|
id: string;
|
|
923
|
-
scope: "user" | "public" | "team" | "organization";
|
|
924
924
|
apiVersion: "octonode.plugin/v1";
|
|
925
925
|
version: string;
|
|
926
926
|
workflow?: string | undefined;
|
|
@@ -929,16 +929,16 @@ export declare const PluginCloudBuild: z.ZodObject<{
|
|
|
929
929
|
orgId?: string | undefined;
|
|
930
930
|
}>, {
|
|
931
931
|
workflow: string;
|
|
932
|
+
scope: "user" | "team" | "public" | "organization";
|
|
932
933
|
id: string;
|
|
933
|
-
scope: "user" | "public" | "team" | "organization";
|
|
934
934
|
apiVersion: "octonode.plugin/v1";
|
|
935
935
|
version: string;
|
|
936
936
|
contributors?: string[] | undefined;
|
|
937
937
|
teamId?: string | undefined;
|
|
938
938
|
orgId?: string | undefined;
|
|
939
939
|
}, {
|
|
940
|
+
scope: "user" | "team" | "public" | "organization";
|
|
940
941
|
id: string;
|
|
941
|
-
scope: "user" | "public" | "team" | "organization";
|
|
942
942
|
apiVersion: "octonode.plugin/v1";
|
|
943
943
|
version: string;
|
|
944
944
|
workflow?: string | undefined;
|
|
@@ -951,8 +951,8 @@ export declare const PluginCloudBuild: z.ZodObject<{
|
|
|
951
951
|
}, "strip", z.ZodTypeAny, {
|
|
952
952
|
config: {
|
|
953
953
|
workflow: string;
|
|
954
|
+
scope: "user" | "team" | "public" | "organization";
|
|
954
955
|
id: string;
|
|
955
|
-
scope: "user" | "public" | "team" | "organization";
|
|
956
956
|
apiVersion: "octonode.plugin/v1";
|
|
957
957
|
version: string;
|
|
958
958
|
contributors?: string[] | undefined;
|
|
@@ -964,8 +964,8 @@ export declare const PluginCloudBuild: z.ZodObject<{
|
|
|
964
964
|
operation: "update" | "delete" | "create";
|
|
965
965
|
}, {
|
|
966
966
|
config: {
|
|
967
|
+
scope: "user" | "team" | "public" | "organization";
|
|
967
968
|
id: string;
|
|
968
|
-
scope: "user" | "public" | "team" | "organization";
|
|
969
969
|
apiVersion: "octonode.plugin/v1";
|
|
970
970
|
version: string;
|
|
971
971
|
workflow?: string | undefined;
|
|
@@ -983,8 +983,8 @@ export declare const PluginCloudBuild: z.ZodObject<{
|
|
|
983
983
|
items: {
|
|
984
984
|
config: {
|
|
985
985
|
workflow: string;
|
|
986
|
+
scope: "user" | "team" | "public" | "organization";
|
|
986
987
|
id: string;
|
|
987
|
-
scope: "user" | "public" | "team" | "organization";
|
|
988
988
|
apiVersion: "octonode.plugin/v1";
|
|
989
989
|
version: string;
|
|
990
990
|
contributors?: string[] | undefined;
|
|
@@ -1001,8 +1001,8 @@ export declare const PluginCloudBuild: z.ZodObject<{
|
|
|
1001
1001
|
active: boolean;
|
|
1002
1002
|
items: {
|
|
1003
1003
|
config: {
|
|
1004
|
+
scope: "user" | "team" | "public" | "organization";
|
|
1004
1005
|
id: string;
|
|
1005
|
-
scope: "user" | "public" | "team" | "organization";
|
|
1006
1006
|
apiVersion: "octonode.plugin/v1";
|
|
1007
1007
|
version: string;
|
|
1008
1008
|
workflow?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAEtB,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAEtB,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.PLUGIN_PUBLISH_MAX_BYTES = exports.PLUGIN_CONFIG_MAX_BYTES = exports.PLUGIN_PUBLISH_AUDIENCE = exports.PLUGIN_RELEASE_FILES = exports.PLUGIN_SCHEMA_VERSION = exports.SETTINGS_API_VERSION = exports.PreparedPluginRuntime = void 0;
|
|
18
18
|
// Generated from packages/schema/src/plugin-sdk/index.ts. Do not edit; run the Octonode SDK sync.
|
|
19
19
|
__exportStar(require("../plugin/plugin"), exports);
|
|
20
|
+
__exportStar(require("../app"), exports);
|
|
20
21
|
__exportStar(require("../ipc-envelope"), exports);
|
|
21
22
|
__exportStar(require("../icons"), exports);
|
|
22
23
|
var execution_1 = require("../plugin/execution");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kGAAkG;AAClG,mDAAiC;AACjC,kDAAgC;AAChC,2CAAyB;AACzB,iDAA4D;AAAnD,kHAAA,qBAAqB,OAAA;AAC9B,0CAOsB;AANpB,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,iHAAA,oBAAoB,OAAA;AACpB,oHAAA,uBAAuB,OAAA;AACvB,oHAAA,uBAAuB,OAAA;AACvB,qHAAA,wBAAwB,OAAA;AAG1B,uDAAqC;AACrC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kGAAkG;AAClG,mDAAiC;AACjC,yCAAuB;AACvB,kDAAgC;AAChC,2CAAyB;AACzB,iDAA4D;AAAnD,kHAAA,qBAAqB,OAAA;AAC9B,0CAOsB;AANpB,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,iHAAA,oBAAoB,OAAA;AACpB,oHAAA,uBAAuB,OAAA;AACvB,oHAAA,uBAAuB,OAAA;AACvB,qHAAA,wBAAwB,OAAA;AAG1B,uDAAqC;AACrC,oDAAkC"}
|
|
@@ -742,6 +742,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
742
742
|
} | undefined;
|
|
743
743
|
}>, "many">>;
|
|
744
744
|
}, "strip", z.ZodTypeAny, {
|
|
745
|
+
name: string;
|
|
745
746
|
nodes: {
|
|
746
747
|
id: string;
|
|
747
748
|
command: string;
|
|
@@ -783,9 +784,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
783
784
|
export: string;
|
|
784
785
|
} | undefined;
|
|
785
786
|
}[];
|
|
786
|
-
|
|
787
|
+
scope: ("user" | "org" | "public" | "group")[];
|
|
787
788
|
id: string;
|
|
788
|
-
scope: ("user" | "group" | "org" | "public")[];
|
|
789
789
|
version: string;
|
|
790
790
|
schemaVersion: string;
|
|
791
791
|
permissions: {
|
|
@@ -905,7 +905,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
905
905
|
spec: string;
|
|
906
906
|
}[] | undefined;
|
|
907
907
|
} | undefined;
|
|
908
|
-
scope?: ("user" | "
|
|
908
|
+
scope?: ("user" | "org" | "public" | "group")[] | undefined;
|
|
909
909
|
description?: string | undefined;
|
|
910
910
|
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;
|
|
911
911
|
connections?: Record<string, {
|
|
@@ -934,6 +934,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
934
934
|
access: "read" | "write" | "outbound";
|
|
935
935
|
}[] | undefined;
|
|
936
936
|
}>, {
|
|
937
|
+
name: string;
|
|
937
938
|
nodes: {
|
|
938
939
|
id: string;
|
|
939
940
|
command: string;
|
|
@@ -975,9 +976,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
975
976
|
export: string;
|
|
976
977
|
} | undefined;
|
|
977
978
|
}[];
|
|
978
|
-
|
|
979
|
+
scope: ("user" | "org" | "public" | "group")[];
|
|
979
980
|
id: string;
|
|
980
|
-
scope: ("user" | "group" | "org" | "public")[];
|
|
981
981
|
version: string;
|
|
982
982
|
schemaVersion: string;
|
|
983
983
|
permissions: {
|
|
@@ -1097,7 +1097,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
1097
1097
|
spec: string;
|
|
1098
1098
|
}[] | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
|
-
scope?: ("user" | "
|
|
1100
|
+
scope?: ("user" | "org" | "public" | "group")[] | undefined;
|
|
1101
1101
|
description?: string | undefined;
|
|
1102
1102
|
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;
|
|
1103
1103
|
connections?: Record<string, {
|
|
@@ -6,6 +6,7 @@ export type { JsonSchema, ValidationError } from "../json-schema";
|
|
|
6
6
|
export type { PluginDefinition, PluginOptions, PluginHandlers } from "../plugin.types";
|
|
7
7
|
export type { PluginNodeOptions, SchemaValue } from "./types";
|
|
8
8
|
export { PLUGIN_UI_BUNDLE_MAX_BYTES, PluginManifest, PluginNode, PluginConnection } from "../../schema/plugin-sdk";
|
|
9
|
+
export { AppAction, AppDefinition, ExtensionOnlyApp, SelfHostedApp, SelfHostedAppExtension } from "../../schema/plugin-sdk";
|
|
9
10
|
export { SETTINGS_API_VERSION } from "../../schema/plugin-sdk";
|
|
10
11
|
export { PreparedPluginRuntime } from "../../schema/plugin-sdk";
|
|
11
12
|
export { PluginReleaseConfig, PluginConfigPath, pluginReleaseScope, bumpPluginVersion, PLUGIN_RELEASE_FILES, PLUGIN_CONFIG_MAX_BYTES, PLUGIN_PUBLISH_MAX_BYTES, PLUGIN_PUBLISH_AUDIENCE, } from "../../schema/plugin-sdk";
|
|
@@ -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,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACvF,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,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"}
|
|
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,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACvF,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,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"}
|