@inf-monkeys-tech/monkeys 1.0.71 → 1.1.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/lib/contracts/aggregate-commit.d.ts +155 -0
- package/lib/contracts/aggregate-commit.d.ts.map +1 -0
- package/lib/contracts/aggregate-commit.js +112 -0
- package/lib/contracts/aggregate-commit.js.map +1 -0
- package/lib/contracts/capability.d.ts +3 -0
- package/lib/contracts/capability.d.ts.map +1 -1
- package/lib/contracts/capability.js +1 -1
- package/lib/contracts/capability.js.map +1 -1
- package/lib/contracts/common.d.ts +2 -0
- package/lib/contracts/common.d.ts.map +1 -1
- package/lib/contracts/common.js +34 -1
- package/lib/contracts/common.js.map +1 -1
- package/lib/contracts/component-assembly.d.ts +118 -0
- package/lib/contracts/component-assembly.d.ts.map +1 -0
- package/lib/contracts/component-assembly.js +61 -0
- package/lib/contracts/component-assembly.js.map +1 -0
- package/lib/contracts/declarative-control-http.d.ts +101608 -44791
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control-http.js +1358 -86
- package/lib/contracts/declarative-control-http.js.map +1 -1
- package/lib/contracts/declarative-control.d.ts +9668 -3376
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-control.js +2585 -186
- package/lib/contracts/declarative-control.js.map +1 -1
- package/lib/contracts/index.d.ts +6 -0
- package/lib/contracts/index.d.ts.map +1 -1
- package/lib/contracts/index.js +6 -0
- package/lib/contracts/index.js.map +1 -1
- package/lib/contracts/legacy-route.d.ts +15 -0
- package/lib/contracts/legacy-route.d.ts.map +1 -0
- package/lib/contracts/legacy-route.js +13 -0
- package/lib/contracts/legacy-route.js.map +1 -0
- package/lib/contracts/menu.d.ts +12 -0
- package/lib/contracts/menu.d.ts.map +1 -1
- package/lib/contracts/page-binding-dependencies.d.ts +25 -0
- package/lib/contracts/page-binding-dependencies.d.ts.map +1 -0
- package/lib/contracts/page-binding-dependencies.js +54 -0
- package/lib/contracts/page-binding-dependencies.js.map +1 -0
- package/lib/contracts/page-expression.d.ts +106 -0
- package/lib/contracts/page-expression.d.ts.map +1 -0
- package/lib/contracts/page-expression.js +136 -0
- package/lib/contracts/page-expression.js.map +1 -0
- package/lib/contracts/page-stream.d.ts +101 -0
- package/lib/contracts/page-stream.d.ts.map +1 -0
- package/lib/contracts/page-stream.js +66 -0
- package/lib/contracts/page-stream.js.map +1 -0
- package/lib/contracts/page.d.ts +24 -0
- package/lib/contracts/page.d.ts.map +1 -1
- package/lib/contracts/page.js +2 -0
- package/lib/contracts/page.js.map +1 -1
- package/lib/contracts/record-editor-draft.d.ts +95 -0
- package/lib/contracts/record-editor-draft.d.ts.map +1 -0
- package/lib/contracts/record-editor-draft.js +35 -0
- package/lib/contracts/record-editor-draft.js.map +1 -0
- package/lib/contracts/render.d.ts +16 -0
- package/lib/contracts/render.d.ts.map +1 -1
- package/lib/contracts/render.js +3 -1
- package/lib/contracts/render.js.map +1 -1
- package/lib/contracts/semantic.d.ts +48 -1
- package/lib/contracts/semantic.d.ts.map +1 -1
- package/lib/contracts/semantic.js +22 -19
- package/lib/contracts/semantic.js.map +1 -1
- package/lib/contracts/tenant.d.ts +133 -6
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +16 -1
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +6921 -3030
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +11407 -5019
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +11514 -4409
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +7283 -2570
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/aggregate-commit-request.schema.json +426 -0
- package/lib/json-schema/capability-manifest.schema.json +1 -0
- package/lib/json-schema/capability-registry.schema.json +1 -0
- package/lib/json-schema/declarative-route-owner-index.schema.json +1092 -0
- package/lib/json-schema/declarative-workbench-catalog.schema.json +769 -0
- package/lib/json-schema/design-capability-catalog-artifact.schema.json +2787 -0
- package/lib/json-schema/domain-command-definition.schema.json +18 -0
- package/lib/json-schema/domain-query-definition.schema.json +1406 -0
- package/lib/json-schema/index.json +7 -0
- package/lib/json-schema/legacy-route-takeover-authorization.schema.json +601 -0
- package/lib/json-schema/navigation-release.schema.json +296 -0
- package/lib/json-schema/navigation-runtime-bundle.schema.json +48 -8
- package/lib/json-schema/navigation.schema.json +47 -8
- package/lib/json-schema/overlay-node.schema.json +281 -0
- package/lib/json-schema/page-definition.schema.json +34 -0
- package/lib/json-schema/page-release.schema.json +1520 -626
- package/lib/json-schema/page-runtime-bundle.schema.json +5980 -401
- package/lib/json-schema/page-runtime-descriptor.schema.json +34 -0
- package/lib/json-schema/page.schema.json +7333 -1482
- package/lib/json-schema/permission-alternative-policy.schema.json +60 -0
- package/lib/json-schema/product-declaration.schema.json +53 -0
- package/lib/json-schema/render-node.schema.json +281 -0
- package/lib/json-schema/render-tree.schema.json +281 -0
- package/lib/json-schema/tenant-product-config.schema.json +107 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +107 -0
- package/lib/json-schema/view-provider-descriptor.schema.json +1 -0
- package/lib/json-schema/workbench-release.schema.json +1520 -626
- package/lib/json-schema/workbench-runtime-bundle.schema.json +686 -20
- package/lib/json-schema/workbench.schema.json +1196 -0
- package/lib/runtime/component-assembly.d.ts +4 -0
- package/lib/runtime/component-assembly.d.ts.map +1 -0
- package/lib/runtime/component-assembly.js +126 -0
- package/lib/runtime/component-assembly.js.map +1 -0
- package/lib/runtime/declarative-control-compiler.d.ts +66 -5
- package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
- package/lib/runtime/declarative-control-compiler.js +862 -109
- package/lib/runtime/declarative-control-compiler.js.map +1 -1
- package/lib/runtime/index.d.ts +5 -0
- package/lib/runtime/index.d.ts.map +1 -1
- package/lib/runtime/index.js +7 -0
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/page-expression.d.ts +9 -0
- package/lib/runtime/page-expression.d.ts.map +1 -0
- package/lib/runtime/page-expression.js +257 -0
- package/lib/runtime/page-expression.js.map +1 -0
- package/lib/runtime/page-stream.d.ts +24 -0
- package/lib/runtime/page-stream.d.ts.map +1 -0
- package/lib/runtime/page-stream.js +65 -0
- package/lib/runtime/page-stream.js.map +1 -0
- package/lib/runtime/record-editor-draft.d.ts +29 -0
- package/lib/runtime/record-editor-draft.d.ts.map +1 -0
- package/lib/runtime/record-editor-draft.js +161 -0
- package/lib/runtime/record-editor-draft.js.map +1 -0
- package/lib/runtime/target-render-model.d.ts +4 -0
- package/lib/runtime/target-render-model.d.ts.map +1 -0
- package/lib/runtime/target-render-model.js +28 -0
- package/lib/runtime/target-render-model.js.map +1 -0
- package/lib/runtime/tenant-config.d.ts +2 -0
- package/lib/runtime/tenant-config.d.ts.map +1 -1
- package/lib/runtime/tenant-config.js +6 -1
- package/lib/runtime/tenant-config.js.map +1 -1
- package/lib/schemas/index.d.ts +6969 -2169
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +86 -8
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentAssembly, ComponentAssemblyDescriptor } from '../contracts/component-assembly';
|
|
2
|
+
/** Compile once per descriptor; runtime values still come from the owning props. */
|
|
3
|
+
export declare function compileComponentAssemblyValidator(descriptor: ComponentAssemblyDescriptor, definitions?: Record<string, unknown>): (value: unknown) => ComponentAssembly;
|
|
4
|
+
//# sourceMappingURL=component-assembly.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-assembly.d.ts","sourceRoot":"","sources":["../../src/runtime/component-assembly.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAoDtG,oFAAoF;AACpF,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,2BAA2B,EACvC,WAAW,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GACxC,CAAC,KAAK,EAAE,OAAO,KAAK,iBAAiB,CAoDvC"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.compileComponentAssemblyValidator = void 0;
|
|
7
|
+
const ajv_1 = __importDefault(require("ajv"));
|
|
8
|
+
const component_assembly_1 = require("../contracts/component-assembly");
|
|
9
|
+
const validatorPools = new WeakMap();
|
|
10
|
+
const definitionId = 'https://monkeys.design/schemas/component-props/v1';
|
|
11
|
+
const schemaObject = (value) => value !== null && typeof value === 'object' && !Array.isArray(value) ? value : undefined;
|
|
12
|
+
/** Only declared text leaves are localizable; unrestricted objects do not declare text. */
|
|
13
|
+
const declaresTextPath = (schema, path, definitions, depth = 0) => {
|
|
14
|
+
if (depth > 48)
|
|
15
|
+
return false;
|
|
16
|
+
const node = schemaObject(schema);
|
|
17
|
+
if (!node)
|
|
18
|
+
return false;
|
|
19
|
+
if (node.const !== undefined || node.enum !== undefined || node.pattern !== undefined || node.format !== undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (Array.isArray(node.allOf) && node.allOf.some(variant => {
|
|
22
|
+
const constraint = schemaObject(variant);
|
|
23
|
+
return constraint && ['const', 'enum', 'pattern', 'format'].some(key => constraint[key] !== undefined);
|
|
24
|
+
}))
|
|
25
|
+
return false;
|
|
26
|
+
if (typeof node.$ref === 'string' && node.$ref.startsWith('#/$defs/')) {
|
|
27
|
+
const name = node.$ref.slice('#/$defs/'.length).replace(/~1/g, '/').replace(/~0/g, '~');
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(definitions, name) && declaresTextPath(definitions[name], path, definitions, depth + 1))
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
for (const kind of ['anyOf', 'oneOf', 'allOf']) {
|
|
32
|
+
const variants = node[kind];
|
|
33
|
+
if (Array.isArray(variants) && variants.some(variant => declaresTextPath(variant, path, definitions, depth + 1)))
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
if (path.length === 0) {
|
|
37
|
+
// Enums and discriminators describe structure, even when encoded as strings.
|
|
38
|
+
return node.type === 'string' || (Array.isArray(node.type) && node.type.includes('string'));
|
|
39
|
+
}
|
|
40
|
+
const [part, ...rest] = path;
|
|
41
|
+
if (typeof part === 'number') {
|
|
42
|
+
const tuple = Array.isArray(node.prefixItems) ? node.prefixItems : Array.isArray(node.items) ? node.items : undefined;
|
|
43
|
+
return declaresTextPath(tuple ? tuple[part] : node.items, rest, definitions, depth + 1);
|
|
44
|
+
}
|
|
45
|
+
const properties = schemaObject(node.properties);
|
|
46
|
+
const child = properties && Object.prototype.hasOwnProperty.call(properties, part) ? properties[part] : node.additionalProperties;
|
|
47
|
+
return declaresTextPath(child, rest, definitions, depth + 1);
|
|
48
|
+
};
|
|
49
|
+
const readOwnTextTarget = (props, path) => {
|
|
50
|
+
let current = props;
|
|
51
|
+
for (const part of path) {
|
|
52
|
+
if (current === null || typeof current !== 'object' ||
|
|
53
|
+
(Array.isArray(current) ? typeof part !== 'number' || part >= current.length : typeof part !== 'string') ||
|
|
54
|
+
!Object.prototype.hasOwnProperty.call(current, part))
|
|
55
|
+
throw new TypeError('Localized component path does not exist.');
|
|
56
|
+
current = current[part];
|
|
57
|
+
}
|
|
58
|
+
return current;
|
|
59
|
+
};
|
|
60
|
+
/** Compile once per descriptor; runtime values still come from the owning props. */
|
|
61
|
+
function compileComponentAssemblyValidator(descriptor, definitions = {}) {
|
|
62
|
+
let ajv = validatorPools.get(definitions);
|
|
63
|
+
if (!ajv) {
|
|
64
|
+
ajv = new ajv_1.default({ strict: false, allErrors: true, validateFormats: false });
|
|
65
|
+
ajv.addSchema({ $id: definitionId, $defs: definitions });
|
|
66
|
+
validatorPools.set(definitions, ajv);
|
|
67
|
+
}
|
|
68
|
+
const propertySchema = (schema) => {
|
|
69
|
+
if (Array.isArray(schema))
|
|
70
|
+
return schema.map(propertySchema);
|
|
71
|
+
if (schema && typeof schema === 'object')
|
|
72
|
+
return Object.fromEntries(Object.entries(schema).map(([key, value]) => [key, key === '$ref' && typeof value === 'string' && value.startsWith('#/$defs/') ? definitionId + value : propertySchema(value)]));
|
|
73
|
+
return schema ?? {};
|
|
74
|
+
};
|
|
75
|
+
const scalarSlot = { anyOf: [{ type: ['string', 'number', 'boolean', 'null'] }, { type: 'array', items: { $ref: '#/$defs/renderable' } }] };
|
|
76
|
+
const properties = Object.fromEntries(descriptor.props.filter((prop) => prop.kind === 'property' || prop.kind === 'slot' || prop.accepts?.includes('slot') || prop.accepts?.includes('property')).map((prop) => [prop.name, prop.schema === undefined ? scalarSlot : propertySchema(prop.schema)]));
|
|
77
|
+
const variants = descriptor.variants?.map((variant) => ({ ...variant, validate: ajv.compile({ type: 'object', properties: Object.fromEntries(Object.entries(variant.properties).map(([name, schema]) => [name, propertySchema(schema)])) }) }));
|
|
78
|
+
const validate = ajv.compile({ $defs: { renderable: scalarSlot }, type: 'object', properties, patternProperties: { '^(data-|aria-)[a-zA-Z0-9_-]+$': { type: ['string', 'number', 'boolean', 'null'] } }, additionalProperties: false });
|
|
79
|
+
const byName = new Map(descriptor.props.map((prop) => [prop.name, prop]));
|
|
80
|
+
return (value) => {
|
|
81
|
+
// Preserve explicit slot-name arrays in declaration order; RenderTree owns each slot.
|
|
82
|
+
const assembly = component_assembly_1.ComponentAssemblySchema.parse(value);
|
|
83
|
+
if (Object.prototype.hasOwnProperty.call(assembly.props, 'dangerouslySetInnerHTML'))
|
|
84
|
+
throw new TypeError('Executable HTML is not a component assembly prop.');
|
|
85
|
+
if (!validate(assembly.props))
|
|
86
|
+
throw new TypeError(`Invalid ${descriptor.id} props: ${ajv.errorsText(validate.errors)}`);
|
|
87
|
+
for (const [group, kind] of [['events', 'event'], ['slots', 'slot'], ['renderers', 'renderer']]) {
|
|
88
|
+
for (const name of Object.keys(assembly[group])) {
|
|
89
|
+
if (byName.get(name)?.kind !== kind && !byName.get(name)?.accepts?.includes(kind))
|
|
90
|
+
throw new TypeError(`Invalid ${descriptor.id} ${group} member: ${name}`);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
for (const name of Object.keys(assembly.hosts)) {
|
|
94
|
+
if (!byName.has(name))
|
|
95
|
+
throw new TypeError(`Unknown ${descriptor.id} host member: ${name}`);
|
|
96
|
+
}
|
|
97
|
+
for (const name of Object.keys(assembly.messages)) {
|
|
98
|
+
if (!byName.has(name) || !(['slot', 'property'].includes(byName.get(name).kind) || byName.get(name)?.accepts?.includes('slot')))
|
|
99
|
+
throw new TypeError(`Invalid ${descriptor.id} localized member: ${name}`);
|
|
100
|
+
}
|
|
101
|
+
for (const binding of assembly.messageBindings ?? []) {
|
|
102
|
+
const root = binding.path[0];
|
|
103
|
+
const prop = typeof root === 'string' ? byName.get(root) : undefined;
|
|
104
|
+
if (!prop || !['property', 'slot'].includes(prop.kind) || !Object.prototype.hasOwnProperty.call(assembly.props, root))
|
|
105
|
+
throw new TypeError(`Invalid ${descriptor.id} localized path root.`);
|
|
106
|
+
if (['id', 'type', 'key', 'contract', 'schemaVersion'].includes(String(binding.path[binding.path.length - 1])))
|
|
107
|
+
throw new TypeError(`Invalid ${descriptor.id} structural localization target.`);
|
|
108
|
+
const target = readOwnTextTarget(assembly.props, binding.path);
|
|
109
|
+
if ((typeof target !== 'string' && target !== null) || !declaresTextPath(prop.schema ?? scalarSlot, binding.path.slice(1), definitions))
|
|
110
|
+
throw new TypeError(`Invalid ${descriptor.id} localized text path.`);
|
|
111
|
+
}
|
|
112
|
+
for (const prop of descriptor.props) {
|
|
113
|
+
if (prop.required && !Object.values(assembly).some((group) => group && typeof group === 'object' && Object.prototype.hasOwnProperty.call(group, prop.name))) {
|
|
114
|
+
throw new TypeError(`Missing ${descriptor.id} prop: ${prop.name}`);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
if (variants) {
|
|
118
|
+
const supplied = new Set(['props', 'events', 'slots', 'renderers', 'hosts', 'messages'].flatMap((group) => Object.keys(assembly[group])));
|
|
119
|
+
if (!variants.some((variant) => variant.required.every((name) => supplied.has(name)) && [...supplied].every((name) => variant.allowed.includes(name) || /^(data-|aria-)/.test(name)) && variant.validate(assembly.props)))
|
|
120
|
+
throw new TypeError(`Invalid ${descriptor.id} prop combination.`);
|
|
121
|
+
}
|
|
122
|
+
return assembly;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
exports.compileComponentAssemblyValidator = compileComponentAssemblyValidator;
|
|
126
|
+
//# sourceMappingURL=component-assembly.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-assembly.js","sourceRoot":"","sources":["../../src/runtime/component-assembly.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAsB;AAEtB,wEAA0E;AAE1E,MAAM,cAAc,GAAG,IAAI,OAAO,EAAe,CAAC;AAClD,MAAM,YAAY,GAAG,mDAAmD,CAAC;AAEzE,MAAM,YAAY,GAAG,CAAC,KAAc,EAAuC,EAAE,CAC3E,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAgC,CAAC,CAAC,CAAC,SAAS,CAAC;AAEtH,2FAA2F;AAC3F,MAAM,gBAAgB,GAAG,CAAC,MAAe,EAAE,IAAkC,EAAE,WAAoC,EAAE,KAAK,GAAG,CAAC,EAAW,EAAE;IACzI,IAAI,KAAK,GAAG,EAAE;QAAE,OAAO,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;IAClC,IAAI,CAAC,IAAI;QAAE,OAAO,KAAK,CAAC;IACxB,IAAI,IA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C,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;gBAAE,MAAM,IAAI,SAAS,CAAC,WAAW,UAAU,CAAC,EAAE,oBAAoB,CAAC,CAAC;QAC/R,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC;AACJ,CAAC;AAvDD,8EAuDC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { type AccessPolicy, type CompiledRouteClaim, type DeclarativeRouteClaim, type Navigation, type NavigationRelease, type NavigationRuntimeBundle, type Page, type PageRelease, type PageRuntimeBundle, type RevisionRef, type RouteSpace, type StableRef, type Workbench, type WorkbenchRelease, type WorkbenchRuntimeBundle } from '../contracts/declarative-control';
|
|
3
|
-
export type DeclarativeControlCompilationErrorCode = 'AUDIENCE_WIDER_THAN_TARGET' | 'CAPABILITY_BINDING_MISMATCH' | 'CAPABILITY_NOT_EDITOR_ELIGIBLE' | 'CROSS_TENANT_REFERENCE' | 'DEPENDENCY_MISSING' | 'HEAD_CONFLICT' | 'NAV_DEPTH_EXCEEDED' | 'NAV_ACTION_INPUT_INVALID' | 'NAV_NODE_LIMIT_EXCEEDED' | 'NAV_TARGET_UNRELEASED' | 'PORT_TYPE_MISMATCH' | 'RENDER_DEPTH_EXCEEDED' | 'RENDER_NODE_LIMIT_EXCEEDED' | 'RELEASE_VALIDATION_FAILED' | 'REGISTRY_CONFLICT' | 'REVISION_MISMATCH' | 'ROUTE_CONFLICT' | 'ROUTE_RESERVED' | 'ROUTE_SPACE_MISSING' | 'ROUTE_SPACE_MISMATCH' | 'WORKBENCH_INSTANCE_LIMIT_EXCEEDED' | 'WORKBENCH_RELEASE_SET_INVALID' | 'WORKBENCH_TEMPLATE_UNRELEASABLE';
|
|
1
|
+
import { type DeclarativeCreateTemplateRegistration, type DeclarativeProductResourceRegistration, type DeclarativeRouteSpaceRegistration, type DesignCapabilityCatalogArtifact, type DesignCapabilityCatalogEntry, type ProductDeclarativeCapabilityRegistration } from '../contracts/declarative-control-http';
|
|
2
|
+
import { type AccessPolicy, type CompiledRouteClaim, type DeclarativeRouteOwnerIndex, type DeclarativeRouteOwnerIndexEntry, type DeclarativeRouteClaim, type DeclarativeWorkbenchCatalog, type DeclarativeWorkbenchCatalogEntry, type DomainQueryDefinition, type LegacyRouteTakeoverAuthorization, type PermissionAlternativePolicy, type Navigation, type NavigationRelease, type NavigationRuntimeBundle, type Page, type PageRelease, type PageRuntimeBundle, type RevisionRef, type RouteClaim, type RouteSpace, type StableRef, type TenantScope, type Workbench, type WorkbenchRelease, type WorkbenchRuntimeBundle } from '../contracts/declarative-control';
|
|
3
|
+
export type DeclarativeControlCompilationErrorCode = 'AUDIENCE_WIDER_THAN_TARGET' | 'CAPABILITY_BINDING_MISMATCH' | 'CAPABILITY_NOT_EDITOR_ELIGIBLE' | 'CROSS_TENANT_REFERENCE' | 'DEPENDENCY_MISSING' | 'DESIGN_CATALOG_INVALID' | 'HEAD_CONFLICT' | 'NAV_DEPTH_EXCEEDED' | 'NAV_ACTION_INPUT_INVALID' | 'NAV_NODE_LIMIT_EXCEEDED' | 'NAV_TARGET_UNRELEASED' | 'PAGE_ENTRY_TARGET_UNRELEASED' | 'PORT_TYPE_MISMATCH' | 'PRODUCT_CAPABILITY_CATALOG_INVALID' | 'QUERY_DEFINITION_MISMATCH' | 'RENDER_DEPTH_EXCEEDED' | 'RENDER_TREE_INVALID' | 'RENDER_NODE_LIMIT_EXCEEDED' | 'RELEASE_OPERATION_INVALID' | 'RELEASE_VALIDATION_FAILED' | 'REGISTRY_CONFLICT' | 'REVISION_MISMATCH' | 'ROUTE_CONFLICT' | 'ROUTE_RESERVED' | 'ROUTE_TAKEOVER_INVALID' | 'ROUTE_SPACE_MISSING' | 'ROUTE_SPACE_MISMATCH' | 'SHELL_CHROME_UNAVAILABLE' | 'SHELL_REVISION_MISMATCH' | 'SHELL_SURFACE_MISMATCH' | 'WORKBENCH_INSTANCE_LIMIT_EXCEEDED' | 'WORKBENCH_RELEASE_SET_INVALID' | 'WORKBENCH_TEMPLATE_UNRELEASABLE';
|
|
4
4
|
export declare class DeclarativeControlCompilationError extends Error {
|
|
5
5
|
readonly code: DeclarativeControlCompilationErrorCode;
|
|
6
6
|
readonly path: string;
|
|
@@ -25,10 +25,16 @@ export interface CapabilityPortRegistration {
|
|
|
25
25
|
export interface DeclarativeCapabilityRegistration {
|
|
26
26
|
capabilityRevisionRef: RevisionRef;
|
|
27
27
|
providerRevisionRef: RevisionRef;
|
|
28
|
+
propertySchemaRevisionRef: RevisionRef;
|
|
29
|
+
accessPolicy: AccessPolicy;
|
|
28
30
|
editorEligible: boolean;
|
|
29
31
|
inputPorts: readonly CapabilityPortRegistration[];
|
|
30
32
|
outputPorts: readonly CapabilityPortRegistration[];
|
|
31
|
-
allowedSideEffects: readonly ('network' | 'storage' | 'navigation' | 'worker' | 'websocket')[];
|
|
33
|
+
allowedSideEffects: readonly ('network' | 'storage' | 'navigation' | 'clipboard' | 'worker' | 'websocket')[];
|
|
34
|
+
}
|
|
35
|
+
export interface DomainQueryRegistration {
|
|
36
|
+
definitionRevisionRef: RevisionRef;
|
|
37
|
+
definition: DomainQueryDefinition;
|
|
32
38
|
}
|
|
33
39
|
export interface WorkbenchTargetRegistration {
|
|
34
40
|
stableTargetRef: StableRef;
|
|
@@ -58,9 +64,10 @@ export interface NavigationDomainCommandRegistration extends WorkbenchTargetRegi
|
|
|
58
64
|
}
|
|
59
65
|
export type NavigationTargetRegistration = NavigationRouteTargetRegistration | NavigationRegisteredMenuActionRegistration | NavigationDomainCommandRegistration;
|
|
60
66
|
export interface CompileRouteClaimsInput {
|
|
61
|
-
claims: readonly DeclarativeRouteClaim[];
|
|
67
|
+
claims: readonly (RouteClaim | DeclarativeRouteClaim | Page['routeClaims'][number] | Workbench['routeClaims'][number])[];
|
|
62
68
|
routeSpaces: readonly RouteSpaceRegistration[];
|
|
63
69
|
surface: 'studio' | 'kernel';
|
|
70
|
+
legacyRouteTakeoverAuthorizations?: readonly LegacyRouteTakeoverAuthorization[];
|
|
64
71
|
}
|
|
65
72
|
export interface MaterializeRouteSpacePathInput {
|
|
66
73
|
routeSpace: RouteSpace;
|
|
@@ -77,6 +84,9 @@ export interface CompilePageRuntimeBundleInput {
|
|
|
77
84
|
generation: number;
|
|
78
85
|
limits: DeclarativeControlCompileLimits;
|
|
79
86
|
capabilityRegistry: readonly DeclarativeCapabilityRegistration[];
|
|
87
|
+
domainQueryRegistry?: readonly DomainQueryRegistration[];
|
|
88
|
+
targetRegistry?: readonly NavigationRouteTargetRegistration[];
|
|
89
|
+
shellRegistration: DeclarativeProductResourceRegistration;
|
|
80
90
|
}
|
|
81
91
|
export interface CompileWorkbenchRuntimeBundleInput {
|
|
82
92
|
workbench: Workbench;
|
|
@@ -104,14 +114,65 @@ export declare const revisionRefKey: (reference: RevisionRef) => string;
|
|
|
104
114
|
export declare const sameStableRef: (left: StableRef, right: StableRef) => boolean;
|
|
105
115
|
export declare const sameRevisionRef: (left: RevisionRef, right: RevisionRef) => boolean;
|
|
106
116
|
export declare const canonicalContentHash: (value: unknown) => string;
|
|
117
|
+
/**
|
|
118
|
+
* Names one immutable Runtime Bundle projection by its exact Release evidence.
|
|
119
|
+
* The fixed-size digest stays below Data Server's 256-byte projection id limit
|
|
120
|
+
* even when a governed release slot uses the maximum contract identifier size.
|
|
121
|
+
*/
|
|
122
|
+
export declare const declarativeRuntimeProjectionId: (resourceKind: 'page' | 'navigation' | 'workbench', releaseSlotId: string, releaseRevisionRef: Pick<RevisionRef, 'kind' | 'id' | 'ownerRepo' | 'revision' | 'schemaVersion' | 'contentHash'>) => string;
|
|
123
|
+
/** Names the rebuildable route-owner index for one tenant environment surface. */
|
|
124
|
+
export declare const declarativeRouteOwnerIndexProjectionId: (tenantScope: TenantScope, environmentRef: StableRef, surface: 'studio' | 'kernel') => string;
|
|
125
|
+
export declare const declarativeWorkbenchCatalogProjectionId: (tenantScope: TenantScope, environmentRef: StableRef, surface: 'studio' | 'kernel') => string;
|
|
126
|
+
export declare const compileLegacyRouteTakeoverAuthorization: (input: Omit<LegacyRouteTakeoverAuthorization, 'contentHash'>) => LegacyRouteTakeoverAuthorization;
|
|
127
|
+
export declare const legacyRouteTakeoverAuthorizationHash: (input: Omit<LegacyRouteTakeoverAuthorization, 'contentHash'>) => string;
|
|
128
|
+
export declare const parseExactLegacyRouteTakeoverAuthorization: (input: unknown) => LegacyRouteTakeoverAuthorization;
|
|
129
|
+
export declare const permissionAlternativePolicyAllows: (policyInput: PermissionAlternativePolicy, permissionCodes: ReadonlySet<string> | readonly string[]) => boolean;
|
|
130
|
+
export declare const compileDeclarativeRouteOwnerIndex: (input: {
|
|
131
|
+
tenantScope: TenantScope;
|
|
132
|
+
environmentRef: StableRef;
|
|
133
|
+
surface: 'studio' | 'kernel';
|
|
134
|
+
generation: number;
|
|
135
|
+
entries: readonly DeclarativeRouteOwnerIndexEntry[];
|
|
136
|
+
}) => DeclarativeRouteOwnerIndex;
|
|
137
|
+
export declare const compileDeclarativeWorkbenchCatalog: (input: {
|
|
138
|
+
tenantScope: TenantScope;
|
|
139
|
+
environmentRef: StableRef;
|
|
140
|
+
surface: 'studio' | 'kernel';
|
|
141
|
+
generation: number;
|
|
142
|
+
entries: readonly DeclarativeWorkbenchCatalogEntry[];
|
|
143
|
+
}) => DeclarativeWorkbenchCatalog;
|
|
107
144
|
export declare const declarativeCreateTemplateSourceHash: (document: DeclarativeCreateTemplateRegistration['document']) => string;
|
|
108
145
|
export declare const declarativeCreateTemplateRevisionHash: (registration: DeclarativeCreateTemplateRegistration) => string;
|
|
109
146
|
export declare const declarativeRouteSpaceSourceHash: (routeSpace: DeclarativeRouteSpaceRegistration['routeSpace']) => string;
|
|
110
147
|
export declare const declarativeRouteSpaceRevisionHash: (registration: DeclarativeRouteSpaceRegistration) => string;
|
|
111
148
|
export declare const declarativeProductResourceSourceHash: (document: DeclarativeProductResourceRegistration['document']) => string;
|
|
112
149
|
export declare const declarativeProductResourceRevisionHash: (registration: DeclarativeProductResourceRegistration) => string;
|
|
150
|
+
export declare const designCapabilityCatalogArtifactHash: (input: {
|
|
151
|
+
sourceRef: string;
|
|
152
|
+
entries: readonly DesignCapabilityCatalogEntry[];
|
|
153
|
+
}) => string;
|
|
154
|
+
export declare const compileDesignCapabilityCatalogArtifact: (input: {
|
|
155
|
+
sourceRef: string;
|
|
156
|
+
revision: number;
|
|
157
|
+
entries: readonly DesignCapabilityCatalogEntry[];
|
|
158
|
+
}) => DesignCapabilityCatalogArtifact;
|
|
159
|
+
/** Validate immutable product-owned capability provenance from an application release. */
|
|
160
|
+
export declare const parseExactProductDeclarativeCapabilityRegistration: (input: unknown) => ProductDeclarativeCapabilityRegistration;
|
|
161
|
+
export declare const parseExactDesignCapabilityCatalogArtifact: (input: unknown) => DesignCapabilityCatalogArtifact;
|
|
113
162
|
export declare const accessPolicyChainImplies: (policyInputs: readonly AccessPolicy[], targetInput: AccessPolicy) => boolean;
|
|
163
|
+
export declare const compiledRouteClaimsOverlap: (leftInput: CompiledRouteClaim, rightInput: CompiledRouteClaim) => boolean;
|
|
114
164
|
export declare const compileRouteClaims: (input: CompileRouteClaimsInput) => readonly CompiledRouteClaim[];
|
|
165
|
+
export type CompiledRouteMatch = {
|
|
166
|
+
matched: boolean;
|
|
167
|
+
normalizedPath?: string;
|
|
168
|
+
parameters: Readonly<Record<string, string>>;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Matches an application-relative request path using only the policy frozen into
|
|
172
|
+
* a CompiledRouteClaim. Runtime consumers must not reconstruct RouteSpace policy
|
|
173
|
+
* from product ids or deployment configuration.
|
|
174
|
+
*/
|
|
175
|
+
export declare const matchCompiledRouteClaim: (claimInput: CompiledRouteClaim, pathInput: string) => CompiledRouteMatch;
|
|
115
176
|
/**
|
|
116
177
|
* Materializes the browser URL owned by a RouteSpace from an application-relative
|
|
117
178
|
* compiled route. Declarations and runtime resolution remain application-relative;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declarative-control-compiler.d.ts","sourceRoot":"","sources":["../../src/runtime/declarative-control-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"declarative-control-compiler.d.ts","sourceRoot":"","sources":["../../src/runtime/declarative-control-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,wCAAwC,EAC9C,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAyBL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,EACrC,KAAK,2BAA2B,EAChC,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,IAAI,EACT,KAAK,WAAW,EAChB,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,MAAM,MAAM,sCAAsC,GAC9C,4BAA4B,GAC5B,6BAA6B,GAC7B,gCAAgC,GAChC,wBAAwB,GACxB,oBAAoB,GACpB,wBAAwB,GACxB,eAAe,GACf,oBAAoB,GACpB,0BAA0B,GAC1B,yBAAyB,GACzB,uBAAuB,GACvB,8BAA8B,GAC9B,oBAAoB,GACpB,oC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