@metaobjectsdev/metadata 0.24.0-rc.1 → 0.24.1
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/attr-schema-validate.d.ts.map +1 -1
- package/dist/attr-schema-validate.js +17 -2
- package/dist/attr-schema-validate.js.map +1 -1
- package/dist/core/field/field-constants.d.ts +18 -5
- package/dist/core/field/field-constants.d.ts.map +1 -1
- package/dist/core/field/field-constants.js +21 -5
- package/dist/core/field/field-constants.js.map +1 -1
- package/dist/core/field/field-definition.embedded.d.ts.map +1 -1
- package/dist/core/field/field-definition.embedded.js +8 -3
- package/dist/core/field/field-definition.embedded.js.map +1 -1
- package/dist/core/field/validate-field-mutability.d.ts +22 -0
- package/dist/core/field/validate-field-mutability.d.ts.map +1 -0
- package/dist/core/field/validate-field-mutability.js +208 -0
- package/dist/core/field/validate-field-mutability.js.map +1 -0
- package/dist/core/identity/identity-constants.d.ts +12 -0
- package/dist/core/identity/identity-constants.d.ts.map +1 -1
- package/dist/core/identity/identity-constants.js +15 -0
- package/dist/core/identity/identity-constants.js.map +1 -1
- package/dist/core/identity/identity-definition.embedded.js +2 -2
- package/dist/core/identity/identity-definition.embedded.js.map +1 -1
- package/dist/core/index/index-definition.embedded.js +2 -2
- package/dist/core/index/index-definition.embedded.js.map +1 -1
- package/dist/core/object/object-definition.embedded.js +2 -2
- package/dist/core/object/object-definition.embedded.js.map +1 -1
- package/dist/core/requirement/meta-requirement.d.ts +1 -2
- package/dist/core/requirement/meta-requirement.d.ts.map +1 -1
- package/dist/core/requirement/meta-requirement.js +2 -6
- package/dist/core/requirement/meta-requirement.js.map +1 -1
- package/dist/core/requirement/requirement-constants.d.ts +3 -8
- package/dist/core/requirement/requirement-constants.d.ts.map +1 -1
- package/dist/core/requirement/requirement-constants.js +2 -9
- package/dist/core/requirement/requirement-constants.js.map +1 -1
- package/dist/core/requirement/requirement-definition.embedded.d.ts.map +1 -1
- package/dist/core/requirement/requirement-definition.embedded.js +8 -46
- package/dist/core/requirement/requirement-definition.embedded.js.map +1 -1
- package/dist/core/requirement/resolve-claim.d.ts +37 -0
- package/dist/core/requirement/resolve-claim.d.ts.map +1 -0
- package/dist/core/requirement/resolve-claim.js +83 -0
- package/dist/core/requirement/resolve-claim.js.map +1 -0
- package/dist/core/vocabulary-rewrite-yaml.d.ts +21 -0
- package/dist/core/vocabulary-rewrite-yaml.d.ts.map +1 -0
- package/dist/core/vocabulary-rewrite-yaml.js +245 -0
- package/dist/core/vocabulary-rewrite-yaml.js.map +1 -0
- package/dist/core-types.d.ts.map +1 -1
- package/dist/core-types.js +10 -10
- package/dist/core-types.js.map +1 -1
- package/dist/errors.d.ts +2 -2
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +37 -4
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/library/library-sources.d.ts +11 -0
- package/dist/library/library-sources.d.ts.map +1 -1
- package/dist/library/library-sources.js +13 -0
- package/dist/library/library-sources.js.map +1 -1
- package/dist/loader/meta-data-loader.d.ts.map +1 -1
- package/dist/loader/meta-data-loader.js +14 -10
- package/dist/loader/meta-data-loader.js.map +1 -1
- package/dist/loader/validation-passes.d.ts +1 -0
- package/dist/loader/validation-passes.d.ts.map +1 -1
- package/dist/loader/validation-passes.js +263 -45
- package/dist/loader/validation-passes.js.map +1 -1
- package/dist/naming-refs.d.ts.map +1 -1
- package/dist/naming-refs.js +2 -3
- package/dist/naming-refs.js.map +1 -1
- package/dist/parser-core.d.ts.map +1 -1
- package/dist/parser-core.js +22 -5
- package/dist/parser-core.js.map +1 -1
- package/dist/persistence/origin/meta-origin.d.ts +0 -10
- package/dist/persistence/origin/meta-origin.d.ts.map +1 -1
- package/dist/persistence/origin/meta-origin.js +1 -15
- package/dist/persistence/origin/meta-origin.js.map +1 -1
- package/dist/persistence/origin/origin-constants.d.ts +2 -4
- package/dist/persistence/origin/origin-constants.d.ts.map +1 -1
- package/dist/persistence/origin/origin-constants.js +9 -7
- package/dist/persistence/origin/origin-constants.js.map +1 -1
- package/dist/persistence/origin/origin-definition.embedded.d.ts.map +1 -1
- package/dist/persistence/origin/origin-definition.embedded.js +5 -21
- package/dist/persistence/origin/origin-definition.embedded.js.map +1 -1
- package/dist/registry-manifest.d.ts +9 -4
- package/dist/registry-manifest.d.ts.map +1 -1
- package/dist/registry-manifest.js +9 -4
- package/dist/registry-manifest.js.map +1 -1
- package/dist/retired-vocabulary.d.ts +92 -0
- package/dist/retired-vocabulary.d.ts.map +1 -0
- package/dist/retired-vocabulary.js +204 -0
- package/dist/retired-vocabulary.js.map +1 -0
- package/dist/super-resolve.d.ts +33 -0
- package/dist/super-resolve.d.ts.map +1 -1
- package/dist/super-resolve.js +56 -1
- package/dist/super-resolve.js.map +1 -1
- package/dist/template/prompt-definition.embedded.js +1 -1
- package/dist/template/prompt-definition.embedded.js.map +1 -1
- package/dist/template/template-constants.d.ts +6 -0
- package/dist/template/template-constants.d.ts.map +1 -1
- package/dist/template/template-constants.js +24 -1
- package/dist/template/template-constants.js.map +1 -1
- package/dist/template/template-definition.embedded.d.ts.map +1 -1
- package/dist/template/template-definition.embedded.js +34 -21
- package/dist/template/template-definition.embedded.js.map +1 -1
- package/dist/vocabulary-rewrite.d.ts +33 -0
- package/dist/vocabulary-rewrite.d.ts.map +1 -0
- package/dist/vocabulary-rewrite.js +314 -0
- package/dist/vocabulary-rewrite.js.map +1 -0
- package/package.json +11 -1
- package/src/attr-schema-validate.ts +17 -2
- package/src/core/field/field-constants.ts +24 -5
- package/src/core/field/field-definition.embedded.ts +8 -3
- package/src/core/field/validate-field-mutability.ts +259 -0
- package/src/core/identity/identity-constants.ts +16 -0
- package/src/core/identity/identity-definition.embedded.ts +2 -2
- package/src/core/index/index-definition.embedded.ts +2 -2
- package/src/core/object/object-definition.embedded.ts +2 -2
- package/src/core/requirement/meta-requirement.ts +1 -7
- package/src/core/requirement/requirement-constants.ts +2 -9
- package/src/core/requirement/requirement-definition.embedded.ts +8 -46
- package/src/core/requirement/resolve-claim.ts +98 -0
- package/src/core/vocabulary-rewrite-yaml.ts +267 -0
- package/src/core-types.ts +9 -10
- package/src/errors.ts +37 -4
- package/src/index.ts +29 -1
- package/src/library/library-sources.ts +14 -0
- package/src/loader/meta-data-loader.ts +15 -10
- package/src/loader/validation-passes.ts +323 -50
- package/src/naming-refs.ts +1 -3
- package/src/parser-core.ts +27 -5
- package/src/persistence/origin/meta-origin.ts +0 -16
- package/src/persistence/origin/origin-constants.ts +9 -8
- package/src/persistence/origin/origin-definition.embedded.ts +5 -21
- package/src/registry-manifest.ts +9 -4
- package/src/retired-vocabulary.ts +280 -0
- package/src/super-resolve.ts +59 -1
- package/src/template/prompt-definition.embedded.ts +1 -1
- package/src/template/template-constants.ts +27 -1
- package/src/template/template-definition.embedded.ts +34 -21
- package/src/vocabulary-rewrite.ts +350 -0
- package/dist/core/field/validate-field-readonly.d.ts +0 -9
- package/dist/core/field/validate-field-readonly.d.ts.map +0 -1
- package/dist/core/field/validate-field-readonly.js +0 -128
- package/dist/core/field/validate-field-readonly.js.map +0 -1
- package/src/core/field/validate-field-readonly.ts +0 -154
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
//
|
|
8
8
|
// Extends MetaData directly: no model wrapper, no metaOf() indirection.
|
|
9
9
|
import { MetaData } from "../../shared/meta-data.js";
|
|
10
|
-
import { ORIGIN_PASSTHROUGH_ATTR_FROM, ORIGIN_PASSTHROUGH_ATTR_VIA, ORIGIN_AGGREGATE_ATTR_AGG, ORIGIN_AGGREGATE_ATTR_OF, ORIGIN_AGGREGATE_ATTR_VIA,
|
|
10
|
+
import { ORIGIN_PASSTHROUGH_ATTR_FROM, ORIGIN_PASSTHROUGH_ATTR_VIA, ORIGIN_AGGREGATE_ATTR_AGG, ORIGIN_AGGREGATE_ATTR_OF, ORIGIN_AGGREGATE_ATTR_VIA, ORIGIN_COMPUTED_ATTR_EXPR, ORIGIN_FIRST_ATTR_OF, ORIGIN_FIRST_ATTR_VIA, ORIGIN_ATTR_ORDER_BY, } from "./origin-constants.js";
|
|
11
11
|
export class MetaOrigin extends MetaData {
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
@@ -57,20 +57,6 @@ export class MetaAggregateOrigin extends MetaOrigin {
|
|
|
57
57
|
return typeof v === "string" ? v : undefined;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
/**
|
|
61
|
-
* Collection origin — the (array) field's value is a relationship-derived
|
|
62
|
-
* array of nested view-objects (FR-004 R4). Carries `@via` (required): the
|
|
63
|
-
* dotted relationship path the collection walks (e.g. "Author.posts"), or a
|
|
64
|
-
* wildcard-prefixed selector for a package-spanning collection (e.g. "*.User").
|
|
65
|
-
*/
|
|
66
|
-
export class MetaCollectionOrigin extends MetaOrigin {
|
|
67
|
-
/** The dotted relationship path (or wildcard selector) this collection is sourced from. */
|
|
68
|
-
get via() {
|
|
69
|
-
// ADR-0039: own — origin.* never inherits (ADR-0029), so own is correct.
|
|
70
|
-
const v = this.ownAttr(ORIGIN_COLLECTION_ATTR_VIA);
|
|
71
|
-
return typeof v === "string" ? v : undefined;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
60
|
/**
|
|
75
61
|
* Computed origin (#195) — a row-level value computed from the base entity's own
|
|
76
62
|
* fields via a structured expression tree (`@expr`). No related rows, no `@via`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-origin.js","sourceRoot":"","sources":["../../../src/persistence/origin/meta-origin.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,sCAAsC;AACtC,gFAAgF;AAChF,EAAE;AACF,+EAA+E;AAC/E,0CAA0C;AAC1C,EAAE;AACF,wEAAwE;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,EACzB,wBAAwB,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,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/C,CAAC;IAED,uEAAuE;IACvE,IAAI,OAAO;QACT,yEAAyE;QACzE,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC7C,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAc,CAAC,CAAC,CAAC,SAAS,CAAC;IACxD,CAAC;CACF"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
export declare const ORIGIN_SUBTYPE_PASSTHROUGH = "passthrough";
|
|
2
2
|
export declare const ORIGIN_SUBTYPE_AGGREGATE = "aggregate";
|
|
3
|
-
export declare const ORIGIN_SUBTYPE_COLLECTION = "collection";
|
|
4
3
|
export declare const ORIGIN_SUBTYPE_COMPUTED = "computed";
|
|
5
4
|
export declare const ORIGIN_SUBTYPE_FIRST = "first";
|
|
6
|
-
export declare const ORIGIN_SUBTYPES: readonly ["base", "passthrough", "aggregate", "
|
|
5
|
+
export declare const ORIGIN_SUBTYPES: readonly ["base", "passthrough", "aggregate", "computed", "first"];
|
|
7
6
|
export type OriginSubType = (typeof ORIGIN_SUBTYPES)[number];
|
|
8
|
-
export declare const ASSEMBLY_ORIGIN_SUBTYPES: readonly ["aggregate", "computed", "
|
|
7
|
+
export declare const ASSEMBLY_ORIGIN_SUBTYPES: readonly ["aggregate", "computed", "first"];
|
|
9
8
|
export declare const ORIGIN_PASSTHROUGH_ATTR_FROM = "from";
|
|
10
9
|
export declare const ORIGIN_PASSTHROUGH_ATTR_VIA = "via";
|
|
11
10
|
export declare const ORIGIN_PASSTHROUGH_ATTR_CONVERT = "convert";
|
|
12
|
-
export declare const ORIGIN_COLLECTION_ATTR_VIA = "via";
|
|
13
11
|
export declare const ORIGIN_AGGREGATE_ATTR_AGG = "agg";
|
|
14
12
|
export declare const ORIGIN_AGGREGATE_ATTR_OF = "of";
|
|
15
13
|
export declare const ORIGIN_AGGREGATE_ATTR_VIA = "via";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"origin-constants.d.ts","sourceRoot":"","sources":["../../../src/persistence/origin/origin-constants.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AACxD,eAAO,MAAM,wBAAwB,cAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"origin-constants.d.ts","sourceRoot":"","sources":["../../../src/persistence/origin/origin-constants.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AACxD,eAAO,MAAM,wBAAwB,cAAgB,CAAC;AAatD,eAAO,MAAM,uBAAuB,aAAgB,CAAC;AACrD,eAAO,MAAM,oBAAoB,UAAgB,CAAC;AAElD,eAAO,MAAM,eAAe,oEAMlB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAO7D,eAAO,MAAM,wBAAwB,6CAI3B,CAAC;AAGX,eAAO,MAAM,4BAA4B,SAAS,CAAC;AACnD,eAAO,MAAM,2BAA2B,QAAS,CAAC;AAIlD,eAAO,MAAM,+BAA+B,YAAY,CAAC;AAGzD,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAC/C,eAAO,MAAM,wBAAwB,OAAQ,CAAC;AAC9C,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAM/C,eAAO,MAAM,4BAA4B,WAAW,CAAC;AAIrD,eAAO,MAAM,oBAAoB,aAAc,CAAC;AAChD,eAAO,MAAM,oBAAoB,YAAa,CAAC;AAG/C,eAAO,MAAM,yBAAyB,SAAS,CAAC;AAIhD,eAAO,MAAM,oBAAoB,OAAW,CAAC;AAC7C,eAAO,MAAM,qBAAqB,QAAW,CAAC;AAC9C,eAAO,MAAM,wBAAwB,WAAW,CAAC;AASjD,eAAO,MAAM,mBAAmB,gDAAiD,CAAC;AAClF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAGrE,eAAO,MAAM,OAAO,QAAY,CAAC;AACjC,eAAO,MAAM,OAAO,QAAY,CAAC;AACjC,eAAO,MAAM,WAAW,YAAY,CAAC;AAErC,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB,yEAKpB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -10,7 +10,15 @@ import { SUBTYPE_BASE } from "../../shared/base-types.js";
|
|
|
10
10
|
// ---------------------------------------------------------------------------
|
|
11
11
|
export const ORIGIN_SUBTYPE_PASSTHROUGH = "passthrough";
|
|
12
12
|
export const ORIGIN_SUBTYPE_AGGREGATE = "aggregate";
|
|
13
|
-
|
|
13
|
+
// FR-037 R2 — `collection` is RESERVED, NOT REGISTERED. It duplicated
|
|
14
|
+
// `origin.aggregate @agg: collect` on a strictly smaller attr set (@via only —
|
|
15
|
+
// no @filter, no @orderBy, no @distinct), and nothing dispatched on it: its last
|
|
16
|
+
// real consumer, the payload-VO typing edge, was deleted in 0.20.16 (#270) for
|
|
17
|
+
// being actively wrong. Re-entry bar (ADR-0007 Amendment 2): a member enters the
|
|
18
|
+
// registry only when a shipping consumer dispatches on it. The designated
|
|
19
|
+
// re-entry shape is `@agg: collect` with `@of` made OPTIONAL (absent = whole-
|
|
20
|
+
// object rollup, typed by the field's declared @objectRef + isArray), NOT a
|
|
21
|
+
// restored subtype.
|
|
14
22
|
// #195 — computed: a row-level value from the base entity's own fields via a
|
|
15
23
|
// structured @expr tree (no related rows). first: the single related row picked
|
|
16
24
|
// by @orderBy along @via, projecting @of (argmax-then-project).
|
|
@@ -20,7 +28,6 @@ export const ORIGIN_SUBTYPES = [
|
|
|
20
28
|
SUBTYPE_BASE,
|
|
21
29
|
ORIGIN_SUBTYPE_PASSTHROUGH,
|
|
22
30
|
ORIGIN_SUBTYPE_AGGREGATE,
|
|
23
|
-
ORIGIN_SUBTYPE_COLLECTION,
|
|
24
31
|
ORIGIN_SUBTYPE_COMPUTED,
|
|
25
32
|
ORIGIN_SUBTYPE_FIRST,
|
|
26
33
|
];
|
|
@@ -32,7 +39,6 @@ export const ORIGIN_SUBTYPES = [
|
|
|
32
39
|
export const ASSEMBLY_ORIGIN_SUBTYPES = [
|
|
33
40
|
ORIGIN_SUBTYPE_AGGREGATE,
|
|
34
41
|
ORIGIN_SUBTYPE_COMPUTED,
|
|
35
|
-
ORIGIN_SUBTYPE_COLLECTION,
|
|
36
42
|
ORIGIN_SUBTYPE_FIRST,
|
|
37
43
|
];
|
|
38
44
|
// passthrough attrs
|
|
@@ -42,10 +48,6 @@ export const ORIGIN_PASSTHROUGH_ATTR_VIA = "via";
|
|
|
42
48
|
// (#185). Suppresses ERR_PASSTHROUGH_TYPE_MISMATCH. Acknowledgement only — it
|
|
43
49
|
// does NOT generate a cast; real type-converting projections are origin.computed (#195/#159).
|
|
44
50
|
export const ORIGIN_PASSTHROUGH_ATTR_CONVERT = "convert";
|
|
45
|
-
// collection attrs — a relationship-derived array of nested view-objects
|
|
46
|
-
// (FR-004 R4). @via is the dotted relationship path (optionally wildcard-
|
|
47
|
-
// prefixed, e.g. "*.User", for a package-spanning collection).
|
|
48
|
-
export const ORIGIN_COLLECTION_ATTR_VIA = "via";
|
|
49
51
|
// aggregate attrs
|
|
50
52
|
export const ORIGIN_AGGREGATE_ATTR_AGG = "agg";
|
|
51
53
|
export const ORIGIN_AGGREGATE_ATTR_OF = "of";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"origin-constants.js","sourceRoot":"","sources":["../../../src/persistence/origin/origin-constants.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,8EAA8E;AAC9E,oDAAoD;AACpD,EAAE;AACF,4EAA4E;AAC5E,6DAA6D;AAC7D,+DAA+D;AAC/D,EAAE;AACF,8EAA8E;AAE9E,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAK,WAAW,CAAC;AACtD,
|
|
1
|
+
{"version":3,"file":"origin-constants.js","sourceRoot":"","sources":["../../../src/persistence/origin/origin-constants.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,8EAA8E;AAC9E,oDAAoD;AACpD,EAAE;AACF,4EAA4E;AAC5E,6DAA6D;AAC7D,+DAA+D;AAC/D,EAAE;AACF,8EAA8E;AAE9E,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAK,WAAW,CAAC;AACtD,sEAAsE;AACtE,+EAA+E;AAC/E,iFAAiF;AACjF,+EAA+E;AAC/E,iFAAiF;AACjF,0EAA0E;AAC1E,8EAA8E;AAC9E,4EAA4E;AAC5E,oBAAoB;AACpB,6EAA6E;AAC7E,gFAAgF;AAChF,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAM,UAAU,CAAC;AACrD,MAAM,CAAC,MAAM,oBAAoB,GAAS,OAAO,CAAC;AAElD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,YAAY;IACZ,0BAA0B;IAC1B,wBAAwB;IACxB,uBAAuB;IACvB,oBAAoB;CACZ,CAAC;AAGX,6EAA6E;AAC7E,4EAA4E;AAC5E,wDAAwD;AACxD,6EAA6E;AAC7E,yEAAyE;AACzE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,wBAAwB;IACxB,uBAAuB;IACvB,oBAAoB;CACZ,CAAC;AAEX,oBAAoB;AACpB,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC;AACnD,MAAM,CAAC,MAAM,2BAA2B,GAAI,KAAK,CAAC;AAClD,gFAAgF;AAChF,8EAA8E;AAC9E,8FAA8F;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;CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"origin-definition.embedded.d.ts","sourceRoot":"","sources":["../../../src/persistence/origin/origin-definition.embedded.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,eAAO,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"origin-definition.embedded.d.ts","sourceRoot":"","sources":["../../../src/persistence/origin/origin-definition.embedded.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,eAAO,MAAM,iBAAiB,EAAE,kBAuK/B,CAAC"}
|
|
@@ -41,9 +41,9 @@ export const ORIGIN_DEFINITION = {
|
|
|
41
41
|
{
|
|
42
42
|
"type": "origin",
|
|
43
43
|
"subType": "aggregate",
|
|
44
|
-
"description": "A value reduced from the related row-set reached along a relationship path (@via) from the base entity: count/sum/avg/min/max over a column (@of); any/all predicate quantifiers over a @filter; or collect (an array rollup of @of).",
|
|
44
|
+
"description": "A value reduced from the related row-set reached along a relationship path (@via) from the base entity: count/sum/avg/min/max over a column (@of); any/all predicate quantifiers over a @filter; or collect (an array rollup — of the @of column, or of the carrying field.object's declared @objectRef value object when @of is omitted).",
|
|
45
45
|
"whenToUse": "A projection needs a value derived by reducing related rows — a count/sum/avg/min/max, a 'did any/every related row match' flag, or an array of collected values. Declare it instead of hand-writing the aggregate query — it stays consistent and regenerates.",
|
|
46
|
-
"rules": "@via may be omitted only when exactly one single-hop relationship leads from the base entity to the @of entity (single-hop-unique inference; FR-024, ADR-0029). Multi-hop paths must always be stated explicitly. @of is required for count/sum/avg/min/max
|
|
46
|
+
"rules": "@via may be omitted only when exactly one single-hop relationship leads from the base entity to the @of entity (single-hop-unique inference; FR-024, ADR-0029). Multi-hop paths must always be stated explicitly. @of is required for count/sum/avg/min/max and forbidden for any/all (which quantify over rows via @filter, not a column). @filter is required for any/all. The field must be isArray:true for collect and isArray:false for every other @agg. @distinct and @orderBy are collect-only. On @agg:collect @of is OPTIONAL: omitting it declares a WHOLE-OBJECT rollup, which collects each related row as the carrying field's declared @objectRef value object instead of one scalar column. A whole-object rollup requires a field.object carrying @objectRef, requires that @objectRef to name an object.value, requires an explicit @via (there is no @of entity to infer the path from), and refuses @distinct. Its @orderBy keys resolve against the @via TERMINAL entity, not the head or a middle hop. Its value-object members bind to the terminal entity's fields BY NAME — member name == terminal field name, deliberately NOT extends, so one value object stays collectable from two different entities — and every member must match a terminal field agreeing on BOTH field.<subType> and array-ness.",
|
|
47
47
|
"children": [
|
|
48
48
|
{
|
|
49
49
|
"type": "attr",
|
|
@@ -61,7 +61,7 @@ export const ORIGIN_DEFINITION = {
|
|
|
61
61
|
"all",
|
|
62
62
|
"collect"
|
|
63
63
|
],
|
|
64
|
-
"description": "The reducing function applied over the related row-set: count/sum/avg/min/max (numeric/ordinal reduces over @of); any/all (predicate quantifiers over @filter — @of forbidden; empty set → any=false, all=true); collect (array rollup of @of
|
|
64
|
+
"description": "The reducing function applied over the related row-set: count/sum/avg/min/max (numeric/ordinal reduces over @of); any/all (predicate quantifiers over @filter — @of forbidden; empty set → any=false, all=true); collect (array rollup — of the @of column, or of the carrying field.object's declared @objectRef value object when @of is omitted; the field must be isArray)."
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"type": "attr",
|
|
@@ -69,7 +69,7 @@ export const ORIGIN_DEFINITION = {
|
|
|
69
69
|
"name": "of",
|
|
70
70
|
"min": 0,
|
|
71
71
|
"max": 1,
|
|
72
|
-
"description": "Dotted Entity.field reference identifying the column being aggregated (e.g. 'Week.durationMinutes'). Required for count/sum/avg/min/max
|
|
72
|
+
"description": "Dotted Entity.field reference identifying the column being aggregated (e.g. 'Week.durationMinutes'). Required for count/sum/avg/min/max; OPTIONAL for collect, where absent means a whole-object rollup of the field's declared @objectRef value object; forbidden for any/all (which quantify over rows via @filter, not a column)."
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"type": "attr",
|
|
@@ -93,7 +93,7 @@ export const ORIGIN_DEFINITION = {
|
|
|
93
93
|
"name": "distinct",
|
|
94
94
|
"min": 0,
|
|
95
95
|
"max": 1,
|
|
96
|
-
"description": "Set (collect-only) to dedupe collected values (set semantics)."
|
|
96
|
+
"description": "Set (collect-only) to dedupe collected values (set semantics). Not supported on a whole-object collect (@of omitted): it is a guaranteed no-op whenever the value object carries the primary key, and a silent no-op is worse than a refusal."
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"type": "attr",
|
|
@@ -106,22 +106,6 @@ export const ORIGIN_DEFINITION = {
|
|
|
106
106
|
}
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
|
-
{
|
|
110
|
-
"type": "origin",
|
|
111
|
-
"subType": "collection",
|
|
112
|
-
"description": "A relationship-derived array of nested view-objects: walks @via to produce the collection (e.g. 'Author.posts'), or a wildcard selector for a package-spanning collection.",
|
|
113
|
-
"whenToUse": "A projection needs an array of nested child view-objects (a parent with its children inline). Declare it instead of hand-assembling the nested query + mapping.",
|
|
114
|
-
"children": [
|
|
115
|
-
{
|
|
116
|
-
"type": "attr",
|
|
117
|
-
"subType": "string",
|
|
118
|
-
"name": "via",
|
|
119
|
-
"min": 1,
|
|
120
|
-
"max": 1,
|
|
121
|
-
"description": "Dotted relationship path the collection walks to produce an array of nested view-objects (e.g. 'Author.posts'), or a wildcard selector for a package-spanning collection (e.g. '*.User')."
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
109
|
{
|
|
126
110
|
"type": "origin",
|
|
127
111
|
"subType": "computed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"origin-definition.embedded.js","sourceRoot":"","sources":["../../../src/persistence/origin/origin-definition.embedded.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,iBAAiB,GAAuB;IACnD,UAAU,EAAE,wBAAwB;IACpC,OAAO,EAAE;QACP;YACE,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,MAAM;YACjB,aAAa,EAAE,wOAAwO;SACxP;QACD;YACE,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,aAAa;YACxB,aAAa,EAAE,mKAAmK;YAClL,WAAW,EAAE,yJAAyJ;YACtK,UAAU,EAAE;gBACV;oBACE,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,QAAQ;oBACnB,MAAM,EAAE,MAAM;oBACd,KAAK,EAAE,CAAC;oBACR,KAAK,EAAE,CAAC;oBACR,aAAa,EAAE,yHAAyH;iBACzI;gBACD;oBACE,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,QAAQ;oBACnB,MAAM,EAAE,KAAK;oBACb,KAAK,EAAE,CAAC;oBACR,KAAK,EAAE,CAAC;oBACR,aAAa,EAAE,2FAA2F;iBAC3G;gBACD;oBACE,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,SAAS;oBACpB,MAAM,EAAE,SAAS;oBACjB,KAAK,EAAE,CAAC;oBACR,KAAK,EAAE,CAAC;oBACR,aAAa,EAAE,geAAge;iBAChf;aACF;SACF;QACD;YACE,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"origin-definition.embedded.js","sourceRoot":"","sources":["../../../src/persistence/origin/origin-definition.embedded.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,iBAAiB,GAAuB;IACnD,UAAU,EAAE,wBAAwB;IACpC,OAAO,EAAE;QACP;YACE,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,MAAM;YACjB,aAAa,EAAE,wOAAwO;SACxP;QACD;YACE,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,aAAa;YACxB,aAAa,EAAE,mKAAmK;YAClL,WAAW,EAAE,yJAAyJ;YACtK,UAAU,EAAE;gBACV;oBACE,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,QAAQ;oBACnB,MAAM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AC;oBACR,aAAa,EAAE,0NAA0N;iBAC1O;gBACD;oBACE,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,QAAQ;oBACnB,MAAM,EAAE,SAAS;oBACjB,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC;oBACR,KAAK,EAAE,CAAC;oBACR,aAAa,EAAE,kQAAkQ;iBAClR;gBACD;oBACE,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,QAAQ;oBACnB,MAAM,EAAE,QAAQ;oBAChB,KAAK,EAAE,CAAC;oBACR,KAAK,EAAE,CAAC;oBACR,aAAa,EAAE,kNAAkN;iBAClO;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -64,11 +64,16 @@ interface ManifestType {
|
|
|
64
64
|
* manifest (the byte-exact bill of materials), NOT a per-provider or per-file marker:
|
|
65
65
|
* every port emits the same string, asserted by registry-conformance. Pre-1.0 the
|
|
66
66
|
* vocabulary is still `0.x` (semver = unstable, may change) but largely settled going
|
|
67
|
-
* into the quiet period
|
|
68
|
-
*
|
|
69
|
-
*
|
|
67
|
+
* into the quiet period; the 1.0 cut (readiness G1) freezes it to `"1.0"`. Decoupled
|
|
68
|
+
* from every package line — it is the spec version, not a package version.
|
|
69
|
+
*
|
|
70
|
+
* The current value is the declaration below and nothing else. Do not restate it in
|
|
71
|
+
* prose: `scripts/check-metamodel-version.mjs --set` rewrites the declaration, so any
|
|
72
|
+
* copy in a comment goes stale on the very next bump (it said `"0.9"` here while the
|
|
73
|
+
* constant read `"0.10"`). Bump with that script — never by hand — so the manifest and
|
|
74
|
+
* all four port constants move together.
|
|
70
75
|
*/
|
|
71
|
-
export declare const METAMODEL_VERSION = "0.
|
|
76
|
+
export declare const METAMODEL_VERSION = "0.12";
|
|
72
77
|
/** The full canonical manifest. All collections are sorted for byte-stability. */
|
|
73
78
|
interface RegistryManifest {
|
|
74
79
|
/** The Metamodel spec version (first key — a header). See {@link METAMODEL_VERSION}. */
|
|
@@ -1 +1 @@
|
|
|
1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
|
|
34
34
|
* manifest (the byte-exact bill of materials), NOT a per-provider or per-file marker:
|
|
35
35
|
* every port emits the same string, asserted by registry-conformance. Pre-1.0 the
|
|
36
36
|
* vocabulary is still `0.x` (semver = unstable, may change) but largely settled going
|
|
37
|
-
* into the quiet period
|
|
38
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* into the quiet period; the 1.0 cut (readiness G1) freezes it to `"1.0"`. Decoupled
|
|
38
|
+
* from every package line — it is the spec version, not a package version.
|
|
39
|
+
*
|
|
40
|
+
* The current value is the declaration below and nothing else. Do not restate it in
|
|
41
|
+
* prose: `scripts/check-metamodel-version.mjs --set` rewrites the declaration, so any
|
|
42
|
+
* copy in a comment goes stale on the very next bump (it said `"0.9"` here while the
|
|
43
|
+
* constant read `"0.10"`). Bump with that script — never by hand — so the manifest and
|
|
44
|
+
* all four port constants move together.
|
|
40
45
|
*/
|
|
41
|
-
export const METAMODEL_VERSION = "0.
|
|
46
|
+
export const METAMODEL_VERSION = "0.12";
|
|
42
47
|
/** ASCII-string compare so the sort is locale-independent and byte-stable across ports. */
|
|
43
48
|
function compareStrings(a, b) {
|
|
44
49
|
return a < b ? -1 : a > b ? 1 : 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-manifest.js","sourceRoot":"","sources":["../src/registry-manifest.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,uEAAuE;AACvE,4EAA4E;AAC5E,iFAAiF;AACjF,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,wEAAwE;AACxE,gFAAgF;AAChF,8EAA8E;AAC9E,6EAA6E;AAC7E,iFAAiF;AACjF,iFAAiF;AACjF,kFAAkF;AAClF,2EAA2E;AAC3E,iDAAiD;AACjD,EAAE;AACF,+EAA+E;AAC/E,kFAAkF;AAClF,+EAA+E;AAC/E,2EAA2E;AAC3E,6EAA6E;AAC7E,4EAA4E;A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ACb,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CACnE,CAAC;IAEJ,MAAM,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC,CAAC;IAE3D,6EAA6E;IAC7E,2EAA2E;IAC3E,qEAAqE;IACrE,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAClE,cAAc,CACf,CAAC;IACF,MAAM,eAAe,GAA2B,EAAE,CAAC;IACnD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,UAAU,GAAG,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QACvD,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC7B,eAAe,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC;QACzC,CAAC;IACH,CAAC;IAED,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AACtF,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,UAAU,oBAAoB,CAAC,QAAsB;IACzD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACjD,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;AAClD,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/** What a reader needs at the moment their load fails. */
|
|
2
|
+
export interface RetirementNote {
|
|
3
|
+
/** The release that retired it. */
|
|
4
|
+
readonly since: string;
|
|
5
|
+
/** One line: what it was, and why it went. */
|
|
6
|
+
readonly why: string;
|
|
7
|
+
/** The vocabulary that replaced it, when something did. */
|
|
8
|
+
readonly replacedBy?: string;
|
|
9
|
+
/** Repo-relative migration guide. */
|
|
10
|
+
readonly migration?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The mechanical fix, when one exists.
|
|
14
|
+
*
|
|
15
|
+
* ABSENT MEANS JUDGMENT — `@status: abandoned` can be resolved by deleting the node, by
|
|
16
|
+
* retyping it, or by fixing the residue it describes, and only a human knows which. A tool
|
|
17
|
+
* that guessed would emit metadata that LOADS and means something different, which is worse
|
|
18
|
+
* than refusing: the adopter would believe the migration finished.
|
|
19
|
+
*/
|
|
20
|
+
export type VocabularyRewrite =
|
|
21
|
+
/** The attribute name changed; the value is untouched. */
|
|
22
|
+
{
|
|
23
|
+
readonly kind: "renameAttr";
|
|
24
|
+
readonly to: string;
|
|
25
|
+
}
|
|
26
|
+
/** The attribute went away with no replacement — drop it. */
|
|
27
|
+
| {
|
|
28
|
+
readonly kind: "dropAttr";
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Both the name and the value changed (`@readOnly: true` → `@mutability: "readOnly"`).
|
|
32
|
+
*
|
|
33
|
+
* `otherwise` is REQUIRED, and that is the point. The attribute is retired for EVERY
|
|
34
|
+
* value it could hold, so an entry that names only the value it can rewrite has said
|
|
35
|
+
* nothing about the rest — and the rewriter's only honest options are to drop them or to
|
|
36
|
+
* refuse them. Leaving it implicit is how `@readOnly: false` came to be silently skipped:
|
|
37
|
+
* the entry's prose said "treated as a drop", the code fell through to `continue`, and
|
|
38
|
+
* `meta upgrade` exited 0 on a file that still would not load.
|
|
39
|
+
*/
|
|
40
|
+
| {
|
|
41
|
+
readonly kind: "renameAttrValue";
|
|
42
|
+
readonly toAttr: string;
|
|
43
|
+
readonly fromValue: unknown;
|
|
44
|
+
readonly toValue: unknown;
|
|
45
|
+
/** What happens to every value other than `fromValue`. */
|
|
46
|
+
readonly otherwise: "drop" | "refuse";
|
|
47
|
+
};
|
|
48
|
+
/** One retirement. `subType: "*"` means every subtype of `type`. */
|
|
49
|
+
export interface RetiredEntry extends RetirementNote {
|
|
50
|
+
readonly type: string;
|
|
51
|
+
/** `*` for every subtype of `type`, else the exact subtype. */
|
|
52
|
+
readonly subType: string;
|
|
53
|
+
/** Retired ATTRIBUTE name (no `@`), when the attribute itself went. */
|
|
54
|
+
readonly attr?: string;
|
|
55
|
+
/** Retired VALUES of a surviving attribute, when only some members went. */
|
|
56
|
+
readonly attrValues?: readonly string[];
|
|
57
|
+
/** Set when the SUBTYPE itself was retired (`attr`/`attrValues` absent). */
|
|
58
|
+
readonly isSubTypeRetirement?: boolean;
|
|
59
|
+
/** How `meta upgrade` fixes it. Absent ⇒ the human decides; the tool refuses and
|
|
60
|
+
* prints `migration`. */
|
|
61
|
+
readonly rewrite?: VocabularyRewrite;
|
|
62
|
+
}
|
|
63
|
+
export declare const RETIRED_VOCABULARY: readonly RetiredEntry[];
|
|
64
|
+
/**
|
|
65
|
+
* True when `entry` governs `typeKey` (`"<type>.<subType>"`).
|
|
66
|
+
*
|
|
67
|
+
* Exported because the rewriter scopes every occurrence with the SAME rule. It used to
|
|
68
|
+
* carry its own copy, and a scoping rule that lives in two files is one that will be fixed
|
|
69
|
+
* in one of them.
|
|
70
|
+
*/
|
|
71
|
+
export declare function scopeMatches(entry: RetiredEntry, typeKey: string): boolean;
|
|
72
|
+
/** The reader-facing half of an entry, without the matching machinery. */
|
|
73
|
+
export declare function note(entry: RetiredEntry): RetirementNote;
|
|
74
|
+
/**
|
|
75
|
+
* The attribute NAME itself was retired for this type. Returns undefined for an attr whose
|
|
76
|
+
* name is unknown here — a typo must keep reporting as a typo.
|
|
77
|
+
*
|
|
78
|
+
* An entry carrying `attrValues` is a VALUE retirement on a surviving attribute, so it is
|
|
79
|
+
* deliberately not matched here: `@status` is still perfectly good vocabulary.
|
|
80
|
+
*/
|
|
81
|
+
export declare function retiredAttr(typeKey: string, attrName: string): RetirementNote | undefined;
|
|
82
|
+
/** A specific VALUE of a surviving attribute was retired. */
|
|
83
|
+
export declare function retiredAttrValue(typeKey: string, attrName: string, value: unknown): RetirementNote | undefined;
|
|
84
|
+
/** The SUBTYPE itself was retired (`origin.collection`). */
|
|
85
|
+
export declare function retiredSubType(type: string, subType: string): RetirementNote | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* The sentence appended to a failing diagnostic. Kept here rather than at each call site so
|
|
88
|
+
* all three failure sites word a retirement identically — an adopter who has seen one
|
|
89
|
+
* recognises the next.
|
|
90
|
+
*/
|
|
91
|
+
export declare function retirementHint(n: RetirementNote): string;
|
|
92
|
+
//# sourceMappingURL=retired-vocabulary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retired-vocabulary.d.ts","sourceRoot":"","sources":["../src/retired-vocabulary.ts"],"names":[],"mappings":"AAgCA,0DAA0D;AAC1D,MAAM,WAAW,cAAc;IAC7B,mCAAmC;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,8CAA8C;IAC9C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,qCAAqC;IACrC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB;AAC3B,0DAA0D;AACxD;IAAE,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;CAAE;AACtD,6DAA6D;GAC3D;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE;AAC/B;;;;;;;;;GASG;GACD;IACE,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,OA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,EAAE,cAAc,GAAG,MAAM,CASxD"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// server/typescript/packages/metadata/src/retired-vocabulary.ts
|
|
2
|
+
//
|
|
3
|
+
// Vocabulary this project USED to register, and what to do instead.
|
|
4
|
+
//
|
|
5
|
+
// WHY THIS EXISTS (#337). Under ADR-0023 the registry is strict and sealed, so retired
|
|
6
|
+
// vocabulary fails the load — correctly. But the message it failed with said the attribute
|
|
7
|
+
// was "not declared by any registered provider", which tells an author their metadata is
|
|
8
|
+
// malformed when the truth is that the vocabulary was retired ON PURPOSE, in a named
|
|
9
|
+
// release, with a written migration. An adopter read that error, concluded the tool had a
|
|
10
|
+
// registration bug, filed it as one, and argued against a decision whose reasoning they had
|
|
11
|
+
// never seen — because nothing in the error pointed at it. The migration guide answered
|
|
12
|
+
// their objection precisely. They never found it.
|
|
13
|
+
//
|
|
14
|
+
// THIS CHANGES NO LOAD OUTCOME. Retired vocabulary still fails, with the same error code,
|
|
15
|
+
// at the same site. Only the message gains a sentence. That is deliberate: making any of
|
|
16
|
+
// these load again would undo an adjudicated breaking change, and a "helpful" shim is how a
|
|
17
|
+
// retirement quietly stops being one.
|
|
18
|
+
//
|
|
19
|
+
// SCOPE IS BY TYPE, NEVER BY BARE NAME. `@unique` is retired on `identity.secondary` and
|
|
20
|
+
// perfectly live on a field; a name-only match would brand a valid declaration as retired,
|
|
21
|
+
// which is worse than the generic message it replaces. Every entry names the type it
|
|
22
|
+
// applies to, and `*` means "every subtype of this type" — never "every type".
|
|
23
|
+
//
|
|
24
|
+
// A GENUINE TYPO MUST STAY GENERIC. This map is consulted only after the normal check has
|
|
25
|
+
// already decided to fail, and it returns undefined for anything it does not recognise, so
|
|
26
|
+
// `@maxLenght` still reports as an unknown attribute. The map speaks only where it KNOWS.
|
|
27
|
+
//
|
|
28
|
+
// CROSS-PORT: this is a DIAGNOSTIC, not registered vocabulary — it affects no registry
|
|
29
|
+
// manifest and no load outcome, so it carries no registry-conformance obligation. The other
|
|
30
|
+
// four ports fail identically today, just with the generic message; mirroring this map is a
|
|
31
|
+
// per-port ergonomics follow-up, not a conformance gap.
|
|
32
|
+
const REQUIREMENT_MIGRATION = "docs/features/migrations/verified-by-retirement.md";
|
|
33
|
+
export const RETIRED_VOCABULARY = [
|
|
34
|
+
// ── 0.24.0: `@violation` is renamed `@counterexample` ──
|
|
35
|
+
//
|
|
36
|
+
// Pure rename — no semantics change. The field always held a static falsifiability test
|
|
37
|
+
// ("what would contradict this"), authored once, never a state. `@violation` READ as a
|
|
38
|
+
// status, and did so to the person who approved the vocabulary, who asked whether it
|
|
39
|
+
// meant "we know this requirement is currently violated". A name that misleads its own
|
|
40
|
+
// owner has earned replacing.
|
|
41
|
+
//
|
|
42
|
+
// Fully mechanical, which is the point: adopters migrate with `meta upgrade --apply`
|
|
43
|
+
// rather than a hand sweep. This entry is the first real user of that tool.
|
|
44
|
+
{
|
|
45
|
+
type: "requirement", subType: "*", attr: "violation",
|
|
46
|
+
since: "0.24.0",
|
|
47
|
+
why: "it named a static falsifiability test but read as a status — 'this requirement " +
|
|
48
|
+
"is in violation' — which is not what the field has ever held",
|
|
49
|
+
replacedBy: "@counterexample",
|
|
50
|
+
migration: "docs/features/migrations/violation-to-counterexample.md",
|
|
51
|
+
rewrite: { kind: "renameAttr", to: "counterexample" },
|
|
52
|
+
},
|
|
53
|
+
// ── FR-038: the requirement vocabulary becomes prescriptive-only (0.24.0) ──
|
|
54
|
+
{
|
|
55
|
+
type: "requirement", subType: "*", attr: "verifiedBy",
|
|
56
|
+
since: "0.24.0",
|
|
57
|
+
why: "it asked you to name a test, and verify could only check that the NAME occurred " +
|
|
58
|
+
"somewhere in your test sources — never that the named test verified the claim",
|
|
59
|
+
migration: REQUIREMENT_MIGRATION,
|
|
60
|
+
// Nothing replaced it, so the fix is removal. Safe to automate: the attribute drove no
|
|
61
|
+
// behaviour anyone else can observe.
|
|
62
|
+
rewrite: { kind: "dropAttr" },
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
type: "requirement", subType: "*", attr: "supersededBy",
|
|
66
|
+
since: "0.24.0",
|
|
67
|
+
why: "a requirement is prescriptive — it states what should be true and is never a " +
|
|
68
|
+
"journal of what happened",
|
|
69
|
+
migration: REQUIREMENT_MIGRATION,
|
|
70
|
+
rewrite: { kind: "dropAttr" },
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
type: "requirement", subType: "*", attr: "status",
|
|
74
|
+
attrValues: ["abandoned", "superseded"],
|
|
75
|
+
since: "0.24.0",
|
|
76
|
+
why: "retiring a capability is DELETING its requirement; version control holds that it " +
|
|
77
|
+
"existed, and `notes` on a surviving entry holds what a reader still needs",
|
|
78
|
+
migration: REQUIREMENT_MIGRATION,
|
|
79
|
+
},
|
|
80
|
+
// ── FR-037 R1: @readOnly becomes the @mutability enum (0.24.0) ──
|
|
81
|
+
{
|
|
82
|
+
type: "field", subType: "*", attr: "readOnly",
|
|
83
|
+
since: "0.24.0",
|
|
84
|
+
why: "a boolean could not express write-once, so the axis became an enum",
|
|
85
|
+
replacedBy: "@mutability",
|
|
86
|
+
migration: "docs/features/migrations/readonly-to-mutability.md",
|
|
87
|
+
// Key AND value: `@readOnly: true` becomes `@mutability: "readOnly"`. `@readOnly: false`
|
|
88
|
+
// was the default and simply goes away — hence `otherwise: "drop"` rather than inventing
|
|
89
|
+
// a mutability the author never stated. Both arms must be stated: the attribute is
|
|
90
|
+
// deregistered for every value, so an unhandled arm is a file that still fails to load
|
|
91
|
+
// after a run that reported success.
|
|
92
|
+
rewrite: {
|
|
93
|
+
kind: "renameAttrValue",
|
|
94
|
+
toAttr: "mutability",
|
|
95
|
+
fromValue: true,
|
|
96
|
+
toValue: "readOnly",
|
|
97
|
+
otherwise: "drop",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
// ── FR-037 R2: origin.collection retires to reserved-not-registered (0.24.0) ──
|
|
101
|
+
{
|
|
102
|
+
type: "origin", subType: "collection", isSubTypeRetirement: true,
|
|
103
|
+
since: "0.24.0",
|
|
104
|
+
why: "it duplicated `origin.aggregate @agg: collect` on a strictly smaller attribute " +
|
|
105
|
+
"set, and nothing dispatched on it",
|
|
106
|
+
replacedBy: "origin.aggregate @agg: collect",
|
|
107
|
+
migration: "docs/features/migrations/origin-collection-retirement.md",
|
|
108
|
+
},
|
|
109
|
+
// ── ADR-0040: uniqueness lives in the TYPE, not an attribute (0.15.1) ──
|
|
110
|
+
{
|
|
111
|
+
type: "identity", subType: "secondary", attr: "unique",
|
|
112
|
+
since: "0.15.1",
|
|
113
|
+
why: "`identity.secondary` is now always a unique alternate key — uniqueness is encoded " +
|
|
114
|
+
"in the type, so the attribute had nothing left to say",
|
|
115
|
+
replacedBy: "index.lookup (for a NON-unique retrieval index)",
|
|
116
|
+
migration: "docs/features/migrations/identity-secondary-to-index-lookup.md",
|
|
117
|
+
},
|
|
118
|
+
// ── Metamodel 1.0: @dbColumnType slim-and-derive (0.15.0) ──
|
|
119
|
+
{
|
|
120
|
+
type: "field", subType: "*", attr: "dbColumnType",
|
|
121
|
+
attrValues: ["uuid_array", "text_array"],
|
|
122
|
+
since: "0.15.0",
|
|
123
|
+
why: "array-ness is DERIVED from `isArray`, so an array-flavoured physical type restated " +
|
|
124
|
+
"something the model already knew",
|
|
125
|
+
replacedBy: "isArray: true on the field",
|
|
126
|
+
// On a VALUE-scoped entry, `dropAttr` means "drop it when the value is one of the
|
|
127
|
+
// retired ones" — never unconditionally. `@dbColumnType: jsonb` is live vocabulary on
|
|
128
|
+
// the same attribute, and removing it would silently change the column type.
|
|
129
|
+
//
|
|
130
|
+
// Safe because the attribute said nothing the model did not already know: the field
|
|
131
|
+
// carrying `uuid_array` necessarily has `isArray: true`, which is where array-ness now
|
|
132
|
+
// comes from. There is no guide for this one, so without the rewrite an adopter would
|
|
133
|
+
// be told it is retired and given nowhere to go — which is what the dead-end test that
|
|
134
|
+
// caught this exists to prevent.
|
|
135
|
+
rewrite: { kind: "dropAttr" },
|
|
136
|
+
},
|
|
137
|
+
];
|
|
138
|
+
/**
|
|
139
|
+
* True when `entry` governs `typeKey` (`"<type>.<subType>"`).
|
|
140
|
+
*
|
|
141
|
+
* Exported because the rewriter scopes every occurrence with the SAME rule. It used to
|
|
142
|
+
* carry its own copy, and a scoping rule that lives in two files is one that will be fixed
|
|
143
|
+
* in one of them.
|
|
144
|
+
*/
|
|
145
|
+
export function scopeMatches(entry, typeKey) {
|
|
146
|
+
const dot = typeKey.indexOf(".");
|
|
147
|
+
if (dot < 0)
|
|
148
|
+
return false;
|
|
149
|
+
if (entry.type !== typeKey.slice(0, dot))
|
|
150
|
+
return false;
|
|
151
|
+
return entry.subType === "*" || entry.subType === typeKey.slice(dot + 1);
|
|
152
|
+
}
|
|
153
|
+
/** The reader-facing half of an entry, without the matching machinery. */
|
|
154
|
+
export function note(entry) {
|
|
155
|
+
return {
|
|
156
|
+
since: entry.since,
|
|
157
|
+
why: entry.why,
|
|
158
|
+
...(entry.replacedBy !== undefined ? { replacedBy: entry.replacedBy } : {}),
|
|
159
|
+
...(entry.migration !== undefined ? { migration: entry.migration } : {}),
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
/** First entry satisfying `match`, as a note. The three lookups below differ only in it. */
|
|
163
|
+
function noted(match) {
|
|
164
|
+
const hit = RETIRED_VOCABULARY.find(match);
|
|
165
|
+
return hit === undefined ? undefined : note(hit);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The attribute NAME itself was retired for this type. Returns undefined for an attr whose
|
|
169
|
+
* name is unknown here — a typo must keep reporting as a typo.
|
|
170
|
+
*
|
|
171
|
+
* An entry carrying `attrValues` is a VALUE retirement on a surviving attribute, so it is
|
|
172
|
+
* deliberately not matched here: `@status` is still perfectly good vocabulary.
|
|
173
|
+
*/
|
|
174
|
+
export function retiredAttr(typeKey, attrName) {
|
|
175
|
+
return noted((e) => e.attr === attrName && e.attrValues === undefined && scopeMatches(e, typeKey));
|
|
176
|
+
}
|
|
177
|
+
/** A specific VALUE of a surviving attribute was retired. */
|
|
178
|
+
export function retiredAttrValue(typeKey, attrName, value) {
|
|
179
|
+
if (typeof value !== "string")
|
|
180
|
+
return undefined;
|
|
181
|
+
return noted((e) => e.attr === attrName && e.attrValues?.includes(value) === true && scopeMatches(e, typeKey));
|
|
182
|
+
}
|
|
183
|
+
/** The SUBTYPE itself was retired (`origin.collection`). */
|
|
184
|
+
export function retiredSubType(type, subType) {
|
|
185
|
+
return noted((e) => e.isSubTypeRetirement === true && e.type === type && e.subType === subType);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The sentence appended to a failing diagnostic. Kept here rather than at each call site so
|
|
189
|
+
* all three failure sites word a retirement identically — an adopter who has seen one
|
|
190
|
+
* recognises the next.
|
|
191
|
+
*/
|
|
192
|
+
export function retirementHint(n) {
|
|
193
|
+
// Sentences are built WITHOUT their terminator and punctuated once at the end. The
|
|
194
|
+
// previous form appended a period to each fragment and then repaired the doubling with a
|
|
195
|
+
// global `".." → "."` — which would silently rewrite an ellipsis, or a `../` in a
|
|
196
|
+
// migration path, inside the user-facing load error.
|
|
197
|
+
const parts = [`retired in ${n.since} — ${n.why}`];
|
|
198
|
+
if (n.replacedBy !== undefined)
|
|
199
|
+
parts.push(`Use ${n.replacedBy} instead`);
|
|
200
|
+
if (n.migration !== undefined)
|
|
201
|
+
parts.push(`Migration: ${n.migration}`);
|
|
202
|
+
return `${parts.join(". ")}.`;
|
|
203
|
+
}
|
|
204
|
+
//# sourceMappingURL=retired-vocabulary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retired-vocabulary.js","sourceRoot":"","sources":["../src/retired-vocabulary.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,EAAE;AACF,oEAAoE;AACpE,EAAE;AACF,uFAAuF;AACvF,2FAA2F;AAC3F,yFAAyF;AACzF,qFAAqF;AACrF,0FAA0F;AAC1F,4FAA4F;AAC5F,wFAAwF;AACxF,kDAAkD;AAClD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