@octonodes/sdk 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PLUGINS.md +3 -2
- package/dist/plugins/schema/constants.d.ts +1 -1
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +6 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/plugin-publishing.d.ts +578 -0
- package/dist/plugins/schema/plugin-publishing.d.ts.map +1 -1
- package/dist/plugins/schema/plugin-publishing.js +98 -3
- package/dist/plugins/schema/plugin-publishing.js.map +1 -1
- package/package.json +1 -1
package/PLUGINS.md
CHANGED
|
@@ -327,8 +327,9 @@ canvas renderers, and another manifest format remain outside this contract.
|
|
|
327
327
|
|
|
328
328
|
## Release files and GitHub publishing
|
|
329
329
|
|
|
330
|
-
|
|
331
|
-
`octonode.
|
|
330
|
+
Use `octonode.plugin.json` beside `octonode.plugin.ts`. Existing
|
|
331
|
+
`plugin.octonode.json`, `.yml`, and `.yaml` release files remain readable.
|
|
332
|
+
Keep exactly one release file. For example:
|
|
332
333
|
|
|
333
334
|
```json
|
|
334
335
|
{
|
|
@@ -31,7 +31,7 @@ export declare const SOURCE_CONTROL_REGION_KINDS: readonly ["if", "switch", "for
|
|
|
31
31
|
export declare const PLATFORM_CAPABILITIES: readonly ["workspace_identity", "workspace_social", "task_management", "workspace_admin", "workflow_execution", "billing", "design_review", "design_preview", "architecture", "repository_registry", "repository_discovery", "repository_git_read", "repository_git_write", "design_architecture_embed", "workspace_registry_backup_restore", "github", "slack", "google", "meta", "qwen", "workflow_agents", "cloud_terminal", "mcp_catalog", "monitoring", "agent_monitoring", "backup_restore", "write_authority", "community_read", "community_authoring", "community_publishing", "workflow_templates"];
|
|
32
32
|
export declare const CAPABILITY_MODES: readonly ["trusted-local", "configured-local-cloud", "hosted"];
|
|
33
33
|
export declare const CAPABILITY_UNAVAILABLE_REASONS: readonly ["not_implemented", "requires_cloud_configuration", "requires_hosted_runtime", "provider_not_configured", "disabled_by_policy", "missing_entitlement", "missing_permission"];
|
|
34
|
-
export declare const PLUGIN_RELEASE_FILES: readonly ["plugin.octonode.json", "plugin.octonode.yml", "plugin.octonode.yaml"];
|
|
34
|
+
export declare const PLUGIN_RELEASE_FILES: readonly ["octonode.plugin.json", "plugin.octonode.json", "plugin.octonode.yml", "plugin.octonode.yaml"];
|
|
35
35
|
export declare const PLUGIN_PUBLISH_AUDIENCE = "https://plugins.octonodes.com";
|
|
36
36
|
export declare const PLUGIN_CONFIG_MAX_BYTES = 65536;
|
|
37
37
|
export declare const PLUGIN_PUBLISH_MAX_BYTES: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,qBAAqB,EAAG,GAAY,CAAC;AAClD,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,2BAA2B,QAAkB,CAAC;AAC3D,eAAO,MAAM,2BAA2B,QAAmB,CAAC;AAC5D,eAAO,MAAM,0BAA0B,QAAwD,CAAC;AAChG,eAAO,MAAM,qBAAqB,4FAOxB,CAAC;AACX,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAC/D,eAAO,MAAM,2BAA2B,qFAK9B,CAAC;AACX,eAAO,MAAM,kBAAkB,6CAA8C,CAAC;AAE9E,eAAO,MAAM,oBAAoB,EAAG,0BAAmC,CAAC;AACxE,eAAO,MAAM,iBAAiB,sEAAuE,CAAC;AAEtG,eAAO,MAAM,iBAAiB,4vBA2CpB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,eAAO,MAAM,kBAAkB,yFAOrB,CAAC;AAEX,eAAO,MAAM,iBAAiB,uSAgBpB,CAAC;AAEX,eAAO,MAAM,gBAAgB,oCAA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205
205
|
"missing_entitlement",
|
|
206
206
|
"missing_permission",
|
|
207
207
|
];
|
|
208
|
-
exports.PLUGIN_RELEASE_FILES = [
|
|
208
|
+
exports.PLUGIN_RELEASE_FILES = [
|
|
209
|
+
exports.PLUGIN_MANIFEST_FILENAME,
|
|
210
|
+
"plugin.octonode.json",
|
|
211
|
+
"plugin.octonode.yml",
|
|
212
|
+
"plugin.octonode.yaml",
|
|
213
|
+
];
|
|
209
214
|
exports.PLUGIN_PUBLISH_AUDIENCE = "https://plugins.octonodes.com";
|
|
210
215
|
exports.PLUGIN_CONFIG_MAX_BYTES = 65_536;
|
|
211
216
|
exports.PLUGIN_PUBLISH_MAX_BYTES = 32 * 1024 * 1024;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC9E,QAAA,qBAAqB,GAAG,GAAY,CAAC;AACrC,QAAA,oBAAoB,GAAG,yBAAyB,CAAC;AACjD,QAAA,2BAA2B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9C,QAAA,2BAA2B,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/C,QAAA,0BAA0B,GAAG,IAAI,CAAC,IAAI,CAAC,mCAA2B,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;AACnF,QAAA,qBAAqB,GAAG;IACnC,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,WAAW;IACX,YAAY;CACJ,CAAC;AACE,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAClD,QAAA,2BAA2B,GAAG;IACzC,cAAc;IACd,eAAe;IACf,eAAe;IACf,gCAAwB;CAChB,CAAC;AACE,QAAA,kBAAkB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAU,CAAC;AAEjE,QAAA,oBAAoB,GAAG,0BAAmC,C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AAU,CAAU,CAAC;AAEtE,QAAA,2BAA2B,GAAG;IACzC,IAAI;IACJ,QAAQ;IACR,KAAK;IACL,OAAO;IACP,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,UAAU;IACV,OAAO;IACP,KAAK;IACL,OAAO;IACP,SAAS;CACD,CAAC;AAEE,QAAA,qBAAqB,GAAG;IACnC,oBAAoB;IACpB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,oBAAoB;IACpB,SAAS;IACT,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,qBAAqB;IACrB,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,2BAA2B;IAC3B,mCAAmC;IACnC,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,MAAM;IACN,iBAAiB;IACjB,gBAAgB;IAChB,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,qBAAqB;IACrB,sBAAsB;IACtB,oBAAoB;CACZ,CAAC;AAEE,QAAA,gBAAgB,GAAG,CAAC,eAAe,EAAE,wBAAwB,EAAE,QAAQ,CAAU,CAAC;AAElF,QAAA,8BAA8B,GAAG;IAC5C,iBAAiB;IACjB,8BAA8B;IAC9B,yBAAyB;IACzB,yBAAyB;IACzB,oBAAoB;IACpB,qBAAqB;IACrB,oBAAoB;CACZ,CAAC;AAEE,QAAA,oBAAoB,GAAG,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC9E,QAAA,qBAAqB,GAAG,GAAY,CAAC;AACrC,QAAA,oBAAoB,GAAG,yBAAyB,CAAC;AACjD,QAAA,2BAA2B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9C,QAAA,2BAA2B,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/C,QAAA,0BAA0B,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B;IAC9B,yBAAyB;IACzB,yBAAyB;IACzB,oBAAoB;IACpB,qBAAqB;IACrB,oBAAoB;CACZ,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAClC,gCAAwB;IACxB,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;CACd,CAAC;AACE,QAAA,uBAAuB,GAAG,+BAA+B,CAAC;AAC1D,QAAA,uBAAuB,GAAG,MAAM,CAAC;AACjC,QAAA,wBAAwB,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -58,6 +58,27 @@ export declare const PluginPublisherInput: z.ZodObject<{
|
|
|
58
58
|
repositoryId: number;
|
|
59
59
|
configPath: string;
|
|
60
60
|
}>;
|
|
61
|
+
export declare const PluginPublisherRepository: z.ZodObject<Pick<{
|
|
62
|
+
repositoryId: z.ZodNumber;
|
|
63
|
+
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
64
|
+
}, "repositoryId">, "strict", z.ZodTypeAny, {
|
|
65
|
+
repositoryId: number;
|
|
66
|
+
}, {
|
|
67
|
+
repositoryId: number;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const PluginPublisherAutomatic: z.ZodObject<{
|
|
70
|
+
ok: z.ZodBoolean;
|
|
71
|
+
connected: z.ZodNumber;
|
|
72
|
+
workflow: z.ZodString;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
ok: boolean;
|
|
75
|
+
workflow: string;
|
|
76
|
+
connected: number;
|
|
77
|
+
}, {
|
|
78
|
+
ok: boolean;
|
|
79
|
+
workflow: string;
|
|
80
|
+
connected: number;
|
|
81
|
+
}>;
|
|
61
82
|
export declare const PluginPublisherConsent: z.ZodObject<{
|
|
62
83
|
repositoryId: z.ZodNumber;
|
|
63
84
|
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -393,4 +414,561 @@ export declare const PluginPublisherConnections: z.ZodObject<{
|
|
|
393
414
|
lastPublishedAt: number | null;
|
|
394
415
|
}[];
|
|
395
416
|
}>;
|
|
417
|
+
export declare const PluginPublisherOperation: z.ZodEnum<["create", "update", "delete"]>;
|
|
418
|
+
export declare const PluginPublisherReviewItem: z.ZodObject<{
|
|
419
|
+
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
420
|
+
config: z.ZodEffects<z.ZodObject<{
|
|
421
|
+
apiVersion: z.ZodLiteral<"octonode.plugin/v1">;
|
|
422
|
+
id: z.ZodString;
|
|
423
|
+
version: z.ZodString;
|
|
424
|
+
scope: z.ZodEnum<["user", "team", "organization", "public"]>;
|
|
425
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
426
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
427
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
428
|
+
workflow: z.ZodDefault<z.ZodString>;
|
|
429
|
+
}, "strict", z.ZodTypeAny, {
|
|
430
|
+
workflow: string;
|
|
431
|
+
id: string;
|
|
432
|
+
scope: "user" | "public" | "team" | "organization";
|
|
433
|
+
apiVersion: "octonode.plugin/v1";
|
|
434
|
+
version: string;
|
|
435
|
+
contributors?: string[] | undefined;
|
|
436
|
+
teamId?: string | undefined;
|
|
437
|
+
orgId?: string | undefined;
|
|
438
|
+
}, {
|
|
439
|
+
id: string;
|
|
440
|
+
scope: "user" | "public" | "team" | "organization";
|
|
441
|
+
apiVersion: "octonode.plugin/v1";
|
|
442
|
+
version: string;
|
|
443
|
+
workflow?: string | undefined;
|
|
444
|
+
contributors?: string[] | undefined;
|
|
445
|
+
teamId?: string | undefined;
|
|
446
|
+
orgId?: string | undefined;
|
|
447
|
+
}>, {
|
|
448
|
+
workflow: string;
|
|
449
|
+
id: string;
|
|
450
|
+
scope: "user" | "public" | "team" | "organization";
|
|
451
|
+
apiVersion: "octonode.plugin/v1";
|
|
452
|
+
version: string;
|
|
453
|
+
contributors?: string[] | undefined;
|
|
454
|
+
teamId?: string | undefined;
|
|
455
|
+
orgId?: string | undefined;
|
|
456
|
+
}, {
|
|
457
|
+
id: string;
|
|
458
|
+
scope: "user" | "public" | "team" | "organization";
|
|
459
|
+
apiVersion: "octonode.plugin/v1";
|
|
460
|
+
version: string;
|
|
461
|
+
workflow?: string | undefined;
|
|
462
|
+
contributors?: string[] | undefined;
|
|
463
|
+
teamId?: string | undefined;
|
|
464
|
+
orgId?: string | undefined;
|
|
465
|
+
}>;
|
|
466
|
+
sha256: z.ZodString;
|
|
467
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
468
|
+
missing: z.ZodBoolean;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
missing: boolean;
|
|
471
|
+
config: {
|
|
472
|
+
workflow: string;
|
|
473
|
+
id: string;
|
|
474
|
+
scope: "user" | "public" | "team" | "organization";
|
|
475
|
+
apiVersion: "octonode.plugin/v1";
|
|
476
|
+
version: string;
|
|
477
|
+
contributors?: string[] | undefined;
|
|
478
|
+
teamId?: string | undefined;
|
|
479
|
+
orgId?: string | undefined;
|
|
480
|
+
};
|
|
481
|
+
sha256: string;
|
|
482
|
+
configPath: string;
|
|
483
|
+
connectionId: string | null;
|
|
484
|
+
}, {
|
|
485
|
+
missing: boolean;
|
|
486
|
+
config: {
|
|
487
|
+
id: string;
|
|
488
|
+
scope: "user" | "public" | "team" | "organization";
|
|
489
|
+
apiVersion: "octonode.plugin/v1";
|
|
490
|
+
version: string;
|
|
491
|
+
workflow?: string | undefined;
|
|
492
|
+
contributors?: string[] | undefined;
|
|
493
|
+
teamId?: string | undefined;
|
|
494
|
+
orgId?: string | undefined;
|
|
495
|
+
};
|
|
496
|
+
sha256: string;
|
|
497
|
+
configPath: string;
|
|
498
|
+
connectionId: string | null;
|
|
499
|
+
}>;
|
|
500
|
+
export declare const PluginPublisherReview: z.ZodObject<{
|
|
501
|
+
repositoryId: z.ZodNumber;
|
|
502
|
+
repository: z.ZodString;
|
|
503
|
+
branch: z.ZodString;
|
|
504
|
+
headSha: z.ZodString;
|
|
505
|
+
revision: z.ZodString;
|
|
506
|
+
items: z.ZodArray<z.ZodObject<{
|
|
507
|
+
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
508
|
+
config: z.ZodEffects<z.ZodObject<{
|
|
509
|
+
apiVersion: z.ZodLiteral<"octonode.plugin/v1">;
|
|
510
|
+
id: z.ZodString;
|
|
511
|
+
version: z.ZodString;
|
|
512
|
+
scope: z.ZodEnum<["user", "team", "organization", "public"]>;
|
|
513
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
514
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
515
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
516
|
+
workflow: z.ZodDefault<z.ZodString>;
|
|
517
|
+
}, "strict", z.ZodTypeAny, {
|
|
518
|
+
workflow: string;
|
|
519
|
+
id: string;
|
|
520
|
+
scope: "user" | "public" | "team" | "organization";
|
|
521
|
+
apiVersion: "octonode.plugin/v1";
|
|
522
|
+
version: string;
|
|
523
|
+
contributors?: string[] | undefined;
|
|
524
|
+
teamId?: string | undefined;
|
|
525
|
+
orgId?: string | undefined;
|
|
526
|
+
}, {
|
|
527
|
+
id: string;
|
|
528
|
+
scope: "user" | "public" | "team" | "organization";
|
|
529
|
+
apiVersion: "octonode.plugin/v1";
|
|
530
|
+
version: string;
|
|
531
|
+
workflow?: string | undefined;
|
|
532
|
+
contributors?: string[] | undefined;
|
|
533
|
+
teamId?: string | undefined;
|
|
534
|
+
orgId?: string | undefined;
|
|
535
|
+
}>, {
|
|
536
|
+
workflow: string;
|
|
537
|
+
id: string;
|
|
538
|
+
scope: "user" | "public" | "team" | "organization";
|
|
539
|
+
apiVersion: "octonode.plugin/v1";
|
|
540
|
+
version: string;
|
|
541
|
+
contributors?: string[] | undefined;
|
|
542
|
+
teamId?: string | undefined;
|
|
543
|
+
orgId?: string | undefined;
|
|
544
|
+
}, {
|
|
545
|
+
id: string;
|
|
546
|
+
scope: "user" | "public" | "team" | "organization";
|
|
547
|
+
apiVersion: "octonode.plugin/v1";
|
|
548
|
+
version: string;
|
|
549
|
+
workflow?: string | undefined;
|
|
550
|
+
contributors?: string[] | undefined;
|
|
551
|
+
teamId?: string | undefined;
|
|
552
|
+
orgId?: string | undefined;
|
|
553
|
+
}>;
|
|
554
|
+
sha256: z.ZodString;
|
|
555
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
556
|
+
missing: z.ZodBoolean;
|
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
missing: boolean;
|
|
559
|
+
config: {
|
|
560
|
+
workflow: string;
|
|
561
|
+
id: string;
|
|
562
|
+
scope: "user" | "public" | "team" | "organization";
|
|
563
|
+
apiVersion: "octonode.plugin/v1";
|
|
564
|
+
version: string;
|
|
565
|
+
contributors?: string[] | undefined;
|
|
566
|
+
teamId?: string | undefined;
|
|
567
|
+
orgId?: string | undefined;
|
|
568
|
+
};
|
|
569
|
+
sha256: string;
|
|
570
|
+
configPath: string;
|
|
571
|
+
connectionId: string | null;
|
|
572
|
+
}, {
|
|
573
|
+
missing: boolean;
|
|
574
|
+
config: {
|
|
575
|
+
id: string;
|
|
576
|
+
scope: "user" | "public" | "team" | "organization";
|
|
577
|
+
apiVersion: "octonode.plugin/v1";
|
|
578
|
+
version: string;
|
|
579
|
+
workflow?: string | undefined;
|
|
580
|
+
contributors?: string[] | undefined;
|
|
581
|
+
teamId?: string | undefined;
|
|
582
|
+
orgId?: string | undefined;
|
|
583
|
+
};
|
|
584
|
+
sha256: string;
|
|
585
|
+
configPath: string;
|
|
586
|
+
connectionId: string | null;
|
|
587
|
+
}>, "many">;
|
|
588
|
+
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
repository: string;
|
|
590
|
+
repositoryId: number;
|
|
591
|
+
branch: string;
|
|
592
|
+
items: {
|
|
593
|
+
missing: boolean;
|
|
594
|
+
config: {
|
|
595
|
+
workflow: string;
|
|
596
|
+
id: string;
|
|
597
|
+
scope: "user" | "public" | "team" | "organization";
|
|
598
|
+
apiVersion: "octonode.plugin/v1";
|
|
599
|
+
version: string;
|
|
600
|
+
contributors?: string[] | undefined;
|
|
601
|
+
teamId?: string | undefined;
|
|
602
|
+
orgId?: string | undefined;
|
|
603
|
+
};
|
|
604
|
+
sha256: string;
|
|
605
|
+
configPath: string;
|
|
606
|
+
connectionId: string | null;
|
|
607
|
+
}[];
|
|
608
|
+
headSha: string;
|
|
609
|
+
revision: string;
|
|
610
|
+
}, {
|
|
611
|
+
repository: string;
|
|
612
|
+
repositoryId: number;
|
|
613
|
+
branch: string;
|
|
614
|
+
items: {
|
|
615
|
+
missing: boolean;
|
|
616
|
+
config: {
|
|
617
|
+
id: string;
|
|
618
|
+
scope: "user" | "public" | "team" | "organization";
|
|
619
|
+
apiVersion: "octonode.plugin/v1";
|
|
620
|
+
version: string;
|
|
621
|
+
workflow?: string | undefined;
|
|
622
|
+
contributors?: string[] | undefined;
|
|
623
|
+
teamId?: string | undefined;
|
|
624
|
+
orgId?: string | undefined;
|
|
625
|
+
};
|
|
626
|
+
sha256: string;
|
|
627
|
+
configPath: string;
|
|
628
|
+
connectionId: string | null;
|
|
629
|
+
}[];
|
|
630
|
+
headSha: string;
|
|
631
|
+
revision: string;
|
|
632
|
+
}>;
|
|
633
|
+
export declare const PluginPublisherApply: z.ZodObject<{
|
|
634
|
+
repositoryId: z.ZodNumber;
|
|
635
|
+
revision: z.ZodString;
|
|
636
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
637
|
+
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
638
|
+
operation: z.ZodEnum<["create", "update", "delete"]>;
|
|
639
|
+
}, "strict", z.ZodTypeAny, {
|
|
640
|
+
configPath: string;
|
|
641
|
+
operation: "update" | "delete" | "create";
|
|
642
|
+
}, {
|
|
643
|
+
configPath: string;
|
|
644
|
+
operation: "update" | "delete" | "create";
|
|
645
|
+
}>, "many">;
|
|
646
|
+
}, "strict", z.ZodTypeAny, {
|
|
647
|
+
repositoryId: number;
|
|
648
|
+
revision: string;
|
|
649
|
+
operations: {
|
|
650
|
+
configPath: string;
|
|
651
|
+
operation: "update" | "delete" | "create";
|
|
652
|
+
}[];
|
|
653
|
+
}, {
|
|
654
|
+
repositoryId: number;
|
|
655
|
+
revision: string;
|
|
656
|
+
operations: {
|
|
657
|
+
configPath: string;
|
|
658
|
+
operation: "update" | "delete" | "create";
|
|
659
|
+
}[];
|
|
660
|
+
}>;
|
|
661
|
+
export declare const PluginPublisherApplied: z.ZodObject<{
|
|
662
|
+
ok: z.ZodBoolean;
|
|
663
|
+
sha: z.ZodString;
|
|
664
|
+
repositoryId: z.ZodNumber;
|
|
665
|
+
buildId: z.ZodNumber;
|
|
666
|
+
}, "strip", z.ZodTypeAny, {
|
|
667
|
+
ok: boolean;
|
|
668
|
+
repositoryId: number;
|
|
669
|
+
sha: string;
|
|
670
|
+
buildId: number;
|
|
671
|
+
}, {
|
|
672
|
+
ok: boolean;
|
|
673
|
+
repositoryId: number;
|
|
674
|
+
sha: string;
|
|
675
|
+
buildId: number;
|
|
676
|
+
}>;
|
|
677
|
+
export declare const PluginPublisherBuildQuery: z.ZodObject<{
|
|
678
|
+
repositoryId: z.ZodOptional<z.ZodNumber>;
|
|
679
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
680
|
+
search: z.ZodDefault<z.ZodString>;
|
|
681
|
+
status: z.ZodDefault<z.ZodEnum<["", "queued", "in_progress", "success", "failure"]>>;
|
|
682
|
+
sort: z.ZodDefault<z.ZodEnum<["newest", "oldest", "name"]>>;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
sort: "name" | "newest" | "oldest";
|
|
685
|
+
search: string;
|
|
686
|
+
status: "" | "queued" | "in_progress" | "success" | "failure";
|
|
687
|
+
page: number;
|
|
688
|
+
repositoryId?: number | undefined;
|
|
689
|
+
}, {
|
|
690
|
+
sort?: "name" | "newest" | "oldest" | undefined;
|
|
691
|
+
search?: string | undefined;
|
|
692
|
+
status?: "" | "queued" | "in_progress" | "success" | "failure" | undefined;
|
|
693
|
+
repositoryId?: number | undefined;
|
|
694
|
+
page?: number | undefined;
|
|
695
|
+
}>;
|
|
696
|
+
export declare const PluginPublisherBuilds: z.ZodObject<{
|
|
697
|
+
total: z.ZodNumber;
|
|
698
|
+
page: z.ZodNumber;
|
|
699
|
+
hasMore: z.ZodBoolean;
|
|
700
|
+
items: z.ZodArray<z.ZodObject<{
|
|
701
|
+
id: z.ZodNumber;
|
|
702
|
+
repositoryId: z.ZodNumber;
|
|
703
|
+
number: z.ZodNumber;
|
|
704
|
+
attempt: z.ZodNumber;
|
|
705
|
+
title: z.ZodString;
|
|
706
|
+
sha: z.ZodString;
|
|
707
|
+
branch: z.ZodString;
|
|
708
|
+
status: z.ZodString;
|
|
709
|
+
conclusion: z.ZodNullable<z.ZodString>;
|
|
710
|
+
url: z.ZodString;
|
|
711
|
+
createdAt: z.ZodString;
|
|
712
|
+
updatedAt: z.ZodString;
|
|
713
|
+
}, "strip", z.ZodTypeAny, {
|
|
714
|
+
number: number;
|
|
715
|
+
url: string;
|
|
716
|
+
status: string;
|
|
717
|
+
id: number;
|
|
718
|
+
attempt: number;
|
|
719
|
+
repositoryId: number;
|
|
720
|
+
branch: string;
|
|
721
|
+
sha: string;
|
|
722
|
+
title: string;
|
|
723
|
+
conclusion: string | null;
|
|
724
|
+
createdAt: string;
|
|
725
|
+
updatedAt: string;
|
|
726
|
+
}, {
|
|
727
|
+
number: number;
|
|
728
|
+
url: string;
|
|
729
|
+
status: string;
|
|
730
|
+
id: number;
|
|
731
|
+
attempt: number;
|
|
732
|
+
repositoryId: number;
|
|
733
|
+
branch: string;
|
|
734
|
+
sha: string;
|
|
735
|
+
title: string;
|
|
736
|
+
conclusion: string | null;
|
|
737
|
+
createdAt: string;
|
|
738
|
+
updatedAt: string;
|
|
739
|
+
}>, "many">;
|
|
740
|
+
}, "strip", z.ZodTypeAny, {
|
|
741
|
+
items: {
|
|
742
|
+
number: number;
|
|
743
|
+
url: string;
|
|
744
|
+
status: string;
|
|
745
|
+
id: number;
|
|
746
|
+
attempt: number;
|
|
747
|
+
repositoryId: number;
|
|
748
|
+
branch: string;
|
|
749
|
+
sha: string;
|
|
750
|
+
title: string;
|
|
751
|
+
conclusion: string | null;
|
|
752
|
+
createdAt: string;
|
|
753
|
+
updatedAt: string;
|
|
754
|
+
}[];
|
|
755
|
+
page: number;
|
|
756
|
+
total: number;
|
|
757
|
+
hasMore: boolean;
|
|
758
|
+
}, {
|
|
759
|
+
items: {
|
|
760
|
+
number: number;
|
|
761
|
+
url: string;
|
|
762
|
+
status: string;
|
|
763
|
+
id: number;
|
|
764
|
+
attempt: number;
|
|
765
|
+
repositoryId: number;
|
|
766
|
+
branch: string;
|
|
767
|
+
sha: string;
|
|
768
|
+
title: string;
|
|
769
|
+
conclusion: string | null;
|
|
770
|
+
createdAt: string;
|
|
771
|
+
updatedAt: string;
|
|
772
|
+
}[];
|
|
773
|
+
page: number;
|
|
774
|
+
total: number;
|
|
775
|
+
hasMore: boolean;
|
|
776
|
+
}>;
|
|
777
|
+
export declare const PluginPublisherBuildDetail: z.ZodObject<{
|
|
778
|
+
repository: z.ZodString;
|
|
779
|
+
sha: z.ZodString;
|
|
780
|
+
branch: z.ZodString;
|
|
781
|
+
status: z.ZodString;
|
|
782
|
+
createdAt: z.ZodString;
|
|
783
|
+
items: z.ZodArray<z.ZodObject<{
|
|
784
|
+
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
785
|
+
name: z.ZodString;
|
|
786
|
+
version: z.ZodString;
|
|
787
|
+
scope: z.ZodEnum<["user", "team", "organization", "public"]>;
|
|
788
|
+
operation: z.ZodEnum<["create", "update", "delete"]>;
|
|
789
|
+
status: z.ZodString;
|
|
790
|
+
url: z.ZodNullable<z.ZodString>;
|
|
791
|
+
error: z.ZodNullable<z.ZodString>;
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
error: string | null;
|
|
794
|
+
name: string;
|
|
795
|
+
url: string | null;
|
|
796
|
+
status: string;
|
|
797
|
+
scope: "user" | "public" | "team" | "organization";
|
|
798
|
+
version: string;
|
|
799
|
+
configPath: string;
|
|
800
|
+
operation: "update" | "delete" | "create";
|
|
801
|
+
}, {
|
|
802
|
+
error: string | null;
|
|
803
|
+
name: string;
|
|
804
|
+
url: string | null;
|
|
805
|
+
status: string;
|
|
806
|
+
scope: "user" | "public" | "team" | "organization";
|
|
807
|
+
version: string;
|
|
808
|
+
configPath: string;
|
|
809
|
+
operation: "update" | "delete" | "create";
|
|
810
|
+
}>, "many">;
|
|
811
|
+
log: z.ZodString;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
repository: string;
|
|
814
|
+
status: string;
|
|
815
|
+
branch: string;
|
|
816
|
+
items: {
|
|
817
|
+
error: string | null;
|
|
818
|
+
name: string;
|
|
819
|
+
url: string | null;
|
|
820
|
+
status: string;
|
|
821
|
+
scope: "user" | "public" | "team" | "organization";
|
|
822
|
+
version: string;
|
|
823
|
+
configPath: string;
|
|
824
|
+
operation: "update" | "delete" | "create";
|
|
825
|
+
}[];
|
|
826
|
+
sha: string;
|
|
827
|
+
createdAt: string;
|
|
828
|
+
log: string;
|
|
829
|
+
}, {
|
|
830
|
+
repository: string;
|
|
831
|
+
status: string;
|
|
832
|
+
branch: string;
|
|
833
|
+
items: {
|
|
834
|
+
error: string | null;
|
|
835
|
+
name: string;
|
|
836
|
+
url: string | null;
|
|
837
|
+
status: string;
|
|
838
|
+
scope: "user" | "public" | "team" | "organization";
|
|
839
|
+
version: string;
|
|
840
|
+
configPath: string;
|
|
841
|
+
operation: "update" | "delete" | "create";
|
|
842
|
+
}[];
|
|
843
|
+
sha: string;
|
|
844
|
+
createdAt: string;
|
|
845
|
+
log: string;
|
|
846
|
+
}>;
|
|
847
|
+
export type PluginPublisherReview = z.infer<typeof PluginPublisherReview>;
|
|
848
|
+
export type PluginPublisherApply = z.infer<typeof PluginPublisherApply>;
|
|
849
|
+
export type PluginPublisherReviewItem = z.infer<typeof PluginPublisherReviewItem>;
|
|
850
|
+
export type PluginPublisherBuilds = z.infer<typeof PluginPublisherBuilds>;
|
|
851
|
+
export type PluginPublisherBuildDetail = z.infer<typeof PluginPublisherBuildDetail>;
|
|
852
|
+
export declare const PluginCloudBuild: z.ZodObject<{
|
|
853
|
+
id: z.ZodNumber;
|
|
854
|
+
sha: z.ZodString;
|
|
855
|
+
active: z.ZodBoolean;
|
|
856
|
+
items: z.ZodArray<z.ZodObject<{
|
|
857
|
+
configPath: z.ZodEffects<z.ZodString, string, string>;
|
|
858
|
+
config: z.ZodEffects<z.ZodObject<{
|
|
859
|
+
apiVersion: z.ZodLiteral<"octonode.plugin/v1">;
|
|
860
|
+
id: z.ZodString;
|
|
861
|
+
version: z.ZodString;
|
|
862
|
+
scope: z.ZodEnum<["user", "team", "organization", "public"]>;
|
|
863
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
864
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
865
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
866
|
+
workflow: z.ZodDefault<z.ZodString>;
|
|
867
|
+
}, "strict", z.ZodTypeAny, {
|
|
868
|
+
workflow: string;
|
|
869
|
+
id: string;
|
|
870
|
+
scope: "user" | "public" | "team" | "organization";
|
|
871
|
+
apiVersion: "octonode.plugin/v1";
|
|
872
|
+
version: string;
|
|
873
|
+
contributors?: string[] | undefined;
|
|
874
|
+
teamId?: string | undefined;
|
|
875
|
+
orgId?: string | undefined;
|
|
876
|
+
}, {
|
|
877
|
+
id: string;
|
|
878
|
+
scope: "user" | "public" | "team" | "organization";
|
|
879
|
+
apiVersion: "octonode.plugin/v1";
|
|
880
|
+
version: string;
|
|
881
|
+
workflow?: string | undefined;
|
|
882
|
+
contributors?: string[] | undefined;
|
|
883
|
+
teamId?: string | undefined;
|
|
884
|
+
orgId?: string | undefined;
|
|
885
|
+
}>, {
|
|
886
|
+
workflow: string;
|
|
887
|
+
id: string;
|
|
888
|
+
scope: "user" | "public" | "team" | "organization";
|
|
889
|
+
apiVersion: "octonode.plugin/v1";
|
|
890
|
+
version: string;
|
|
891
|
+
contributors?: string[] | undefined;
|
|
892
|
+
teamId?: string | undefined;
|
|
893
|
+
orgId?: string | undefined;
|
|
894
|
+
}, {
|
|
895
|
+
id: string;
|
|
896
|
+
scope: "user" | "public" | "team" | "organization";
|
|
897
|
+
apiVersion: "octonode.plugin/v1";
|
|
898
|
+
version: string;
|
|
899
|
+
workflow?: string | undefined;
|
|
900
|
+
contributors?: string[] | undefined;
|
|
901
|
+
teamId?: string | undefined;
|
|
902
|
+
orgId?: string | undefined;
|
|
903
|
+
}>;
|
|
904
|
+
operation: z.ZodEnum<["create", "update", "delete"]>;
|
|
905
|
+
status: z.ZodString;
|
|
906
|
+
}, "strip", z.ZodTypeAny, {
|
|
907
|
+
config: {
|
|
908
|
+
workflow: string;
|
|
909
|
+
id: string;
|
|
910
|
+
scope: "user" | "public" | "team" | "organization";
|
|
911
|
+
apiVersion: "octonode.plugin/v1";
|
|
912
|
+
version: string;
|
|
913
|
+
contributors?: string[] | undefined;
|
|
914
|
+
teamId?: string | undefined;
|
|
915
|
+
orgId?: string | undefined;
|
|
916
|
+
};
|
|
917
|
+
status: string;
|
|
918
|
+
configPath: string;
|
|
919
|
+
operation: "update" | "delete" | "create";
|
|
920
|
+
}, {
|
|
921
|
+
config: {
|
|
922
|
+
id: string;
|
|
923
|
+
scope: "user" | "public" | "team" | "organization";
|
|
924
|
+
apiVersion: "octonode.plugin/v1";
|
|
925
|
+
version: string;
|
|
926
|
+
workflow?: string | undefined;
|
|
927
|
+
contributors?: string[] | undefined;
|
|
928
|
+
teamId?: string | undefined;
|
|
929
|
+
orgId?: string | undefined;
|
|
930
|
+
};
|
|
931
|
+
status: string;
|
|
932
|
+
configPath: string;
|
|
933
|
+
operation: "update" | "delete" | "create";
|
|
934
|
+
}>, "many">;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
id: number;
|
|
937
|
+
active: boolean;
|
|
938
|
+
items: {
|
|
939
|
+
config: {
|
|
940
|
+
workflow: string;
|
|
941
|
+
id: string;
|
|
942
|
+
scope: "user" | "public" | "team" | "organization";
|
|
943
|
+
apiVersion: "octonode.plugin/v1";
|
|
944
|
+
version: string;
|
|
945
|
+
contributors?: string[] | undefined;
|
|
946
|
+
teamId?: string | undefined;
|
|
947
|
+
orgId?: string | undefined;
|
|
948
|
+
};
|
|
949
|
+
status: string;
|
|
950
|
+
configPath: string;
|
|
951
|
+
operation: "update" | "delete" | "create";
|
|
952
|
+
}[];
|
|
953
|
+
sha: string;
|
|
954
|
+
}, {
|
|
955
|
+
id: number;
|
|
956
|
+
active: boolean;
|
|
957
|
+
items: {
|
|
958
|
+
config: {
|
|
959
|
+
id: string;
|
|
960
|
+
scope: "user" | "public" | "team" | "organization";
|
|
961
|
+
apiVersion: "octonode.plugin/v1";
|
|
962
|
+
version: string;
|
|
963
|
+
workflow?: string | undefined;
|
|
964
|
+
contributors?: string[] | undefined;
|
|
965
|
+
teamId?: string | undefined;
|
|
966
|
+
orgId?: string | undefined;
|
|
967
|
+
};
|
|
968
|
+
status: string;
|
|
969
|
+
configPath: string;
|
|
970
|
+
operation: "update" | "delete" | "create";
|
|
971
|
+
}[];
|
|
972
|
+
sha: string;
|
|
973
|
+
}>;
|
|
396
974
|
//# sourceMappingURL=plugin-publishing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-publishing.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/plugin-publishing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gBAAgB,2CAQ1B,CAAC;AACJ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuB5B,CAAC;AACL,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MA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C;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,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PluginPublisherConnections = exports.PluginPublisherConnection = exports.PluginPublisherPreview = exports.PluginPublisherConsent = exports.PluginPublisherInput = exports.pluginReleaseScope = exports.PluginReleaseConfig = exports.PluginConfigPath = void 0;
|
|
3
|
+
exports.PluginCloudBuild = exports.PluginPublisherBuildDetail = exports.PluginPublisherBuilds = exports.PluginPublisherBuildQuery = 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;
|
|
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 plugin_version_1 = require("./plugin-version");
|
|
7
7
|
exports.PluginConfigPath = zod_1.z
|
|
8
8
|
.string()
|
|
9
9
|
.max(512)
|
|
10
|
-
.refine((path) => /^(?:[a-zA-Z0-9_.-]+\/)*plugin\.octonode\.(json|ya?ml)$/.test(path) &&
|
|
11
|
-
!path.split("/").some((part) => [".", "..", ".git", "node_modules"].includes(part)), "Select a repository-relative plugin.
|
|
10
|
+
.refine((path) => /^(?:[a-zA-Z0-9_.-]+\/)*(?:plugin\.octonode\.(?:json|ya?ml)|octonode\.plugin\.json)$/.test(path) &&
|
|
11
|
+
!path.split("/").some((part) => [".", "..", ".git", "node_modules"].includes(part)), "Select a repository-relative octonode.plugin.json file (older plugin.octonode release files also work)");
|
|
12
12
|
exports.PluginReleaseConfig = zod_1.z
|
|
13
13
|
.object({
|
|
14
14
|
apiVersion: zod_1.z.literal("octonode.plugin/v1"),
|
|
@@ -38,6 +38,12 @@ exports.pluginReleaseScope = pluginReleaseScope;
|
|
|
38
38
|
exports.PluginPublisherInput = zod_1.z
|
|
39
39
|
.object({ repositoryId: zod_1.z.number().int().positive(), configPath: exports.PluginConfigPath })
|
|
40
40
|
.strict();
|
|
41
|
+
exports.PluginPublisherRepository = exports.PluginPublisherInput.pick({ repositoryId: true });
|
|
42
|
+
exports.PluginPublisherAutomatic = zod_1.z.object({
|
|
43
|
+
ok: zod_1.z.boolean(),
|
|
44
|
+
connected: zod_1.z.number(),
|
|
45
|
+
workflow: zod_1.z.string(),
|
|
46
|
+
});
|
|
41
47
|
exports.PluginPublisherConsent = exports.PluginPublisherInput.extend({ sha256: zod_1.z.string().regex(/^[a-f0-9]{64}$/) });
|
|
42
48
|
exports.PluginPublisherPreview = zod_1.z.object({
|
|
43
49
|
config: exports.PluginReleaseConfig,
|
|
@@ -54,4 +60,93 @@ exports.PluginPublisherConnection = exports.PluginPublisherPreview.extend({
|
|
|
54
60
|
lastPublishedAt: zod_1.z.number().nullable(),
|
|
55
61
|
});
|
|
56
62
|
exports.PluginPublisherConnections = zod_1.z.object({ items: zod_1.z.array(exports.PluginPublisherConnection) });
|
|
63
|
+
exports.PluginPublisherOperation = zod_1.z.enum(["create", "update", "delete"]);
|
|
64
|
+
exports.PluginPublisherReviewItem = zod_1.z.object({
|
|
65
|
+
configPath: exports.PluginConfigPath,
|
|
66
|
+
config: exports.PluginReleaseConfig,
|
|
67
|
+
sha256: zod_1.z.string(),
|
|
68
|
+
connectionId: zod_1.z.string().nullable(),
|
|
69
|
+
missing: zod_1.z.boolean(),
|
|
70
|
+
});
|
|
71
|
+
exports.PluginPublisherReview = zod_1.z.object({
|
|
72
|
+
repositoryId: zod_1.z.number(),
|
|
73
|
+
repository: zod_1.z.string(),
|
|
74
|
+
branch: zod_1.z.string(),
|
|
75
|
+
headSha: zod_1.z.string(),
|
|
76
|
+
revision: zod_1.z.string(),
|
|
77
|
+
items: zod_1.z.array(exports.PluginPublisherReviewItem),
|
|
78
|
+
});
|
|
79
|
+
exports.PluginPublisherApply = zod_1.z
|
|
80
|
+
.object({
|
|
81
|
+
repositoryId: zod_1.z.number().int().positive(),
|
|
82
|
+
revision: zod_1.z.string().regex(/^[a-f0-9]{64}$/),
|
|
83
|
+
operations: zod_1.z
|
|
84
|
+
.array(zod_1.z.object({ configPath: exports.PluginConfigPath, operation: exports.PluginPublisherOperation }).strict())
|
|
85
|
+
.min(1)
|
|
86
|
+
.max(100),
|
|
87
|
+
})
|
|
88
|
+
.strict();
|
|
89
|
+
exports.PluginPublisherApplied = zod_1.z.object({
|
|
90
|
+
ok: zod_1.z.boolean(),
|
|
91
|
+
sha: zod_1.z.string(),
|
|
92
|
+
repositoryId: zod_1.z.number(),
|
|
93
|
+
buildId: zod_1.z.number(),
|
|
94
|
+
});
|
|
95
|
+
exports.PluginPublisherBuildQuery = zod_1.z.object({
|
|
96
|
+
repositoryId: zod_1.z.coerce.number().int().positive().optional(),
|
|
97
|
+
page: zod_1.z.coerce.number().int().min(1).max(1000).default(1),
|
|
98
|
+
search: zod_1.z.string().max(200).default(""),
|
|
99
|
+
status: zod_1.z.enum(["", "queued", "in_progress", "success", "failure"]).default(""),
|
|
100
|
+
sort: zod_1.z.enum(["newest", "oldest", "name"]).default("newest"),
|
|
101
|
+
});
|
|
102
|
+
exports.PluginPublisherBuilds = zod_1.z.object({
|
|
103
|
+
total: zod_1.z.number(),
|
|
104
|
+
page: zod_1.z.number(),
|
|
105
|
+
hasMore: zod_1.z.boolean(),
|
|
106
|
+
items: zod_1.z.array(zod_1.z.object({
|
|
107
|
+
id: zod_1.z.number(),
|
|
108
|
+
repositoryId: zod_1.z.number(),
|
|
109
|
+
number: zod_1.z.number(),
|
|
110
|
+
attempt: zod_1.z.number(),
|
|
111
|
+
title: zod_1.z.string(),
|
|
112
|
+
sha: zod_1.z.string(),
|
|
113
|
+
branch: zod_1.z.string(),
|
|
114
|
+
status: zod_1.z.string(),
|
|
115
|
+
conclusion: zod_1.z.string().nullable(),
|
|
116
|
+
url: zod_1.z.string(),
|
|
117
|
+
createdAt: zod_1.z.string(),
|
|
118
|
+
updatedAt: zod_1.z.string(),
|
|
119
|
+
})),
|
|
120
|
+
});
|
|
121
|
+
exports.PluginPublisherBuildDetail = zod_1.z.object({
|
|
122
|
+
repository: zod_1.z.string(),
|
|
123
|
+
sha: zod_1.z.string(),
|
|
124
|
+
branch: zod_1.z.string(),
|
|
125
|
+
status: zod_1.z.string(),
|
|
126
|
+
createdAt: zod_1.z.string(),
|
|
127
|
+
items: zod_1.z.array(zod_1.z.object({
|
|
128
|
+
configPath: exports.PluginConfigPath,
|
|
129
|
+
name: zod_1.z.string(),
|
|
130
|
+
version: zod_1.z.string(),
|
|
131
|
+
scope: zod_1.z.enum(["user", "team", "organization", "public"]),
|
|
132
|
+
operation: exports.PluginPublisherOperation,
|
|
133
|
+
status: zod_1.z.string(),
|
|
134
|
+
url: zod_1.z.string().nullable(),
|
|
135
|
+
error: zod_1.z.string().nullable(),
|
|
136
|
+
})),
|
|
137
|
+
log: zod_1.z.string(),
|
|
138
|
+
});
|
|
139
|
+
exports.PluginCloudBuild = zod_1.z.object({
|
|
140
|
+
id: zod_1.z.number().int().positive(),
|
|
141
|
+
sha: zod_1.z.string().regex(/^[a-f0-9]{40}$/),
|
|
142
|
+
active: zod_1.z.boolean(),
|
|
143
|
+
items: zod_1.z
|
|
144
|
+
.array(zod_1.z.object({
|
|
145
|
+
configPath: exports.PluginConfigPath,
|
|
146
|
+
config: exports.PluginReleaseConfig,
|
|
147
|
+
operation: exports.PluginPublisherOperation,
|
|
148
|
+
status: zod_1.z.string(),
|
|
149
|
+
}))
|
|
150
|
+
.max(100),
|
|
151
|
+
});
|
|
57
152
|
//# sourceMappingURL=plugin-publishing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-publishing.js","sourceRoot":"","sources":["../../../src/plugins/schema/plugin-publishing.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACnG,6BAAwB;AACxB,qDAAiD;AAEpC,QAAA,gBAAgB,GAAG,OAAC;KAC9B,MAAM,EAAE;KACR,GAAG,CAAC,GAAG,CAAC;KACR,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CACP,
|
|
1
|
+
{"version":3,"file":"plugin-publishing.js","sourceRoot":"","sources":["../../../src/plugins/schema/plugin-publishing.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACnG,6BAAwB;AACxB,qDAAiD;AAEpC,QAAA,gBAAgB,GAAG,OAAC;KAC9B,MAAM,EAAE;KACR,GAAG,CAAC,GAAG,CAAC;KACR,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CACP,qFAAqF,CAAC,IAAI,CAAC,IAAI,CAAC;IAChG,CAAC,IAAI,CAAC,K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