@xemahq/contracts 0.51.0 → 0.52.0
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/dist/.source-stamp.json +2 -2
- package/dist/biome/lib/biome-component-process-facts.d.ts.map +1 -1
- package/dist/biome/lib/biome-component-process-facts.js.map +1 -1
- package/dist/biome/lib/biome-component-vocabulary.d.ts +16 -0
- package/dist/biome/lib/biome-component-vocabulary.d.ts.map +1 -1
- package/dist/biome/lib/biome-component-vocabulary.js +20 -1
- package/dist/biome/lib/biome-component-vocabulary.js.map +1 -1
- package/dist/biome/lib/biome-component.d.ts +243 -7
- package/dist/biome/lib/biome-component.d.ts.map +1 -1
- package/dist/biome/lib/biome-component.js +166 -18
- package/dist/biome/lib/biome-component.js.map +1 -1
- package/dist/biome/lib/biome-manifest.d.ts +270 -12
- package/dist/biome/lib/biome-manifest.d.ts.map +1 -1
- package/dist/biome/xema-biome.schema.json +616 -160
- package/dist/deployment/index.d.ts +1 -0
- package/dist/deployment/index.d.ts.map +1 -1
- package/dist/deployment/index.js +1 -0
- package/dist/deployment/index.js.map +1 -1
- package/dist/deployment/lib/deployment-id.d.ts +3 -0
- package/dist/deployment/lib/deployment-id.d.ts.map +1 -1
- package/dist/deployment/lib/deployment-id.js +14 -5
- package/dist/deployment/lib/deployment-id.js.map +1 -1
- package/dist/deployment/lib/trust-domain.d.ts +6 -0
- package/dist/deployment/lib/trust-domain.d.ts.map +1 -0
- package/dist/deployment/lib/trust-domain.js +13 -0
- package/dist/deployment/lib/trust-domain.js.map +1 -0
- package/dist/distribution/index.d.ts +1 -0
- package/dist/distribution/index.d.ts.map +1 -1
- package/dist/distribution/index.js +1 -0
- package/dist/distribution/index.js.map +1 -1
- package/dist/distribution/lib/distribution-lock.d.ts +4 -0
- package/dist/distribution/lib/distribution-lock.d.ts.map +1 -1
- package/dist/distribution/lib/distribution-lock.js +7 -2
- package/dist/distribution/lib/distribution-lock.js.map +1 -1
- package/dist/distribution/lib/nexus-binding.d.ts +29 -0
- package/dist/distribution/lib/nexus-binding.d.ts.map +1 -0
- package/dist/distribution/lib/nexus-binding.js +109 -0
- package/dist/distribution/lib/nexus-binding.js.map +1 -0
- package/dist/process-topology/lib/process-topology.d.ts +2 -2
- package/dist/process-topology/lib/process-topology.d.ts.map +1 -1
- package/dist/process-topology/lib/process-topology.js +7 -11
- package/dist/process-topology/lib/process-topology.js.map +1 -1
- package/dist/process-topology/lib/resolve-process-topology.d.ts +1 -1
- package/dist/process-topology/lib/resolve-process-topology.d.ts.map +1 -1
- package/dist/process-topology/lib/resolve-process-topology.js +20 -5
- package/dist/process-topology/lib/resolve-process-topology.js.map +1 -1
- package/dist/workflow/index.d.ts +3 -0
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +3 -0
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/lib/biome-task-queue.d.ts +6 -0
- package/dist/workflow/lib/biome-task-queue.d.ts.map +1 -0
- package/dist/workflow/lib/biome-task-queue.js +21 -0
- package/dist/workflow/lib/biome-task-queue.js.map +1 -0
- package/dist/workflow/lib/nexus-endpoint.d.ts +12 -0
- package/dist/workflow/lib/nexus-endpoint.d.ts.map +1 -0
- package/dist/workflow/lib/nexus-endpoint.js +36 -0
- package/dist/workflow/lib/nexus-endpoint.js.map +1 -0
- package/dist/workflow/lib/trust-domain-namespace.d.ts +2 -0
- package/dist/workflow/lib/trust-domain-namespace.d.ts.map +1 -0
- package/dist/workflow/lib/trust-domain-namespace.js +26 -0
- package/dist/workflow/lib/trust-domain-namespace.js.map +1 -0
- package/package.json +1 -1
package/dist/.source-stamp.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biome-component-process-facts.d.ts","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-process-facts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"biome-component-process-facts.d.ts","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-process-facts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8DxB,eAAO,MAAM,gCAAgC;;;;;;;kBAuB3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biome-component-process-facts.js","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-process-facts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,qFAAyE;
|
|
1
|
+
{"version":3,"file":"biome-component-process-facts.js","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-process-facts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,qFAAyE;AA4D5D,QAAA,gCAAgC,GAAG,IAAA,sDAAqB,EAAC;IACpE,SAAS,EAAE,IAAA,sDAAqB,EAAC;QAK/B,MAAM,EAAE,OAAC;aACN,MAAM,EAAE;aACR,IAAI,EAAE;aACN,GAAG,CAAC,EAAE,EAAE,+DAA+D,CAAC;KAC5E,CAAC,CAAC,QAAQ,EAAE;IACb,iBAAiB,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAC7C,oBAAoB,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAChD,kBAAkB,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAC5B,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACpC,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,QAAQ;YACd,OAAO,EACL,oEAAoE;gBACpE,0DAA0D;SAC7D,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -118,4 +118,20 @@ export declare const POSTGRES_EXTENSION_NAME_MAX_LENGTH = 63;
|
|
|
118
118
|
export declare const PostgresExtensionNameSchema: z.ZodString;
|
|
119
119
|
export type PostgresExtensionName = z.infer<typeof PostgresExtensionNameSchema>;
|
|
120
120
|
export declare function isPostgresExtensionName(name: string): boolean;
|
|
121
|
+
export declare enum BiomeWorkerTaskQueueServes {
|
|
122
|
+
Workflows = "workflows",
|
|
123
|
+
Activities = "activities",
|
|
124
|
+
Nexus = "nexus"
|
|
125
|
+
}
|
|
126
|
+
export declare const BiomeWorkerTaskQueueServesSchema: z.ZodEnum<typeof BiomeWorkerTaskQueueServes>;
|
|
127
|
+
export declare enum BiomeWorkerTaskQueueFairness {
|
|
128
|
+
Org = "org",
|
|
129
|
+
None = "none"
|
|
130
|
+
}
|
|
131
|
+
export declare const BiomeWorkerTaskQueueFairnessSchema: z.ZodEnum<typeof BiomeWorkerTaskQueueFairness>;
|
|
132
|
+
export declare enum BiomeNexusOperationMode {
|
|
133
|
+
Sync = "sync",
|
|
134
|
+
Async = "async"
|
|
135
|
+
}
|
|
136
|
+
export declare const BiomeNexusOperationModeSchema: z.ZodEnum<typeof BiomeNexusOperationMode>;
|
|
121
137
|
//# sourceMappingURL=biome-component-vocabulary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biome-component-vocabulary.d.ts","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-vocabulary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oCAAoC,EAC/C,iCAA0C,CAAC;AAG7C,eAAO,MAAM,uCAAuC,maAkCzC,CAAC;AAEZ,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACj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uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7D"}
|
|
1
|
+
{"version":3,"file":"biome-component-vocabulary.d.ts","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-vocabulary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oCAAoC,EAC/C,iCAA0C,CAAC;AAG7C,eAAO,MAAM,uCAAuC,maAkCzC,CAAC;AAEZ,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,wBAAwB,sCAAmC,CAAC;AAEzE,oBAAY,0BAA0B;IACpC,cAAc,oBAAoB;IAClC,SAAS,eAAe;IACxB,UAAU,gBAAgB;IAC1B,QAAQ,cAAc;CACvB;AAED,eAAO,MAAM,gCAAgC,8CAE5C,CAAC;AAEF,oBAAY,4BAA4B;IACtC,WAAW,gBAAgB;IAC3B,YAAY,kBAAkB;IAC9B,YAAY,kBAAkB;IAC9B,UAAU,gBAAgB;CAC3B;AAED,oBAAY,0BAA0B;IACpC,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AAED,oBAAY,qBAAqB;IAC/B,OAAO,kBAAkB;IACzB,WAAW,sBAAsB;IACjC,WAAW,sBAAsB;IACjC,aAAa,wBAAwB;IACrC,SAAS,oBAAoB;CAC9B;AAED,oBAAY,2BAA2B;IACrC,YAAY,iBAAiB;IAC7B,SAAS,eAAe;IACxB,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,iCAAiC,+CAE7C,CAAC;AA4BF,oBAAY,uBAAuB;IAKjC,QAAQ,aAAa;I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,gBAAgB;IAC3B,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AAED,oBAAY,gBAAgB;IAC1B,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,cAAc,oBAAoB;CACnC;AAwCD,eAAO,MAAM,+BAA+B,QAAwB,CAAC;AAErE,eAAO,MAAM,kCAAkC,KAAK,CAAC;AAErD,eAAO,MAAM,2BAA2B,aAUrC,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAGhF,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7D;AAWD,oBAAY,0BAA0B;IAEpC,SAAS,cAAc;IAEvB,UAAU,eAAe;IAEzB,KAAK,UAAU;CAChB;AACD,eAAO,MAAM,gCAAgC,8CAE5C,CAAC;AAUF,oBAAY,4BAA4B;IACtC,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AACD,eAAO,MAAM,kCAAkC,gDAE9C,CAAC;AAGF,oBAAY,uBAAuB;IAEjC,IAAI,SAAS;IAEb,KAAK,UAAU;CAChB;AACD,eAAO,MAAM,6BAA6B,2CAEzC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PostgresExtensionNameSchema = exports.POSTGRES_EXTENSION_NAME_MAX_LENGTH = exports.POSTGRES_EXTENSION_NAME_PATTERN = exports.BiomeScalingMode = exports.BiomeDeviceRequirement = exports.BiomeEgressRequirement = exports.BiomeIngressRequirement = exports.BiomeCpuArchitecture = exports.BiomeRuntimeKind = exports.BiomeComponentStateKind = exports.BiomeTenantContext = exports.BIOME_COMPONENT_OWNERSHIP_TENANCIES = exports.BiomeComponentTenancy = exports.INSTALLATION_CLASS_RANK = exports.BiomeComponentInstallationClassSchema = exports.BiomeComponentInstallationClass = exports.BiomeComponentSchedulerSchema = exports.BiomeComponentScheduler = exports.BiomeComponentExecutionModeSchema = exports.BiomeComponentExecutionMode = exports.BiomeComponentHostAbi = exports.BiomeComponentProtocolKind = exports.BiomeComponentEntrypointKind = exports.BiomeComponentArtifactKindSchema = exports.BiomeComponentArtifactKind = exports.BiomeComponentKindSchema = exports.BiomeComponentKind = exports.BIOME_COMPONENT_FORBIDDEN_AUTHOR_FIELDS = exports.BIOME_COMPONENT_FORBIDDEN_FIELD_CODE = void 0;
|
|
3
|
+
exports.BiomeNexusOperationModeSchema = exports.BiomeNexusOperationMode = exports.BiomeWorkerTaskQueueFairnessSchema = exports.BiomeWorkerTaskQueueFairness = exports.BiomeWorkerTaskQueueServesSchema = exports.BiomeWorkerTaskQueueServes = exports.PostgresExtensionNameSchema = exports.POSTGRES_EXTENSION_NAME_MAX_LENGTH = exports.POSTGRES_EXTENSION_NAME_PATTERN = exports.BiomeScalingMode = exports.BiomeDeviceRequirement = exports.BiomeEgressRequirement = exports.BiomeIngressRequirement = exports.BiomeCpuArchitecture = exports.BiomeRuntimeKind = exports.BiomeComponentStateKind = exports.BiomeTenantContext = exports.BIOME_COMPONENT_OWNERSHIP_TENANCIES = exports.BiomeComponentTenancy = exports.INSTALLATION_CLASS_RANK = exports.BiomeComponentInstallationClassSchema = exports.BiomeComponentInstallationClass = exports.BiomeComponentSchedulerSchema = exports.BiomeComponentScheduler = exports.BiomeComponentExecutionModeSchema = exports.BiomeComponentExecutionMode = exports.BiomeComponentHostAbi = exports.BiomeComponentProtocolKind = exports.BiomeComponentEntrypointKind = exports.BiomeComponentArtifactKindSchema = exports.BiomeComponentArtifactKind = exports.BiomeComponentKindSchema = exports.BiomeComponentKind = exports.BIOME_COMPONENT_FORBIDDEN_AUTHOR_FIELDS = exports.BIOME_COMPONENT_FORBIDDEN_FIELD_CODE = void 0;
|
|
4
4
|
exports.installationClassRank = installationClassRank;
|
|
5
5
|
exports.foldInstallationClass = foldInstallationClass;
|
|
6
6
|
exports.isPostgresExtensionName = isPostgresExtensionName;
|
|
@@ -203,4 +203,23 @@ exports.PostgresExtensionNameSchema = zod_1.z
|
|
|
203
203
|
function isPostgresExtensionName(name) {
|
|
204
204
|
return exports.PostgresExtensionNameSchema.safeParse(name).success;
|
|
205
205
|
}
|
|
206
|
+
var BiomeWorkerTaskQueueServes;
|
|
207
|
+
(function (BiomeWorkerTaskQueueServes) {
|
|
208
|
+
BiomeWorkerTaskQueueServes["Workflows"] = "workflows";
|
|
209
|
+
BiomeWorkerTaskQueueServes["Activities"] = "activities";
|
|
210
|
+
BiomeWorkerTaskQueueServes["Nexus"] = "nexus";
|
|
211
|
+
})(BiomeWorkerTaskQueueServes || (exports.BiomeWorkerTaskQueueServes = BiomeWorkerTaskQueueServes = {}));
|
|
212
|
+
exports.BiomeWorkerTaskQueueServesSchema = zod_1.z.nativeEnum(BiomeWorkerTaskQueueServes);
|
|
213
|
+
var BiomeWorkerTaskQueueFairness;
|
|
214
|
+
(function (BiomeWorkerTaskQueueFairness) {
|
|
215
|
+
BiomeWorkerTaskQueueFairness["Org"] = "org";
|
|
216
|
+
BiomeWorkerTaskQueueFairness["None"] = "none";
|
|
217
|
+
})(BiomeWorkerTaskQueueFairness || (exports.BiomeWorkerTaskQueueFairness = BiomeWorkerTaskQueueFairness = {}));
|
|
218
|
+
exports.BiomeWorkerTaskQueueFairnessSchema = zod_1.z.nativeEnum(BiomeWorkerTaskQueueFairness);
|
|
219
|
+
var BiomeNexusOperationMode;
|
|
220
|
+
(function (BiomeNexusOperationMode) {
|
|
221
|
+
BiomeNexusOperationMode["Sync"] = "sync";
|
|
222
|
+
BiomeNexusOperationMode["Async"] = "async";
|
|
223
|
+
})(BiomeNexusOperationMode || (exports.BiomeNexusOperationMode = BiomeNexusOperationMode = {}));
|
|
224
|
+
exports.BiomeNexusOperationModeSchema = zod_1.z.nativeEnum(BiomeNexusOperationMode);
|
|
206
225
|
//# sourceMappingURL=biome-component-vocabulary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biome-component-vocabulary.js","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-vocabulary.ts"],"names":[],"mappings":";;;AA8OA,sDAUC;AAgBD,sDAWC;AAiKD,0DAEC;AAtbD,6BAAwB;AAGX,QAAA,oCAAoC,GAC/C,iCAA0C,CAAC;AAGhC,QAAA,uCAAuC,GAAG,MAAM,CAAC,MAAM,CAAC;IACnE,UAAU;IACV,WAAW;IACX,UAAU;IACV,WAAW;IACX,YAAY;IACZ,aAAa;IACb,KAAK;IACL,MAAM;IACN,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;IACT,MAAM;IACN,OAAO;IACP,cAAc;IACd,UAAU;IACV,eAAe;IACf,YAAY;IACZ,OAAO;IACP,UAAU;IACV,aAAa;IACb,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,UAAU;IACV,UAAU;IACV,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,gBAAgB;CACR,CAAC,CAAC;AAEZ,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,iCAAW,CAAA;IACX,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;IACjB,iCAAW,CAAA;AACb,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B;AAEY,QAAA,wBAAwB,GAAG,OAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAEzE,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,gEAAkC,CAAA;IAClC,sDAAwB,CAAA;IACxB,wDAA0B,CAAA;IAC1B,oDAAsB,CAAA;AACxB,CAAC,EALW,0BAA0B,0CAA1B,0BAA0B,QAKrC;AAEY,QAAA,gCAAgC,GAAG,OAAC,CAAC,UAAU,CAC1D,0BAA0B,CAC3B,CAAC;AAEF,IAAY,4BAKX;AALD,WAA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E,CAAC;AAExC,QAAA,2BAA2B,GAAG,OAAC;KACzC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CACF,0CAAkC,EAClC,0CAA0C,0CAAkC,aAAa,CAC1F;KACA,KAAK,CACJ,uCAA+B,EAC/B,4EAA4E,CAC7E,CAAC;AAKJ,SAAgB,uBAAuB,CAAC,IAAY;IAClD,OAAO,mCAA2B,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC;AAC7D,CAAC"}
|
|
1
|
+
{"version":3,"file":"biome-component-vocabulary.js","sourceRoot":"","sources":["../../../src/biome/lib/biome-component-vocabulary.ts"],"names":[],"mappings":";;;AA8OA,sDAUC;AAgBD,sDAWC;AAiKD,0DAEC;AAtbD,6BAAwB;AAGX,QAAA,oCAAoC,GAC/C,iCAA0C,CAAC;AAGhC,QAAA,uCAAuC,GAAG,MAAM,CAAC,MAAM,CAAC;IACnE,UAAU;IACV,WAAW;IACX,UAAU;IACV,WAAW;IACX,YAAY;IACZ,aAAa;IACb,KAAK;IACL,MAAM;IACN,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;IACT,MAAM;IACN,OAAO;IACP,cAAc;IACd,UAAU;IACV,eAAe;IACf,YAAY;IACZ,OAAO;IACP,UAAU;IACV,aAAa;IACb,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,UAAU;IACV,UAAU;IACV,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,gBAAgB;CACR,CAAC,CAAC;AAEZ,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,iCAAW,CAAA;IACX,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;IACjB,iCAAW,CAAA;AACb,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B;AAEY,QAAA,wBAAwB,GAAG,OAAC,CAAC,UAAU,CAAC,kBAAk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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { BiomeComponentArtifactKind, BiomeComponentEntrypointKind, BiomeComponentExecutionMode, BiomeComponentHostAbi, BiomeComponentKind, BiomeComponentProtocolKind, BiomeScalingMode } from './biome-component-vocabulary';
|
|
2
|
+
import { BiomeComponentArtifactKind, BiomeComponentEntrypointKind, BiomeComponentExecutionMode, BiomeComponentHostAbi, BiomeComponentKind, BiomeComponentProtocolKind, BiomeScalingMode, BiomeWorkerTaskQueueServes } from './biome-component-vocabulary';
|
|
3
3
|
export declare const BiomeComponentArtifactSchema: z.ZodObject<{
|
|
4
4
|
kind: z.ZodEnum<typeof BiomeComponentArtifactKind>;
|
|
5
5
|
path: z.ZodString;
|
|
@@ -18,6 +18,113 @@ export declare const BiomeComponentEntrypointSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
18
18
|
kind: z.ZodLiteral<BiomeComponentEntrypointKind.OciDefault>;
|
|
19
19
|
}, z.core.$strict>], "kind">;
|
|
20
20
|
export type BiomeComponentEntrypoint = z.infer<typeof BiomeComponentEntrypointSchema>;
|
|
21
|
+
export declare const BiomeWorkerTaskQueueSchema: z.ZodObject<{
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
serves: z.ZodArray<z.ZodEnum<typeof BiomeWorkerTaskQueueServes>>;
|
|
24
|
+
fairness: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeWorkerTaskQueueFairness>;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
export type BiomeWorkerTaskQueue = z.infer<typeof BiomeWorkerTaskQueueSchema>;
|
|
27
|
+
export declare const BiomeWorkerNexusProvidedServiceSchema: z.ZodObject<{
|
|
28
|
+
service: z.ZodString;
|
|
29
|
+
version: z.ZodString;
|
|
30
|
+
taskQueue: z.ZodString;
|
|
31
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
32
|
+
name: z.ZodString;
|
|
33
|
+
mode: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeNexusOperationMode>;
|
|
34
|
+
}, z.core.$strict>>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
export type BiomeWorkerNexusProvidedService = z.infer<typeof BiomeWorkerNexusProvidedServiceSchema>;
|
|
37
|
+
export declare const BiomeWorkerNexusRequiredServiceSchema: z.ZodObject<{
|
|
38
|
+
service: z.ZodString;
|
|
39
|
+
version: z.ZodString;
|
|
40
|
+
operations: z.ZodArray<z.ZodString>;
|
|
41
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export type BiomeWorkerNexusRequiredService = z.infer<typeof BiomeWorkerNexusRequiredServiceSchema>;
|
|
44
|
+
export declare const BiomeWorkerNexusSchema: z.ZodObject<{
|
|
45
|
+
provides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
+
service: z.ZodString;
|
|
47
|
+
version: z.ZodString;
|
|
48
|
+
taskQueue: z.ZodString;
|
|
49
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
mode: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeNexusOperationMode>;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
}, z.core.$strict>>>;
|
|
54
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
|
+
service: z.ZodString;
|
|
56
|
+
version: z.ZodString;
|
|
57
|
+
operations: z.ZodArray<z.ZodString>;
|
|
58
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
59
|
+
}, z.core.$strict>>>;
|
|
60
|
+
}, z.core.$strict>;
|
|
61
|
+
export type BiomeWorkerNexus = z.infer<typeof BiomeWorkerNexusSchema>;
|
|
62
|
+
export declare const BiomeWorkerProtocolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63
|
+
revision: z.ZodLiteral<"v1">;
|
|
64
|
+
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
65
|
+
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
|
+
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
67
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
68
|
+
kind: z.ZodString;
|
|
69
|
+
logicalName: z.ZodString;
|
|
70
|
+
scope: z.ZodEnum<{
|
|
71
|
+
system: import("../../space").SpaceKind.System;
|
|
72
|
+
org: import("../../space").SpaceKind.Org;
|
|
73
|
+
}>;
|
|
74
|
+
inclusion: z.ZodEnum<{
|
|
75
|
+
required: import("../../biome-dependency").PeerInclusionKind.Required;
|
|
76
|
+
optional: import("../../biome-dependency").PeerInclusionKind.Optional;
|
|
77
|
+
}>;
|
|
78
|
+
whyNotOrgScoped: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>>>;
|
|
80
|
+
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
81
|
+
kind: z.ZodString;
|
|
82
|
+
}, z.core.$strict>>>;
|
|
83
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
84
|
+
revision: z.ZodLiteral<"v2">;
|
|
85
|
+
taskQueues: z.ZodArray<z.ZodObject<{
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
serves: z.ZodArray<z.ZodEnum<typeof BiomeWorkerTaskQueueServes>>;
|
|
88
|
+
fairness: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeWorkerTaskQueueFairness>;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
nexus: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
provides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
+
service: z.ZodString;
|
|
93
|
+
version: z.ZodString;
|
|
94
|
+
taskQueue: z.ZodString;
|
|
95
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
mode: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeNexusOperationMode>;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
}, z.core.$strict>>>;
|
|
100
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
101
|
+
service: z.ZodString;
|
|
102
|
+
version: z.ZodString;
|
|
103
|
+
operations: z.ZodArray<z.ZodString>;
|
|
104
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
105
|
+
}, z.core.$strict>>>;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
108
|
+
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
109
|
+
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
110
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
111
|
+
kind: z.ZodString;
|
|
112
|
+
logicalName: z.ZodString;
|
|
113
|
+
scope: z.ZodEnum<{
|
|
114
|
+
system: import("../../space").SpaceKind.System;
|
|
115
|
+
org: import("../../space").SpaceKind.Org;
|
|
116
|
+
}>;
|
|
117
|
+
inclusion: z.ZodEnum<{
|
|
118
|
+
required: import("../../biome-dependency").PeerInclusionKind.Required;
|
|
119
|
+
optional: import("../../biome-dependency").PeerInclusionKind.Optional;
|
|
120
|
+
}>;
|
|
121
|
+
whyNotOrgScoped: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strict>>>;
|
|
123
|
+
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
124
|
+
kind: z.ZodString;
|
|
125
|
+
}, z.core.$strict>>>;
|
|
126
|
+
}, z.core.$strict>], "revision">;
|
|
127
|
+
export type BiomeWorkerProtocol = z.infer<typeof BiomeWorkerProtocolSchema>;
|
|
21
128
|
export declare const BiomeComponentProtocolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22
129
|
kind: z.ZodLiteral<BiomeComponentProtocolKind.None>;
|
|
23
130
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -68,9 +175,9 @@ export declare const BiomeComponentProtocolSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
68
175
|
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69
176
|
kind: z.ZodString;
|
|
70
177
|
}, z.core.$strict>>>;
|
|
71
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
178
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
179
|
+
revision: z.ZodLiteral<"v1">;
|
|
72
180
|
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
73
|
-
revision: z.ZodString;
|
|
74
181
|
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
182
|
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
183
|
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -90,6 +197,49 @@ export declare const BiomeComponentProtocolSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
90
197
|
kind: z.ZodString;
|
|
91
198
|
}, z.core.$strict>>>;
|
|
92
199
|
}, z.core.$strict>, z.ZodObject<{
|
|
200
|
+
revision: z.ZodLiteral<"v2">;
|
|
201
|
+
taskQueues: z.ZodArray<z.ZodObject<{
|
|
202
|
+
name: z.ZodString;
|
|
203
|
+
serves: z.ZodArray<z.ZodEnum<typeof BiomeWorkerTaskQueueServes>>;
|
|
204
|
+
fairness: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeWorkerTaskQueueFairness>;
|
|
205
|
+
}, z.core.$strict>>;
|
|
206
|
+
nexus: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
provides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
208
|
+
service: z.ZodString;
|
|
209
|
+
version: z.ZodString;
|
|
210
|
+
taskQueue: z.ZodString;
|
|
211
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
212
|
+
name: z.ZodString;
|
|
213
|
+
mode: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeNexusOperationMode>;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
}, z.core.$strict>>>;
|
|
216
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
217
|
+
service: z.ZodString;
|
|
218
|
+
version: z.ZodString;
|
|
219
|
+
operations: z.ZodArray<z.ZodString>;
|
|
220
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
221
|
+
}, z.core.$strict>>>;
|
|
222
|
+
}, z.core.$strict>>;
|
|
223
|
+
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
224
|
+
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
225
|
+
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
226
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
|
+
kind: z.ZodString;
|
|
228
|
+
logicalName: z.ZodString;
|
|
229
|
+
scope: z.ZodEnum<{
|
|
230
|
+
system: import("../../space").SpaceKind.System;
|
|
231
|
+
org: import("../../space").SpaceKind.Org;
|
|
232
|
+
}>;
|
|
233
|
+
inclusion: z.ZodEnum<{
|
|
234
|
+
required: import("../../biome-dependency").PeerInclusionKind.Required;
|
|
235
|
+
optional: import("../../biome-dependency").PeerInclusionKind.Optional;
|
|
236
|
+
}>;
|
|
237
|
+
whyNotOrgScoped: z.ZodOptional<z.ZodString>;
|
|
238
|
+
}, z.core.$strict>>>;
|
|
239
|
+
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
240
|
+
kind: z.ZodString;
|
|
241
|
+
}, z.core.$strict>>>;
|
|
242
|
+
}, z.core.$strict>], "revision">, z.ZodObject<{
|
|
93
243
|
kind: z.ZodLiteral<BiomeComponentProtocolKind.Job>;
|
|
94
244
|
revision: z.ZodString;
|
|
95
245
|
}, z.core.$strict>], "kind">;
|
|
@@ -168,9 +318,9 @@ export declare const BiomeComponentSchema: z.ZodObject<{
|
|
|
168
318
|
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
169
319
|
kind: z.ZodString;
|
|
170
320
|
}, z.core.$strict>>>;
|
|
171
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
321
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
322
|
+
revision: z.ZodLiteral<"v1">;
|
|
172
323
|
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
173
|
-
revision: z.ZodString;
|
|
174
324
|
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
175
325
|
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
176
326
|
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -190,6 +340,49 @@ export declare const BiomeComponentSchema: z.ZodObject<{
|
|
|
190
340
|
kind: z.ZodString;
|
|
191
341
|
}, z.core.$strict>>>;
|
|
192
342
|
}, z.core.$strict>, z.ZodObject<{
|
|
343
|
+
revision: z.ZodLiteral<"v2">;
|
|
344
|
+
taskQueues: z.ZodArray<z.ZodObject<{
|
|
345
|
+
name: z.ZodString;
|
|
346
|
+
serves: z.ZodArray<z.ZodEnum<typeof BiomeWorkerTaskQueueServes>>;
|
|
347
|
+
fairness: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeWorkerTaskQueueFairness>;
|
|
348
|
+
}, z.core.$strict>>;
|
|
349
|
+
nexus: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
provides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
351
|
+
service: z.ZodString;
|
|
352
|
+
version: z.ZodString;
|
|
353
|
+
taskQueue: z.ZodString;
|
|
354
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
355
|
+
name: z.ZodString;
|
|
356
|
+
mode: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeNexusOperationMode>;
|
|
357
|
+
}, z.core.$strict>>;
|
|
358
|
+
}, z.core.$strict>>>;
|
|
359
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
360
|
+
service: z.ZodString;
|
|
361
|
+
version: z.ZodString;
|
|
362
|
+
operations: z.ZodArray<z.ZodString>;
|
|
363
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
364
|
+
}, z.core.$strict>>>;
|
|
365
|
+
}, z.core.$strict>>;
|
|
366
|
+
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
367
|
+
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
368
|
+
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
369
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
370
|
+
kind: z.ZodString;
|
|
371
|
+
logicalName: z.ZodString;
|
|
372
|
+
scope: z.ZodEnum<{
|
|
373
|
+
system: import("../../space").SpaceKind.System;
|
|
374
|
+
org: import("../../space").SpaceKind.Org;
|
|
375
|
+
}>;
|
|
376
|
+
inclusion: z.ZodEnum<{
|
|
377
|
+
required: import("../../biome-dependency").PeerInclusionKind.Required;
|
|
378
|
+
optional: import("../../biome-dependency").PeerInclusionKind.Optional;
|
|
379
|
+
}>;
|
|
380
|
+
whyNotOrgScoped: z.ZodOptional<z.ZodString>;
|
|
381
|
+
}, z.core.$strict>>>;
|
|
382
|
+
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
383
|
+
kind: z.ZodString;
|
|
384
|
+
}, z.core.$strict>>>;
|
|
385
|
+
}, z.core.$strict>], "revision">, z.ZodObject<{
|
|
193
386
|
kind: z.ZodLiteral<BiomeComponentProtocolKind.Job>;
|
|
194
387
|
revision: z.ZodString;
|
|
195
388
|
}, z.core.$strict>], "kind">;
|
|
@@ -392,9 +585,9 @@ export declare const BiomeComponentsSchema: z.ZodArray<z.ZodObject<{
|
|
|
392
585
|
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
393
586
|
kind: z.ZodString;
|
|
394
587
|
}, z.core.$strict>>>;
|
|
395
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
588
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
|
+
revision: z.ZodLiteral<"v1">;
|
|
396
590
|
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
397
|
-
revision: z.ZodString;
|
|
398
591
|
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
399
592
|
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
400
593
|
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -414,6 +607,49 @@ export declare const BiomeComponentsSchema: z.ZodArray<z.ZodObject<{
|
|
|
414
607
|
kind: z.ZodString;
|
|
415
608
|
}, z.core.$strict>>>;
|
|
416
609
|
}, z.core.$strict>, z.ZodObject<{
|
|
610
|
+
revision: z.ZodLiteral<"v2">;
|
|
611
|
+
taskQueues: z.ZodArray<z.ZodObject<{
|
|
612
|
+
name: z.ZodString;
|
|
613
|
+
serves: z.ZodArray<z.ZodEnum<typeof BiomeWorkerTaskQueueServes>>;
|
|
614
|
+
fairness: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeWorkerTaskQueueFairness>;
|
|
615
|
+
}, z.core.$strict>>;
|
|
616
|
+
nexus: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
provides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
618
|
+
service: z.ZodString;
|
|
619
|
+
version: z.ZodString;
|
|
620
|
+
taskQueue: z.ZodString;
|
|
621
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
622
|
+
name: z.ZodString;
|
|
623
|
+
mode: z.ZodEnum<typeof import("./biome-component-vocabulary").BiomeNexusOperationMode>;
|
|
624
|
+
}, z.core.$strict>>;
|
|
625
|
+
}, z.core.$strict>>>;
|
|
626
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
627
|
+
service: z.ZodString;
|
|
628
|
+
version: z.ZodString;
|
|
629
|
+
operations: z.ZodArray<z.ZodString>;
|
|
630
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
631
|
+
}, z.core.$strict>>>;
|
|
632
|
+
}, z.core.$strict>>;
|
|
633
|
+
kind: z.ZodLiteral<BiomeComponentProtocolKind.Worker>;
|
|
634
|
+
requiresServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
635
|
+
optionalServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
636
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
637
|
+
kind: z.ZodString;
|
|
638
|
+
logicalName: z.ZodString;
|
|
639
|
+
scope: z.ZodEnum<{
|
|
640
|
+
system: import("../../space").SpaceKind.System;
|
|
641
|
+
org: import("../../space").SpaceKind.Org;
|
|
642
|
+
}>;
|
|
643
|
+
inclusion: z.ZodEnum<{
|
|
644
|
+
required: import("../../biome-dependency").PeerInclusionKind.Required;
|
|
645
|
+
optional: import("../../biome-dependency").PeerInclusionKind.Optional;
|
|
646
|
+
}>;
|
|
647
|
+
whyNotOrgScoped: z.ZodOptional<z.ZodString>;
|
|
648
|
+
}, z.core.$strict>>>;
|
|
649
|
+
providesResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
650
|
+
kind: z.ZodString;
|
|
651
|
+
}, z.core.$strict>>>;
|
|
652
|
+
}, z.core.$strict>], "revision">, z.ZodObject<{
|
|
417
653
|
kind: z.ZodLiteral<BiomeComponentProtocolKind.Job>;
|
|
418
654
|
revision: z.ZodString;
|
|
419
655
|
}, z.core.$strict>], "kind">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biome-component.d.ts","sourceRoot":"","sources":["../../../src/biome/lib/biome-component.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,EACL,0BAA0B,EAE1B,4BAA4B,EAC5B,2BAA2B,EAE3B,qBAAqB,EAErB,kBAAkB,EAElB,0BAA0B,
|
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;;;mBAe9B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BiomeComponentsSchema = exports.BiomeComponentSchema = exports.BiomeComponentHostAbiSchema = exports.BiomeComponentProtocolSchema = exports.BiomeComponentEntrypointSchema = exports.BiomeComponentArtifactSchema = void 0;
|
|
3
|
+
exports.BiomeComponentsSchema = exports.BiomeComponentSchema = exports.BiomeComponentHostAbiSchema = exports.BiomeComponentProtocolSchema = exports.BiomeWorkerProtocolSchema = exports.BiomeWorkerNexusSchema = exports.BiomeWorkerNexusRequiredServiceSchema = exports.BiomeWorkerNexusProvidedServiceSchema = exports.BiomeWorkerTaskQueueSchema = exports.BiomeComponentEntrypointSchema = exports.BiomeComponentArtifactSchema = void 0;
|
|
4
4
|
const resource_requirement_1 = require("../../resource-requirement");
|
|
5
5
|
const service_registry_1 = require("../../service-registry");
|
|
6
6
|
const zod_1 = require("zod");
|
|
@@ -8,6 +8,7 @@ const biome_component_requirements_1 = require("./biome-component-requirements")
|
|
|
8
8
|
const biome_component_schema_helpers_1 = require("./biome-component-schema-helpers");
|
|
9
9
|
const biome_component_vocabulary_1 = require("./biome-component-vocabulary");
|
|
10
10
|
const biome_component_process_facts_1 = require("./biome-component-process-facts");
|
|
11
|
+
const workflow_1 = require("../../workflow");
|
|
11
12
|
const SCHEDULED_COMPONENT_KINDS = new Set([
|
|
12
13
|
biome_component_vocabulary_1.BiomeComponentKind.Service,
|
|
13
14
|
biome_component_vocabulary_1.BiomeComponentKind.Worker,
|
|
@@ -34,6 +35,169 @@ exports.BiomeComponentEntrypointSchema = zod_1.z.discriminatedUnion('kind', [
|
|
|
34
35
|
}),
|
|
35
36
|
]);
|
|
36
37
|
const ProtocolRevisionSchema = zod_1.z.string().regex(/^v[1-9]\d*$/);
|
|
38
|
+
const workerProtocolSharedShape = {
|
|
39
|
+
kind: zod_1.z.literal(biome_component_vocabulary_1.BiomeComponentProtocolKind.Worker),
|
|
40
|
+
requiresServices: biome_component_schema_helpers_1.UniqueNonBlankStringArraySchema.optional(),
|
|
41
|
+
optionalServices: biome_component_schema_helpers_1.UniqueNonBlankStringArraySchema.optional(),
|
|
42
|
+
resources: resource_requirement_1.ResourceRequirementsSchema.optional(),
|
|
43
|
+
providesResources: resource_requirement_1.ResourceProvisionsSchema.optional(),
|
|
44
|
+
};
|
|
45
|
+
exports.BiomeWorkerTaskQueueSchema = (0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
46
|
+
name: workflow_1.BiomeTaskQueueNameSchema,
|
|
47
|
+
serves: zod_1.z.array(biome_component_vocabulary_1.BiomeWorkerTaskQueueServesSchema).min(1),
|
|
48
|
+
fairness: biome_component_vocabulary_1.BiomeWorkerTaskQueueFairnessSchema,
|
|
49
|
+
});
|
|
50
|
+
exports.BiomeWorkerNexusProvidedServiceSchema = (0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
51
|
+
service: workflow_1.NexusServiceNameSchema,
|
|
52
|
+
version: workflow_1.NexusServiceVersionSchema,
|
|
53
|
+
taskQueue: workflow_1.BiomeTaskQueueNameSchema,
|
|
54
|
+
operations: zod_1.z
|
|
55
|
+
.array((0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
56
|
+
name: workflow_1.NexusOperationNameSchema,
|
|
57
|
+
mode: biome_component_vocabulary_1.BiomeNexusOperationModeSchema,
|
|
58
|
+
}))
|
|
59
|
+
.min(1),
|
|
60
|
+
});
|
|
61
|
+
exports.BiomeWorkerNexusRequiredServiceSchema = (0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
62
|
+
service: workflow_1.NexusServiceNameSchema,
|
|
63
|
+
version: workflow_1.NexusServiceVersionSchema,
|
|
64
|
+
operations: zod_1.z.array(workflow_1.NexusOperationNameSchema).min(1),
|
|
65
|
+
optional: zod_1.z.literal(true).optional(),
|
|
66
|
+
});
|
|
67
|
+
exports.BiomeWorkerNexusSchema = (0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
68
|
+
provides: zod_1.z.array(exports.BiomeWorkerNexusProvidedServiceSchema).optional(),
|
|
69
|
+
requires: zod_1.z.array(exports.BiomeWorkerNexusRequiredServiceSchema).optional(),
|
|
70
|
+
});
|
|
71
|
+
function nexusServiceKey(entry) {
|
|
72
|
+
return `${entry.service}@${entry.version}`;
|
|
73
|
+
}
|
|
74
|
+
function duplicates(values) {
|
|
75
|
+
const seen = new Set();
|
|
76
|
+
const repeated = new Set();
|
|
77
|
+
for (const value of values) {
|
|
78
|
+
if (seen.has(value))
|
|
79
|
+
repeated.add(value);
|
|
80
|
+
seen.add(value);
|
|
81
|
+
}
|
|
82
|
+
return repeated;
|
|
83
|
+
}
|
|
84
|
+
function refineWorkerProtocolV2(protocol, ctx) {
|
|
85
|
+
const queues = new Map();
|
|
86
|
+
protocol.taskQueues.forEach((queue, index) => {
|
|
87
|
+
if (queues.has(queue.name)) {
|
|
88
|
+
ctx.addIssue({
|
|
89
|
+
code: 'custom',
|
|
90
|
+
path: ['taskQueues', index, 'name'],
|
|
91
|
+
message: `duplicate task queue "${queue.name}" — queue names are unique within a worker`,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
queues.set(queue.name, queue);
|
|
95
|
+
for (const value of duplicates(queue.serves)) {
|
|
96
|
+
ctx.addIssue({
|
|
97
|
+
code: 'custom',
|
|
98
|
+
path: ['taskQueues', index, 'serves'],
|
|
99
|
+
message: `task queue "${queue.name}" lists "${value}" twice in serves`,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
const provides = protocol.nexus?.provides ?? [];
|
|
104
|
+
const requires = protocol.nexus?.requires ?? [];
|
|
105
|
+
if (protocol.nexus !== undefined &&
|
|
106
|
+
provides.length === 0 &&
|
|
107
|
+
requires.length === 0) {
|
|
108
|
+
ctx.addIssue({
|
|
109
|
+
code: 'custom',
|
|
110
|
+
path: ['nexus'],
|
|
111
|
+
message: 'a nexus block that provides and requires nothing states nothing — omit it',
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
const provided = new Set();
|
|
115
|
+
const nexusQueuesNamed = new Set();
|
|
116
|
+
provides.forEach((entry, index) => {
|
|
117
|
+
const key = nexusServiceKey(entry);
|
|
118
|
+
if (provided.has(key)) {
|
|
119
|
+
ctx.addIssue({
|
|
120
|
+
code: 'custom',
|
|
121
|
+
path: ['nexus', 'provides', index],
|
|
122
|
+
message: `nexus service ${key} is provided twice by this worker`,
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
provided.add(key);
|
|
126
|
+
const queue = queues.get(entry.taskQueue);
|
|
127
|
+
if (queue === undefined) {
|
|
128
|
+
ctx.addIssue({
|
|
129
|
+
code: 'custom',
|
|
130
|
+
path: ['nexus', 'provides', index, 'taskQueue'],
|
|
131
|
+
message: `nexus service ${key} names task queue "${entry.taskQueue}", which this worker does not declare in taskQueues`,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
else if (!queue.serves.includes(biome_component_vocabulary_1.BiomeWorkerTaskQueueServes.Nexus)) {
|
|
135
|
+
ctx.addIssue({
|
|
136
|
+
code: 'custom',
|
|
137
|
+
path: ['nexus', 'provides', index, 'taskQueue'],
|
|
138
|
+
message: `nexus service ${key} names task queue "${entry.taskQueue}", which does not serve "nexus"`,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
nexusQueuesNamed.add(entry.taskQueue);
|
|
143
|
+
}
|
|
144
|
+
for (const name of duplicates(entry.operations.map((op) => op.name))) {
|
|
145
|
+
ctx.addIssue({
|
|
146
|
+
code: 'custom',
|
|
147
|
+
path: ['nexus', 'provides', index, 'operations'],
|
|
148
|
+
message: `nexus service ${key} declares operation "${name}" twice`,
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
protocol.taskQueues.forEach((queue, index) => {
|
|
153
|
+
if (queue.serves.includes(biome_component_vocabulary_1.BiomeWorkerTaskQueueServes.Nexus) &&
|
|
154
|
+
!nexusQueuesNamed.has(queue.name)) {
|
|
155
|
+
ctx.addIssue({
|
|
156
|
+
code: 'custom',
|
|
157
|
+
path: ['taskQueues', index, 'serves'],
|
|
158
|
+
message: `task queue "${queue.name}" serves "nexus" but no nexus.provides entry names it`,
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
const required = new Set();
|
|
163
|
+
requires.forEach((entry, index) => {
|
|
164
|
+
const key = nexusServiceKey(entry);
|
|
165
|
+
if (required.has(key)) {
|
|
166
|
+
ctx.addIssue({
|
|
167
|
+
code: 'custom',
|
|
168
|
+
path: ['nexus', 'requires', index],
|
|
169
|
+
message: `nexus service ${key} is required twice by this worker`,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
required.add(key);
|
|
173
|
+
if (provided.has(key)) {
|
|
174
|
+
ctx.addIssue({
|
|
175
|
+
code: 'custom',
|
|
176
|
+
path: ['nexus', 'requires', index],
|
|
177
|
+
message: `nexus service ${key} is both provided and required by this worker — call it in-process, not through an endpoint to itself`,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
for (const name of duplicates(entry.operations)) {
|
|
181
|
+
ctx.addIssue({
|
|
182
|
+
code: 'custom',
|
|
183
|
+
path: ['nexus', 'requires', index, 'operations'],
|
|
184
|
+
message: `nexus service ${key} requires operation "${name}" twice`,
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
exports.BiomeWorkerProtocolSchema = zod_1.z.discriminatedUnion('revision', [
|
|
190
|
+
(0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
191
|
+
...workerProtocolSharedShape,
|
|
192
|
+
revision: zod_1.z.literal('v1'),
|
|
193
|
+
}),
|
|
194
|
+
(0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
195
|
+
...workerProtocolSharedShape,
|
|
196
|
+
revision: zod_1.z.literal('v2'),
|
|
197
|
+
taskQueues: zod_1.z.array(exports.BiomeWorkerTaskQueueSchema).min(1),
|
|
198
|
+
nexus: exports.BiomeWorkerNexusSchema.optional(),
|
|
199
|
+
}).superRefine(refineWorkerProtocolV2),
|
|
200
|
+
]);
|
|
37
201
|
exports.BiomeComponentProtocolSchema = zod_1.z.discriminatedUnion('kind', [
|
|
38
202
|
(0, biome_component_schema_helpers_1.strictComponentObject)({ kind: zod_1.z.literal(biome_component_vocabulary_1.BiomeComponentProtocolKind.None) }),
|
|
39
203
|
(0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
@@ -75,14 +239,7 @@ exports.BiomeComponentProtocolSchema = zod_1.z.discriminatedUnion('kind', [
|
|
|
75
239
|
resources: resource_requirement_1.ResourceRequirementsSchema.optional(),
|
|
76
240
|
providesResources: resource_requirement_1.ResourceProvisionsSchema.optional(),
|
|
77
241
|
}),
|
|
78
|
-
|
|
79
|
-
kind: zod_1.z.literal(biome_component_vocabulary_1.BiomeComponentProtocolKind.Worker),
|
|
80
|
-
revision: ProtocolRevisionSchema,
|
|
81
|
-
requiresServices: biome_component_schema_helpers_1.UniqueNonBlankStringArraySchema.optional(),
|
|
82
|
-
optionalServices: biome_component_schema_helpers_1.UniqueNonBlankStringArraySchema.optional(),
|
|
83
|
-
resources: resource_requirement_1.ResourceRequirementsSchema.optional(),
|
|
84
|
-
providesResources: resource_requirement_1.ResourceProvisionsSchema.optional(),
|
|
85
|
-
}),
|
|
242
|
+
exports.BiomeWorkerProtocolSchema,
|
|
86
243
|
(0, biome_component_schema_helpers_1.strictComponentObject)({
|
|
87
244
|
kind: zod_1.z.literal(biome_component_vocabulary_1.BiomeComponentProtocolKind.Job),
|
|
88
245
|
revision: ProtocolRevisionSchema,
|
|
@@ -200,15 +357,6 @@ exports.BiomeComponentSchema = (0, biome_component_schema_helpers_1.strictCompon
|
|
|
200
357
|
message: `processFacts is only valid on a service or worker component, not ${component.kind}`,
|
|
201
358
|
});
|
|
202
359
|
}
|
|
203
|
-
if (component.processFacts?.exclusive !== undefined &&
|
|
204
|
-
component.kind !== biome_component_vocabulary_1.BiomeComponentKind.Service) {
|
|
205
|
-
ctx.addIssue({
|
|
206
|
-
code: 'custom',
|
|
207
|
-
path: ['processFacts', 'exclusive'],
|
|
208
|
-
message: 'processFacts.exclusive is only valid on a service — a worker never ' +
|
|
209
|
-
'shares a process, and that is derived from its kind',
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
360
|
const allowedModes = COMPONENT_EXECUTION_MODES[component.kind];
|
|
213
361
|
component.executionModes.forEach((mode, index) => {
|
|
214
362
|
if (!allowedModes.has(mode)) {
|