@prisma/orm-framework 8.0.0-rc.21-dev.4 → 8.0.0-rc.21-dev.6
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/{apply-specifier-default-control-policy-Dlz0iwnK.d.mts → apply-specifier-default-control-policy-BSgLNgKj.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-BSgLNgKj.d.mts.map +1 -0
- package/dist/{authoring-C2UAuRfN.d.mts → authoring-D75oR8Nt.d.mts} +5 -5
- package/dist/{authoring-C2UAuRfN.d.mts.map → authoring-D75oR8Nt.d.mts.map} +1 -1
- package/dist/{binder-BszqDG1t-icu83_4f.d.mts → binder-BszqDG1t-pSH-fXt5.d.mts} +12 -12
- package/dist/{binder-BszqDG1t-icu83_4f.d.mts.map → binder-BszqDG1t-pSH-fXt5.d.mts.map} +1 -1
- package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts → canonicalization-BIS6ONYT-VttZI7M4.d.mts} +3 -3
- package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts.map → canonicalization-BIS6ONYT-VttZI7M4.d.mts.map} +1 -1
- package/dist/{codec-CZ3VQq7G.d.mts → codec-h0kvF5B8.d.mts} +4 -3
- package/dist/codec-h0kvF5B8.d.mts.map +1 -0
- package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts → codec-types-B4wPvO-K-BIPFT7EP.d.mts} +2 -2
- package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts.map → codec-types-B4wPvO-K-BIPFT7EP.d.mts.map} +1 -1
- package/dist/{components-BenCVFk4.d.mts → components-CHWGZJ5q.d.mts} +5 -5
- package/dist/{components-BenCVFk4.d.mts.map → components-CHWGZJ5q.d.mts.map} +1 -1
- package/dist/components.d.mts +17 -17
- package/dist/components.mjs +2 -2
- package/dist/components__authoring.d.mts +3 -3
- package/dist/components__codec.d.mts +2 -2
- package/dist/components__components.d.mts +4 -4
- package/dist/components__control.d.mts +4 -4
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__ir.d.mts +2 -2
- package/dist/components__ir.mjs +2 -2
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +1 -1
- package/dist/{config-types-BJ79TZCl.d.mts → config-types-B0JjhuaX.d.mts} +8 -8
- package/dist/{config-types-BJ79TZCl.d.mts.map → config-types-B0JjhuaX.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +6 -6
- package/dist/{contract-types-DEIEpzU_-DvAVuBr5.d.mts → contract-types-ib-VnKHG-l9vE5Vd-.d.mts} +22 -8
- package/dist/contract-types-ib-VnKHG-l9vE5Vd-.d.mts.map +1 -0
- package/dist/contract.d.mts +13 -11
- package/dist/contract.mjs +5 -3
- package/dist/contract__apply-specifier-default-control-policy.d.mts +1 -1
- package/dist/contract__enum-accessor.d.mts +1 -1
- package/dist/contract__hashing-utils.d.mts +1 -1
- package/dist/contract__hashing.d.mts +2 -2
- package/dist/contract__resolve-domain-model.d.mts +1 -1
- package/dist/contract__types.d.mts +6 -5
- package/dist/contract__types.mjs +3 -2
- package/dist/contract__validate-domain.d.mts +2 -2
- package/dist/contract__validate-domain.mjs +2 -2
- package/dist/contract__validate-storage.d.mts +2 -0
- package/dist/contract__validate-storage.mjs +2 -0
- package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts → control-BeXOxtXA-DyPvQsqJ.d.mts} +2 -2
- package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts.map → control-BeXOxtXA-DyPvQsqJ.d.mts.map} +1 -1
- package/dist/{control-CS1uqJj_.d.mts → control-BrO2h8ed.d.mts} +24 -12
- package/dist/control-BrO2h8ed.d.mts.map +1 -0
- package/dist/control-COPuZO7V.d.mts +1 -0
- package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts +191 -0
- package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts.map +1 -0
- package/dist/emission-DGYCaKjl.d.mts +2 -0
- package/dist/{emission-types-bX2HmNSC-C9vDMKbg.d.mts → emission-types-bX2HmNSC-vaRddb1_.d.mts} +6 -5
- package/dist/emission-types-bX2HmNSC-vaRddb1_.d.mts.map +1 -0
- package/dist/{enum-accessor-2OZgavDX.d.mts → enum-accessor-BXc2Jseo.d.mts} +4 -3
- package/dist/enum-accessor-BXc2Jseo.d.mts.map +1 -0
- package/dist/errors.d.mts +4 -4
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/{execution-BPJbNttJ.d.mts → execution-BhFeCTkt.d.mts} +2 -2
- package/dist/{execution-BPJbNttJ.d.mts.map → execution-BhFeCTkt.d.mts.map} +1 -1
- package/dist/{execution-BWR_z8XI.d.mts → execution-Cgkrs6UV.d.mts} +2 -2
- package/dist/{execution-BWR_z8XI.d.mts.map → execution-Cgkrs6UV.d.mts.map} +1 -1
- package/dist/field-problems-DMpmScuG-R70w-aDk.mjs +41 -0
- package/dist/field-problems-DMpmScuG-R70w-aDk.mjs.map +1 -0
- package/dist/{framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts → framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts} +3 -3
- package/dist/{framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts.map → framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts.map} +1 -1
- package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts → framework-components-BqHA1V92-D_nUDFf9.d.mts} +4 -4
- package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts.map → framework-components-BqHA1V92-D_nUDFf9.d.mts.map} +1 -1
- package/dist/{hashing-D-DHz0zl.d.mts → hashing-Ca2uTBmm.d.mts} +4 -4
- package/dist/{hashing-D-DHz0zl.d.mts.map → hashing-Ca2uTBmm.d.mts.map} +1 -1
- package/dist/{hashing-utils-DiGHKd3b.d.mts → hashing-utils-daflaalA.d.mts} +2 -2
- package/dist/{hashing-utils-DiGHKd3b.d.mts.map → hashing-utils-daflaalA.d.mts.map} +1 -1
- package/dist/ids__runtime.d.mts +1 -1
- package/dist/{ir-uDGU9vaj.mjs → ir-B7QKO3dq.mjs} +18 -2
- package/dist/ir-B7QKO3dq.mjs.map +1 -0
- package/dist/{ir-LV4tXsw3.d.mts → ir-DoVMhmqa.d.mts} +10 -25
- package/dist/ir-DoVMhmqa.d.mts.map +1 -0
- package/dist/{migration-Dk1sYIvs.d.mts → migration-CMMT3vcR.d.mts} +2 -2
- package/dist/{migration-Dk1sYIvs.d.mts.map → migration-CMMT3vcR.d.mts.map} +1 -1
- package/dist/{parse-djL5wker-DnMlKOii.d.mts → parse-djL5wker-Bf4uawTE.d.mts} +6 -6
- package/dist/{parse-djL5wker-DnMlKOii.d.mts.map → parse-djL5wker-Bf4uawTE.d.mts.map} +1 -1
- package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts → psl-ast-0oMzInxd-BjKbrwNk.d.mts} +2 -2
- package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map → psl-ast-0oMzInxd-BjKbrwNk.d.mts.map} +1 -1
- package/dist/psl-ast-DjTRQDW7.d.mts +2 -0
- package/dist/psl-parser.d.mts +10 -10
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__interpret.d.mts +7 -7
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-printer.d.mts +4 -4
- package/dist/{resolve-domain-model-BNr1glea-BLuR-phK.d.mts → resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts} +3 -3
- package/dist/resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts.map +1 -0
- package/dist/{runtime-CTJc8PII.d.mts → runtime-BERs-lBJ.d.mts} +4 -4
- package/dist/{runtime-CTJc8PII.d.mts.map → runtime-BERs-lBJ.d.mts.map} +1 -1
- package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs +28 -0
- package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs.map +1 -0
- package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts → temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts} +3 -3
- package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts.map → temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts.map} +1 -1
- package/dist/{types-B8ULzMAX.mjs → types-Boh5NGDz.mjs} +52 -9
- package/dist/types-Boh5NGDz.mjs.map +1 -0
- package/dist/types-CkFfDIud-C1u8M2UE.d.mts +196 -0
- package/dist/types-CkFfDIud-C1u8M2UE.d.mts.map +1 -0
- package/dist/{types-GNXJ7xW2.d.mts → types-Dh_AMVRf.d.mts} +145 -25
- package/dist/types-Dh_AMVRf.d.mts.map +1 -0
- package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts} +3 -3
- package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts.map → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts.map} +1 -1
- package/dist/{validate-domain-CbXHDYpF.mjs → validate-domain-KUhPCj7i.mjs} +18 -35
- package/dist/validate-domain-KUhPCj7i.mjs.map +1 -0
- package/dist/{validate-domain-B5kmlBFB.d.mts → validate-domain-eU07L3vi.d.mts} +7 -3
- package/dist/{validate-domain-B5kmlBFB.d.mts.map → validate-domain-eU07L3vi.d.mts.map} +1 -1
- package/dist/validate-storage-CGeJ-62G.mjs +31 -0
- package/dist/validate-storage-CGeJ-62G.mjs.map +1 -0
- package/dist/validate-storage-ChcQuhTb.d.mts +10 -0
- package/dist/validate-storage-ChcQuhTb.d.mts.map +1 -0
- package/package.json +16 -15
- package/dist/apply-specifier-default-control-policy-Dlz0iwnK.d.mts.map +0 -1
- package/dist/codec-CZ3VQq7G.d.mts.map +0 -1
- package/dist/contract-types-DEIEpzU_-DvAVuBr5.d.mts.map +0 -1
- package/dist/control-B3OS8JEw.d.mts +0 -1
- package/dist/control-CS1uqJj_.d.mts.map +0 -1
- package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts +0 -373
- package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts.map +0 -1
- package/dist/emission-ByTWEe2j.d.mts +0 -2
- package/dist/emission-types-bX2HmNSC-C9vDMKbg.d.mts.map +0 -1
- package/dist/enum-accessor-2OZgavDX.d.mts.map +0 -1
- package/dist/ir-LV4tXsw3.d.mts.map +0 -1
- package/dist/ir-uDGU9vaj.mjs.map +0 -1
- package/dist/psl-ast-CFQfCJeM.d.mts +0 -2
- package/dist/resolve-domain-model-BNr1glea-BLuR-phK.d.mts.map +0 -1
- package/dist/types-B8ULzMAX.mjs.map +0 -1
- package/dist/types-GNXJ7xW2.d.mts.map +0 -1
- package/dist/validate-domain-CbXHDYpF.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ir-B7QKO3dq.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/ir.mjs"],"sourcesContent":["import { n as runtimeError } from \"./runtime-error-BA9d7XjZ.mjs\";\nimport { i as freezeNode, n as UNBOUND_NAMESPACE_ID, r as IRNodeBase, t as NamespaceBase } from \"./namespace-VUH2dgnS.mjs\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { canonicalStringify } from \"@internal/utils/canonical-stringify\";\nimport { isPlainRecord } from \"@internal/contract/is-plain-record\";\n//#region src/ir/contract-view.ts\n/**\n* Projects one namespace's `entries` into the view shape: each built-in kind\n* becomes a top-level slot (materialized empty if absent), and the remaining\n* pack-contributed kinds sit under `.entries`. Shared by the single-namespace\n* builder and the namespace-map builder.\n*/\nfunction promoteBuiltinKinds(entries, builtinKinds) {\n\tconst view = {};\n\tconst rest = {};\n\tfor (const [kind, kindMap] of Object.entries(entries)) if (builtinKinds.includes(kind)) view[kind] = kindMap;\n\telse rest[kind] = kindMap;\n\tfor (const kind of builtinKinds) if (!(kind in view)) view[kind] = {};\n\tview[\"entries\"] = rest;\n\treturn blindCast(view);\n}\n/**\n* Builds one namespace's entity view: promotes the given built-in kind slots to\n* top-level for the default (`UNBOUND_NAMESPACE_ID`) namespace. Single-namespace\n* targets (Mongo, SQLite) use this to unwrap their sole namespace to the root.\n*\n* Throws if the contract has no default (`UNBOUND_NAMESPACE_ID`) namespace.\n*/\nfunction buildSingleNamespaceView(storage, builtinKinds) {\n\tconst defaultNs = storage.namespaces[UNBOUND_NAMESPACE_ID];\n\tif (defaultNs === void 0) throw new InternalError(`ContractView: contract has no default namespace (${UNBOUND_NAMESPACE_ID})`);\n\treturn promoteBuiltinKinds(blindCast(defaultNs.entries), builtinKinds);\n}\n/**\n* Builds the namespace-keyed entity-view map (`{ <nsId>: SingleNamespaceView }`)\n* for every namespace in the storage, keyed by raw namespace id. It is the storage-side\n* counterpart of `buildNamespacedEnums(domain, codecFor)`, which builds the same map of enum\n* accessors from the domain, reading each enum through the codec `codecFor` returns.\n*/\nfunction buildNamespacedEntities(storage, builtinKinds) {\n\tconst out = {};\n\tfor (const [nsId, ns] of Object.entries(storage.namespaces)) out[nsId] = promoteBuiltinKinds(blindCast(ns.entries), builtinKinds);\n\treturn blindCast(out);\n}\n//#endregion\n//#region src/ir/domain.ts\n/**\n* Lazy walk over every named domain entity in a {@link ApplicationDomain},\n* yielded as {@link EntityCoordinate} tuples with `plane: 'domain'`.\n*\n* Same structural rules as {@link elementCoordinates} over storage: skip\n* scalar `id`; each other object-valued property is an entity-kind slot.\n*/\nfunction* domainElementCoordinates(domain) {\n\tfor (const [namespaceId, ns] of Object.entries(domain.namespaces)) for (const [entityKind, slot] of Object.entries(ns)) {\n\t\tif (entityKind === \"id\") continue;\n\t\tif (slot === null || typeof slot !== \"object\") continue;\n\t\tfor (const entityName of Object.keys(slot)) yield {\n\t\t\tplane: \"domain\",\n\t\t\tnamespaceId,\n\t\t\tentityKind,\n\t\t\tentityName\n\t\t};\n\t}\n}\n//#endregion\n//#region src/ir/entity-kind.ts\n/**\n* Hydrates a namespace's entities from raw JSON maps into IR class instances.\n*\n* For each kind in `entries`: if the descriptor map has a descriptor,\n* construct each inner-map value; otherwise freeze-and-carry (`'carry'`)\n* or throw naming the kind and nsId (`'fail'`).\n*\n* The single boundary cast hands `value` to `descriptor.construct` as its\n* `Input`. The value satisfies the kind's `Input` either by the\n* entries-input contract at authoring time or by prior `validateStorage`\n* validation at hydration time.\n*/\nfunction hydrateNamespaceEntities(entries, kinds, onUnknown, nsId) {\n\tconst result = {};\n\tfor (const [kind, rawMap] of Object.entries(entries)) {\n\t\tconst descriptor = kinds.get(kind);\n\t\tif (descriptor !== void 0) {\n\t\t\tconst built = {};\n\t\t\tfor (const [name, value] of Object.entries(rawMap)) built[name] = descriptor.construct(blindCast(value));\n\t\t\tresult[kind] = Object.freeze(built);\n\t\t} else if (onUnknown === \"carry\") result[kind] = Object.freeze(rawMap);\n\t\telse throw runtimeError(\"CONTRACT.ENTITY_KIND_UNKNOWN\", `Unknown entries key \"${kind}\" in namespace \"${nsId ?? \"?\"}\"; no hydration factory registered for this entity kind`);\n\t}\n\treturn result;\n}\n//#endregion\n//#region src/ir/storage.ts\n/**\n* Lazy walk over every named storage entity in a `Storage`-shaped\n* value, yielded as {@link EntityCoordinate} tuples with\n* `plane: 'storage'` (the parameter type binds the plane).\n*\n* Iterates each namespace's `entries` kind maps structurally. Skips\n* non-object `entries`; `id` and `kind` are not walked (`kind` is\n* non-enumerable on concretions). For every entity-kind key under\n* `entries` whose value is a non-null object, yields one coordinate per\n* entity name in that map. No family-specific kind vocabulary is required.\n*/\nfunction* elementCoordinates(storage) {\n\tfor (const [namespaceId, ns] of Object.entries(storage.namespaces)) {\n\t\tconst entries = ns.entries;\n\t\tif (entries === null || typeof entries !== \"object\") continue;\n\t\tfor (const [entityKind, kindMap] of Object.entries(entries)) {\n\t\t\tif (kindMap === null || typeof kindMap !== \"object\") continue;\n\t\t\tfor (const entityName of Object.keys(kindMap)) yield {\n\t\t\t\tplane: \"storage\",\n\t\t\t\tnamespaceId,\n\t\t\t\tentityKind,\n\t\t\t\tentityName\n\t\t\t};\n\t\t}\n\t}\n}\n/**\n* Canonical, collision-safe key for an {@link EntityCoordinate}. Encodes each\n* axis individually with `JSON.stringify` before joining with `-`, so no\n* namespace id, entity kind, or entity name can forge a collision by\n* embedding the delimiter itself (e.g. a delimiter of `:` would let\n* `('a', 'b:c', 'd')` collide with `('a:b', 'c', 'd')`) — each component is\n* quoted, and any `-` or `\"` inside it is escaped or safely inside those\n* quotes.\n*\n* The single shared key every coordinate-driven ownership/omission/collision\n* check should use — `contract infer`'s pack-described-element omission and\n* the migration tools' cross-space disjointness check both key on this.\n*/\nfunction coordinateKey(coordinate) {\n\treturn [\n\t\tcoordinate.namespaceId,\n\t\tcoordinate.entityKind,\n\t\tcoordinate.entityName\n\t].map((value) => JSON.stringify(value)).join(\"-\");\n}\n/**\n* The storage entities that differ between two `Storage`-shaped values: added, removed, or with\n* different content. Content is compared as JSON, ignoring key order. Sorted by namespace id,\n* entity kind and entity name. With no earlier storage, every entity counts as added.\n*/\nfunction changedElementCoordinates(from, to) {\n\tconst contentAt = (storage, coordinate) => {\n\t\tif (storage === null) return void 0;\n\t\tconst entity = entityAt(storage, coordinate);\n\t\treturn entity === void 0 ? void 0 : canonicalStringify(JSON.parse(JSON.stringify(entity)));\n\t};\n\tconst coordinates = /* @__PURE__ */ new Map();\n\tfor (const coordinate of [...from === null ? [] : elementCoordinates(from), ...elementCoordinates(to)]) coordinates.set(coordinateKey(coordinate), coordinate);\n\treturn [...coordinates.values()].filter((coordinate) => contentAt(from, coordinate) !== contentAt(to, coordinate)).sort((a, b) => a.namespaceId.localeCompare(b.namespaceId, \"en\") || a.entityKind.localeCompare(b.entityKind, \"en\") || a.entityName.localeCompare(b.entityName, \"en\"));\n}\n/**\n* Looks up a single entity in a `Storage`-shaped value by its full coordinate.\n* Returns `undefined` if the namespace, entity kind, or entity name is absent.\n* The type parameter is a caller assertion — the walk itself is structural\n* and cannot verify the entity's shape.\n*/\nfunction entityAt(storage, coord) {\n\tconst ns = storage.namespaces[coord.namespaceId];\n\tif (ns === void 0) return void 0;\n\tconst entries = ns.entries;\n\tif (!isPlainRecord(entries)) return void 0;\n\tconst kindMap = entries[coord.entityKind];\n\tif (!isPlainRecord(kindMap)) return void 0;\n\tif (!Object.hasOwn(kindMap, coord.entityName)) return void 0;\n\treturn blindCast(kindMap[coord.entityName]);\n}\n//#endregion\nexport { IRNodeBase, NamespaceBase, UNBOUND_NAMESPACE_ID, buildNamespacedEntities, buildSingleNamespaceView, changedElementCoordinates, coordinateKey, domainElementCoordinates, elementCoordinates, entityAt, freezeNode, hydrateNamespaceEntities, isPlainRecord, promoteBuiltinKinds };\n\n//# sourceMappingURL=ir.mjs.map"],"mappings":";;;;;;;;;;;;;AAaA,SAAS,oBAAoB,SAAS,cAAc;CACnD,MAAM,OAAO,CAAC;CACd,MAAM,OAAO,CAAC;CACd,KAAK,MAAM,CAAC,MAAM,YAAY,OAAO,QAAQ,OAAO,GAAG,IAAI,aAAa,SAAS,IAAI,GAAG,KAAK,QAAQ;MAChG,KAAK,QAAQ;CAClB,KAAK,MAAM,QAAQ,cAAc,IAAI,EAAE,QAAQ,OAAO,KAAK,QAAQ,CAAC;CACpE,KAAK,aAAa;CAClB,OAAO,UAAU,IAAI;AACtB;;;;;;;;AAQA,SAAS,yBAAyB,SAAS,cAAc;CACxD,MAAM,YAAY,QAAQ,WAAW;CACrC,IAAI,cAAc,KAAK,GAAG,MAAM,IAAI,cAAc,oDAAoD,qBAAqB,EAAE;CAC7H,OAAO,oBAAoB,UAAU,UAAU,OAAO,GAAG,YAAY;AACtE;;;;;;;AAOA,SAAS,wBAAwB,SAAS,cAAc;CACvD,MAAM,MAAM,CAAC;CACb,KAAK,MAAM,CAAC,MAAM,OAAO,OAAO,QAAQ,QAAQ,UAAU,GAAG,IAAI,QAAQ,oBAAoB,UAAU,GAAG,OAAO,GAAG,Y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,GAAG,OAAO,KAAK;CAC3D,OAAO,UAAU,QAAQ,MAAM,WAAW;AAC3C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as StorageBase, E as StorageNamespace } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { t as ApplicationDomain, w as EntityCoordinate } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
2
3
|
import { Type } from "arktype";
|
|
3
4
|
//#region ../../../1-framework/1-core/framework-components/dist/ir.d.mts
|
|
4
5
|
//#region src/ir/ir-node.d.ts
|
|
@@ -140,28 +141,6 @@ declare abstract class NamespaceBase extends IRNodeBase implements Namespace {
|
|
|
140
141
|
}
|
|
141
142
|
//#endregion
|
|
142
143
|
//#region src/ir/storage.d.ts
|
|
143
|
-
/**
|
|
144
|
-
* Canonical address for a named entity in Contract IR / Schema IR.
|
|
145
|
-
*
|
|
146
|
-
* `plane` is `'domain' | 'storage'`: which top-level contract plane the
|
|
147
|
-
* entity lives on. Domain-side walks yield `plane: 'domain'` via
|
|
148
|
-
* {@link domainElementCoordinates}; {@link elementCoordinates} over storage
|
|
149
|
-
* yields `plane: 'storage'`.
|
|
150
|
-
*
|
|
151
|
-
* Cross-plane references obey a directional invariant: domain → storage is
|
|
152
|
-
* allowed; storage → domain is forbidden. That rule is enforced by a
|
|
153
|
-
* separate validator, not by constraining this coordinate shape — the
|
|
154
|
-
* coordinate carries the axis the validator checks.
|
|
155
|
-
*
|
|
156
|
-
* Iteration order over namespace properties follows `Object.entries` order;
|
|
157
|
-
* consumers that depend on ordering must sort.
|
|
158
|
-
*/
|
|
159
|
-
interface EntityCoordinate {
|
|
160
|
-
readonly plane: 'domain' | 'storage';
|
|
161
|
-
readonly namespaceId: string;
|
|
162
|
-
readonly entityKind: string;
|
|
163
|
-
readonly entityName: string;
|
|
164
|
-
}
|
|
165
144
|
/**
|
|
166
145
|
* Lazy walk over every named storage entity in a `Storage`-shaped
|
|
167
146
|
* value, yielded as {@link EntityCoordinate} tuples with
|
|
@@ -188,6 +167,12 @@ declare function elementCoordinates(storage: Pick<StorageBase, 'namespaces'>): G
|
|
|
188
167
|
* the migration tools' cross-space disjointness check both key on this.
|
|
189
168
|
*/
|
|
190
169
|
declare function coordinateKey(coordinate: Pick<EntityCoordinate, 'namespaceId' | 'entityKind' | 'entityName'>): string;
|
|
170
|
+
/**
|
|
171
|
+
* The storage entities that differ between two `Storage`-shaped values: added, removed, or with
|
|
172
|
+
* different content. Content is compared as JSON, ignoring key order. Sorted by namespace id,
|
|
173
|
+
* entity kind and entity name. With no earlier storage, every entity counts as added.
|
|
174
|
+
*/
|
|
175
|
+
declare function changedElementCoordinates(from: Pick<StorageBase, 'namespaces'> | null, to: Pick<StorageBase, 'namespaces'>): EntityCoordinate[];
|
|
191
176
|
/**
|
|
192
177
|
* Looks up a single entity in a `Storage`-shaped value by its full coordinate.
|
|
193
178
|
* Returns `undefined` if the namespace, entity kind, or entity name is absent.
|
|
@@ -356,5 +341,5 @@ interface StorageType extends IRNode {
|
|
|
356
341
|
readonly kind: string;
|
|
357
342
|
}
|
|
358
343
|
//#endregion
|
|
359
|
-
export { promoteBuiltinKinds as S, domainElementCoordinates as _,
|
|
360
|
-
//# sourceMappingURL=ir-
|
|
344
|
+
export { promoteBuiltinKinds as S, domainElementCoordinates as _, IRNodeBase as a, freezeNode as b, NamespacedEntities as c, StorageType as d, UNBOUND_NAMESPACE_ID as f, coordinateKey as g, changedElementCoordinates as h, IRNode as i, SingleNamespaceView as l, buildSingleNamespaceView as m, DefaultNamespaceEntries as n, Namespace as o, buildNamespacedEntities as p, EntityKindDescriptor as r, NamespaceBase as s, AnyEntityKindDescriptor as t, Storage as u, elementCoordinates as v, hydrateNamespaceEntities as x, entityAt as y };
|
|
345
|
+
//# sourceMappingURL=ir-DoVMhmqa.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ir-DoVMhmqa.d.mts","names":[],"sources":["../../../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,kCAAkC;;;;;;;;;;iBAUlF,yBAAyB,QAAQ,KAAK,mCAAmC,UAAU;;;UAG1F,qBAAqB,OAAO;WAC3B;WACA,QAAQ;WACR,YAAY,OAAO,UAAU;;KAEnC,0BAA0B;;;;;;;;;;;;;iBAad,yBAAyB,SAAS,SAAS,eAAe,SAAS,4BAA4B,OAAO,oBAAoB,0BAA0B,6BAA6B,gBAAgB,eAAe,SAAS;;;;;;;;;;;;;;;;;;;;;UAqBhO,oBAAoB;WACnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CliStructuredError } from "./control-BeXOxtXA-
|
|
1
|
+
import { i as CliStructuredError } from "./control-BeXOxtXA-DyPvQsqJ.mjs";
|
|
2
2
|
//#region ../../../1-framework/1-core/errors/dist/migration.d.mts
|
|
3
3
|
//#region src/migration.d.ts
|
|
4
4
|
/**
|
|
@@ -88,4 +88,4 @@ declare function errorMigrationOperationOptionRemoved(options: {
|
|
|
88
88
|
}): CliStructuredError;
|
|
89
89
|
//#endregion
|
|
90
90
|
export { errorMigrationPlanNotArray as a, placeholder as c, errorMigrationOperationOptionRemoved as i, unfilledPlaceholderOperation as l, errorMigrationFileMissing as n, errorMigrationTargetMismatch as o, errorMigrationInvalidDefaultExport as r, errorUnfilledPlaceholder as s, errorDataTransformContractMismatch as t };
|
|
91
|
-
//# sourceMappingURL=migration-
|
|
91
|
+
//# sourceMappingURL=migration-CMMT3vcR.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration-
|
|
1
|
+
{"version":3,"file":"migration-CMMT3vcR.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/migration.d.mts"],"mappings":";;;;;;;;;;iBASiB,yBAAyB,eAAe;;;;;;;iBAOxC,6BAA6B,eAAe;;;;;;;;;;iBAU5C,YAAY;;;;;;;;;;;;;iBAaZ,mCAAmC;WACzC;WACA;WACA;IACP;;;;;;iBAMa,0BAA0B,cAAc;;;;;;;;;;iBAUxC,mCAAmC,aAAa,mCAAmC;;;;;;;;;iBASnF,6BAA6B;WACnC;WACA;IACP;;;;;iBAKa,2BAA2B,aAAa,kCAAkC;;;;iBAI1E,qCAAqC;WAC3C;WACA;WACA;WACA;WACA;IACP"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { dt as PslSpan } from "./framework-authoring-ebqZ8M_M-
|
|
2
|
-
import { o as TaggedLiteralCanonicalization } from "./temporal-type-aliases-BIiamFSH-
|
|
3
|
-
import "./authoring-
|
|
4
|
-
import "./psl-ast-
|
|
5
|
-
import { h as PslParserOptions, r as ContractSourceDiagnostic } from "./config-types-
|
|
1
|
+
import { dt as PslSpan } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
2
|
+
import { o as TaggedLiteralCanonicalization } from "./temporal-type-aliases-BIiamFSH-DLxWO37e.mjs";
|
|
3
|
+
import "./authoring-D75oR8Nt.mjs";
|
|
4
|
+
import "./psl-ast-DjTRQDW7.mjs";
|
|
5
|
+
import { h as PslParserOptions, r as ContractSourceDiagnostic } from "./config-types-B0JjhuaX.mjs";
|
|
6
6
|
import { n as TokenKind, t as Token } from "./tokenizer-i8RaVWVa-7fRwlCPP.mjs";
|
|
7
7
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/parse-djL5wker.d.mts
|
|
8
8
|
//#region src/syntax/syntax-kind.d.ts
|
|
@@ -553,4 +553,4 @@ interface ParseResult {
|
|
|
553
553
|
declare function parse(source: string, filename: string, options?: PslParserOptions): ParseResult;
|
|
554
554
|
//#endregion
|
|
555
555
|
export { TypeAnnotationAst as $, NamespaceDeclarationAst as A, PslDiagnosticCollector as B, IdentifierAst as C, ModelAttributeAst as D, MixinInclusionAst as E, ParseDiagnostic as F, StringLiteralExprAst as G, QualifiedNameAst as H, ParseResult as I, SyntaxKind as J, StringLiteralQuote as K, PathExprAst as L, NumberLiteralExprAst as M, ObjectFieldAst as N, ModelDeclarationAst as O, ObjectLiteralExprAst as P, TokenAtOffset as Q, Position as R, HasDocComment as S, MixinDeclarationAst as T, Range as U, PslSources as V, SourceFile as W, SyntaxToken as X, SyntaxNode as Y, TaggedLiteralExprAst as Z, GenericBlockDeclarationAst as _, AttributeAst as a, diagnosticFromSpan as at, GreenNode as b, BracedBlock as c, filterChildren as ct, DiagnosticSource as d, greenNode as dt, TypesBlockAst as et, DocumentAst as f, greenToken as ft, FunctionCallAst as g, FieldDeclarationAst as h, printSyntax as ht, AttributeArgListAst as i, createSyntaxTree as it, NamespaceMemberAst as j, NamedTypeDeclarationAst as k, CompositeTypeDeclarationAst as l, findChildToken as lt, FieldAttributeAst as m, parse as mt, AstNode as n, castExpression as nt, BlockMemberAst as o, diagnosticSource as ot, ExpressionAst as p, mapPslDiagnostics as pt, SyntaxElement as q, AttributeArgAst as r, createPslDiagnosticCollector as rt, BooleanLiteralExprAst as s, dottedPathsIn as st, ArrayLiteralAst as t, any as tt, DeclarationAst as u, findFirstChild as ut, GenericBlockMemberAst as v, KeyValuePairAst as w, GreenToken as x, GreenElement as y, PslDiagnostic as z };
|
|
556
|
-
//# sourceMappingURL=parse-djL5wker-
|
|
556
|
+
//# sourceMappingURL=parse-djL5wker-Bf4uawTE.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-djL5wker-
|
|
1
|
+
{"version":3,"file":"parse-djL5wker-Bf4uawTE.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/parse-djL5wker.d.mts"],"mappings":";;;;;;;;KAKK;;;UAGK;WACC;WACA,MAAM;WACN;;UAED;WACC;WACA,MAAM;WACN,UAAU,cAAc;WACxB;;KAEN,eAAe,YAAY;iBACf,WAAW,MAAM,WAAW,eAAe;iBAC3C,UAAU,MAAM,YAAY,UAAU,cAAc,gBAAgB;;;;;;;;;;cAUvE,uBAAuB;WAC1B,OAAO;WACP,MAAM;WACN;WACA;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,YAAY,gBAAgB,QAAQ,YAAY;MAC/D;MACA;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AAW,SAAS;;EAEpB,UAAU,SAAS;EACnB,cAAc,SAAS;EACvB,cAAc,SAAS;EACvB,WAAW,SAAS;EACpB;SACO,KAAK,MAAM,aAAa;;cAEnB,+BAA+B,aAAa;WAC/C,QAAQ;EACjB,YAAY,QAAQ;EACpB,WAAW;EACX,gBAAgB;EAChB,QAAQ;EACR,UAAU;EACV,UAAU;EACV,UAAU,SAAS;EACnB,WAAW,SAAS;EACpB,cAAc,SAAS;;EAEvB,cAAc,SAAS;EACvB,WAAW,SAAS,iBAAiB;EACrC;SACO,KAAK,MAAM,aAAa;;cAEnB,6BAA6B;WAChC,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,QAAQ;SACD,KAAK,MAAM,aAAa;;cAEnB,2BAA2B;WAC9B,QAAQ;EACjB,YAAY,QAAQ;EACpB,OAAO;EACP,UAAU;EACV,SAAS;;EAET,cAAc,SAAS;SAChB,KAAK,MAAM,aAAa;;cAEnB,+BAA+B,SAAS;WAC3C,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,kBAAkB;EAClB,cAAc,SAAS;EACvB;SACO,KAAK,MAAM,aAAa;;cAEnB,mCAAmC,SAAS;WAC/C,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,UAAU;EACV,kBAAkB;EAClB,cAAc,SAAS;EACvB;SACO,KAAK,MAAM,aAAa;;;;KAI5B,kBAAkB;UACb;WACC,UAAU;WACV,sBAAsB;WACtB,SAAS;;;;;;iBAMH,MAAM,gBAAgB,kBAAkB,UAAU,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as ContributedPslDiagnosticCode, at as PslExtensionBlock, dt as PslSpan, it as PslDiagnosticCode } from "./framework-authoring-ebqZ8M_M-
|
|
1
|
+
import { P as ContributedPslDiagnosticCode, at as PslExtensionBlock, dt as PslSpan, it as PslDiagnosticCode } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
2
2
|
//#region ../../../1-framework/1-core/framework-components/dist/psl-ast-0oMzInxd.d.mts
|
|
3
3
|
//#region src/control/psl-ast.d.ts
|
|
4
4
|
interface PslDiagnostic {
|
|
@@ -226,4 +226,4 @@ declare const BUILTIN_PSL_KIND_KEYS: ReadonlySet<string>;
|
|
|
226
226
|
declare function namespacePslExtensionBlocks(ns: PslNamespace): readonly PslExtensionBlock[];
|
|
227
227
|
//#endregion
|
|
228
228
|
export { makePslNamespaceEntries as A, PslTypesBlock as C, flatPslCompositeTypes as D, UNSPECIFIED_PSL_NAMESPACE_ID as E, flatPslModels as O, PslTypeConstructorCall as S, UNBOUND_PSL_NAMESPACE_NAME as T, PslModelAttribute as _, PslAttributePositionalArgument as a, PslNamespaceEntry as b, PslDefaultFunctionValue as c, PslDiagnostic as d, PslDocumentAst as f, PslModel as g, PslIndexConstraint as h, PslAttributeNamedArgument as i, namespacePslExtensionBlocks as j, makePslNamespace as k, PslDefaultLiteralValue as l, PslFieldAttribute as m, PslAttribute as n, PslAttributeTarget as o, PslField as p, PslAttributeArgument as r, PslCompositeType as s, BUILTIN_PSL_KIND_KEYS as t, PslDefaultValue as u, PslNamedTypeDeclaration as v, PslUniqueConstraint as w, PslReferentialAction as x, PslNamespace as y };
|
|
229
|
-
//# sourceMappingURL=psl-ast-0oMzInxd-
|
|
229
|
+
//# sourceMappingURL=psl-ast-0oMzInxd-BjKbrwNk.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"psl-ast-0oMzInxd-
|
|
1
|
+
{"version":3,"file":"psl-ast-0oMzInxd-BjKbrwNk.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast-0oMzInxd.d.mts"],"mappings":";;;UAEU;;;;;;;;;;;WAWC,MAAM,oBAAoB;WAC1B;WACA;WACA,MAAM;;UAEP;WACC;WACA;;UAED;WACC;WACA;;KAEN,kBAAkB,0BAA0B;KAC5C;UACK;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA;WACA,MAAM;;KAEZ,uBAAuB,iCAAiC;UACnD;WACC;WACA;WACA,eAAe;WACf,MAAM;;UAEP;WACC;WACA,QAAQ;WACR;WACA,eAAe;WACf,MAAM;;KAEZ;KACA,oBAAoB;UACf;WACC;WACA;;WAEA;;WAEA;;;;;;;;;WASA;WACA,kBAAkB;WAClB;WACA;WACA;WACA,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;KAEZ,oBAAoB;UACf;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;;;;;;;WAQN;;;;;;;UAOD;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;;;;;;WAMA;WACA,kBAAkB;WAClB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA,uBAAuB;WACvB,MAAM;;;;;;;;;;;;;;cAcH;;;;;cAKA;;KAET,oBAAoB,WAAW,mBAAmB;;;;;;;;;;;;UAY7C;WACC;WACA;;WAEA,SAAS,SAAS,eAAe,SAAS,eAAe;;WAEzD,iBAAiB;;WAEjB,yBAAyB;WACzB,MAAM;;;iBAGA,iBAAiB;WACvB;WACA;WACA,SAAS,SAAS,eAAe,SAAS,eAAe;WACzD,MAAM;IACb;;;;;;iBAMa,wBAAwB,iBAAiB,YAAY,yBAAyB,oBAAoB,0BAA0B,sBAAsB,SAAS,eAAe,SAAS,eAAe;UACzM;WACC;WACA;WACA,qBAAqB;WACrB,QAAQ;WACR,MAAM;;;;;;iBAMA,cAAc,KAAK,0BAA0B;;;;iBAI7C,sBAAsB,KAAK,0BAA0B;;;;;;;;;;;cAWxD,uBAAuB;;;;;;;;;iBASpB,4BAA4B,IAAI,wBAAwB"}
|
package/dist/psl-parser.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { T as DataTypeValue, v as DataTypeId } from "./codec-types-B4wPvO-K-
|
|
1
|
+
import { T as DataTypeValue, v as DataTypeId } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
2
2
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
3
|
-
import { E as AuthoringTypeConstructorDescriptor, I as ControlMutationDefaultRegistry, J as GeneratorFunctionRegistry, O as AuthoringTypeNamespace, Z as GeneratorPhase, at as PslExtensionBlock, b as AuthoringPslBlockDescriptor, bt as WrittenScalar, ct as PslExtensionBlockParsedAttribute, dt as PslSpan, it as PslDiagnosticCode, lt as PslExtensionBlockPrintEntry, ot as PslExtensionBlockAttribute, st as PslExtensionBlockAttributeArg, tt as ParsedPslExtensionBlock, ut as PslPosition, w as AuthoringTypeAliasDescriptor, x as AuthoringPslBlockDescriptorNamespace, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-
|
|
4
|
-
import "./authoring-
|
|
5
|
-
import "./codec-
|
|
6
|
-
import "./components-
|
|
7
|
-
import { C as PslTypesBlock, O as flatPslModels, S as PslTypeConstructorCall, _ as PslModelAttribute, a as PslAttributePositionalArgument, c as PslDefaultFunctionValue, f as PslDocumentAst, g as PslModel, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, u as PslDefaultValue, v as PslNamedTypeDeclaration, y as PslNamespace } from "./psl-ast-0oMzInxd-
|
|
8
|
-
import { r as AssembledAuthoringContributions } from "./control-
|
|
9
|
-
import "./psl-ast-
|
|
3
|
+
import { E as AuthoringTypeConstructorDescriptor, I as ControlMutationDefaultRegistry, J as GeneratorFunctionRegistry, O as AuthoringTypeNamespace, Z as GeneratorPhase, at as PslExtensionBlock, b as AuthoringPslBlockDescriptor, bt as WrittenScalar, ct as PslExtensionBlockParsedAttribute, dt as PslSpan, it as PslDiagnosticCode, lt as PslExtensionBlockPrintEntry, ot as PslExtensionBlockAttribute, st as PslExtensionBlockAttributeArg, tt as ParsedPslExtensionBlock, ut as PslPosition, w as AuthoringTypeAliasDescriptor, x as AuthoringPslBlockDescriptorNamespace, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
4
|
+
import "./authoring-D75oR8Nt.mjs";
|
|
5
|
+
import "./codec-h0kvF5B8.mjs";
|
|
6
|
+
import "./components-CHWGZJ5q.mjs";
|
|
7
|
+
import { C as PslTypesBlock, O as flatPslModels, S as PslTypeConstructorCall, _ as PslModelAttribute, a as PslAttributePositionalArgument, c as PslDefaultFunctionValue, f as PslDocumentAst, g as PslModel, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, u as PslDefaultValue, v as PslNamedTypeDeclaration, y as PslNamespace } from "./psl-ast-0oMzInxd-BjKbrwNk.mjs";
|
|
8
|
+
import { r as AssembledAuthoringContributions } from "./control-BrO2h8ed.mjs";
|
|
9
|
+
import "./psl-ast-DjTRQDW7.mjs";
|
|
10
10
|
import { i as isPslIdentifier } from "./tokenizer-i8RaVWVa-7fRwlCPP.mjs";
|
|
11
|
-
import { B as PslDiagnosticCollector, D as ModelAttributeAst, V as PslSources, Y as SyntaxNode, at as diagnosticFromSpan, d as DiagnosticSource, m as FieldAttributeAst, n as AstNode, ot as diagnosticSource, p as ExpressionAst, pt as mapPslDiagnostics, r as AttributeArgAst, rt as createPslDiagnosticCollector, z as PslDiagnostic } from "./parse-djL5wker-
|
|
12
|
-
import { $ as ModelSymbol, A as DescribeUnresolvedType, At as SymbolTableResult, B as FixedStrArgType, Bt as contributedTypeCodecId, C as ContributedTypeNamespace, Ct as ResolvedAttributeArg, D as CtxOf, Dt as Scope, E as CreateBinderInput, Et as ResolvedTypeConstructorCall, F as FieldAttributeCtx, Ft as UnrestrictedNumArgType, G as InferAttr, Gt as keywordPslSpan, H as FuncCallSig, Ht as createBinder, I as FieldRefArgType, It as UnrestrictedStrArgType, J as JsonArgType, Jt as nodePslSpan, K as InspectableArgType, Kt as matchesSelector, L as FieldSymbol, Lt as UnsupportedAttribute, M as EntityDeclaration, Mt as TypedFuncCall, N as EntityRefArgType, Nt as UnresolvedTypeReference, O as DataTypeValueArgType, Ot as ScopeResolution, P as EntitySelector, Pt as UnrestrictedIdentifierArgType, Q as ModelAttributeCtx, Qt as typeReferenceNode, R as FixedIdentifierArgType, Rt as buildSymbolTable, S as ContributedTypeDescriptor, St as ResolvedAttribute, T as ContributedTypeSymbol, Tt as ResolvedNamedTypeBinding, U as FunctionSymbol, Ut as entityReference, V as FuncCallArgType, Vt as contributedTypeOf, W as IdentifierArgType, Wt as isNamespaceLike, X as ListArgType, Xt as readResolvedAttributes, Y as JsonValueArgType, Yt as readResolvedAttribute, Z as MixinSymbol, Zt as readResolvedConstructorCall, _ as CompositeTypeSymbol, _t as RecordArgType, a as AttributeLevel, at as NumLiteralArgType, b as ContributedMember, bt as RequiredContextFor, c as AttributeSymbol, ct as OutOf, d as BinderResult, dt as ParameterSymbol, et as NamedOut, f as BlockAttributeCtx, ft as ParsedTaggedLiteral, g as BuildSymbolTableOptions, gt as PslSymbol, h as BoundSpec, ht as PositionalParam, i as AttributeCtx, it as NumLiteral, j as DescribeUnsupportedAttribute, jt as TaggedLiteralArgType, k as DeclarationFor, kt as SymbolTable, l as Binder, lt as PSL_UNRESOLVED_REFERENCE, m as BoolArgType, mt as PosOut, n as ArgType, nt as NamespaceSymbol, o as AttributeOut, ot as OneOfArgType, p as BlockSymbol, pt as ParsedTypedValue, q as IntArgType, qt as memberEntries, r as ArgTypeKind, rt as NullArgType, s as AttributeSpec, st as OptionalArgType, t as AnyArgType, tt as NamedTypeSymbol, u as BinderContext, ut as Param, v as ConstantSymbol, vt as ReferencedFieldRefArgType, w as ContributedTypeScope, wt as ResolvedEntityReference, x as ContributedNamespaceSymbol, xt as Resolution, y as ContextForRequirement, yt as RejectingArgType, z as FixedNumArgType, zt as contributedTypeAt } from "./binder-BszqDG1t-
|
|
11
|
+
import { B as PslDiagnosticCollector, D as ModelAttributeAst, V as PslSources, Y as SyntaxNode, at as diagnosticFromSpan, d as DiagnosticSource, m as FieldAttributeAst, n as AstNode, ot as diagnosticSource, p as ExpressionAst, pt as mapPslDiagnostics, r as AttributeArgAst, rt as createPslDiagnosticCollector, z as PslDiagnostic } from "./parse-djL5wker-Bf4uawTE.mjs";
|
|
12
|
+
import { $ as ModelSymbol, A as DescribeUnresolvedType, At as SymbolTableResult, B as FixedStrArgType, Bt as contributedTypeCodecId, C as ContributedTypeNamespace, Ct as ResolvedAttributeArg, D as CtxOf, Dt as Scope, E as CreateBinderInput, Et as ResolvedTypeConstructorCall, F as FieldAttributeCtx, Ft as UnrestrictedNumArgType, G as InferAttr, Gt as keywordPslSpan, H as FuncCallSig, Ht as createBinder, I as FieldRefArgType, It as UnrestrictedStrArgType, J as JsonArgType, Jt as nodePslSpan, K as InspectableArgType, Kt as matchesSelector, L as FieldSymbol, Lt as UnsupportedAttribute, M as EntityDeclaration, Mt as TypedFuncCall, N as EntityRefArgType, Nt as UnresolvedTypeReference, O as DataTypeValueArgType, Ot as ScopeResolution, P as EntitySelector, Pt as UnrestrictedIdentifierArgType, Q as ModelAttributeCtx, Qt as typeReferenceNode, R as FixedIdentifierArgType, Rt as buildSymbolTable, S as ContributedTypeDescriptor, St as ResolvedAttribute, T as ContributedTypeSymbol, Tt as ResolvedNamedTypeBinding, U as FunctionSymbol, Ut as entityReference, V as FuncCallArgType, Vt as contributedTypeOf, W as IdentifierArgType, Wt as isNamespaceLike, X as ListArgType, Xt as readResolvedAttributes, Y as JsonValueArgType, Yt as readResolvedAttribute, Z as MixinSymbol, Zt as readResolvedConstructorCall, _ as CompositeTypeSymbol, _t as RecordArgType, a as AttributeLevel, at as NumLiteralArgType, b as ContributedMember, bt as RequiredContextFor, c as AttributeSymbol, ct as OutOf, d as BinderResult, dt as ParameterSymbol, et as NamedOut, f as BlockAttributeCtx, ft as ParsedTaggedLiteral, g as BuildSymbolTableOptions, gt as PslSymbol, h as BoundSpec, ht as PositionalParam, i as AttributeCtx, it as NumLiteral, j as DescribeUnsupportedAttribute, jt as TaggedLiteralArgType, k as DeclarationFor, kt as SymbolTable, l as Binder, lt as PSL_UNRESOLVED_REFERENCE, m as BoolArgType, mt as PosOut, n as ArgType, nt as NamespaceSymbol, o as AttributeOut, ot as OneOfArgType, p as BlockSymbol, pt as ParsedTypedValue, q as IntArgType, qt as memberEntries, r as ArgTypeKind, rt as NullArgType, s as AttributeSpec, st as OptionalArgType, t as AnyArgType, tt as NamedTypeSymbol, u as BinderContext, ut as Param, v as ConstantSymbol, vt as ReferencedFieldRefArgType, w as ContributedTypeScope, wt as ResolvedEntityReference, x as ContributedNamespaceSymbol, xt as Resolution, y as ContextForRequirement, yt as RejectingArgType, z as FixedNumArgType, zt as contributedTypeAt } from "./binder-BszqDG1t-pSH-fXt5.mjs";
|
|
13
13
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/index.d.mts
|
|
14
14
|
//#region src/attribute-helpers.d.ts
|
|
15
15
|
declare function getPositionalArgument(attribute: PslAttribute, index?: number): string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as PslParserOptions } from "./config-types-
|
|
1
|
+
import { h as PslParserOptions } from "./config-types-B0JjhuaX.mjs";
|
|
2
2
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/format.d.mts
|
|
3
3
|
//#region src/format/options.d.ts
|
|
4
4
|
interface FormatOptions {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as Contract } from "./contract-types-
|
|
1
|
+
import { t as Contract } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
2
2
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
3
|
-
import { E as AuthoringTypeConstructorDescriptor, dt as PslSpan, i as AuthoringArgumentDescriptor, x as AuthoringPslBlockDescriptorNamespace, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-
|
|
4
|
-
import "./authoring-
|
|
5
|
-
import "./psl-ast-
|
|
6
|
-
import { c as ContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic } from "./config-types-
|
|
7
|
-
import { B as PslDiagnosticCollector, V as PslSources, d as DiagnosticSource, f as DocumentAst, z as PslDiagnostic } from "./parse-djL5wker-
|
|
8
|
-
import { C as ContributedTypeNamespace, Ct as ResolvedAttributeArg, Et as ResolvedTypeConstructorCall, L as FieldSymbol, kt as SymbolTable, l as Binder, p as BlockSymbol } from "./binder-BszqDG1t-
|
|
3
|
+
import { E as AuthoringTypeConstructorDescriptor, dt as PslSpan, i as AuthoringArgumentDescriptor, x as AuthoringPslBlockDescriptorNamespace, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
4
|
+
import "./authoring-D75oR8Nt.mjs";
|
|
5
|
+
import "./psl-ast-DjTRQDW7.mjs";
|
|
6
|
+
import { c as ContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic } from "./config-types-B0JjhuaX.mjs";
|
|
7
|
+
import { B as PslDiagnosticCollector, V as PslSources, d as DiagnosticSource, f as DocumentAst, z as PslDiagnostic } from "./parse-djL5wker-Bf4uawTE.mjs";
|
|
8
|
+
import { C as ContributedTypeNamespace, Ct as ResolvedAttributeArg, Et as ResolvedTypeConstructorCall, L as FieldSymbol, kt as SymbolTable, l as Binder, p as BlockSymbol } from "./binder-BszqDG1t-pSH-fXt5.mjs";
|
|
9
9
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/interpret.d.mts
|
|
10
10
|
//#region src/authoring-arguments.d.ts
|
|
11
11
|
interface MapPslHelperArgsInput {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as TokenKind } from "./tokenizer-i8RaVWVa-7fRwlCPP.mjs";
|
|
2
|
-
import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, C as IdentifierAst, D as ModelAttributeAst, E as MixinInclusionAst, F as ParseDiagnostic, G as StringLiteralExprAst, H as QualifiedNameAst, I as ParseResult, J as SyntaxKind, K as StringLiteralQuote, L as PathExprAst, M as NumberLiteralExprAst, N as ObjectFieldAst, O as ModelDeclarationAst, P as ObjectLiteralExprAst, Q as TokenAtOffset, R as Position, S as HasDocComment, T as MixinDeclarationAst, U as Range, V as PslSources, W as SourceFile, X as SyntaxToken, Y as SyntaxNode, Z as TaggedLiteralExprAst, _ as GenericBlockDeclarationAst, a as AttributeAst, b as GreenNode, c as BracedBlock, ct as filterChildren, dt as greenNode, et as TypesBlockAst, f as DocumentAst, ft as greenToken, g as FunctionCallAst, h as FieldDeclarationAst, ht as printSyntax, i as AttributeArgListAst, it as createSyntaxTree, j as NamespaceMemberAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, lt as findChildToken, m as FieldAttributeAst, mt as parse, n as AstNode, nt as castExpression, o as BlockMemberAst, p as ExpressionAst, q as SyntaxElement, r as AttributeArgAst, s as BooleanLiteralExprAst, st as dottedPathsIn, t as ArrayLiteralAst, tt as any, u as DeclarationAst, ut as findFirstChild, v as GenericBlockMemberAst, w as KeyValuePairAst, x as GreenToken, y as GreenElement } from "./parse-djL5wker-
|
|
2
|
+
import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, C as IdentifierAst, D as ModelAttributeAst, E as MixinInclusionAst, F as ParseDiagnostic, G as StringLiteralExprAst, H as QualifiedNameAst, I as ParseResult, J as SyntaxKind, K as StringLiteralQuote, L as PathExprAst, M as NumberLiteralExprAst, N as ObjectFieldAst, O as ModelDeclarationAst, P as ObjectLiteralExprAst, Q as TokenAtOffset, R as Position, S as HasDocComment, T as MixinDeclarationAst, U as Range, V as PslSources, W as SourceFile, X as SyntaxToken, Y as SyntaxNode, Z as TaggedLiteralExprAst, _ as GenericBlockDeclarationAst, a as AttributeAst, b as GreenNode, c as BracedBlock, ct as filterChildren, dt as greenNode, et as TypesBlockAst, f as DocumentAst, ft as greenToken, g as FunctionCallAst, h as FieldDeclarationAst, ht as printSyntax, i as AttributeArgListAst, it as createSyntaxTree, j as NamespaceMemberAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, lt as findChildToken, m as FieldAttributeAst, mt as parse, n as AstNode, nt as castExpression, o as BlockMemberAst, p as ExpressionAst, q as SyntaxElement, r as AttributeArgAst, s as BooleanLiteralExprAst, st as dottedPathsIn, t as ArrayLiteralAst, tt as any, u as DeclarationAst, ut as findFirstChild, v as GenericBlockMemberAst, w as KeyValuePairAst, x as GreenToken, y as GreenElement } from "./parse-djL5wker-Bf4uawTE.mjs";
|
|
3
3
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/syntax.d.mts
|
|
4
4
|
//#region src/syntax/green-builder.d.ts
|
|
5
5
|
declare class GreenNodeBuilder {
|
package/dist/psl-printer.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-ebqZ8M_M-
|
|
2
|
-
import "./authoring-
|
|
3
|
-
import { f as PslDocumentAst } from "./psl-ast-0oMzInxd-
|
|
4
|
-
import "./psl-ast-
|
|
1
|
+
import { x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
2
|
+
import "./authoring-D75oR8Nt.mjs";
|
|
3
|
+
import { f as PslDocumentAst } from "./psl-ast-0oMzInxd-BjKbrwNk.mjs";
|
|
4
|
+
import "./psl-ast-DjTRQDW7.mjs";
|
|
5
5
|
//#region ../../../1-framework/2-authoring/psl-printer/dist/index.d.mts
|
|
6
6
|
//#region src/print-psl.d.ts
|
|
7
7
|
type PslBlockDescriptorsNamespace = AuthoringPslBlockDescriptorNamespace;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../../1-framework/0-foundation/contract/dist/resolve-domain-model-
|
|
1
|
+
import { t as ApplicationDomain, u as ContractModelBase } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
2
|
+
//#region ../../../1-framework/0-foundation/contract/dist/resolve-domain-model-CZ5E6qxa.d.mts
|
|
3
3
|
//#region src/resolve-domain-model.d.ts
|
|
4
4
|
interface ResolvedDomainModel {
|
|
5
5
|
readonly namespaceId: string;
|
|
@@ -14,4 +14,4 @@ interface ResolvedDomainModel {
|
|
|
14
14
|
declare function resolveDomainModel(domain: ApplicationDomain, modelName: string): ResolvedDomainModel | undefined;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { resolveDomainModel as n, ResolvedDomainModel as t };
|
|
17
|
-
//# sourceMappingURL=resolve-domain-model-
|
|
17
|
+
//# sourceMappingURL=resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/resolve-domain-model-CZ5E6qxa.d.mts"],"mappings":";;;UAEU;WACC;WACA,OAAO;;;;;;;;iBAQD,mBAAmB,QAAQ,mBAAmB,oBAAoB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ContractExecutionSection } from "./contract-types-
|
|
3
|
-
import { a as CodecCallContext } from "./codec-types-B4wPvO-K-
|
|
1
|
+
import { b as PlanMeta } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { n as ContractExecutionSection } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
3
|
+
import { a as CodecCallContext } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
4
4
|
import { t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
|
|
5
5
|
//#region ../../../1-framework/1-core/framework-components/dist/runtime.d.mts
|
|
6
6
|
//#region src/annotations.d.ts
|
|
@@ -898,4 +898,4 @@ interface LaneMetaBuilder<K extends OperationKind> extends MetaBuilder<K> {
|
|
|
898
898
|
declare function createMetaBuilder<K extends OperationKind>(kind: K, terminalName: string): LaneMetaBuilder<K>;
|
|
899
899
|
//#endregion
|
|
900
900
|
export { RuntimeStatementStats as $, GeneratorStability as A, QueryPlan as B, ClientActivityRegistry as C, defineAnnotation as Ct, DefineAnnotationOptions as D, startClientActivity as Dt, CrossFamilyMiddleware as E, runtimeAborted as Et, MutationDefaultsOp as F, RuntimeAbortedPhase as G, RelationKeys as H, MutationDefaultsOptions as I, RuntimeExecuteOptions as J, RuntimeCore as K, OperationKind as L, MetaBuilder as M, MutationDefaultGeneratorContributor as N, ExecuteInterceptResult as O, startTransactionActivity as Ot, MutationDefaults as P, RuntimeMutationDefaultGenerator as Q, ParamRefMutator as R, ClientActivityOptions as S, createStateStore as St, ClientActivityRun as T, raceAgainstAbort as Tt, RelationNamesOf as U, RUNTIME_ABORTED as V, ResultType as W, RuntimeLog as X, RuntimeExecutor as Y, RuntimeMiddleware as Z, AsyncIterableResult as _, checkAborted as _t, ActivityContext as a, StatementActivityRun as at, ClientActivityEnded as b, createContextBeneath as bt, ActivityFinalizedResult as c, TransactionActivity as ct, ActivityParent as d, TransactionEnded as dt, Scalars as et, ActivityStateStore as f, TransactionSettlement as ft, AppliedMutationDefault as g, assertMutationDefaultGeneratorsAvailable as gt, AnnotationValue as h, assertAnnotationsApplicable as ht, ActivityChildSlot as i, StatementActivity as it, LaneMetaBuilder as j, ExecutionPlan as k, streamStatement as kt, ActivityInterceptResult as l, TransactionActivityOptions as lt, AnnotationSource as m, applyMutationDefaults as mt, ActivityBase as n, ShapeSpec as nt, ActivityContextFields as o, StatementEnded as ot, AnnotationHandle as p, ValidAnnotations as pt, RuntimeCoreOptions as q, ActivityChild as r, StartActivity as rt, ActivityEndedResult as s, StatementOptions as st, Activity as t, Shape as tt, ActivityObserver as u, TransactionActivityRun as ut, ClientActivity as v, checkMiddlewareCompatibility as vt, ClientActivityResult as w, executeStatement as wt, ClientActivityKind as x, createMetaBuilder as xt, ClientActivityEnd as y, collectMutationDefaultGenerators as yt, QueryInterceptResult as z };
|
|
901
|
-
//# sourceMappingURL=runtime-
|
|
901
|
+
//# sourceMappingURL=runtime-BERs-lBJ.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-
|
|
1
|
+
{"version":3,"file":"runtime-BERs-lBJ.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/runtime.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;KAqBK;;;;;;;;;;;;UAYK,gBAAgB,SAAS,cAAc;WACtC;WACA;WACA,OAAO;WACP,cAAc,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2C3B,iBAAiB,SAAS,cAAc;GAC/C,OAAO,UAAU,gBAAgB,SAAS;WAClC;WACA,cAAc,YAAY;EACnC,KAAK,QAAQ,mBAAmB;;;KAG7B;WACM;aACE,cAAc;;;WAGhB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;UAwBd,wBAAwB,cAAc;WACrC;WACA,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCjB,iBAAiB,mBAAmB,cAAc,eAAe,SAAS,wBAAwB,WAAW,iBAAiB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwDnJ,iBAAiB,UAAU,eAAe,oBAAoB,yBAAyB,gCAAgC,WAAW,KAAK,GAAG,WAAW,sBAAsB,SAAS,SAAS,UAAU,QAAQ,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;iBAwBtN,4BAA4B,sBAAsB,yBAAyB,kBAAkB,MAAM,eAAe;;;;;;;;;;;;;;;;;cAiBrH;;KAET;;;;;;;;;;iBAUY,eAAe,OAAO,qBAAqB,kBAAkB;;;cAGhE,oBAAoB,gBAAgB,cAAc,MAAM,YAAY;mBAC/D;UACT;UACA;UACA;EACR,YAAY,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B;WAC3C,YAAY,cAAc;WAC1B,SAAS,sBAAsB;;WAE/B,QAAQ;;WAER;;;;;iBAKM,yBAAyB,iBAAiB,iBAAiB,SAAS,2BAA2B,YAAY,QAAQ,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAiCjJ,YAAY,UAAU;EAC9B,SAAS,GAAG,cAAc,eAAe,YAAY,UAAU,QAAQ,gBAAgB,GAAG;;;;;;;;;;;;UAYlF,gBAAgB,UAAU,uBAAuB,YAAY;WAC5D,aAAa,oBAAoB,yBAAyB;;;;;;;;;;;iBAWpD,kBAAkB,UAAU,eAAe,MAAM,GAAG,uBAAuB,gBAAgB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
|
+
import { t as isPlainRecord } from "./is-plain-record-CUofyVQ7-DWEzdhIx.mjs";
|
|
3
|
+
//#region ../../../1-framework/0-foundation/contract/dist/storage-value-objects-Di8Cowdl.mjs
|
|
4
|
+
function valueObjectsOf(storage, namespaceId) {
|
|
5
|
+
const slot = Object.hasOwn(storage.namespaces, namespaceId) ? storage.namespaces[namespaceId]?.entries?.["valueObject"] : void 0;
|
|
6
|
+
return isPlainRecord(slot) ? blindCast(slot) : {};
|
|
7
|
+
}
|
|
8
|
+
/** The storage value object a reference names, or `undefined` when storage does not have it. */
|
|
9
|
+
function valueObjectAt(storage, reference) {
|
|
10
|
+
const valueObjects = valueObjectsOf(storage, reference.namespaceId);
|
|
11
|
+
return Object.hasOwn(valueObjects, reference.entityName) ? valueObjects[reference.entityName] : void 0;
|
|
12
|
+
}
|
|
13
|
+
/** Each value object in storage, in every namespace, with its coordinate. */
|
|
14
|
+
function valueObjectsWithCoordinates(storage) {
|
|
15
|
+
return Object.keys(storage.namespaces).flatMap((namespaceId) => Object.entries(valueObjectsOf(storage, namespaceId)).map(([entityName, valueObject]) => ({
|
|
16
|
+
coordinate: {
|
|
17
|
+
plane: "storage",
|
|
18
|
+
namespaceId,
|
|
19
|
+
entityKind: "valueObject",
|
|
20
|
+
entityName
|
|
21
|
+
},
|
|
22
|
+
valueObject
|
|
23
|
+
})));
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { valueObjectsWithCoordinates as n, valueObjectAt as t };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=storage-value-objects-Di8Cowdl-QNqJXkk0.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-value-objects-Di8Cowdl-QNqJXkk0.mjs","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/storage-value-objects-Di8Cowdl.mjs"],"sourcesContent":["import { t as isPlainRecord } from \"./is-plain-record-CUofyVQ7.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/storage-value-objects.ts\nfunction valueObjectsOf(storage, namespaceId) {\n\tconst slot = Object.hasOwn(storage.namespaces, namespaceId) ? storage.namespaces[namespaceId]?.entries?.[\"valueObject\"] : void 0;\n\treturn isPlainRecord(slot) ? blindCast(slot) : {};\n}\n/** The storage value object a reference names, or `undefined` when storage does not have it. */\nfunction valueObjectAt(storage, reference) {\n\tconst valueObjects = valueObjectsOf(storage, reference.namespaceId);\n\treturn Object.hasOwn(valueObjects, reference.entityName) ? valueObjects[reference.entityName] : void 0;\n}\n/** Each value object in storage, in every namespace, with its coordinate. */\nfunction valueObjectsWithCoordinates(storage) {\n\treturn Object.keys(storage.namespaces).flatMap((namespaceId) => Object.entries(valueObjectsOf(storage, namespaceId)).map(([entityName, valueObject]) => ({\n\t\tcoordinate: {\n\t\t\tplane: \"storage\",\n\t\t\tnamespaceId,\n\t\t\tentityKind: \"valueObject\",\n\t\t\tentityName\n\t\t},\n\t\tvalueObject\n\t})));\n}\n//#endregion\nexport { valueObjectsWithCoordinates as n, valueObjectAt as t };\n\n//# sourceMappingURL=storage-value-objects-Di8Cowdl.mjs.map"],"mappings":";;;AAGA,SAAS,eAAe,SAAS,aAAa;CAC7C,MAAM,OAAO,OAAO,OAAO,QAAQ,YAAY,WAAW,IAAI,QAAQ,WAAW,YAAY,EAAE,UAAU,iBAAiB,KAAK;CAC/H,OAAO,cAAc,IAAI,IAAI,UAAU,IAAI,IAAI,CAAC;AACjD;;AAEA,SAAS,cAAc,SAAS,WAAW;CAC1C,MAAM,eAAe,eAAe,SAAS,UAAU,WAAW;CAClE,OAAO,OAAO,OAAO,cAAc,UAAU,UAAU,IAAI,aAAa,UAAU,cAAc,KAAK;AACtG;;AAEA,SAAS,4BAA4B,SAAS;CAC7C,OAAO,OAAO,KAAK,QAAQ,UAAU,CAAC,CAAC,SAAS,gBAAgB,OAAO,QAAQ,eAAe,SAAS,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,kBAAkB;EACxJ,YAAY;GACX,OAAO;GACP;GACA,YAAY;GACZ;EACD;EACA;CACD,EAAE,CAAC;AACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as DataType, v as DataTypeId } from "./codec-types-B4wPvO-K-
|
|
2
|
-
import { E as AuthoringTypeConstructorDescriptor, R as DataTypeAuthoringEntry, S as AuthoringStorageTypeTemplate, et as MutationDefaultGeneratorDescriptor, o as AuthoringContributions, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-
|
|
1
|
+
import { _ as DataType, v as DataTypeId } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
2
|
+
import { E as AuthoringTypeConstructorDescriptor, R as DataTypeAuthoringEntry, S as AuthoringStorageTypeTemplate, et as MutationDefaultGeneratorDescriptor, o as AuthoringContributions, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/framework-components/dist/temporal-type-aliases-BIiamFSH.d.mts
|
|
4
4
|
//#region src/shared/data-type-support.d.ts
|
|
5
5
|
/** A component as data type assembly reads it: the data types it registers, their authoring entries, the codecs that name them, and the type constructors whose value arguments name them. */
|
|
@@ -130,4 +130,4 @@ declare function temporalTypeAliases<const Type extends AuthoringStorageTypeTemp
|
|
|
130
130
|
};
|
|
131
131
|
//#endregion
|
|
132
132
|
export { tsTaggedTemplateSource as _, TIMESTAMP_NOW_GENERATOR_ID as a, assembleDataTypeSupport as c, printTaggedLiteral as d, printedTaggedLiteralReadsBack as f, timestampNowControlDescriptor as g, temporalTypeAliases as h, TAGGED_LITERAL_MAX_BYTES as i, canonicalizeTaggedLiteralBody as l, resolveTemplateTagEscapes as m, ContributedHelper as n, TaggedLiteralCanonicalization as o, resolvePslBacktickEscapes as p, DataTypeComponent as r, assembleAuthoringDataTypes as s, AssembledDataTypeSupport as t, describeTaggedLiteralFailure as u };
|
|
133
|
-
//# sourceMappingURL=temporal-type-aliases-BIiamFSH-
|
|
133
|
+
//# sourceMappingURL=temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temporal-type-aliases-BIiamFSH-
|
|
1
|
+
{"version":3,"file":"temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/temporal-type-aliases-BIiamFSH.d.mts"],"mappings":";;;;;UAIU;WACC;WACA,YAAY,cAAc;WAC1B,YAAY,KAAK;WACjB;cACG;aACD;eACE,mBAAmB;iBACjB;iBACA,UAAU;;;;;;UAMjB;WACC;WACA,YAAY;WACZ;;UAED;WACC,SAAS;;WAET,UAAU;aACR,MAAM;aACN;;;;iBAII,2BAA2B,YAAY,cAAc,KAAK,0CAA0C,SAAS,eAAe;;;;iBAI5H,wBAAwB,YAAY,cAAc,oBAAoB,kBAAkB,oBAAoB,yBAAyB;;;;;;;;KAQjJ;WACM;WACA;;WAEA;WACA;WACA;;cAEG;;iBAEG,6BAA6B;;iBAE7B,0BAA0B;;iBAE1B,0BAA0B;;;;;;;;;iBAS1B,8BAA8B,mBAAmB;;;;;;;;iBAQjD,mBAAmB,aAAa;;iBAEhC,8BAA8B;;;;;;;;iBAQ9B,uBAAuB,aAAa;WAC1C;WACA;;;;;;;cAOG;;iBAEG,iCAAiC;;;;iBAIjC,0BAA0B,aAAa,8BAA8B,MAAM,MAAM;WACvF;aACE;aACA;aACA;eACE,MAAM;eACN;iBACE;iBACA;;;;WAIN;aACE;aACA;aACA;eACE,MAAM;eACN;iBACE;iBACA;;eAEF;iBACE;iBACA"}
|
|
@@ -3,6 +3,56 @@ import { n as contractError, r as soleDomainNamespaceId } from "./default-namesp
|
|
|
3
3
|
import { t as asNamespaceId } from "./namespace-id-asbWpwMw-3yxn-tRe.mjs";
|
|
4
4
|
import { type } from "arktype";
|
|
5
5
|
//#region ../../../1-framework/0-foundation/contract/dist/types.mjs
|
|
6
|
+
const ScalarFieldTypeSchema = type({
|
|
7
|
+
"+": "reject",
|
|
8
|
+
kind: "'scalar'",
|
|
9
|
+
codecId: "string",
|
|
10
|
+
"typeParams?": "Record<string, unknown>"
|
|
11
|
+
});
|
|
12
|
+
const ValueObjectReferenceSchema = type({
|
|
13
|
+
"+": "reject",
|
|
14
|
+
kind: "'valueObject'",
|
|
15
|
+
plane: "'storage'",
|
|
16
|
+
namespaceId: "string",
|
|
17
|
+
entityKind: "'valueObject'",
|
|
18
|
+
entityName: "string"
|
|
19
|
+
});
|
|
20
|
+
const UnionFieldTypeSchema = type({
|
|
21
|
+
"+": "reject",
|
|
22
|
+
kind: "'union'",
|
|
23
|
+
members: ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).array()
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* The type of a domain field or of a value object's member, `ContractFieldType`: a scalar with its codec, a value object by its storage coordinate, or a union of those. A union holds no union.
|
|
27
|
+
*/
|
|
28
|
+
const ContractFieldTypeSchema = ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).or(UnionFieldTypeSchema);
|
|
29
|
+
const StorageValueSetReferenceSchema = type({
|
|
30
|
+
"+": "reject",
|
|
31
|
+
plane: "'storage'",
|
|
32
|
+
namespaceId: "string",
|
|
33
|
+
entityKind: "'valueSet'",
|
|
34
|
+
entityName: "string",
|
|
35
|
+
"spaceId?": "string"
|
|
36
|
+
});
|
|
37
|
+
/** A value object's member, `ContractValueObjectField`. */
|
|
38
|
+
const ContractValueObjectFieldSchema = type({
|
|
39
|
+
"+": "reject",
|
|
40
|
+
nullable: "boolean",
|
|
41
|
+
type: ContractFieldTypeSchema,
|
|
42
|
+
"many?": type("false").or({
|
|
43
|
+
"+": "reject",
|
|
44
|
+
elementNullable: "boolean"
|
|
45
|
+
}),
|
|
46
|
+
"dict?": "true",
|
|
47
|
+
"valueSet?": StorageValueSetReferenceSchema
|
|
48
|
+
});
|
|
49
|
+
/**
|
|
50
|
+
* A value object, `ContractValueObject`: the storage entity under `storage.namespaces.<ns>.entries.valueObject.<name>` (ADR 309). The framework defines this entity kind, since domain fields refer to it; both families validate their entries against this schema.
|
|
51
|
+
*/
|
|
52
|
+
const ContractValueObjectSchema = type({
|
|
53
|
+
"+": "reject",
|
|
54
|
+
fields: type({ "[string]": ContractValueObjectFieldSchema })
|
|
55
|
+
});
|
|
6
56
|
/**
|
|
7
57
|
* Resolves the effective control policy for a storage-plane node.
|
|
8
58
|
*
|
|
@@ -49,13 +99,6 @@ function domainModelsAtDefaultNamespace(domain) {
|
|
|
49
99
|
} });
|
|
50
100
|
return domainNamespace.models;
|
|
51
101
|
}
|
|
52
|
-
/**
|
|
53
|
-
* Value objects for the contract's single domain namespace, when present.
|
|
54
|
-
* Throws when the contract does not declare exactly one namespace.
|
|
55
|
-
*/
|
|
56
|
-
function domainValueObjectsAtDefaultNamespace(domain) {
|
|
57
|
-
return domain.namespaces[soleDomainNamespaceId(domain)]?.valueObjects;
|
|
58
|
-
}
|
|
59
102
|
const ExecutionMutationDefaultValueSchema = type({
|
|
60
103
|
"+": "reject",
|
|
61
104
|
kind: "'generator'",
|
|
@@ -124,6 +167,6 @@ function isExecutionMutationDefaultValue(value) {
|
|
|
124
167
|
return true;
|
|
125
168
|
}
|
|
126
169
|
//#endregion
|
|
127
|
-
export {
|
|
170
|
+
export { CrossReferenceSchema as a, domainModelsAtDefaultNamespace as c, governingControlPolicy as d, isColumnDefault as f, profileHash as h, ContractValueObjectSchema as i, effectiveControlPolicy as l, isExecutionMutationDefaultValue as m, ContractFieldTypeSchema as n, coreHash as o, isColumnDefaultLiteralInputValue as p, ContractValueObjectFieldSchema as r, crossRef as s, ContractExecutionSectionSchema as t, executionHash as u };
|
|
128
171
|
|
|
129
|
-
//# sourceMappingURL=types-
|
|
172
|
+
//# sourceMappingURL=types-Boh5NGDz.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-Boh5NGDz.mjs","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/types.mjs"],"sourcesContent":["import { n as soleDomainNamespaceId, r as contractError, t as UNBOUND_DOMAIN_NAMESPACE_ID } from \"./default-namespace-D4vCwkXg.mjs\";\nimport { t as resolveDomainModel } from \"./resolve-domain-model-BovPAsW2.mjs\";\nimport { t as asNamespaceId } from \"./namespace-id-asbWpwMw.mjs\";\nimport { n as valueObjectsWithCoordinates, t as valueObjectAt } from \"./storage-value-objects-Di8Cowdl.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { type } from \"arktype\";\n//#region src/contract-value-object-schema.ts\nconst ScalarFieldTypeSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'scalar'\",\n\tcodecId: \"string\",\n\t\"typeParams?\": \"Record<string, unknown>\"\n});\nconst ValueObjectReferenceSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'valueObject'\",\n\tplane: \"'storage'\",\n\tnamespaceId: \"string\",\n\tentityKind: \"'valueObject'\",\n\tentityName: \"string\"\n});\nconst UnionFieldTypeSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'union'\",\n\tmembers: ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).array()\n});\n/**\n* The type of a domain field or of a value object's member, `ContractFieldType`: a scalar with its codec, a value object by its storage coordinate, or a union of those. A union holds no union.\n*/\nconst ContractFieldTypeSchema = ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).or(UnionFieldTypeSchema);\nconst StorageValueSetReferenceSchema = type({\n\t\"+\": \"reject\",\n\tplane: \"'storage'\",\n\tnamespaceId: \"string\",\n\tentityKind: \"'valueSet'\",\n\tentityName: \"string\",\n\t\"spaceId?\": \"string\"\n});\n/** A value object's member, `ContractValueObjectField`. */\nconst ContractValueObjectFieldSchema = type({\n\t\"+\": \"reject\",\n\tnullable: \"boolean\",\n\ttype: ContractFieldTypeSchema,\n\t\"many?\": type(\"false\").or({\n\t\t\"+\": \"reject\",\n\t\telementNullable: \"boolean\"\n\t}),\n\t\"dict?\": \"true\",\n\t\"valueSet?\": StorageValueSetReferenceSchema\n});\n/**\n* A value object, `ContractValueObject`: the storage entity under `storage.namespaces.<ns>.entries.valueObject.<name>` (ADR 309). The framework defines this entity kind, since domain fields refer to it; both families validate their entries against this schema.\n*/\nconst ContractValueObjectSchema = type({\n\t\"+\": \"reject\",\n\tfields: type({ \"[string]\": ContractValueObjectFieldSchema })\n});\n//#endregion\n//#region src/control-policy.ts\n/**\n* Resolves the effective control policy for a storage-plane node.\n*\n* Precedence: node-level value → contract default → `'managed'`.\n*\n* Both parameters are optional raw values so this function stays node-type-agnostic\n* and can be called by any consumer (verifier, planner, etc.) without importing IR classes.\n*/\nfunction effectiveControlPolicy(nodeControl, defaultControlPolicy) {\n\treturn nodeControl ?? defaultControlPolicy ?? \"managed\";\n}\n/**\n* The control policy that governs one storage object: what a planner may change in it and, in MongoDB, whether its contract describes a validator and how the verifier grades it. An `external` contract default is a floor that no object's own policy can raise ([ADR 224](../../../../../docs/architecture%20docs/adrs/ADR%20224%20-%20Control%20Policy%20%E2%80%94%20framework-locked%20vocabulary%20and%20family-owned%20dispatch.md)); otherwise this is {@link effectiveControlPolicy}.\n*/\nfunction governingControlPolicy(subject, defaultControlPolicy) {\n\tif (defaultControlPolicy === \"external\") return \"external\";\n\treturn effectiveControlPolicy(subject?.explicitNodeControlPolicy, defaultControlPolicy);\n}\n//#endregion\n//#region src/cross-reference.ts\nconst CrossReferenceSchema = /* @__PURE__ */ blindCast(/* @__PURE__ */ type({\n\t\"+\": \"reject\",\n\tnamespace: \"string\",\n\tmodel: \"string\",\n\t\"space?\": \"string\"\n}));\nconst DEFAULT_CROSS_REF_NAMESPACE = \"__unbound__\";\nfunction crossRef(model, namespace = DEFAULT_CROSS_REF_NAMESPACE, space) {\n\treturn {\n\t\tnamespace: asNamespaceId(namespace),\n\t\tmodel,\n\t\t...space !== void 0 ? { space } : {}\n\t};\n}\n//#endregion\n//#region src/domain-namespace-access.ts\n/**\n* Models map for the contract's single domain namespace. Throws when the\n* contract does not declare exactly one namespace — bare-name access is\n* ambiguous across namespaces and must be qualified explicitly (TML-2550).\n*/\nfunction domainModelsAtDefaultNamespace(domain) {\n\tconst namespaceId = soleDomainNamespaceId(domain);\n\tconst domainNamespace = domain.namespaces[namespaceId];\n\tif (domainNamespace === void 0) throw contractError(\"CONTRACT.NAMESPACE_INVALID\", `domain namespace \"${namespaceId}\" is not present on the contract`, { meta: {\n\t\treason: \"domain-namespace-missing\",\n\t\tnamespaceId\n\t} });\n\treturn domainNamespace.models;\n}\n//#endregion\n//#region src/execution-section-schema.ts\nconst ExecutionMutationDefaultValueSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'generator'\",\n\tid: type(\"string\").narrow((value, ctx) => {\n\t\treturn /^[A-Za-z0-9][A-Za-z0-9_-]*$/.test(value) ? true : ctx.mustBe(\"a flat generator id\");\n\t}),\n\t\"params?\": \"Record<string, unknown>\"\n});\nconst ContractExecutionSectionSchema = /* @__PURE__ */ blindCast(/* @__PURE__ */ type({\n\t\"+\": \"reject\",\n\texecutionHash: \"string\",\n\tmutations: {\n\t\t\"+\": \"reject\",\n\t\tdefaults: type({\n\t\t\t\"+\": \"reject\",\n\t\t\tref: {\n\t\t\t\t\"+\": \"reject\",\n\t\t\t\tnamespace: \"string\",\n\t\t\t\tentry: \"string\",\n\t\t\t\tfield: \"string\"\n\t\t\t},\n\t\t\t\"onCreate?\": ExecutionMutationDefaultValueSchema,\n\t\t\t\"onUpdate?\": ExecutionMutationDefaultValueSchema\n\t\t}).array().readonly()\n\t}\n}));\n//#endregion\n//#region src/types.ts\nfunction executionHash(value) {\n\treturn value;\n}\nfunction coreHash(value) {\n\treturn value;\n}\nfunction profileHash(value) {\n\treturn value;\n}\n/**\n* Runtime predicate for `ColumnDefaultLiteralInputValue`. Authoring layers\n* resolve template values from caller-supplied args (typed `unknown` at the\n* boundary) and need to validate before constructing a `ColumnDefault`.\n* Accepts JSON primitives, plain arrays/objects of JSON values, and `Date`\n* instances. Rejects functions, class instances (other than `Date`),\n* `undefined`, `bigint`, `symbol`, and arrays/objects containing those.\n*/\nfunction isColumnDefaultLiteralInputValue(value) {\n\tif (value === null) return true;\n\tconst t = typeof value;\n\tif (t === \"string\" || t === \"number\" || t === \"boolean\") return true;\n\tif (value instanceof Date) return true;\n\tif (Array.isArray(value)) return value.every(isColumnDefaultLiteralInputValue);\n\tif (t === \"object\" && Object.getPrototypeOf(value) === Object.prototype) return Object.values(value).every(isColumnDefaultLiteralInputValue);\n\treturn false;\n}\nfunction isColumnDefault(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst kind = value.kind;\n\tif (kind === \"literal\") return \"value\" in value;\n\tif (kind === \"function\") return typeof value.expression === \"string\";\n\treturn false;\n}\nfunction isExecutionMutationDefaultValue(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst candidate = value;\n\tif (candidate.kind !== \"generator\") return false;\n\tif (typeof candidate.id !== \"string\") return false;\n\tif (candidate.params !== void 0 && (typeof candidate.params !== \"object\" || candidate.params === null || Array.isArray(candidate.params))) return false;\n\treturn true;\n}\n//#endregion\nexport { ContractExecutionSectionSchema, ContractFieldTypeSchema, ContractValueObjectFieldSchema, ContractValueObjectSchema, CrossReferenceSchema, UNBOUND_DOMAIN_NAMESPACE_ID, asNamespaceId, coreHash, crossRef, domainModelsAtDefaultNamespace, effectiveControlPolicy, executionHash, governingControlPolicy, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, profileHash, resolveDomainModel, soleDomainNamespaceId, valueObjectAt, valueObjectsWithCoordinates };\n\n//# sourceMappingURL=types.mjs.map"],"mappings":";;;;;AAOA,MAAM,wBAAwB,KAAK;CAClC,KAAK;CACL,MAAM;CACN,SAAS;CACT,eAAe;AAChB,CAAC;AACD,MAAM,6BAA6B,KAAK;CACvC,KAAK;CACL,MAAM;CACN,OAAO;CACP,aAAa;CACb,YAAY;CACZ,YAAY;AACb,CAAC;AACD,MAAM,uBAAuB,KAAK;CACjC,KAAK;CACL,MAAM;CACN,SAAS,sBAAsB,GAAG,0BAA0B,CAAC,CAAC,MAAM;AACrE,CAAC;;;;AAID,MAAM,0BAA0B,sBAAsB,GAAG,0BAA0B,CAAC,CAAC,GAAG,oBAAoB;AAC5G,MAAM,iCAAiC,KAAK;CAC3C,KAAK;CACL,OAAO;CACP,aAAa;CACb,YAAY;CACZ,YAAY;CACZ,YAAY;AACb,CAAC;;AAED,MAAM,iCAAiC,KAAK;CAC3C,KAAK;CACL,UAAU;CACV,MAAM;CACN,SAAS,KAAK,OAAO,CAAC,CAAC,GAAG;EACzB,KAAK;EACL,iBAAiB;CAClB,CAAC;CACD,SAAS;CACT,aAAa;AACd,CAAC;;;;AAID,MAAM,4BAA4B,KAAK;CACtC,KAAK;CACL,QAAQ,KAAK,EAAE,YAAY,+BAA+B,CAAC;AAC5D,CAAC;;;;;;;;;AAWD,SAAS,uBAAuB,aAAa,sBAAsB;CAClE,OAAO,eAAe,wBAAwB;AAC/C;;;;AAIA,SAAS,uBAAuB,SAAS,sBAAsB;CAC9D,IAAI,yBAAyB,YAAY,OAAO;CAChD,OAAO,uBAAuB,SAAS,2BAA2B,oBAAoB;AACvF;AAGA,MAAM,uBAAuC,0BAA0B,qBAAK;CAC3E,KAA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