@empire-builder-kit/nx 1.0.0-beta.10
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/LICENSE +201 -0
- package/NOTICE +5 -0
- package/README.md +34 -0
- package/executors.json +74 -0
- package/generators.json +40 -0
- package/migrations/standard-pre-v1-to-v1.md +11 -0
- package/package.json +80 -0
- package/src/blueprints/execution.d.ts +31 -0
- package/src/blueprints/execution.js +166 -0
- package/src/blueprints/execution.js.map +1 -0
- package/src/blueprints/index.d.ts +5 -0
- package/src/blueprints/index.js +9 -0
- package/src/blueprints/index.js.map +1 -0
- package/src/blueprints/inputs.d.ts +43 -0
- package/src/blueprints/inputs.js +103 -0
- package/src/blueprints/inputs.js.map +1 -0
- package/src/blueprints/manifest.d.ts +281 -0
- package/src/blueprints/manifest.js +441 -0
- package/src/blueprints/manifest.js.map +1 -0
- package/src/blueprints/resolver.d.ts +28 -0
- package/src/blueprints/resolver.js +218 -0
- package/src/blueprints/resolver.js.map +1 -0
- package/src/blueprints/transitions.d.ts +20 -0
- package/src/blueprints/transitions.js +61 -0
- package/src/blueprints/transitions.js.map +1 -0
- package/src/executors/deploy/deploy.d.ts +4 -0
- package/src/executors/deploy/deploy.js +6 -0
- package/src/executors/deploy/deploy.js.map +1 -0
- package/src/executors/deployment-plan/deployment-plan.d.ts +9 -0
- package/src/executors/deployment-plan/deployment-plan.js +50 -0
- package/src/executors/deployment-plan/deployment-plan.js.map +1 -0
- package/src/executors/deployment-plan/schema.json +24 -0
- package/src/executors/dev/dev.d.ts +4 -0
- package/src/executors/dev/dev.js +6 -0
- package/src/executors/dev/dev.js.map +1 -0
- package/src/executors/dev-doctor/dev-doctor.d.ts +31 -0
- package/src/executors/dev-doctor/dev-doctor.js +260 -0
- package/src/executors/dev-doctor/dev-doctor.js.map +1 -0
- package/src/executors/dev-doctor/schema.json +17 -0
- package/src/executors/dev-setup/dev-setup.d.ts +11 -0
- package/src/executors/dev-setup/dev-setup.js +454 -0
- package/src/executors/dev-setup/dev-setup.js.map +1 -0
- package/src/executors/dev-setup/schema.json +16 -0
- package/src/executors/fleet/fleet.d.ts +62 -0
- package/src/executors/fleet/fleet.js +613 -0
- package/src/executors/fleet/fleet.js.map +1 -0
- package/src/executors/fleet/schema.json +37 -0
- package/src/executors/foundation-preflight/foundation-preflight.d.ts +15 -0
- package/src/executors/foundation-preflight/foundation-preflight.js +116 -0
- package/src/executors/foundation-preflight/foundation-preflight.js.map +1 -0
- package/src/executors/foundation-preflight/schema.json +31 -0
- package/src/executors/foundation-profile-preflight/foundation-profile-preflight.d.ts +8 -0
- package/src/executors/foundation-profile-preflight/foundation-profile-preflight.js +41 -0
- package/src/executors/foundation-profile-preflight/foundation-profile-preflight.js.map +1 -0
- package/src/executors/foundation-profile-preflight/schema.json +21 -0
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.d.ts +13 -0
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.js +69 -0
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.js.map +1 -0
- package/src/executors/foundation-remove-preflight/schema.json +17 -0
- package/src/executors/github-bootstrap/github-bootstrap.d.ts +8 -0
- package/src/executors/github-bootstrap/github-bootstrap.js +30 -0
- package/src/executors/github-bootstrap/github-bootstrap.js.map +1 -0
- package/src/executors/github-bootstrap/schema.json +25 -0
- package/src/executors/refresh/refresh.d.ts +4 -0
- package/src/executors/refresh/refresh.js +6 -0
- package/src/executors/refresh/refresh.js.map +1 -0
- package/src/executors/remove/remove.d.ts +4 -0
- package/src/executors/remove/remove.js +6 -0
- package/src/executors/remove/remove.js.map +1 -0
- package/src/executors/sst-lifecycle/run-sst-command.d.ts +31 -0
- package/src/executors/sst-lifecycle/run-sst-command.js +226 -0
- package/src/executors/sst-lifecycle/run-sst-command.js.map +1 -0
- package/src/executors/sst-lifecycle/schema.json +45 -0
- package/src/executors/unlock/unlock.d.ts +4 -0
- package/src/executors/unlock/unlock.js +6 -0
- package/src/executors/unlock/unlock.js.map +1 -0
- package/src/executors/work-markers/schema.json +14 -0
- package/src/executors/work-markers/work-markers.d.ts +6 -0
- package/src/executors/work-markers/work-markers.js +20 -0
- package/src/executors/work-markers/work-markers.js.map +1 -0
- package/src/foundation/aurora-logical-database.d.ts +76 -0
- package/src/foundation/aurora-logical-database.js +419 -0
- package/src/foundation/aurora-logical-database.js.map +1 -0
- package/src/foundation/discovery.d.ts +55 -0
- package/src/foundation/discovery.js +55 -0
- package/src/foundation/discovery.js.map +1 -0
- package/src/foundation/index.d.ts +6 -0
- package/src/foundation/index.js +10 -0
- package/src/foundation/index.js.map +1 -0
- package/src/foundation/local-database-contract.d.ts +30 -0
- package/src/foundation/local-database-contract.js +75 -0
- package/src/foundation/local-database-contract.js.map +1 -0
- package/src/foundation/preflight.d.ts +31 -0
- package/src/foundation/preflight.js +114 -0
- package/src/foundation/preflight.js.map +1 -0
- package/src/foundation/provision-database-bindings.d.ts +30 -0
- package/src/foundation/provision-database-bindings.js +113 -0
- package/src/foundation/provision-database-bindings.js.map +1 -0
- package/src/foundation/provision-logical-database.d.ts +26 -0
- package/src/foundation/provision-logical-database.js +163 -0
- package/src/foundation/provision-logical-database.js.map +1 -0
- package/src/foundation/requirements.d.ts +37 -0
- package/src/foundation/requirements.js +141 -0
- package/src/foundation/requirements.js.map +1 -0
- package/src/foundation/stages.d.ts +14 -0
- package/src/foundation/stages.js +51 -0
- package/src/foundation/stages.js.map +1 -0
- package/src/generators/function/function.d.ts +13 -0
- package/src/generators/function/function.js +71 -0
- package/src/generators/function/function.js.map +1 -0
- package/src/generators/function/schema.d.ts +5 -0
- package/src/generators/function/schema.json +20 -0
- package/src/generators/job/job.d.ts +4 -0
- package/src/generators/job/job.js +5 -0
- package/src/generators/job/job.js.map +1 -0
- package/src/generators/preset/generator.d.ts +5 -0
- package/src/generators/preset/generator.js +41 -0
- package/src/generators/preset/generator.js.map +1 -0
- package/src/generators/preset/schema.d.ts +4 -0
- package/src/generators/preset/schema.json +22 -0
- package/src/generators/preset/workspace-files.d.ts +18 -0
- package/src/generators/preset/workspace-files.js +1605 -0
- package/src/generators/preset/workspace-files.js.map +1 -0
- package/src/generators/repository-policy/repository-policy.d.ts +4 -0
- package/src/generators/repository-policy/repository-policy.js +107 -0
- package/src/generators/repository-policy/repository-policy.js.map +1 -0
- package/src/generators/repository-policy/schema.d.ts +18 -0
- package/src/generators/repository-policy/schema.json +46 -0
- package/src/generators/service/service.d.ts +4 -0
- package/src/generators/service/service.js +5 -0
- package/src/generators/service/service.js.map +1 -0
- package/src/generators/slice/schema.d.ts +7 -0
- package/src/generators/slice/schema.json +38 -0
- package/src/generators/slice/slice.d.ts +26 -0
- package/src/generators/slice/slice.js +1698 -0
- package/src/generators/slice/slice.js.map +1 -0
- package/src/generators/upgrade/schema.d.ts +8 -0
- package/src/generators/upgrade/schema.json +31 -0
- package/src/generators/upgrade/upgrade.d.ts +27 -0
- package/src/generators/upgrade/upgrade.js +682 -0
- package/src/generators/upgrade/upgrade.js.map +1 -0
- package/src/generators/workload/schema.d.ts +6 -0
- package/src/generators/workload/schema.json +21 -0
- package/src/generators/workload/workload.d.ts +16 -0
- package/src/generators/workload/workload.js +157 -0
- package/src/generators/workload/workload.js.map +1 -0
- package/src/git-policy/action-pins.d.ts +28 -0
- package/src/git-policy/action-pins.js +35 -0
- package/src/git-policy/action-pins.js.map +1 -0
- package/src/git-policy/github-bootstrap.d.ts +23 -0
- package/src/git-policy/github-bootstrap.js +759 -0
- package/src/git-policy/github-bootstrap.js.map +1 -0
- package/src/git-policy/index.d.ts +3 -0
- package/src/git-policy/index.js +7 -0
- package/src/git-policy/index.js.map +1 -0
- package/src/git-policy/routing.d.ts +15 -0
- package/src/git-policy/routing.js +77 -0
- package/src/git-policy/routing.js.map +1 -0
- package/src/index.d.ts +8 -0
- package/src/index.js +12 -0
- package/src/index.js.map +1 -0
- package/src/local-dev/contracts.d.ts +31 -0
- package/src/local-dev/contracts.js +126 -0
- package/src/local-dev/contracts.js.map +1 -0
- package/src/local-dev/effects.d.ts +16 -0
- package/src/local-dev/effects.js +63 -0
- package/src/local-dev/effects.js.map +1 -0
- package/src/local-dev/gateway-daemon.d.ts +4 -0
- package/src/local-dev/gateway-daemon.js +39 -0
- package/src/local-dev/gateway-daemon.js.map +1 -0
- package/src/local-dev/gateway.d.ts +60 -0
- package/src/local-dev/gateway.js +368 -0
- package/src/local-dev/gateway.js.map +1 -0
- package/src/local-dev/identity.d.ts +16 -0
- package/src/local-dev/identity.js +101 -0
- package/src/local-dev/identity.js.map +1 -0
- package/src/local-dev/index.d.ts +7 -0
- package/src/local-dev/index.js +11 -0
- package/src/local-dev/index.js.map +1 -0
- package/src/local-dev/portless.d.ts +15 -0
- package/src/local-dev/portless.js +115 -0
- package/src/local-dev/portless.js.map +1 -0
- package/src/local-dev/ports.d.ts +10 -0
- package/src/local-dev/ports.js +39 -0
- package/src/local-dev/ports.js.map +1 -0
- package/src/local-dev/proxy.d.ts +37 -0
- package/src/local-dev/proxy.js +271 -0
- package/src/local-dev/proxy.js.map +1 -0
- package/src/local-dev/tls.d.ts +24 -0
- package/src/local-dev/tls.js +294 -0
- package/src/local-dev/tls.js.map +1 -0
- package/src/ownership/composition.d.ts +16 -0
- package/src/ownership/composition.js +125 -0
- package/src/ownership/composition.js.map +1 -0
- package/src/ownership/foundation-record.d.ts +66 -0
- package/src/ownership/foundation-record.js +108 -0
- package/src/ownership/foundation-record.js.map +1 -0
- package/src/ownership/hash.d.ts +2 -0
- package/src/ownership/hash.js +10 -0
- package/src/ownership/hash.js.map +1 -0
- package/src/ownership/index.d.ts +6 -0
- package/src/ownership/index.js +10 -0
- package/src/ownership/index.js.map +1 -0
- package/src/ownership/json-ownership.d.ts +13 -0
- package/src/ownership/json-ownership.js +147 -0
- package/src/ownership/json-ownership.js.map +1 -0
- package/src/ownership/record.d.ts +186 -0
- package/src/ownership/record.js +336 -0
- package/src/ownership/record.js.map +1 -0
- package/src/ownership/workspace-record.d.ts +66 -0
- package/src/ownership/workspace-record.js +108 -0
- package/src/ownership/workspace-record.js.map +1 -0
- package/src/repository-policy/aurora-preflight.d.ts +15 -0
- package/src/repository-policy/aurora-preflight.js +45 -0
- package/src/repository-policy/aurora-preflight.js.map +1 -0
- package/src/repository-policy/deployment-plan.d.ts +24 -0
- package/src/repository-policy/deployment-plan.js +124 -0
- package/src/repository-policy/deployment-plan.js.map +1 -0
- package/src/repository-policy/foundation-profile.d.ts +20 -0
- package/src/repository-policy/foundation-profile.js +45 -0
- package/src/repository-policy/foundation-profile.js.map +1 -0
- package/src/repository-policy/index.d.ts +4 -0
- package/src/repository-policy/index.js +8 -0
- package/src/repository-policy/index.js.map +1 -0
- package/src/repository-policy/policy.d.ts +59 -0
- package/src/repository-policy/policy.js +274 -0
- package/src/repository-policy/policy.js.map +1 -0
- package/src/schemas/blueprint-input-schema-v1.json +23 -0
- package/src/schemas/blueprint-v1.json +186 -0
- package/src/schemas/foundation-ownership-v2.json +42 -0
- package/src/schemas/foundation-requirement-v1.json +32 -0
- package/src/schemas/generated-ownership-v2.json +117 -0
- package/src/schemas/repository-policy-v1.json +58 -0
- package/src/schemas/workspace-ownership-v2.json +42 -0
- package/src/validation.d.ts +14 -0
- package/src/validation.js +14 -0
- package/src/validation.js.map +1 -0
- package/src/work-markers/index.d.ts +1 -0
- package/src/work-markers/index.js +5 -0
- package/src/work-markers/index.js.map +1 -0
- package/src/work-markers/work-markers.d.ts +39 -0
- package/src/work-markers/work-markers.js +359 -0
- package/src/work-markers/work-markers.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution.js","sourceRoot":"","sources":["../../../../../packages/nx/src/blueprints/execution.ts"],"names":[],"mappings":";;AAqJA,8EAwGC;AAED,8DAOC;AAtQD,2DAA2C;AAC3C,uCAAyC;AAEzC,oDAI+B;AAC/B,oDAA4C;AA6B5C,MAAM,6BAA6B,GAAG,MAAM,CAAC;AAC7C,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;CAkB/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,wDAAwD,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACxC,CAAC;AAEM,KAAK,UAAU,yBAAyB,CAC7C,aAAqB,EACrB,OAAkC;IAElC,OAAO,iCAAiC,CACtC,MAAM,oBAAoB,CAAC,aAAa,EAAE,OAAO,CAAC,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./execution.js"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./inputs.js"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./manifest.js"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./resolver.js"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./transitions.js"), exports);
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/nx/src/blueprints/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,sDAA4B;AAC5B,wDAA8B;AAC9B,wDAA8B;AAC9B,2DAAiC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type ValidationResult } from '../validation.js';
|
|
2
|
+
export type BlueprintInputSchema = Record<string, unknown> & {
|
|
3
|
+
additionalProperties: false;
|
|
4
|
+
properties: Record<string, unknown>;
|
|
5
|
+
type: 'object';
|
|
6
|
+
};
|
|
7
|
+
export declare function validateBlueprintInputSchema(value: unknown): ValidationResult<BlueprintInputSchema>;
|
|
8
|
+
export declare function validateBlueprintInputs(schema: unknown, inputs: unknown): ValidationResult<Record<string, unknown>>;
|
|
9
|
+
export declare const blueprintInputSchemaProfile: {
|
|
10
|
+
readonly $id: "https://empirebuilderkit.dev/schemas/blueprint-input-schema-v1.json";
|
|
11
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
12
|
+
readonly additionalProperties: true;
|
|
13
|
+
readonly properties: {
|
|
14
|
+
readonly $id: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
};
|
|
17
|
+
readonly $schema: {
|
|
18
|
+
readonly const: "https://json-schema.org/draft/2020-12/schema";
|
|
19
|
+
};
|
|
20
|
+
readonly additionalProperties: {
|
|
21
|
+
readonly const: false;
|
|
22
|
+
};
|
|
23
|
+
readonly properties: {
|
|
24
|
+
readonly type: "object";
|
|
25
|
+
};
|
|
26
|
+
readonly required: {
|
|
27
|
+
readonly items: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
};
|
|
30
|
+
readonly type: "array";
|
|
31
|
+
readonly uniqueItems: true;
|
|
32
|
+
};
|
|
33
|
+
readonly title: {
|
|
34
|
+
readonly type: "string";
|
|
35
|
+
};
|
|
36
|
+
readonly type: {
|
|
37
|
+
readonly const: "object";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
readonly required: readonly ["type", "properties", "additionalProperties"];
|
|
41
|
+
readonly title: "Empire Builder Kit Blueprint Input Schema Profile v1";
|
|
42
|
+
readonly type: "object";
|
|
43
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.blueprintInputSchemaProfile = void 0;
|
|
4
|
+
exports.validateBlueprintInputSchema = validateBlueprintInputSchema;
|
|
5
|
+
exports.validateBlueprintInputs = validateBlueprintInputs;
|
|
6
|
+
const _2020_js_1 = require("ajv/dist/2020.js");
|
|
7
|
+
const validation_js_1 = require("../validation.js");
|
|
8
|
+
function issueFromAjv(error) {
|
|
9
|
+
const suffix = error.keyword === 'required' &&
|
|
10
|
+
typeof error.params['missingProperty'] === 'string'
|
|
11
|
+
? `/${error.params['missingProperty']}`
|
|
12
|
+
: '';
|
|
13
|
+
return {
|
|
14
|
+
message: error.message ?? `failed ${error.keyword} validation`,
|
|
15
|
+
path: `inputs${error.instancePath}${suffix}`,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function validateBlueprintInputSchema(value) {
|
|
19
|
+
if (!(0, validation_js_1.isRecord)(value)) {
|
|
20
|
+
return {
|
|
21
|
+
valid: false,
|
|
22
|
+
issues: [{ message: 'must be an object', path: 'inputSchema' }],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
const issues = [];
|
|
26
|
+
if (value.type !== 'object') {
|
|
27
|
+
issues.push({ message: 'must equal object', path: 'inputSchema.type' });
|
|
28
|
+
}
|
|
29
|
+
if (!(0, validation_js_1.isRecord)(value.properties)) {
|
|
30
|
+
issues.push({
|
|
31
|
+
message: 'must be an object',
|
|
32
|
+
path: 'inputSchema.properties',
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
if (value.additionalProperties !== false) {
|
|
36
|
+
issues.push({
|
|
37
|
+
message: 'must equal false so unknown Blueprint inputs fail closed',
|
|
38
|
+
path: 'inputSchema.additionalProperties',
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
if (value.required !== undefined &&
|
|
42
|
+
(!Array.isArray(value.required) ||
|
|
43
|
+
value.required.some((entry) => typeof entry !== 'string'))) {
|
|
44
|
+
issues.push({
|
|
45
|
+
message: 'must be an array of property names',
|
|
46
|
+
path: 'inputSchema.required',
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
if (issues.length === 0) {
|
|
50
|
+
try {
|
|
51
|
+
new _2020_js_1.default({ allErrors: true, strict: true }).compile(value);
|
|
52
|
+
}
|
|
53
|
+
catch (error) {
|
|
54
|
+
issues.push({
|
|
55
|
+
message: error instanceof Error ? error.message : String(error),
|
|
56
|
+
path: 'inputSchema',
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return (0, validation_js_1.validationResult)(value, issues);
|
|
61
|
+
}
|
|
62
|
+
function validateBlueprintInputs(schema, inputs) {
|
|
63
|
+
const schemaResult = validateBlueprintInputSchema(schema);
|
|
64
|
+
if (!schemaResult.valid) {
|
|
65
|
+
return schemaResult;
|
|
66
|
+
}
|
|
67
|
+
const validate = new _2020_js_1.default({ allErrors: true, strict: true }).compile(schemaResult.value);
|
|
68
|
+
if (validate(inputs)) {
|
|
69
|
+
return {
|
|
70
|
+
issues: [],
|
|
71
|
+
valid: true,
|
|
72
|
+
value: inputs,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
issues: (validate.errors ?? []).map(issueFromAjv),
|
|
77
|
+
valid: false,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
exports.blueprintInputSchemaProfile = {
|
|
81
|
+
$id: 'https://empirebuilderkit.dev/schemas/blueprint-input-schema-v1.json',
|
|
82
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
83
|
+
additionalProperties: true,
|
|
84
|
+
properties: {
|
|
85
|
+
$id: { type: 'string' },
|
|
86
|
+
$schema: {
|
|
87
|
+
const: 'https://json-schema.org/draft/2020-12/schema',
|
|
88
|
+
},
|
|
89
|
+
additionalProperties: { const: false },
|
|
90
|
+
properties: { type: 'object' },
|
|
91
|
+
required: {
|
|
92
|
+
items: { type: 'string' },
|
|
93
|
+
type: 'array',
|
|
94
|
+
uniqueItems: true,
|
|
95
|
+
},
|
|
96
|
+
title: { type: 'string' },
|
|
97
|
+
type: { const: 'object' },
|
|
98
|
+
},
|
|
99
|
+
required: ['type', 'properties', 'additionalProperties'],
|
|
100
|
+
title: 'Empire Builder Kit Blueprint Input Schema Profile v1',
|
|
101
|
+
type: 'object',
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=inputs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../../../../packages/nx/src/blueprints/inputs.ts"],"names":[],"mappings":";;;AA2BA,oEAiDC;AAED,0DAwBC;AAtGD,+CAA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,MAAM,CAAC,EAAE,CAAC;QACrB,OAAO;YACL,MAAM,EAAE,EAAE;YACV,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,MAAiC;SACzC,CAAC;IACJ,CAAC;IAED,OAAO;QACL,MAAM,EAAE,CAAC,QAAQ,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;QACjD,KAAK,EAAE,KAAK;KACb,CAAC;AACJ,CAAC;AAEY,QAAA,2BAA2B,GAAG;IACzC,GAAG,EAAE,qEAAqE;IAC1E,OAAO,EAAE,8CAA8C;IACvD,oBAAoB,EAAE,IAAI;IAC1B,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE;YACP,KAAK,EAAE,8CAA8C;SACtD;QACD,oBAAoB,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;QACtC,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC9B,QAAQ,EAAE;YACR,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,IAAI;SAClB;QACD,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACzB,IAAI,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE;KAC1B;IACD,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,sBAAsB,CAAC;IACxD,KAAK,EAAE,sDAAsD;IAC7D,IAAI,EAAE,QAAQ;CACN,CAAC"}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { type FoundationRequirement } from '../foundation/index.js';
|
|
2
|
+
import { type ValidationResult } from '../validation.js';
|
|
3
|
+
export declare const BLUEPRINT_MANIFEST_VERSION: 1;
|
|
4
|
+
export declare const BLUEPRINT_PACKAGE_TYPE: "empire-builder-kit-blueprint";
|
|
5
|
+
export declare const BLUEPRINT_MIGRATION_PLAN_SCHEMA_VERSION: 1;
|
|
6
|
+
export declare const BLUEPRINT_DATABASE_CHANGE_KINDS: readonly ["none", "ordered", "replacement", "manual"];
|
|
7
|
+
export declare const BLUEPRINT_SECRET_VALUE_TYPES: readonly ["string", "json", "binary"];
|
|
8
|
+
export type BlueprintDatabaseChangeKind = (typeof BLUEPRINT_DATABASE_CHANGE_KINDS)[number];
|
|
9
|
+
export type BlueprintSecretValueType = (typeof BLUEPRINT_SECRET_VALUE_TYPES)[number];
|
|
10
|
+
export interface BlueprintSecretRequirement {
|
|
11
|
+
description: string;
|
|
12
|
+
documentation: string;
|
|
13
|
+
name: string;
|
|
14
|
+
schema?: string;
|
|
15
|
+
valueType: BlueprintSecretValueType;
|
|
16
|
+
}
|
|
17
|
+
export interface BlueprintMigrationDeclaration {
|
|
18
|
+
affectedManagedSurfaces: string[];
|
|
19
|
+
contracts: {
|
|
20
|
+
consumes: string[];
|
|
21
|
+
publishes: string[];
|
|
22
|
+
};
|
|
23
|
+
databaseChange: BlueprintDatabaseChangeKind;
|
|
24
|
+
dependencyChanges: string[];
|
|
25
|
+
executor?: string;
|
|
26
|
+
from: string;
|
|
27
|
+
id: string;
|
|
28
|
+
infrastructureChanges: string[];
|
|
29
|
+
maintenanceWindowRequired: boolean;
|
|
30
|
+
manualSuccession: string;
|
|
31
|
+
planSchemaVersion: typeof BLUEPRINT_MIGRATION_PLAN_SCHEMA_VERSION;
|
|
32
|
+
preflight: string[];
|
|
33
|
+
rollback: {
|
|
34
|
+
afterPointOfNoReturn: string;
|
|
35
|
+
beforePointOfNoReturn: string;
|
|
36
|
+
pointOfNoReturn: string;
|
|
37
|
+
};
|
|
38
|
+
to: string;
|
|
39
|
+
verification: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface BlueprintManifest {
|
|
42
|
+
$schema?: string;
|
|
43
|
+
engine: string;
|
|
44
|
+
foundation: FoundationRequirement;
|
|
45
|
+
generator: string;
|
|
46
|
+
inputs: string;
|
|
47
|
+
kind: 'slice';
|
|
48
|
+
migrations?: BlueprintMigrationDeclaration[];
|
|
49
|
+
name: string;
|
|
50
|
+
secrets?: BlueprintSecretRequirement[];
|
|
51
|
+
type: typeof BLUEPRINT_PACKAGE_TYPE;
|
|
52
|
+
verification: string[];
|
|
53
|
+
version: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function isExactSemanticVersion(value: unknown): value is string;
|
|
56
|
+
export declare function validateBlueprintManifest(value: unknown): ValidationResult<BlueprintManifest>;
|
|
57
|
+
export declare const blueprintManifestSchema: {
|
|
58
|
+
readonly $id: "https://empirebuilderkit.dev/schemas/blueprint-v1.json";
|
|
59
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
60
|
+
readonly additionalProperties: false;
|
|
61
|
+
readonly properties: {
|
|
62
|
+
readonly $schema: {
|
|
63
|
+
readonly type: "string";
|
|
64
|
+
};
|
|
65
|
+
readonly engine: {
|
|
66
|
+
readonly minLength: 1;
|
|
67
|
+
readonly type: "string";
|
|
68
|
+
};
|
|
69
|
+
readonly foundation: {
|
|
70
|
+
readonly $id: "https://empirebuilderkit.dev/schemas/foundation-requirement-v1.json";
|
|
71
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
72
|
+
readonly additionalProperties: false;
|
|
73
|
+
readonly properties: {
|
|
74
|
+
readonly capabilities: {
|
|
75
|
+
readonly items: {
|
|
76
|
+
readonly enum: readonly ["network", "routing", "container-compute", "postgres", "identity", "events", "observability", "configuration", "deployment"];
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
};
|
|
79
|
+
readonly type: "array";
|
|
80
|
+
readonly uniqueItems: true;
|
|
81
|
+
};
|
|
82
|
+
readonly contract: {
|
|
83
|
+
readonly minLength: 1;
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
readonly required: readonly ["contract", "capabilities"];
|
|
88
|
+
readonly title: "Empire Builder Kit Standard Foundation Requirement v1";
|
|
89
|
+
readonly type: "object";
|
|
90
|
+
};
|
|
91
|
+
readonly generator: {
|
|
92
|
+
readonly pattern: "^\\./";
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
};
|
|
95
|
+
readonly inputs: {
|
|
96
|
+
readonly pattern: "^\\./";
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
};
|
|
99
|
+
readonly kind: {
|
|
100
|
+
readonly const: "slice";
|
|
101
|
+
};
|
|
102
|
+
readonly migrations: {
|
|
103
|
+
readonly items: {
|
|
104
|
+
readonly additionalProperties: false;
|
|
105
|
+
readonly properties: {
|
|
106
|
+
readonly affectedManagedSurfaces: {
|
|
107
|
+
readonly items: {
|
|
108
|
+
readonly minLength: 1;
|
|
109
|
+
readonly type: "string";
|
|
110
|
+
};
|
|
111
|
+
readonly minItems: 1;
|
|
112
|
+
readonly type: "array";
|
|
113
|
+
readonly uniqueItems: true;
|
|
114
|
+
};
|
|
115
|
+
readonly contracts: {
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
readonly properties: {
|
|
118
|
+
readonly consumes: {
|
|
119
|
+
readonly items: {
|
|
120
|
+
readonly minLength: 1;
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
};
|
|
123
|
+
readonly type: "array";
|
|
124
|
+
readonly uniqueItems: true;
|
|
125
|
+
};
|
|
126
|
+
readonly publishes: {
|
|
127
|
+
readonly items: {
|
|
128
|
+
readonly minLength: 1;
|
|
129
|
+
readonly type: "string";
|
|
130
|
+
};
|
|
131
|
+
readonly type: "array";
|
|
132
|
+
readonly uniqueItems: true;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
readonly required: readonly ["consumes", "publishes"];
|
|
136
|
+
readonly type: "object";
|
|
137
|
+
};
|
|
138
|
+
readonly databaseChange: {
|
|
139
|
+
readonly enum: readonly ["none", "ordered", "replacement", "manual"];
|
|
140
|
+
};
|
|
141
|
+
readonly dependencyChanges: {
|
|
142
|
+
readonly items: {
|
|
143
|
+
readonly minLength: 1;
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
};
|
|
146
|
+
readonly type: "array";
|
|
147
|
+
readonly uniqueItems: true;
|
|
148
|
+
};
|
|
149
|
+
readonly executor: {
|
|
150
|
+
readonly pattern: "^\\./";
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
};
|
|
153
|
+
readonly from: {
|
|
154
|
+
readonly minLength: 1;
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
};
|
|
157
|
+
readonly id: {
|
|
158
|
+
readonly minLength: 1;
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
};
|
|
161
|
+
readonly infrastructureChanges: {
|
|
162
|
+
readonly items: {
|
|
163
|
+
readonly minLength: 1;
|
|
164
|
+
readonly type: "string";
|
|
165
|
+
};
|
|
166
|
+
readonly type: "array";
|
|
167
|
+
readonly uniqueItems: true;
|
|
168
|
+
};
|
|
169
|
+
readonly maintenanceWindowRequired: {
|
|
170
|
+
readonly type: "boolean";
|
|
171
|
+
};
|
|
172
|
+
readonly manualSuccession: {
|
|
173
|
+
readonly pattern: "^\\./";
|
|
174
|
+
readonly type: "string";
|
|
175
|
+
};
|
|
176
|
+
readonly planSchemaVersion: {
|
|
177
|
+
readonly const: 1;
|
|
178
|
+
};
|
|
179
|
+
readonly preflight: {
|
|
180
|
+
readonly items: {
|
|
181
|
+
readonly minLength: 1;
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
};
|
|
184
|
+
readonly minItems: 1;
|
|
185
|
+
readonly type: "array";
|
|
186
|
+
readonly uniqueItems: true;
|
|
187
|
+
};
|
|
188
|
+
readonly rollback: {
|
|
189
|
+
readonly additionalProperties: false;
|
|
190
|
+
readonly properties: {
|
|
191
|
+
readonly afterPointOfNoReturn: {
|
|
192
|
+
readonly minLength: 1;
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
};
|
|
195
|
+
readonly beforePointOfNoReturn: {
|
|
196
|
+
readonly minLength: 1;
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
};
|
|
199
|
+
readonly pointOfNoReturn: {
|
|
200
|
+
readonly minLength: 1;
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
readonly required: readonly ["beforePointOfNoReturn", "pointOfNoReturn", "afterPointOfNoReturn"];
|
|
205
|
+
readonly type: "object";
|
|
206
|
+
};
|
|
207
|
+
readonly to: {
|
|
208
|
+
readonly pattern: string;
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
};
|
|
211
|
+
readonly verification: {
|
|
212
|
+
readonly items: {
|
|
213
|
+
readonly minLength: 1;
|
|
214
|
+
readonly type: "string";
|
|
215
|
+
};
|
|
216
|
+
readonly minItems: 1;
|
|
217
|
+
readonly type: "array";
|
|
218
|
+
readonly uniqueItems: true;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly required: readonly ["id", "from", "to", "planSchemaVersion", "affectedManagedSurfaces", "contracts", "dependencyChanges", "infrastructureChanges", "maintenanceWindowRequired", "databaseChange", "preflight", "verification", "rollback", "manualSuccession"];
|
|
222
|
+
readonly type: "object";
|
|
223
|
+
};
|
|
224
|
+
readonly minItems: 1;
|
|
225
|
+
readonly type: "array";
|
|
226
|
+
};
|
|
227
|
+
readonly name: {
|
|
228
|
+
readonly pattern: string;
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
};
|
|
231
|
+
readonly secrets: {
|
|
232
|
+
readonly items: {
|
|
233
|
+
readonly additionalProperties: false;
|
|
234
|
+
readonly properties: {
|
|
235
|
+
readonly description: {
|
|
236
|
+
readonly minLength: 1;
|
|
237
|
+
readonly type: "string";
|
|
238
|
+
};
|
|
239
|
+
readonly documentation: {
|
|
240
|
+
readonly pattern: "^\\./";
|
|
241
|
+
readonly type: "string";
|
|
242
|
+
};
|
|
243
|
+
readonly name: {
|
|
244
|
+
readonly pattern: string;
|
|
245
|
+
readonly type: "string";
|
|
246
|
+
};
|
|
247
|
+
readonly schema: {
|
|
248
|
+
readonly pattern: "^\\./";
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
};
|
|
251
|
+
readonly valueType: {
|
|
252
|
+
readonly enum: readonly ["string", "json", "binary"];
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
readonly required: readonly ["name", "description", "valueType", "documentation"];
|
|
256
|
+
readonly type: "object";
|
|
257
|
+
};
|
|
258
|
+
readonly minItems: 1;
|
|
259
|
+
readonly type: "array";
|
|
260
|
+
};
|
|
261
|
+
readonly type: {
|
|
262
|
+
readonly const: "empire-builder-kit-blueprint";
|
|
263
|
+
};
|
|
264
|
+
readonly verification: {
|
|
265
|
+
readonly items: {
|
|
266
|
+
readonly minLength: 1;
|
|
267
|
+
readonly type: "string";
|
|
268
|
+
};
|
|
269
|
+
readonly minItems: 1;
|
|
270
|
+
readonly type: "array";
|
|
271
|
+
readonly uniqueItems: true;
|
|
272
|
+
};
|
|
273
|
+
readonly version: {
|
|
274
|
+
readonly pattern: string;
|
|
275
|
+
readonly type: "string";
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
readonly required: readonly ["type", "name", "version", "engine", "kind", "generator", "inputs", "foundation", "verification"];
|
|
279
|
+
readonly title: "Empire Builder Kit Blueprint Manifest v1";
|
|
280
|
+
readonly type: "object";
|
|
281
|
+
};
|