@octonodes/sdk 0.2.26 → 0.2.38

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.
Files changed (43) hide show
  1. package/PLUGINS.md +7 -1
  2. package/README.md +5 -0
  3. package/dist/data-tables/table.d.ts.map +1 -1
  4. package/dist/gen/index.d.ts +1 -1
  5. package/dist/gen/index.d.ts.map +1 -1
  6. package/dist/gen/sdk.gen.d.ts +9 -1
  7. package/dist/gen/sdk.gen.d.ts.map +1 -1
  8. package/dist/gen/sdk.gen.js +30 -0
  9. package/dist/gen/sdk.gen.js.map +1 -1
  10. package/dist/gen/types.gen.d.ts +144 -2
  11. package/dist/gen/types.gen.d.ts.map +1 -1
  12. package/dist/octonode-client.d.ts.map +1 -1
  13. package/dist/plugins/schema/app/contributions.d.ts +2 -2
  14. package/dist/plugins/schema/app-contributions.d.ts +2 -2
  15. package/dist/plugins/schema/app.d.ts +38 -38
  16. package/dist/plugins/schema/constants.d.ts +20 -2
  17. package/dist/plugins/schema/constants.d.ts.map +1 -1
  18. package/dist/plugins/schema/constants.js +54 -1
  19. package/dist/plugins/schema/constants.js.map +1 -1
  20. package/dist/plugins/schema/ipc/envelope.d.ts +10 -10
  21. package/dist/plugins/schema/ipc-envelope.d.ts +10 -10
  22. package/dist/plugins/schema/plugin/execution.d.ts +68 -68
  23. package/dist/plugins/schema/plugin/plugin.d.ts +62 -62
  24. package/dist/plugins/schema/plugin/publishing.d.ts +113 -54
  25. package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
  26. package/dist/plugins/schema/plugin/publishing.js +18 -1
  27. package/dist/plugins/schema/plugin/publishing.js.map +1 -1
  28. package/dist/plugins/schema/plugin-publishing.d.ts +54 -54
  29. package/dist/plugins/schema/plugin.d.ts +32 -32
  30. package/dist/plugins/sdk/constants.d.ts +3 -0
  31. package/dist/plugins/sdk/constants.d.ts.map +1 -1
  32. package/dist/plugins/sdk/constants.js +4 -1
  33. package/dist/plugins/sdk/constants.js.map +1 -1
  34. package/dist/plugins/sdk/definitions/npm/types.d.ts +5 -2
  35. package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
  36. package/dist/plugins/sdk/json/schema.d.ts +2 -2
  37. package/dist/plugins/sdk/json/schema.js +15 -4
  38. package/dist/plugins/sdk/json/schema.js.map +1 -1
  39. package/dist/plugins/sdk/plugins/index.d.ts +1 -0
  40. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
  41. package/dist/plugins/sdk/plugins/index.js +4 -1
  42. package/dist/plugins/sdk/plugins/index.js.map +1 -1
  43. package/package.json +5 -2
@@ -12,18 +12,18 @@ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
12
12
  workflow: z.ZodDefault<z.ZodString>;
13
13
  }, "strict", z.ZodTypeAny, {
14
14
  workflow: string;
15
+ id: string;
15
16
  version: string;
16
17
  scope: "user" | "team" | "public" | "organization";
17
- id: string;
18
18
  apiVersion: "octonode.plugin/v1";
19
19
  icon?: string | undefined;
20
20
  contributors?: string[] | undefined;
21
21
  teamId?: string | undefined;
22
22
  orgId?: string | undefined;
23
23
  }, {
24
+ id: string;
24
25
  version: string;
25
26
  scope: "user" | "team" | "public" | "organization";
26
- id: string;
27
27
  apiVersion: "octonode.plugin/v1";
28
28
  workflow?: string | undefined;
29
29
  icon?: string | undefined;
@@ -32,18 +32,18 @@ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
32
32
  orgId?: string | undefined;
33
33
  }>, {
34
34
  workflow: string;
35
+ id: string;
35
36
  version: string;
36
37
  scope: "user" | "team" | "public" | "organization";
37
- id: string;
38
38
  apiVersion: "octonode.plugin/v1";
39
39
  icon?: string | undefined;
40
40
  contributors?: string[] | undefined;
41
41
  teamId?: string | undefined;
42
42
  orgId?: string | undefined;
43
43
  }, {
44
+ id: string;
44
45
  version: string;
45
46
  scope: "user" | "team" | "public" | "organization";
46
- id: string;
47
47
  apiVersion: "octonode.plugin/v1";
48
48
  workflow?: string | undefined;
49
49
  icon?: string | undefined;
@@ -111,18 +111,18 @@ export declare const PluginPublisherPreview: z.ZodObject<{
111
111
  workflow: z.ZodDefault<z.ZodString>;
112
112
  }, "strict", z.ZodTypeAny, {
113
113
  workflow: string;
114
+ id: string;
114
115
  version: string;
115
116
  scope: "user" | "team" | "public" | "organization";
116
- id: string;
117
117
  apiVersion: "octonode.plugin/v1";
118
118
  icon?: string | undefined;
119
119
  contributors?: string[] | undefined;
120
120
  teamId?: string | undefined;
121
121
  orgId?: string | undefined;
122
122
  }, {
123
+ id: string;
123
124
  version: string;
124
125
  scope: "user" | "team" | "public" | "organization";
125
- id: string;
126
126
  apiVersion: "octonode.plugin/v1";
127
127
  workflow?: string | undefined;
128
128
  icon?: string | undefined;
@@ -131,18 +131,18 @@ export declare const PluginPublisherPreview: z.ZodObject<{
131
131
  orgId?: string | undefined;
132
132
  }>, {
133
133
  workflow: string;
134
+ id: string;
134
135
  version: string;
135
136
  scope: "user" | "team" | "public" | "organization";
136
- id: string;
137
137
  apiVersion: "octonode.plugin/v1";
138
138
  icon?: string | undefined;
139
139
  contributors?: string[] | undefined;
140
140
  teamId?: string | undefined;
141
141
  orgId?: string | undefined;
142
142
  }, {
143
+ id: string;
143
144
  version: string;
144
145
  scope: "user" | "team" | "public" | "organization";
145
- id: string;
146
146
  apiVersion: "octonode.plugin/v1";
147
147
  workflow?: string | undefined;
148
148
  icon?: string | undefined;
@@ -157,9 +157,9 @@ export declare const PluginPublisherPreview: z.ZodObject<{
157
157
  repository: string;
158
158
  config: {
159
159
  workflow: string;
160
+ id: string;
160
161
  version: string;
161
162
  scope: "user" | "team" | "public" | "organization";
162
- id: string;
163
163
  apiVersion: "octonode.plugin/v1";
164
164
  icon?: string | undefined;
165
165
  contributors?: string[] | undefined;
@@ -171,9 +171,9 @@ export declare const PluginPublisherPreview: z.ZodObject<{
171
171
  }, {
172
172
  repository: string;
173
173
  config: {
174
+ id: string;
174
175
  version: string;
175
176
  scope: "user" | "team" | "public" | "organization";
176
- id: string;
177
177
  apiVersion: "octonode.plugin/v1";
178
178
  workflow?: string | undefined;
179
179
  icon?: string | undefined;
@@ -197,18 +197,18 @@ export declare const PluginPublisherConnection: z.ZodObject<{
197
197
  workflow: z.ZodDefault<z.ZodString>;
198
198
  }, "strict", z.ZodTypeAny, {
199
199
  workflow: string;
200
+ id: string;
200
201
  version: string;
201
202
  scope: "user" | "team" | "public" | "organization";
202
- id: string;
203
203
  apiVersion: "octonode.plugin/v1";
204
204
  icon?: string | undefined;
205
205
  contributors?: string[] | undefined;
206
206
  teamId?: string | undefined;
207
207
  orgId?: string | undefined;
208
208
  }, {
209
+ id: string;
209
210
  version: string;
210
211
  scope: "user" | "team" | "public" | "organization";
211
- id: string;
212
212
  apiVersion: "octonode.plugin/v1";
213
213
  workflow?: string | undefined;
214
214
  icon?: string | undefined;
@@ -217,18 +217,18 @@ export declare const PluginPublisherConnection: z.ZodObject<{
217
217
  orgId?: string | undefined;
218
218
  }>, {
219
219
  workflow: string;
220
+ id: string;
220
221
  version: string;
221
222
  scope: "user" | "team" | "public" | "organization";
222
- id: string;
223
223
  apiVersion: "octonode.plugin/v1";
224
224
  icon?: string | undefined;
225
225
  contributors?: string[] | undefined;
226
226
  teamId?: string | undefined;
227
227
  orgId?: string | undefined;
228
228
  }, {
229
+ id: string;
229
230
  version: string;
230
231
  scope: "user" | "team" | "public" | "organization";
231
- id: string;
232
232
  apiVersion: "octonode.plugin/v1";
233
233
  workflow?: string | undefined;
234
234
  icon?: string | undefined;
@@ -250,9 +250,9 @@ export declare const PluginPublisherConnection: z.ZodObject<{
250
250
  repository: string;
251
251
  config: {
252
252
  workflow: string;
253
+ id: string;
253
254
  version: string;
254
255
  scope: "user" | "team" | "public" | "organization";
255
- id: string;
256
256
  apiVersion: "octonode.plugin/v1";
257
257
  icon?: string | undefined;
258
258
  contributors?: string[] | undefined;
@@ -270,9 +270,9 @@ export declare const PluginPublisherConnection: z.ZodObject<{
270
270
  }, {
271
271
  repository: string;
272
272
  config: {
273
+ id: string;
273
274
  version: string;
274
275
  scope: "user" | "team" | "public" | "organization";
275
- id: string;
276
276
  apiVersion: "octonode.plugin/v1";
277
277
  workflow?: string | undefined;
278
278
  icon?: string | undefined;
@@ -303,18 +303,18 @@ export declare const PluginPublisherConnections: z.ZodObject<{
303
303
  workflow: z.ZodDefault<z.ZodString>;
304
304
  }, "strict", z.ZodTypeAny, {
305
305
  workflow: string;
306
+ id: string;
306
307
  version: string;
307
308
  scope: "user" | "team" | "public" | "organization";
308
- id: string;
309
309
  apiVersion: "octonode.plugin/v1";
310
310
  icon?: string | undefined;
311
311
  contributors?: string[] | undefined;
312
312
  teamId?: string | undefined;
313
313
  orgId?: string | undefined;
314
314
  }, {
315
+ id: string;
315
316
  version: string;
316
317
  scope: "user" | "team" | "public" | "organization";
317
- id: string;
318
318
  apiVersion: "octonode.plugin/v1";
319
319
  workflow?: string | undefined;
320
320
  icon?: string | undefined;
@@ -323,18 +323,18 @@ export declare const PluginPublisherConnections: z.ZodObject<{
323
323
  orgId?: string | undefined;
324
324
  }>, {
325
325
  workflow: string;
326
+ id: string;
326
327
  version: string;
327
328
  scope: "user" | "team" | "public" | "organization";
328
- id: string;
329
329
  apiVersion: "octonode.plugin/v1";
330
330
  icon?: string | undefined;
331
331
  contributors?: string[] | undefined;
332
332
  teamId?: string | undefined;
333
333
  orgId?: string | undefined;
334
334
  }, {
335
+ id: string;
335
336
  version: string;
336
337
  scope: "user" | "team" | "public" | "organization";
337
- id: string;
338
338
  apiVersion: "octonode.plugin/v1";
339
339
  workflow?: string | undefined;
340
340
  icon?: string | undefined;
@@ -356,9 +356,9 @@ export declare const PluginPublisherConnections: z.ZodObject<{
356
356
  repository: string;
357
357
  config: {
358
358
  workflow: string;
359
+ id: string;
359
360
  version: string;
360
361
  scope: "user" | "team" | "public" | "organization";
361
- id: string;
362
362
  apiVersion: "octonode.plugin/v1";
363
363
  icon?: string | undefined;
364
364
  contributors?: string[] | undefined;
@@ -376,9 +376,9 @@ export declare const PluginPublisherConnections: z.ZodObject<{
376
376
  }, {
377
377
  repository: string;
378
378
  config: {
379
+ id: string;
379
380
  version: string;
380
381
  scope: "user" | "team" | "public" | "organization";
381
- id: string;
382
382
  apiVersion: "octonode.plugin/v1";
383
383
  workflow?: string | undefined;
384
384
  icon?: string | undefined;
@@ -400,9 +400,9 @@ export declare const PluginPublisherConnections: z.ZodObject<{
400
400
  repository: string;
401
401
  config: {
402
402
  workflow: string;
403
+ id: string;
403
404
  version: string;
404
405
  scope: "user" | "team" | "public" | "organization";
405
- id: string;
406
406
  apiVersion: "octonode.plugin/v1";
407
407
  icon?: string | undefined;
408
408
  contributors?: string[] | undefined;
@@ -422,9 +422,9 @@ export declare const PluginPublisherConnections: z.ZodObject<{
422
422
  items: {
423
423
  repository: string;
424
424
  config: {
425
+ id: string;
425
426
  version: string;
426
427
  scope: "user" | "team" | "public" | "organization";
427
- id: string;
428
428
  apiVersion: "octonode.plugin/v1";
429
429
  workflow?: string | undefined;
430
430
  icon?: string | undefined;
@@ -442,6 +442,65 @@ export declare const PluginPublisherConnections: z.ZodObject<{
442
442
  lastPublishedAt: number | null;
443
443
  }[];
444
444
  }>;
445
+ export declare const PluginPublisherRepositoryQuery: z.ZodObject<{
446
+ search: z.ZodDefault<z.ZodString>;
447
+ scope: z.ZodDefault<z.ZodEnum<["all", "user", "team", "organization", "public"]>>;
448
+ sort: z.ZodDefault<z.ZodEnum<["name", "-name"]>>;
449
+ limit: z.ZodDefault<z.ZodNumber>;
450
+ offset: z.ZodDefault<z.ZodNumber>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ search: string;
453
+ sort: "name" | "-name";
454
+ offset: number;
455
+ limit: number;
456
+ scope: "user" | "team" | "public" | "all" | "organization";
457
+ }, {
458
+ search?: string | undefined;
459
+ sort?: "name" | "-name" | undefined;
460
+ offset?: number | undefined;
461
+ limit?: number | undefined;
462
+ scope?: "user" | "team" | "public" | "all" | "organization" | undefined;
463
+ }>;
464
+ export declare const PluginPublisherRepositoryPage: z.ZodObject<{
465
+ items: z.ZodArray<z.ZodObject<{
466
+ repositoryId: z.ZodNumber;
467
+ repository: z.ZodString;
468
+ branch: z.ZodString;
469
+ plugins: z.ZodArray<z.ZodString, "many">;
470
+ scopes: z.ZodArray<z.ZodEnum<["user", "team", "organization", "public"]>, "many">;
471
+ }, "strip", z.ZodTypeAny, {
472
+ repository: string;
473
+ plugins: string[];
474
+ repositoryId: number;
475
+ branch: string;
476
+ scopes: ("user" | "team" | "public" | "organization")[];
477
+ }, {
478
+ repository: string;
479
+ plugins: string[];
480
+ repositoryId: number;
481
+ branch: string;
482
+ scopes: ("user" | "team" | "public" | "organization")[];
483
+ }>, "many">;
484
+ total: z.ZodNumber;
485
+ }, "strip", z.ZodTypeAny, {
486
+ items: {
487
+ repository: string;
488
+ plugins: string[];
489
+ repositoryId: number;
490
+ branch: string;
491
+ scopes: ("user" | "team" | "public" | "organization")[];
492
+ }[];
493
+ total: number;
494
+ }, {
495
+ items: {
496
+ repository: string;
497
+ plugins: string[];
498
+ repositoryId: number;
499
+ branch: string;
500
+ scopes: ("user" | "team" | "public" | "organization")[];
501
+ }[];
502
+ total: number;
503
+ }>;
445
504
  export declare const PluginPublisherOperation: z.ZodEnum<["create", "update", "delete"]>;
446
505
  export declare const PluginPublisherReviewItem: z.ZodObject<{
447
506
  configPath: z.ZodEffects<z.ZodString, string, string>;
@@ -457,18 +516,18 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
457
516
  workflow: z.ZodDefault<z.ZodString>;
458
517
  }, "strict", z.ZodTypeAny, {
459
518
  workflow: string;
519
+ id: string;
460
520
  version: string;
461
521
  scope: "user" | "team" | "public" | "organization";
462
- id: string;
463
522
  apiVersion: "octonode.plugin/v1";
464
523
  icon?: string | undefined;
465
524
  contributors?: string[] | undefined;
466
525
  teamId?: string | undefined;
467
526
  orgId?: string | undefined;
468
527
  }, {
528
+ id: string;
469
529
  version: string;
470
530
  scope: "user" | "team" | "public" | "organization";
471
- id: string;
472
531
  apiVersion: "octonode.plugin/v1";
473
532
  workflow?: string | undefined;
474
533
  icon?: string | undefined;
@@ -477,18 +536,18 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
477
536
  orgId?: string | undefined;
478
537
  }>, {
479
538
  workflow: string;
539
+ id: string;
480
540
  version: string;
481
541
  scope: "user" | "team" | "public" | "organization";
482
- id: string;
483
542
  apiVersion: "octonode.plugin/v1";
484
543
  icon?: string | undefined;
485
544
  contributors?: string[] | undefined;
486
545
  teamId?: string | undefined;
487
546
  orgId?: string | undefined;
488
547
  }, {
548
+ id: string;
489
549
  version: string;
490
550
  scope: "user" | "team" | "public" | "organization";
491
- id: string;
492
551
  apiVersion: "octonode.plugin/v1";
493
552
  workflow?: string | undefined;
494
553
  icon?: string | undefined;
@@ -503,9 +562,9 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
503
562
  missing: boolean;
504
563
  config: {
505
564
  workflow: string;
565
+ id: string;
506
566
  version: string;
507
567
  scope: "user" | "team" | "public" | "organization";
508
- id: string;
509
568
  apiVersion: "octonode.plugin/v1";
510
569
  icon?: string | undefined;
511
570
  contributors?: string[] | undefined;
@@ -518,9 +577,9 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
518
577
  }, {
519
578
  missing: boolean;
520
579
  config: {
580
+ id: string;
521
581
  version: string;
522
582
  scope: "user" | "team" | "public" | "organization";
523
- id: string;
524
583
  apiVersion: "octonode.plugin/v1";
525
584
  workflow?: string | undefined;
526
585
  icon?: string | undefined;
@@ -552,18 +611,18 @@ export declare const PluginPublisherReview: z.ZodObject<{
552
611
  workflow: z.ZodDefault<z.ZodString>;
553
612
  }, "strict", z.ZodTypeAny, {
554
613
  workflow: string;
614
+ id: string;
555
615
  version: string;
556
616
  scope: "user" | "team" | "public" | "organization";
557
- id: string;
558
617
  apiVersion: "octonode.plugin/v1";
559
618
  icon?: string | undefined;
560
619
  contributors?: string[] | undefined;
561
620
  teamId?: string | undefined;
562
621
  orgId?: string | undefined;
563
622
  }, {
623
+ id: string;
564
624
  version: string;
565
625
  scope: "user" | "team" | "public" | "organization";
566
- id: string;
567
626
  apiVersion: "octonode.plugin/v1";
568
627
  workflow?: string | undefined;
569
628
  icon?: string | undefined;
@@ -572,18 +631,18 @@ export declare const PluginPublisherReview: z.ZodObject<{
572
631
  orgId?: string | undefined;
573
632
  }>, {
574
633
  workflow: string;
634
+ id: string;
575
635
  version: string;
576
636
  scope: "user" | "team" | "public" | "organization";
577
- id: string;
578
637
  apiVersion: "octonode.plugin/v1";
579
638
  icon?: string | undefined;
580
639
  contributors?: string[] | undefined;
581
640
  teamId?: string | undefined;
582
641
  orgId?: string | undefined;
583
642
  }, {
643
+ id: string;
584
644
  version: string;
585
645
  scope: "user" | "team" | "public" | "organization";
586
- id: string;
587
646
  apiVersion: "octonode.plugin/v1";
588
647
  workflow?: string | undefined;
589
648
  icon?: string | undefined;
@@ -598,9 +657,9 @@ export declare const PluginPublisherReview: z.ZodObject<{
598
657
  missing: boolean;
599
658
  config: {
600
659
  workflow: string;
660
+ id: string;
601
661
  version: string;
602
662
  scope: "user" | "team" | "public" | "organization";
603
- id: string;
604
663
  apiVersion: "octonode.plugin/v1";
605
664
  icon?: string | undefined;
606
665
  contributors?: string[] | undefined;
@@ -613,9 +672,9 @@ export declare const PluginPublisherReview: z.ZodObject<{
613
672
  }, {
614
673
  missing: boolean;
615
674
  config: {
675
+ id: string;
616
676
  version: string;
617
677
  scope: "user" | "team" | "public" | "organization";
618
- id: string;
619
678
  apiVersion: "octonode.plugin/v1";
620
679
  workflow?: string | undefined;
621
680
  icon?: string | undefined;
@@ -634,9 +693,9 @@ export declare const PluginPublisherReview: z.ZodObject<{
634
693
  missing: boolean;
635
694
  config: {
636
695
  workflow: string;
696
+ id: string;
637
697
  version: string;
638
698
  scope: "user" | "team" | "public" | "organization";
639
- id: string;
640
699
  apiVersion: "octonode.plugin/v1";
641
700
  icon?: string | undefined;
642
701
  contributors?: string[] | undefined;
@@ -656,9 +715,9 @@ export declare const PluginPublisherReview: z.ZodObject<{
656
715
  items: {
657
716
  missing: boolean;
658
717
  config: {
718
+ id: string;
659
719
  version: string;
660
720
  scope: "user" | "team" | "public" | "organization";
661
- id: string;
662
721
  apiVersion: "octonode.plugin/v1";
663
722
  workflow?: string | undefined;
664
723
  icon?: string | undefined;
@@ -759,16 +818,17 @@ export declare const PluginPublisherBuildQuery: z.ZodObject<{
759
818
  sha: z.ZodDefault<z.ZodString>;
760
819
  }, "strip", z.ZodTypeAny, {
761
820
  search: string;
821
+ page: number;
762
822
  sort: "name" | "status" | "branch" | "sha" | "newest" | "oldest";
763
823
  status: "" | "queued" | "in_progress" | "success" | "failure";
764
824
  direction: "asc" | "desc";
765
825
  limit: number;
766
826
  branch: string;
767
827
  sha: string;
768
- page: number;
769
828
  repositoryId?: number | undefined;
770
829
  }, {
771
830
  search?: string | undefined;
831
+ page?: number | undefined;
772
832
  sort?: "name" | "status" | "branch" | "sha" | "newest" | "oldest" | undefined;
773
833
  status?: "" | "queued" | "in_progress" | "success" | "failure" | undefined;
774
834
  direction?: "asc" | "desc" | undefined;
@@ -776,7 +836,6 @@ export declare const PluginPublisherBuildQuery: z.ZodObject<{
776
836
  repositoryId?: number | undefined;
777
837
  branch?: string | undefined;
778
838
  sha?: string | undefined;
779
- page?: number | undefined;
780
839
  }>;
781
840
  export type PluginPublisherBuildQuery = z.infer<typeof PluginPublisherBuildQuery>;
782
841
  export declare const PluginPublisherBuilds: z.ZodObject<{
@@ -799,9 +858,9 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
799
858
  updatedAt: z.ZodString;
800
859
  }, "strip", z.ZodTypeAny, {
801
860
  number: number;
861
+ id: number;
802
862
  url: string;
803
863
  status: string;
804
- id: number;
805
864
  attempt: number;
806
865
  title: string;
807
866
  repositoryId: number;
@@ -812,9 +871,9 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
812
871
  updatedAt: string;
813
872
  }, {
814
873
  number: number;
874
+ id: number;
815
875
  url: string;
816
876
  status: string;
817
- id: number;
818
877
  attempt: number;
819
878
  title: string;
820
879
  repositoryId: number;
@@ -825,12 +884,13 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
825
884
  updatedAt: string;
826
885
  }>, "many">;
827
886
  }, "strip", z.ZodTypeAny, {
887
+ page: number;
828
888
  limit: number;
829
889
  items: {
830
890
  number: number;
891
+ id: number;
831
892
  url: string;
832
893
  status: string;
833
- id: number;
834
894
  attempt: number;
835
895
  title: string;
836
896
  repositoryId: number;
@@ -840,16 +900,16 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
840
900
  createdAt: string;
841
901
  updatedAt: string;
842
902
  }[];
843
- page: number;
844
903
  total: number;
845
904
  hasMore: boolean;
846
905
  }, {
906
+ page: number;
847
907
  limit: number;
848
908
  items: {
849
909
  number: number;
910
+ id: number;
850
911
  url: string;
851
912
  status: string;
852
- id: number;
853
913
  attempt: number;
854
914
  title: string;
855
915
  repositoryId: number;
@@ -859,7 +919,6 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
859
919
  createdAt: string;
860
920
  updatedAt: string;
861
921
  }[];
862
- page: number;
863
922
  total: number;
864
923
  hasMore: boolean;
865
924
  }>;
@@ -956,18 +1015,18 @@ export declare const PluginCloudBuild: z.ZodObject<{
956
1015
  workflow: z.ZodDefault<z.ZodString>;
957
1016
  }, "strict", z.ZodTypeAny, {
958
1017
  workflow: string;
1018
+ id: string;
959
1019
  version: string;
960
1020
  scope: "user" | "team" | "public" | "organization";
961
- id: string;
962
1021
  apiVersion: "octonode.plugin/v1";
963
1022
  icon?: string | undefined;
964
1023
  contributors?: string[] | undefined;
965
1024
  teamId?: string | undefined;
966
1025
  orgId?: string | undefined;
967
1026
  }, {
1027
+ id: string;
968
1028
  version: string;
969
1029
  scope: "user" | "team" | "public" | "organization";
970
- id: string;
971
1030
  apiVersion: "octonode.plugin/v1";
972
1031
  workflow?: string | undefined;
973
1032
  icon?: string | undefined;
@@ -976,18 +1035,18 @@ export declare const PluginCloudBuild: z.ZodObject<{
976
1035
  orgId?: string | undefined;
977
1036
  }>, {
978
1037
  workflow: string;
1038
+ id: string;
979
1039
  version: string;
980
1040
  scope: "user" | "team" | "public" | "organization";
981
- id: string;
982
1041
  apiVersion: "octonode.plugin/v1";
983
1042
  icon?: string | undefined;
984
1043
  contributors?: string[] | undefined;
985
1044
  teamId?: string | undefined;
986
1045
  orgId?: string | undefined;
987
1046
  }, {
1047
+ id: string;
988
1048
  version: string;
989
1049
  scope: "user" | "team" | "public" | "organization";
990
- id: string;
991
1050
  apiVersion: "octonode.plugin/v1";
992
1051
  workflow?: string | undefined;
993
1052
  icon?: string | undefined;
@@ -1000,9 +1059,9 @@ export declare const PluginCloudBuild: z.ZodObject<{
1000
1059
  }, "strip", z.ZodTypeAny, {
1001
1060
  config: {
1002
1061
  workflow: string;
1062
+ id: string;
1003
1063
  version: string;
1004
1064
  scope: "user" | "team" | "public" | "organization";
1005
- id: string;
1006
1065
  apiVersion: "octonode.plugin/v1";
1007
1066
  icon?: string | undefined;
1008
1067
  contributors?: string[] | undefined;
@@ -1014,9 +1073,9 @@ export declare const PluginCloudBuild: z.ZodObject<{
1014
1073
  operation: "update" | "delete" | "create";
1015
1074
  }, {
1016
1075
  config: {
1076
+ id: string;
1017
1077
  version: string;
1018
1078
  scope: "user" | "team" | "public" | "organization";
1019
- id: string;
1020
1079
  apiVersion: "octonode.plugin/v1";
1021
1080
  workflow?: string | undefined;
1022
1081
  icon?: string | undefined;
@@ -1034,9 +1093,9 @@ export declare const PluginCloudBuild: z.ZodObject<{
1034
1093
  items: {
1035
1094
  config: {
1036
1095
  workflow: string;
1096
+ id: string;
1037
1097
  version: string;
1038
1098
  scope: "user" | "team" | "public" | "organization";
1039
- id: string;
1040
1099
  apiVersion: "octonode.plugin/v1";
1041
1100
  icon?: string | undefined;
1042
1101
  contributors?: string[] | undefined;
@@ -1053,9 +1112,9 @@ export declare const PluginCloudBuild: z.ZodObject<{
1053
1112
  active: boolean;
1054
1113
  items: {
1055
1114
  config: {
1115
+ id: string;
1056
1116
  version: string;
1057
1117
  scope: "user" | "team" | "public" | "organization";
1058
- id: string;
1059
1118
  apiVersion: "octonode.plugin/v1";
1060
1119
  workflow?: string | undefined;
1061
1120
  icon?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"publishing.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin/publishing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,gBAAgB,2CAQ1B,CAAC;AACJ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB5B,CAAC;AACL,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,kBAAkB,GAAI,QAAQ,mBAAmB,wCACoD,CAAC;AAEnH,eAAO,MAAM,oBAAoB;;;;;;;;;EAEtB,CAAC;AACZ,eAAO,MAAM,yBAAyB;;;;;;;EAAoD,CAAC;AAC3F,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;EAA8E,CAAC;AAClH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKjC,CAAC;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBhC,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBrC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEpF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc3B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PluginCloudBuild = exports.PluginPublisherBuildDetail = exports.PluginPublisherBuilds = exports.PluginPublisherBuildQuery = exports.PluginPublisherListQuery = exports.PluginPublisherApplied = exports.PluginPublisherApply = exports.PluginPublisherReview = exports.PluginPublisherReviewItem = exports.PluginPublisherOperation = exports.PluginPublisherConnections = exports.PluginPublisherConnection = exports.PluginPublisherPreview = exports.PluginPublisherConsent = exports.PluginPublisherAutomatic = exports.PluginPublisherRepository = exports.PluginPublisherInput = exports.pluginReleaseScope = exports.PluginReleaseConfig = exports.PluginConfigPath = void 0;
3
+ exports.PluginCloudBuild = exports.PluginPublisherBuildDetail = exports.PluginPublisherBuilds = exports.PluginPublisherBuildQuery = exports.PluginPublisherListQuery = exports.PluginPublisherApplied = exports.PluginPublisherApply = exports.PluginPublisherReview = exports.PluginPublisherReviewItem = exports.PluginPublisherOperation = exports.PluginPublisherRepositoryPage = exports.PluginPublisherRepositoryQuery = exports.PluginPublisherConnections = exports.PluginPublisherConnection = exports.PluginPublisherPreview = exports.PluginPublisherConsent = exports.PluginPublisherAutomatic = exports.PluginPublisherRepository = exports.PluginPublisherInput = exports.pluginReleaseScope = exports.PluginReleaseConfig = exports.PluginConfigPath = void 0;
4
4
  // Generated from packages/schema/src/plugin/publishing.ts. Do not edit; run the Octonode SDK sync.
5
5
  const zod_1 = require("zod");
6
6
  const icons_1 = require("../icons");
@@ -62,6 +62,23 @@ exports.PluginPublisherConnection = exports.PluginPublisherPreview.extend({
62
62
  lastPublishedAt: zod_1.z.number().nullable(),
63
63
  });
64
64
  exports.PluginPublisherConnections = zod_1.z.object({ items: zod_1.z.array(exports.PluginPublisherConnection) });
65
+ exports.PluginPublisherRepositoryQuery = zod_1.z.object({
66
+ search: zod_1.z.string().trim().max(200).default(""),
67
+ scope: zod_1.z.enum(["all", "user", "team", "organization", "public"]).default("all"),
68
+ sort: zod_1.z.enum(["name", "-name"]).default("name"),
69
+ limit: zod_1.z.coerce.number().int().min(1).max(100).default(20),
70
+ offset: zod_1.z.coerce.number().int().min(0).max(1_000_000).default(0),
71
+ });
72
+ exports.PluginPublisherRepositoryPage = zod_1.z.object({
73
+ items: zod_1.z.array(zod_1.z.object({
74
+ repositoryId: zod_1.z.number().int(),
75
+ repository: zod_1.z.string(),
76
+ branch: zod_1.z.string(),
77
+ plugins: zod_1.z.array(zod_1.z.string()),
78
+ scopes: zod_1.z.array(zod_1.z.enum(["user", "team", "organization", "public"])),
79
+ })),
80
+ total: zod_1.z.number().int().nonnegative(),
81
+ });
65
82
  exports.PluginPublisherOperation = zod_1.z.enum(["create", "update", "delete"]);
66
83
  exports.PluginPublisherReviewItem = zod_1.z.object({
67
84
  configPath: exports.PluginConfigPath,