@prisma/orm-framework 8.0.0-rc.9 → 8.0.0-rc.9-dev.2
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-CAxiXxKg.d.mts → apply-specifier-default-control-policy-yxEeh3lJ.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-yxEeh3lJ.d.mts.map +1 -0
- package/dist/authoring-D2ngo2MB.d.mts +1 -0
- package/dist/{canonicalization-DFpB09nP-4OdB2nsy.d.mts → canonicalization-uZb7Sjk2-Dx6ifIWL.d.mts} +3 -3
- package/dist/{canonicalization-DFpB09nP-4OdB2nsy.d.mts.map → canonicalization-uZb7Sjk2-Dx6ifIWL.d.mts.map} +1 -1
- package/dist/{codec-DHvxe5tk.d.mts → codec-DxAIshoO.d.mts} +3 -3
- package/dist/{codec-DHvxe5tk.d.mts.map → codec-DxAIshoO.d.mts.map} +1 -1
- package/dist/{codec-types-nVMtogur-DkhzrAqE.d.mts → codec-types-nVMtogur-CYBdUQUH.d.mts} +2 -2
- package/dist/{codec-types-nVMtogur-DkhzrAqE.d.mts.map → codec-types-nVMtogur-CYBdUQUH.d.mts.map} +1 -1
- package/dist/{components-BQv52KQK.d.mts → components-CQrZAxZu.d.mts} +4 -4
- package/dist/{components-BQv52KQK.d.mts.map → components-CQrZAxZu.d.mts.map} +1 -1
- package/dist/components.d.mts +16 -16
- package/dist/components.mjs +2 -2
- package/dist/components__authoring.d.mts +2 -2
- package/dist/components__codec.d.mts +2 -2
- package/dist/components__components.d.mts +3 -3
- package/dist/components__control.d.mts +2 -2
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__ir.d.mts +1 -1
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +2 -2
- package/dist/components__runtime.mjs +2 -2
- package/dist/{config-types-Bs2RmoF1.d.mts → config-types-udmMgDBA.d.mts} +7 -7
- package/dist/{config-types-Bs2RmoF1.d.mts.map → config-types-udmMgDBA.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 +39 -4
- package/dist/contract-authoring.d.mts.map +1 -1
- package/dist/contract-authoring.mjs +64 -1
- package/dist/contract-authoring.mjs.map +1 -1
- package/dist/{contract-types-CkdMH7F7-9EHXSwbH.d.mts → contract-types-HCUyPohe-CuimQxo_.d.mts} +3 -3
- package/dist/{contract-types-CkdMH7F7-9EHXSwbH.d.mts.map → contract-types-HCUyPohe-CuimQxo_.d.mts.map} +1 -1
- package/dist/contract.d.mts +11 -11
- package/dist/contract.mjs +1 -1
- 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 +5 -5
- package/dist/contract__validate-domain.d.mts +1 -1
- package/dist/contract__validate-domain.mjs +1 -1
- package/dist/{control-CjcbNOkD.d.mts → control-B32e7diK.d.mts} +10 -10
- package/dist/{control-CjcbNOkD.d.mts.map → control-B32e7diK.d.mts.map} +1 -1
- package/dist/{domain-envelope-D6Wn9AmZ-BqZKTT9U.d.mts → domain-envelope-CENjHN4U-BIIt9bl4.d.mts} +17 -5
- package/dist/{domain-envelope-D6Wn9AmZ-BqZKTT9U.d.mts.map → domain-envelope-CENjHN4U-BIIt9bl4.d.mts.map} +1 -1
- package/dist/emission-Cd3DfQdp.d.mts +2 -0
- package/dist/{emission-types-D9HO45ZP-DNR08QfB.d.mts → emission-types-BoSJNKfQ-D0NRnZiA.d.mts} +10 -6
- package/dist/emission-types-BoSJNKfQ-D0NRnZiA.d.mts.map +1 -0
- package/dist/{enum-accessor-PH5vjghI.d.mts → enum-accessor-Gr9UcG-r.d.mts} +3 -3
- package/dist/{enum-accessor-PH5vjghI.d.mts.map → enum-accessor-Gr9UcG-r.d.mts.map} +1 -1
- package/dist/errors.d.mts +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/{execution-Bip-dSRD.d.mts → execution-BDzJVN0t.d.mts} +2 -2
- package/dist/{execution-Bip-dSRD.d.mts.map → execution-BDzJVN0t.d.mts.map} +1 -1
- package/dist/{execution-BBhG0eEX.d.mts → execution-CdhoM1OQ.d.mts} +2 -2
- package/dist/{execution-BBhG0eEX.d.mts.map → execution-CdhoM1OQ.d.mts.map} +1 -1
- package/dist/{framework-authoring-BYgPL2X6-DMWdZRe_.d.mts → framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts} +3 -3
- package/dist/{framework-authoring-BYgPL2X6-DMWdZRe_.d.mts.map → framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts.map} +1 -1
- package/dist/{framework-components-Cbc_SNqC-3S58m-me.d.mts → framework-components-CDppKaT_-DcMHokB8.d.mts} +9 -6
- package/dist/{framework-components-Cbc_SNqC-3S58m-me.d.mts.map → framework-components-CDppKaT_-DcMHokB8.d.mts.map} +1 -1
- package/dist/{hashing-CccSPELN.d.mts → hashing-D9wV2IJu.d.mts} +3 -3
- package/dist/{hashing-CccSPELN.d.mts.map → hashing-D9wV2IJu.d.mts.map} +1 -1
- package/dist/{hashing-utils-qKu59RSC.d.mts → hashing-utils-Bp0ZYY57.d.mts} +2 -2
- package/dist/{hashing-utils-qKu59RSC.d.mts.map → hashing-utils-Bp0ZYY57.d.mts.map} +1 -1
- package/dist/ids.d.mts +2 -2
- package/dist/ids__runtime.d.mts +1 -1
- package/dist/{ir-BvE7L9FK.d.mts → ir-BGaPKem0.d.mts} +2 -2
- package/dist/{ir-BvE7L9FK.d.mts.map → ir-BGaPKem0.d.mts.map} +1 -1
- package/dist/{parse-B5xYL_oV-EhHFhFC2.d.mts → parse-B5xYL_oV-aGFgfM8N.d.mts} +3 -3
- package/dist/{parse-B5xYL_oV-EhHFhFC2.d.mts.map → parse-B5xYL_oV-aGFgfM8N.d.mts.map} +1 -1
- package/dist/{psl-ast-TV65PbYl.d.mts → psl-ast-BkfQwHjE.d.mts} +4 -4
- package/dist/{psl-ast-TV65PbYl.d.mts.map → psl-ast-BkfQwHjE.d.mts.map} +1 -1
- package/dist/{psl-ast-dnXw52MT-Bl0_KlW1.d.mts → psl-ast-dnXw52MT-1jSUKlC9.d.mts} +3 -3
- package/dist/{psl-ast-dnXw52MT-Bl0_KlW1.d.mts.map → psl-ast-dnXw52MT-1jSUKlC9.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +10 -10
- package/dist/psl-parser__interpret.d.mts +32 -5
- package/dist/psl-parser__interpret.d.mts.map +1 -1
- package/dist/psl-parser__interpret.mjs +24 -1
- package/dist/psl-parser__interpret.mjs.map +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-printer.d.mts +6 -6
- package/dist/{resolve-domain-model-BVSb5wS5-C6Yq0dsD.d.mts → resolve-domain-model-DXP2hfI2-D4fWewZQ.d.mts} +3 -3
- package/dist/resolve-domain-model-DXP2hfI2-D4fWewZQ.d.mts.map +1 -0
- package/dist/{runtime-P51wsD3y.d.mts → runtime-DOHhUPFx.d.mts} +66 -4
- package/dist/{runtime-P51wsD3y.d.mts.map → runtime-DOHhUPFx.d.mts.map} +1 -1
- package/dist/{runtime-BqzioOmU.mjs → runtime-DXmHIbAr.mjs} +7 -2
- package/dist/{runtime-BqzioOmU.mjs.map → runtime-DXmHIbAr.mjs.map} +1 -1
- package/dist/{symbol-table-BeOQBu3C-JNYN-J1H.d.mts → symbol-table-BeOQBu3C-DduAXEh6.d.mts} +5 -5
- package/dist/{symbol-table-BeOQBu3C-JNYN-J1H.d.mts.map → symbol-table-BeOQBu3C-DduAXEh6.d.mts.map} +1 -1
- package/dist/{types-ByeQhU9p.d.mts → types-BKJi4we0.d.mts} +2 -2
- package/dist/{types-ByeQhU9p.d.mts.map → types-BKJi4we0.d.mts.map} +1 -1
- package/dist/{types-import-spec-BijT0b-s-ccYJ7L30.d.mts → types-import-spec-BijT0b-s-253rIcmj.d.mts} +3 -3
- package/dist/{types-import-spec-BijT0b-s-ccYJ7L30.d.mts.map → types-import-spec-BijT0b-s-253rIcmj.d.mts.map} +1 -1
- package/dist/{validate-domain-BkvFlY3B.mjs → validate-domain-CaT6wlDH.mjs} +15 -1
- package/dist/validate-domain-CaT6wlDH.mjs.map +1 -0
- package/dist/{validate-domain-BNBs-TVv.d.mts → validate-domain-DJXNOlkP.d.mts} +9 -5
- package/dist/validate-domain-DJXNOlkP.d.mts.map +1 -0
- package/package.json +15 -15
- package/dist/apply-specifier-default-control-policy-CAxiXxKg.d.mts.map +0 -1
- package/dist/authoring-CsmBwxxc.d.mts +0 -1
- package/dist/emission-CKmOaYU1.d.mts +0 -2
- package/dist/emission-types-D9HO45ZP-DNR08QfB.d.mts.map +0 -1
- package/dist/resolve-domain-model-BVSb5wS5-C6Yq0dsD.d.mts.map +0 -1
- package/dist/validate-domain-BNBs-TVv.d.mts.map +0 -1
- package/dist/validate-domain-BkvFlY3B.mjs.map +0 -1
|
@@ -127,7 +127,70 @@ function bindEnumType() {
|
|
|
127
127
|
function isEnumTypeHandle(value) {
|
|
128
128
|
return typeof value === "object" && value !== null && Reflect.get(value, "__prismaNextEnumTypeHandle__") === true;
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* The one rule for whether a to-one relation may be absent. The side that holds the reference
|
|
132
|
+
* (in SQL, the foreign key) is nullable exactly when one of its local fields is; the other side
|
|
133
|
+
* is always nullable, because nothing in storage guarantees the related record exists. A
|
|
134
|
+
* declaration that disagrees is reported as a contradiction; `nullable` is always the derived
|
|
135
|
+
* value.
|
|
136
|
+
*/
|
|
137
|
+
function resolveToOneRelationNullable(input) {
|
|
138
|
+
const nullable = input.ownsReference ? input.localFieldNullability.some(Boolean) : true;
|
|
139
|
+
const declared = input.declaredNullable;
|
|
140
|
+
if (declared === void 0 || declared === nullable) return {
|
|
141
|
+
nullable,
|
|
142
|
+
contradiction: void 0
|
|
143
|
+
};
|
|
144
|
+
return {
|
|
145
|
+
nullable,
|
|
146
|
+
contradiction: declared ? "declared-optional" : "declared-required"
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
function isToOneReference(relation) {
|
|
150
|
+
return "on" in relation && (relation.cardinality === "1:1" || relation.cardinality === "N:1");
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Fills in `nullable` on every same-space to-one relation that lacks it from the ownership and
|
|
154
|
+
* local-field nullability the lookup reports. A cross-space relation defaults to nullable.
|
|
155
|
+
* Relations that already carry the flag are left as they are.
|
|
156
|
+
*/
|
|
157
|
+
function withDerivedToOneRelationNullability(domain, localFieldNullability) {
|
|
158
|
+
const namespaces = Object.fromEntries(Object.entries(domain.namespaces).map(([namespaceId, namespace]) => [namespaceId, withDerivedNamespace(namespaceId, namespace, localFieldNullability)]));
|
|
159
|
+
return {
|
|
160
|
+
...domain,
|
|
161
|
+
namespaces
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
function withDerivedNamespace(namespaceId, namespace, localFieldNullability) {
|
|
165
|
+
const models = Object.fromEntries(Object.entries(namespace.models).map(([modelName, model]) => [modelName, withDerivedModel(namespaceId, modelName, model, localFieldNullability)]));
|
|
166
|
+
return {
|
|
167
|
+
...namespace,
|
|
168
|
+
models
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
function withDerivedModel(namespaceId, modelName, model, localFieldNullability) {
|
|
172
|
+
const relations = Object.fromEntries(Object.entries(model.relations ?? {}).map(([relationName, relation]) => {
|
|
173
|
+
if (!isToOneReference(relation) || relation.nullable !== void 0) return [relationName, relation];
|
|
174
|
+
const nullable = relation.to.space !== void 0 ? true : resolveToOneRelationNullable({
|
|
175
|
+
declaredNullable: void 0,
|
|
176
|
+
...localFieldNullability({
|
|
177
|
+
namespaceId,
|
|
178
|
+
modelName,
|
|
179
|
+
model,
|
|
180
|
+
relation
|
|
181
|
+
})
|
|
182
|
+
}).nullable;
|
|
183
|
+
return [relationName, {
|
|
184
|
+
...relation,
|
|
185
|
+
nullable
|
|
186
|
+
}];
|
|
187
|
+
}));
|
|
188
|
+
return {
|
|
189
|
+
...model,
|
|
190
|
+
relations
|
|
191
|
+
};
|
|
192
|
+
}
|
|
130
193
|
//#endregion
|
|
131
|
-
export { ENUM_TYPE_HANDLE_BRAND, bindEnumType, createEntityHelpersFromNamespace, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices };
|
|
194
|
+
export { ENUM_TYPE_HANDLE_BRAND, bindEnumType, createEntityHelpersFromNamespace, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };
|
|
132
195
|
|
|
133
196
|
//# sourceMappingURL=contract-authoring.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-authoring.mjs","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.mjs"],"sourcesContent":["import { instantiateAuthoringEntityType } from \"@internal/framework-components/authoring\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { structuredError } from \"@internal/utils/structured-error\";\n//#region src/capability-registry.ts\n/**\n* Deep-merges any number of capability matrices into a single matrix.\n*\n* Merge is purely structural — namespaces and capability flags from later\n* sources overlay earlier ones. Undefined entries are skipped so callers\n* can pass optional sources without pre-filtering.\n*\n* The helper is target-agnostic: it contains no SQL or family-specific\n* knowledge. Higher layers contribute their own capability matrices (for\n* example, a target pack, an extension pack, or the contract author's\n* own `capabilities` block) and call this helper to fold them together.\n*/\nfunction mergeCapabilityMatrices(...sources) {\n\tconst result = {};\n\tfor (const source of sources) {\n\t\tif (source === void 0) continue;\n\t\tfor (const [namespace, capabilities] of Object.entries(source)) {\n\t\t\tconst existing = result[namespace];\n\t\t\tresult[namespace] = existing ? {\n\t\t\t\t...existing,\n\t\t\t\t...capabilities\n\t\t\t} : { ...capabilities };\n\t\t}\n\t}\n\treturn result;\n}\n//#endregion\n//#region src/composed-helpers-scaffolding.ts\n/**\n* Walks an entity-type namespace (after cross-pack merge) and produces the\n* runtime callable surface mirroring its tree shape. Each leaf\n* descriptor becomes a function `(input) => factory(input, ctx)`;\n* nested namespace objects recurse.\n*/\nfunction createEntityHelpersFromNamespace(namespace, options, path = []) {\n\tconst result = {};\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isLeafEntityDescriptor(value)) {\n\t\t\tresult[key] = createEntityHelper(currentPath.join(\".\"), value, options);\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) result[key] = createEntityHelpersFromNamespace(value, options, currentPath);\n\t}\n\treturn result;\n}\nfunction isLeafEntityDescriptor(value) {\n\tif (typeof value !== \"object\" || value === null || value.kind !== \"entity\") return false;\n\tconst discriminator = value.discriminator;\n\treturn typeof discriminator === \"string\" && discriminator.length > 0;\n}\nfunction createEntityHelper(helperPath, descriptor, options) {\n\treturn (...args) => instantiateAuthoringEntityType(helperPath, descriptor, args, options.ctx);\n}\n//#endregion\n//#region src/contract-errors.ts\nfunction contractError(code, message, options) {\n\treturn structuredError(code, message, options);\n}\n//#endregion\n//#region src/enum-type.ts\nfunction member(name, value) {\n\treturn {\n\t\tname,\n\t\tvalue: blindCast(value === void 0 ? name : value)\n\t};\n}\nconst ENUM_TYPE_HANDLE_BRAND = \"__prismaNextEnumTypeHandle__\";\nfunction enumType(name, codec, ...members) {\n\tif (members.length === 0) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): must have at least one member.`, { meta: {\n\t\tenumName: name,\n\t\treason: \"no-members\"\n\t} });\n\tconst seenNames = /* @__PURE__ */ new Set();\n\tconst seenValues = /* @__PURE__ */ new Set();\n\tfor (const m of members) {\n\t\tif (seenNames.has(m.name)) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): duplicate member name \"${m.name}\". Member names must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmember: m.name,\n\t\t\treason: \"duplicate-member-name\"\n\t\t} });\n\t\tseenNames.add(m.name);\n\t\tconst loweredValue = String(m.value);\n\t\tif (seenValues.has(loweredValue)) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): duplicate member value \"${loweredValue}\". Member values must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmember: loweredValue,\n\t\t\treason: \"duplicate-member-value\"\n\t\t} });\n\t\tseenValues.add(loweredValue);\n\t}\n\tconst values = Object.freeze(members.map((m) => m.value));\n\tconst names = Object.freeze(members.map((m) => m.name));\n\tconst enumMembers = Object.freeze(members.map((m) => ({\n\t\tname: m.name,\n\t\tvalue: m.value\n\t})));\n\tconst membersAccessor = Object.freeze(Object.fromEntries(members.map((m) => [m.name, m.value])));\n\tconst valueSet = new Set(values);\n\tconst valueToName = new Map(members.map((m) => [m.value, m.name]));\n\tconst valueToOrdinal = new Map(values.map((v, i) => [v, i]));\n\treturn {\n\t\t[ENUM_TYPE_HANDLE_BRAND]: true,\n\t\tenumName: name,\n\t\tcodecId: codec.codecId,\n\t\tnativeType: codec.nativeType,\n\t\tenumMembers,\n\t\tvalues,\n\t\tnames,\n\t\tmembers: membersAccessor,\n\t\thas: (v) => valueSet.has(v),\n\t\tnameOf: (v) => valueToName.get(v),\n\t\tordinalOf: (v) => valueToOrdinal.get(v) ?? -1\n\t};\n}\n/**\n* Bind `enumType` to a target's codec typemap. The returned function is the\n* same runtime `enumType`, retyped so member values are constrained to the\n* codec's input type. Target packages call this with their pack's\n* `ExtractCodecTypesFromPack<Pack>` to expose a codec-aware `enumType`.\n*/\nfunction bindEnumType() {\n\treturn enumType;\n}\n/**\n* Returns true when the value is an `EnumTypeHandle` produced by\n* `enumType()`. Used in the lowering pipeline to detect enum handles\n* in field state without importing the brand key at every call site.\n*/\nfunction isEnumTypeHandle(value) {\n\treturn typeof value === \"object\" && value !== null && Reflect.get(value, \"__prismaNextEnumTypeHandle__\") === true;\n}\n//#endregion\nexport { ENUM_T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IAAI,QAAQ,KAAK,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;CACjE,MAAM,iBAAiB,IAAI,IAAI,OAAO,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3D,OAAO;GACL,yBAAyB;EAC1B,UAAU;EACV,SAAS,MAAM;EACf,YAAY,MAAM;EAClB;EACA;EACA;EACA,SAAS;EACT,MAAM,MAAM,SAAS,IAAI,CAAC;EAC1B,SAAS,MAAM,YAAY,IAAI,CAAC;EAChC,YAAY,MAAM,eAAe,IAAI,CAAC,KAAK;CAC5C;AACD;;;;;;;AAOA,SAAS,eAAe;CACvB,OAAO;AACR;;;;;;AAMA,SAAS,iBAAiB,OAAO;CAChC,OAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,QAAQ,IAAI,OAAO,8BAA8B,MAAM;AAC9G"}
|
|
1
|
+
{"version":3,"file":"contract-authoring.mjs","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.mjs"],"sourcesContent":["import { instantiateAuthoringEntityType } from \"@internal/framework-components/authoring\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { structuredError } from \"@internal/utils/structured-error\";\n//#region src/capability-registry.ts\n/**\n* Deep-merges any number of capability matrices into a single matrix.\n*\n* Merge is purely structural — namespaces and capability flags from later\n* sources overlay earlier ones. Undefined entries are skipped so callers\n* can pass optional sources without pre-filtering.\n*\n* The helper is target-agnostic: it contains no SQL or family-specific\n* knowledge. Higher layers contribute their own capability matrices (for\n* example, a target pack, an extension pack, or the contract author's\n* own `capabilities` block) and call this helper to fold them together.\n*/\nfunction mergeCapabilityMatrices(...sources) {\n\tconst result = {};\n\tfor (const source of sources) {\n\t\tif (source === void 0) continue;\n\t\tfor (const [namespace, capabilities] of Object.entries(source)) {\n\t\t\tconst existing = result[namespace];\n\t\t\tresult[namespace] = existing ? {\n\t\t\t\t...existing,\n\t\t\t\t...capabilities\n\t\t\t} : { ...capabilities };\n\t\t}\n\t}\n\treturn result;\n}\n//#endregion\n//#region src/composed-helpers-scaffolding.ts\n/**\n* Walks an entity-type namespace (after cross-pack merge) and produces the\n* runtime callable surface mirroring its tree shape. Each leaf\n* descriptor becomes a function `(input) => factory(input, ctx)`;\n* nested namespace objects recurse.\n*/\nfunction createEntityHelpersFromNamespace(namespace, options, path = []) {\n\tconst result = {};\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isLeafEntityDescriptor(value)) {\n\t\t\tresult[key] = createEntityHelper(currentPath.join(\".\"), value, options);\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) result[key] = createEntityHelpersFromNamespace(value, options, currentPath);\n\t}\n\treturn result;\n}\nfunction isLeafEntityDescriptor(value) {\n\tif (typeof value !== \"object\" || value === null || value.kind !== \"entity\") return false;\n\tconst discriminator = value.discriminator;\n\treturn typeof discriminator === \"string\" && discriminator.length > 0;\n}\nfunction createEntityHelper(helperPath, descriptor, options) {\n\treturn (...args) => instantiateAuthoringEntityType(helperPath, descriptor, args, options.ctx);\n}\n//#endregion\n//#region src/contract-errors.ts\nfunction contractError(code, message, options) {\n\treturn structuredError(code, message, options);\n}\n//#endregion\n//#region src/enum-type.ts\nfunction member(name, value) {\n\treturn {\n\t\tname,\n\t\tvalue: blindCast(value === void 0 ? name : value)\n\t};\n}\nconst ENUM_TYPE_HANDLE_BRAND = \"__prismaNextEnumTypeHandle__\";\nfunction enumType(name, codec, ...members) {\n\tif (members.length === 0) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): must have at least one member.`, { meta: {\n\t\tenumName: name,\n\t\treason: \"no-members\"\n\t} });\n\tconst seenNames = /* @__PURE__ */ new Set();\n\tconst seenValues = /* @__PURE__ */ new Set();\n\tfor (const m of members) {\n\t\tif (seenNames.has(m.name)) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): duplicate member name \"${m.name}\". Member names must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmember: m.name,\n\t\t\treason: \"duplicate-member-name\"\n\t\t} });\n\t\tseenNames.add(m.name);\n\t\tconst loweredValue = String(m.value);\n\t\tif (seenValues.has(loweredValue)) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): duplicate member value \"${loweredValue}\". Member values must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmember: loweredValue,\n\t\t\treason: \"duplicate-member-value\"\n\t\t} });\n\t\tseenValues.add(loweredValue);\n\t}\n\tconst values = Object.freeze(members.map((m) => m.value));\n\tconst names = Object.freeze(members.map((m) => m.name));\n\tconst enumMembers = Object.freeze(members.map((m) => ({\n\t\tname: m.name,\n\t\tvalue: m.value\n\t})));\n\tconst membersAccessor = Object.freeze(Object.fromEntries(members.map((m) => [m.name, m.value])));\n\tconst valueSet = new Set(values);\n\tconst valueToName = new Map(members.map((m) => [m.value, m.name]));\n\tconst valueToOrdinal = new Map(values.map((v, i) => [v, i]));\n\treturn {\n\t\t[ENUM_TYPE_HANDLE_BRAND]: true,\n\t\tenumName: name,\n\t\tcodecId: codec.codecId,\n\t\tnativeType: codec.nativeType,\n\t\tenumMembers,\n\t\tvalues,\n\t\tnames,\n\t\tmembers: membersAccessor,\n\t\thas: (v) => valueSet.has(v),\n\t\tnameOf: (v) => valueToName.get(v),\n\t\tordinalOf: (v) => valueToOrdinal.get(v) ?? -1\n\t};\n}\n/**\n* Bind `enumType` to a target's codec typemap. The returned function is the\n* same runtime `enumType`, retyped so member values are constrained to the\n* codec's input type. Target packages call this with their pack's\n* `ExtractCodecTypesFromPack<Pack>` to expose a codec-aware `enumType`.\n*/\nfunction bindEnumType() {\n\treturn enumType;\n}\n/**\n* Returns true when the value is an `EnumTypeHandle` produced by\n* `enumType()`. Used in the lowering pipeline to detect enum handles\n* in field state without importing the brand key at every call site.\n*/\nfunction isEnumTypeHandle(value) {\n\treturn typeof value === \"object\" && value !== null && Reflect.get(value, \"__prismaNextEnumTypeHandle__\") === true;\n}\n//#endregion\n//#region src/relation-nullability.ts\n/**\n* The one rule for whether a to-one relation may be absent. The side that holds the reference\n* (in SQL, the foreign key) is nullable exactly when one of its local fields is; the other side\n* is always nullable, because nothing in storage guarantees the related record exists. A\n* declaration that disagrees is reported as a contradiction; `nullable` is always the derived\n* value.\n*/\nfunction resolveToOneRelationNullable(input) {\n\tconst nullable = input.ownsReference ? input.localFieldNullability.some(Boolean) : true;\n\tconst declared = input.declaredNullable;\n\tif (declared === void 0 || declared === nullable) return {\n\t\tnullable,\n\t\tcontradiction: void 0\n\t};\n\treturn {\n\t\tnullable,\n\t\tcontradiction: declared ? \"declared-optional\" : \"declared-required\"\n\t};\n}\nfunction isToOneReference(relation) {\n\treturn \"on\" in relation && (relation.cardinality === \"1:1\" || relation.cardinality === \"N:1\");\n}\n/**\n* Fills in `nullable` on every same-space to-one relation that lacks it from the ownership and\n* local-field nullability the lookup reports. A cross-space relation defaults to nullable.\n* Relations that already carry the flag are left as they are.\n*/\nfunction withDerivedToOneRelationNullability(domain, localFieldNullability) {\n\tconst namespaces = Object.fromEntries(Object.entries(domain.namespaces).map(([namespaceId, namespace]) => [namespaceId, withDerivedNamespace(namespaceId, namespace, localFieldNullability)]));\n\treturn {\n\t\t...domain,\n\t\tnamespaces\n\t};\n}\nfunction withDerivedNamespace(namespaceId, namespace, localFieldNullability) {\n\tconst models = Object.fromEntries(Object.entries(namespace.models).map(([modelName, model]) => [modelName, withDerivedModel(namespaceId, modelName, model, localFieldNullability)]));\n\treturn {\n\t\t...namespace,\n\t\tmodels\n\t};\n}\nfunction withDerivedModel(namespaceId, modelName, model, localFieldNullability) {\n\tconst relations = Object.fromEntries(Object.entries(model.relations ?? {}).map(([relationName, relation]) => {\n\t\tif (!isToOneReference(relation) || relation.nullable !== void 0) return [relationName, relation];\n\t\tconst nullable = relation.to.space !== void 0 ? true : resolveToOneRelationNullable({\n\t\t\tdeclaredNullable: void 0,\n\t\t\t...localFieldNullability({\n\t\t\t\tnamespaceId,\n\t\t\t\tmodelName,\n\t\t\t\tmodel,\n\t\t\t\trelation\n\t\t\t})\n\t\t}).nullable;\n\t\treturn [relationName, {\n\t\t\t...relation,\n\t\t\tnullable\n\t\t}];\n\t}));\n\treturn {\n\t\t...model,\n\t\trelations\n\t};\n}\n//#endregion\nexport { ENUM_TYPE_HANDLE_BRAND, bindEnumType, createEntityHelpersFromNamespace, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;;;;;;AAgBA,SAAS,wBAAwB,GAAG,SAAS;CAC5C,MAAM,SAAS,CAAC;CAChB,KAAK,MAAM,UAAU,SAAS;EAC7B,IAAI,WAAW,KAAK,GAAG;EACvB,KAAK,MAAM,CAAC,WAAW,iBAAiB,OAAO,QAAQ,MAAM,GAAG;GAC/D,MAAM,WAAW,OAAO;GACxB,OAAO,aAAa,WAAW;IAC9B,GAAG;IACH,GAAG;GACJ,IAAI,EAAE,GAAG,aAAa;EACvB;CACD;CACA,OAAO;AACR;;;;;;;AASA,SAAS,iCAAiC,WAAW,SAAS,OAAO,CAAC,GAAG;CACxE,MAAM,SAAS,CAAC;CAChB,KAAK,MAAM,CAAC,KAAK,UAAU,OAAO,QAAQ,SAAS,GAAG;EACrD,MAAM,cAAc,CAAC,GAAG,MAAM,GAAG;EACjC,IAAI,uBAAuB,KAAK,GAAG;GAClC,OAAO,OAAO,mBAAmB,YAAY,KAAK,GAAG,GAAG,OAAO,OAAO;GACtE;EACD;EACA,IAAI,OAAO,UAAU,YAAY,UAAU,QAAQ,CAAC,MAAM,QAAQ,KAAK,GAAG,OAAO,OAAO,iCAAiC,OAAO,SAAS,WAAW;CACrJ;CACA,OAAO;AACR;AACA,SAAS,uBAAuB,OAAO;CACtC,IAAI,OAAO,UAAU,YAAY,UAAU,QAAQ,MAAM,SAAS,UAAU,OAAO;CACnF,MAAM,gBAAgB,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C,CAAC,KAAK,CAAC,aAAa,eAAe,CAAC,aAAa,qBAAqB,aAAa,WAAW,qBAAqB,CAAC,CAAC,CAAC;CAC7L,OAAO;EACN,GAAG;EACH;CACD;AACD;AACA,SAAS,qBAAqB,aAAa,WAAW,uBAAuB;CAC5E,MAAM,SAAS,OAAO,YAAY,OAAO,QAAQ,UAAU,MAAM,CAAC,CAAC,KAAK,CAAC,WAAW,WAAW,CAAC,WAAW,iBAAiB,aAAa,WAAW,OAAO,qBAAqB,CAAC,CAAC,CAAC;CACnL,OAAO;EACN,GAAG;EACH;CACD;AACD;AACA,SAAS,iBAAiB,aAAa,WAAW,OAAO,uBAAuB;CAC/E,MAAM,YAAY,OAAO,YAAY,OAAO,QAAQ,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,cAAc;EAC5G,IAAI,CAAC,iBAAiB,QAAQ,KAAK,SAAS,aAAa,KAAK,GAAG,OAAO,CAAC,cAAc,QAAQ;EAC/F,MAAM,WAAW,SAAS,GAAG,UAAU,KAAK,IAAI,OAAO,6BAA6B;GACnF,kBAAkB,KAAK;GACvB,GAAG,sBAAsB;IACxB;IACA;IACA;IACA;GACD,CAAC;EACF,CAAC,CAAC,CAAC;EACH,OAAO,CAAC,cAAc;GACrB,GAAG;GACH;EACD,CAAC;CACF,CAAC,CAAC;CACF,OAAO;EACN,GAAG;EACH;CACD;AACD"}
|
package/dist/{contract-types-CkdMH7F7-9EHXSwbH.d.mts → contract-types-HCUyPohe-CuimQxo_.d.mts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../../1-framework/0-foundation/contract/dist/contract-types-
|
|
1
|
+
import { D as CrossReference, K as ProfileHashBase, M as ExecutionHashBase, N as ExecutionMutationDefault, X as StorageBase, n as ApplicationDomain, w as ContractValueObject } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
//#region ../../../1-framework/0-foundation/contract/dist/contract-types-HCUyPohe.d.mts
|
|
3
3
|
//#region src/control-policy.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Governance posture for a storage-plane node or for the contract as a whole.
|
|
@@ -74,4 +74,4 @@ type NamespaceValueObjectsOf<TNamespace> = TNamespace extends {
|
|
|
74
74
|
type ContractValueObjectDefinitions<TContract extends Contract> = NamespaceValueObjectsOf<TContract['domain']['namespaces'][ExactlyOneNamespace<TContract['domain']['namespaces']>]> extends (infer Projected) ? Projected extends Record<string, ContractValueObject> ? Projected : Record<never, never> : Record<never, never>;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { effectiveControlPolicy as a, ControlPolicy as i, ContractExecutionSection as n, ContractValueObjectDefinitions as r, Contract as t };
|
|
77
|
-
//# sourceMappingURL=contract-types-
|
|
77
|
+
//# sourceMappingURL=contract-types-HCUyPohe-CuimQxo_.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-types-
|
|
1
|
+
{"version":3,"file":"contract-types-HCUyPohe-CuimQxo_.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/contract-types-HCUyPohe.d.mts"],"mappings":";;;;;;;;;;;;KAWK;;;;;;;;;iBASY,uBAAuB,aAAa,2BAA2B,sBAAsB,4BAA4B;;;;;;;;;;;;KAY7H,yBAAyB;WACnB,eAAe,kBAAkB;WACjC;aACE,UAAU,cAAc;;;;;;;;;;;;;;;;UAgB3B,SAAS,iBAAiB,cAAc;WACvC;WACA;WACA,OAAO,eAAe;;;;WAItB,QAAQ;WACR,SAAS;WACT,cAAc,eAAe;WAC7B,YAAY;WACZ,YAAY;WACZ,aAAa;WACb,MAAM;WACN,uBAAuB;;KAE7B,oBAAoB,UAAU,iCAAiC,iBAAiB,mBAAmB,YAAY,YAAY,QAAQ;KACnI,wBAAwB,cAAc;WAChC,qBAAqB;IAC5B,WAAW,eAAe,uBAAuB,KAAK,uBAAuB;;KAE5E,+BAA+B,kBAAkB,YAAY,wBAAwB,kCAAkC,oBAAoB,oDAAoD,aAAa,kBAAkB,eAAe,uBAAuB,YAAY,uBAAuB"}
|
package/dist/contract.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as effectiveControlPolicy, i as ControlPolicy, n as ContractExecutionSection, r as ContractValueObjectDefinitions, t as Contract } from "./contract-types-
|
|
1
|
+
import { $ as StorageNamespace, A as DocIndex, B as JsonPrimitive, C as ContractToOneRelation, D as CrossReference, E as ContractWithDomain, F as ExecutionMutationDefaultValue, G as PlanMeta, H as LedgerEntryRecord, I as ExecutionSection, J as ScalarFieldType, K as ProfileHashBase, L as Expr, M as ExecutionHashBase, N as ExecutionMutationDefault, O as CrossReferenceSchema, P as ExecutionMutationDefaultPhases, Q as StorageHashBase, R as FieldType, S as ContractToManyRelation, T as ContractVariantEntry, U as ModelStorageBase, V as JsonValue, W as NamespaceId, X as StorageBase, Y as Source, Z as StorageEntitySlot, _ as ContractNonJunctionRelation, a as ColumnDefault, at as crossRef, b as ContractRelationOn, c as ContractDiscriminator, ct as isColumnDefaultLiteralInputValue, d as ContractField, et as UnionFieldType, f as ContractFieldType, g as ContractModelBase, h as ContractModel, i as Brand, it as coreHash, j as EmbedRelationKeys, k as DocCollection, l as ContractEmbedRelation, lt as isExecutionMutationDefaultValue, m as ContractMarkerRecord, n as ApplicationDomain, nt as ValueSetRef, o as ColumnDefaultLiteralInputValue, ot as executionHash, p as ContractManyToManyRelation, q as ReferenceRelationKeys, r as ApplicationDomainNamespace, rt as asNamespaceId, s as ColumnDefaultLiteralValue, st as isColumnDefault, t as $, tt as ValueObjectFieldType, u as ContractEnum, ut as profileHash, v as ContractReferenceRelation, w as ContractValueObject, x as ContractRelationThrough, y as ContractRelation, z as GeneratedValueSpec } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { a as effectiveControlPolicy, i as ControlPolicy, n as ContractExecutionSection, r as ContractValueObjectDefinitions, t as Contract } from "./contract-types-HCUyPohe-CuimQxo_.mjs";
|
|
3
3
|
import { n as soleDomainNamespaceId, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./default-namespace-D5X_k6hJ-GH8P1ror.mjs";
|
|
4
|
-
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-
|
|
5
|
-
import { n as domainValueObjectsAtDefaultNamespace, t as domainModelsAtDefaultNamespace } from "./types-
|
|
6
|
-
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-
|
|
7
|
-
import { n as computeProfileHash, r as computeStorageHash, t as computeExecutionHash } from "./hashing-
|
|
4
|
+
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-DXP2hfI2-D4fWewZQ.mjs";
|
|
5
|
+
import { n as domainValueObjectsAtDefaultNamespace, t as domainModelsAtDefaultNamespace } from "./types-BKJi4we0.mjs";
|
|
6
|
+
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-uZb7Sjk2-Dx6ifIWL.mjs";
|
|
7
|
+
import { n as computeProfileHash, r as computeStorageHash, t as computeExecutionHash } from "./hashing-D9wV2IJu.mjs";
|
|
8
8
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
9
|
-
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-
|
|
9
|
+
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-yxEeh3lJ.mjs";
|
|
10
10
|
import { n as ContractValidationPhase, t as ContractValidationError } from "./contract-validation-error-R7cMoK04.mjs";
|
|
11
|
-
import { a as EnumValues, c as buildEnumsMapForNamespace, i as EnumMemberNames, l as buildNamespacedEnums, n as EnumAccessor, o as NamespaceEnumAccessors, r as EnumEntriesToAccessors, s as NamespacedEnums, t as ContractEnumAccessor, u as createEnumAccessor } from "./enum-accessor-
|
|
12
|
-
import { a as compareByNameProperty, c as matchesPathPattern, i as PathSegment$1, n as PathPattern, o as createPreserveEmptyPredicate, r as PathSegment, s as createStorageSort, t as NamedArraySortTarget } from "./hashing-utils-
|
|
13
|
-
import { n as DomainModelShape, r as validateContractDomain, t as DomainContractShape } from "./validate-domain-
|
|
14
|
-
export { type $, type ApplicationDomain, type ApplicationDomainNamespace, type Brand, type CanonicalizeContractOptions, type ColumnDefault, type ColumnDefaultLiteralInputValue, type ColumnDefaultLiteralValue, type Contract, type ContractDiscriminator, type ContractEmbedRelation, type ContractEnum, type ContractEnumAccessor, type ContractExecutionSection, type ContractField, type ContractFieldType, type ContractManyToManyRelation, type ContractMarkerRecord, type ContractModel, type ContractModelBase, type ContractNonJunctionRelation, type ContractReferenceRelation, type ContractRelation, type ContractRelationOn, type ContractRelationThrough, ContractValidationError, type ContractValidationPhase, type ContractValueObject, type ContractValueObjectDefinitions, type ContractVariantEntry, type ContractWithDomain, type ControlPolicy, type CrossReference, CrossReferenceSchema, type DocCollection, type DocIndex, type DomainContractShape, type DomainModelShape, type EmbedRelationKeys, type EnumAccessor, type EnumEntriesToAccessors, type EnumMemberNames, type EnumValues, type ExecutionHashBase, type ExecutionMutationDefault, type ExecutionMutationDefaultPhases, type ExecutionMutationDefaultValue, type ExecutionSection, type Expr, type FieldType, type GeneratedValueSpec, type JsonPrimitive, type JsonValue, type LedgerEntryRecord, type ModelStorageBase, type NamedArraySortTarget, type NamespaceEnumAccessors, type NamespaceId, type NamespacedEnums, type PathPattern, type PlanMeta, type PathSegment as PreserveEmptyPathSegment, type PreserveEmptyPredicate, type ProfileHashBase, type ReferenceRelationKeys, type ResolvedDomainModel, type ScalarFieldType, type SerializeContract, type Source, type StorageBase, type StorageEntitySlot, type StorageHashBase, type StorageNamespace, type StorageSort, type PathSegment$1 as StorageSortPathSegment, UNBOUND_DOMAIN_NAMESPACE_ID, type UnionFieldType, type ValueObjectFieldType, type ValueSetRef, applySpecifierDefaultControlPolicy, asNamespaceId, buildEnumsMapForNamespace, buildNamespacedEnums, canonicalizeContract, canonicalizeContractToObject, compareByNameProperty, computeExecutionHash, computeProfileHash, computeStorageHash, coreHash, createEnumAccessor, createPreserveEmptyPredicate, createStorageSort, crossRef, domainModelsAtDefaultNamespace, domainValueObjectsAtDefaultNamespace, effectiveControlPolicy, executionHash, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, isPlainRecord, matchesPathPattern, profileHash, resolveDomainModel, soleDomainNamespaceId, validateContractDomain };
|
|
11
|
+
import { a as EnumValues, c as buildEnumsMapForNamespace, i as EnumMemberNames, l as buildNamespacedEnums, n as EnumAccessor, o as NamespaceEnumAccessors, r as EnumEntriesToAccessors, s as NamespacedEnums, t as ContractEnumAccessor, u as createEnumAccessor } from "./enum-accessor-Gr9UcG-r.mjs";
|
|
12
|
+
import { a as compareByNameProperty, c as matchesPathPattern, i as PathSegment$1, n as PathPattern, o as createPreserveEmptyPredicate, r as PathSegment, s as createStorageSort, t as NamedArraySortTarget } from "./hashing-utils-Bp0ZYY57.mjs";
|
|
13
|
+
import { n as DomainModelShape, r as validateContractDomain, t as DomainContractShape } from "./validate-domain-DJXNOlkP.mjs";
|
|
14
|
+
export { type $, type ApplicationDomain, type ApplicationDomainNamespace, type Brand, type CanonicalizeContractOptions, type ColumnDefault, type ColumnDefaultLiteralInputValue, type ColumnDefaultLiteralValue, type Contract, type ContractDiscriminator, type ContractEmbedRelation, type ContractEnum, type ContractEnumAccessor, type ContractExecutionSection, type ContractField, type ContractFieldType, type ContractManyToManyRelation, type ContractMarkerRecord, type ContractModel, type ContractModelBase, type ContractNonJunctionRelation, type ContractReferenceRelation, type ContractRelation, type ContractRelationOn, type ContractRelationThrough, type ContractToManyRelation, type ContractToOneRelation, ContractValidationError, type ContractValidationPhase, type ContractValueObject, type ContractValueObjectDefinitions, type ContractVariantEntry, type ContractWithDomain, type ControlPolicy, type CrossReference, CrossReferenceSchema, type DocCollection, type DocIndex, type DomainContractShape, type DomainModelShape, type EmbedRelationKeys, type EnumAccessor, type EnumEntriesToAccessors, type EnumMemberNames, type EnumValues, type ExecutionHashBase, type ExecutionMutationDefault, type ExecutionMutationDefaultPhases, type ExecutionMutationDefaultValue, type ExecutionSection, type Expr, type FieldType, type GeneratedValueSpec, type JsonPrimitive, type JsonValue, type LedgerEntryRecord, type ModelStorageBase, type NamedArraySortTarget, type NamespaceEnumAccessors, type NamespaceId, type NamespacedEnums, type PathPattern, type PlanMeta, type PathSegment as PreserveEmptyPathSegment, type PreserveEmptyPredicate, type ProfileHashBase, type ReferenceRelationKeys, type ResolvedDomainModel, type ScalarFieldType, type SerializeContract, type Source, type StorageBase, type StorageEntitySlot, type StorageHashBase, type StorageNamespace, type StorageSort, type PathSegment$1 as StorageSortPathSegment, UNBOUND_DOMAIN_NAMESPACE_ID, type UnionFieldType, type ValueObjectFieldType, type ValueSetRef, applySpecifierDefaultControlPolicy, asNamespaceId, buildEnumsMapForNamespace, buildNamespacedEnums, canonicalizeContract, canonicalizeContractToObject, compareByNameProperty, computeExecutionHash, computeProfileHash, computeStorageHash, coreHash, createEnumAccessor, createPreserveEmptyPredicate, createStorageSort, crossRef, domainModelsAtDefaultNamespace, domainValueObjectsAtDefaultNamespace, effectiveControlPolicy, executionHash, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, isPlainRecord, matchesPathPattern, profileHash, resolveDomainModel, soleDomainNamespaceId, validateContractDomain };
|
package/dist/contract.mjs
CHANGED
|
@@ -9,5 +9,5 @@ import { n as createStorageSort, t as compareByNameProperty } from "./hashing-ut
|
|
|
9
9
|
import { t as resolveDomainModel } from "./resolve-domain-model-BovPAsW2-8rwyzjxp.mjs";
|
|
10
10
|
import { t as asNamespaceId } from "./namespace-id-asbWpwMw-3yxn-tRe.mjs";
|
|
11
11
|
import { a as domainValueObjectsAtDefaultNamespace, c as isColumnDefault, d as profileHash, i as domainModelsAtDefaultNamespace, l as isColumnDefaultLiteralInputValue, n as coreHash, o as effectiveControlPolicy, r as crossRef, s as executionHash, t as CrossReferenceSchema, u as isExecutionMutationDefaultValue } from "./types-DG4qHrT8.mjs";
|
|
12
|
-
import { t as validateContractDomain } from "./validate-domain-
|
|
12
|
+
import { t as validateContractDomain } from "./validate-domain-CaT6wlDH.mjs";
|
|
13
13
|
export { ContractValidationError, CrossReferenceSchema, UNBOUND_DOMAIN_NAMESPACE_ID, applySpecifierDefaultControlPolicy, asNamespaceId, buildEnumsMapForNamespace, buildNamespacedEnums, canonicalizeContract, canonicalizeContractToObject, compareByNameProperty, computeExecutionHash, computeProfileHash, computeStorageHash, coreHash, createEnumAccessor, createPreserveEmptyPredicate, createStorageSort, crossRef, domainModelsAtDefaultNamespace, domainValueObjectsAtDefaultNamespace, effectiveControlPolicy, executionHash, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, isPlainRecord, matchesPathPattern, profileHash, resolveDomainModel, soleDomainNamespaceId, validateContractDomain };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-
|
|
1
|
+
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-yxEeh3lJ.mjs";
|
|
2
2
|
export { applySpecifierDefaultControlPolicy };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EnumValues, c as buildEnumsMapForNamespace, i as EnumMemberNames, l as buildNamespacedEnums, n as EnumAccessor, o as NamespaceEnumAccessors, r as EnumEntriesToAccessors, s as NamespacedEnums, t as ContractEnumAccessor, u as createEnumAccessor } from "./enum-accessor-
|
|
1
|
+
import { a as EnumValues, c as buildEnumsMapForNamespace, i as EnumMemberNames, l as buildNamespacedEnums, n as EnumAccessor, o as NamespaceEnumAccessors, r as EnumEntriesToAccessors, s as NamespacedEnums, t as ContractEnumAccessor, u as createEnumAccessor } from "./enum-accessor-Gr9UcG-r.mjs";
|
|
2
2
|
export { type ContractEnumAccessor, type EnumAccessor, type EnumEntriesToAccessors, type EnumMemberNames, type EnumValues, type NamespaceEnumAccessors, type NamespacedEnums, buildEnumsMapForNamespace, buildNamespacedEnums, createEnumAccessor };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as compareByNameProperty, c as matchesPathPattern, i as PathSegment$1, n as PathPattern, o as createPreserveEmptyPredicate, r as PathSegment, s as createStorageSort, t as NamedArraySortTarget } from "./hashing-utils-
|
|
1
|
+
import { a as compareByNameProperty, c as matchesPathPattern, i as PathSegment$1, n as PathPattern, o as createPreserveEmptyPredicate, r as PathSegment, s as createStorageSort, t as NamedArraySortTarget } from "./hashing-utils-Bp0ZYY57.mjs";
|
|
2
2
|
export { type NamedArraySortTarget, type PathPattern, type PathSegment as PreserveEmptyPathSegment, type PathSegment$1 as StorageSortPathSegment, compareByNameProperty, createPreserveEmptyPredicate, createStorageSort, matchesPathPattern };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-
|
|
2
|
-
import { n as computeProfileHash, r as computeStorageHash, t as computeExecutionHash } from "./hashing-
|
|
1
|
+
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-uZb7Sjk2-Dx6ifIWL.mjs";
|
|
2
|
+
import { n as computeProfileHash, r as computeStorageHash, t as computeExecutionHash } from "./hashing-D9wV2IJu.mjs";
|
|
3
3
|
export { type CanonicalizeContractOptions, type PreserveEmptyPredicate, type SerializeContract, type StorageSort, canonicalizeContract, canonicalizeContractToObject, computeExecutionHash, computeProfileHash, computeStorageHash };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-
|
|
1
|
+
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-DXP2hfI2-D4fWewZQ.mjs";
|
|
2
2
|
export { type ResolvedDomainModel, resolveDomainModel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as effectiveControlPolicy, i as ControlPolicy, n as ContractExecutionSection, r as ContractValueObjectDefinitions, t as Contract } from "./contract-types-
|
|
1
|
+
import { $ as StorageNamespace, A as DocIndex, B as JsonPrimitive, C as ContractToOneRelation, D as CrossReference, E as ContractWithDomain, F as ExecutionMutationDefaultValue, G as PlanMeta, H as LedgerEntryRecord, I as ExecutionSection, J as ScalarFieldType, K as ProfileHashBase, L as Expr, M as ExecutionHashBase, N as ExecutionMutationDefault, O as CrossReferenceSchema, P as ExecutionMutationDefaultPhases, Q as StorageHashBase, R as FieldType, S as ContractToManyRelation, T as ContractVariantEntry, U as ModelStorageBase, V as JsonValue, W as NamespaceId, X as StorageBase, Y as Source, Z as StorageEntitySlot, _ as ContractNonJunctionRelation, a as ColumnDefault, at as crossRef, b as ContractRelationOn, c as ContractDiscriminator, ct as isColumnDefaultLiteralInputValue, d as ContractField, et as UnionFieldType, f as ContractFieldType, g as ContractModelBase, h as ContractModel, i as Brand, it as coreHash, j as EmbedRelationKeys, k as DocCollection, l as ContractEmbedRelation, lt as isExecutionMutationDefaultValue, m as ContractMarkerRecord, n as ApplicationDomain, nt as ValueSetRef, o as ColumnDefaultLiteralInputValue, ot as executionHash, p as ContractManyToManyRelation, q as ReferenceRelationKeys, r as ApplicationDomainNamespace, rt as asNamespaceId, s as ColumnDefaultLiteralValue, st as isColumnDefault, t as $, tt as ValueObjectFieldType, u as ContractEnum, ut as profileHash, v as ContractReferenceRelation, w as ContractValueObject, x as ContractRelationThrough, y as ContractRelation, z as GeneratedValueSpec } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { a as effectiveControlPolicy, i as ControlPolicy, n as ContractExecutionSection, r as ContractValueObjectDefinitions, t as Contract } from "./contract-types-HCUyPohe-CuimQxo_.mjs";
|
|
3
3
|
import { n as soleDomainNamespaceId, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./default-namespace-D5X_k6hJ-GH8P1ror.mjs";
|
|
4
|
-
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-
|
|
5
|
-
import { n as domainValueObjectsAtDefaultNamespace, t as domainModelsAtDefaultNamespace } from "./types-
|
|
6
|
-
export { type $, type ApplicationDomain, type ApplicationDomainNamespace, type Brand, type ColumnDefault, type ColumnDefaultLiteralInputValue, type ColumnDefaultLiteralValue, type Contract, type ContractDiscriminator, type ContractEmbedRelation, type ContractEnum, type ContractExecutionSection, type ContractField, type ContractFieldType, type ContractManyToManyRelation, type ContractMarkerRecord, type ContractModel, type ContractModelBase, type ContractNonJunctionRelation, type ContractReferenceRelation, type ContractRelation, type ContractRelationOn, type ContractRelationThrough, type ContractValueObject, type ContractValueObjectDefinitions, type ContractVariantEntry, type ContractWithDomain, type ControlPolicy, type CrossReference, CrossReferenceSchema, type DocCollection, type DocIndex, type EmbedRelationKeys, type ExecutionHashBase, type ExecutionMutationDefault, type ExecutionMutationDefaultPhases, type ExecutionMutationDefaultValue, type ExecutionSection, type Expr, type FieldType, type GeneratedValueSpec, type JsonPrimitive, type JsonValue, type LedgerEntryRecord, type ModelStorageBase, type NamespaceId, type PlanMeta, type ProfileHashBase, type ReferenceRelationKeys, type ResolvedDomainModel, type ScalarFieldType, type Source, type StorageBase, type StorageEntitySlot, type StorageHashBase, type StorageNamespace, UNBOUND_DOMAIN_NAMESPACE_ID, type UnionFieldType, type ValueObjectFieldType, type ValueSetRef, asNamespaceId, coreHash, crossRef, domainModelsAtDefaultNamespace, domainValueObjectsAtDefaultNamespace, effectiveControlPolicy, executionHash, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, profileHash, resolveDomainModel, soleDomainNamespaceId };
|
|
4
|
+
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-DXP2hfI2-D4fWewZQ.mjs";
|
|
5
|
+
import { n as domainValueObjectsAtDefaultNamespace, t as domainModelsAtDefaultNamespace } from "./types-BKJi4we0.mjs";
|
|
6
|
+
export { type $, type ApplicationDomain, type ApplicationDomainNamespace, type Brand, type ColumnDefault, type ColumnDefaultLiteralInputValue, type ColumnDefaultLiteralValue, type Contract, type ContractDiscriminator, type ContractEmbedRelation, type ContractEnum, type ContractExecutionSection, type ContractField, type ContractFieldType, type ContractManyToManyRelation, type ContractMarkerRecord, type ContractModel, type ContractModelBase, type ContractNonJunctionRelation, type ContractReferenceRelation, type ContractRelation, type ContractRelationOn, type ContractRelationThrough, type ContractToManyRelation, type ContractToOneRelation, type ContractValueObject, type ContractValueObjectDefinitions, type ContractVariantEntry, type ContractWithDomain, type ControlPolicy, type CrossReference, CrossReferenceSchema, type DocCollection, type DocIndex, type EmbedRelationKeys, type ExecutionHashBase, type ExecutionMutationDefault, type ExecutionMutationDefaultPhases, type ExecutionMutationDefaultValue, type ExecutionSection, type Expr, type FieldType, type GeneratedValueSpec, type JsonPrimitive, type JsonValue, type LedgerEntryRecord, type ModelStorageBase, type NamespaceId, type PlanMeta, type ProfileHashBase, type ReferenceRelationKeys, type ResolvedDomainModel, type ScalarFieldType, type Source, type StorageBase, type StorageEntitySlot, type StorageHashBase, type StorageNamespace, UNBOUND_DOMAIN_NAMESPACE_ID, type UnionFieldType, type ValueObjectFieldType, type ValueSetRef, asNamespaceId, coreHash, crossRef, domainModelsAtDefaultNamespace, domainValueObjectsAtDefaultNamespace, effectiveControlPolicy, executionHash, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, profileHash, resolveDomainModel, soleDomainNamespaceId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DomainModelShape, r as validateContractDomain, t as DomainContractShape } from "./validate-domain-
|
|
1
|
+
import { n as DomainModelShape, r as validateContractDomain, t as DomainContractShape } from "./validate-domain-DJXNOlkP.mjs";
|
|
2
2
|
export { type DomainContractShape, type DomainModelShape, validateContractDomain };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as validateContractDomain } from "./validate-domain-
|
|
1
|
+
import { t as validateContractDomain } from "./validate-domain-CaT6wlDH.mjs";
|
|
2
2
|
export { validateContractDomain };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as ControlPolicy, t as Contract } from "./contract-types-
|
|
3
|
-
import { t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-nVMtogur-
|
|
4
|
-
import { D as AuthoringTypeNamespace, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, f as AuthoringFieldNamespace, r as AuthoringAttributeSpecContributions, u as AuthoringEntityTypeNamespace, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-BYgPL2X6-
|
|
5
|
-
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-
|
|
1
|
+
import { H as LedgerEntryRecord, m as ContractMarkerRecord } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { i as ControlPolicy, t as Contract } from "./contract-types-HCUyPohe-CuimQxo_.mjs";
|
|
3
|
+
import { t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
4
|
+
import { D as AuthoringTypeNamespace, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, f as AuthoringFieldNamespace, r as AuthoringAttributeSpecContributions, u as AuthoringEntityTypeNamespace, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
5
|
+
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-253rIcmj.mjs";
|
|
6
6
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
7
|
-
import { D as TargetBoundComponentDescriptor, O as TargetDescriptor, a as ComponentMetadata, f as DriverDescriptor, g as ExtensionInstance, h as ExtensionDescriptor, k as TargetInstance, n as AdapterInstance, p as DriverInstance, t as AdapterDescriptor, u as ControlMutationDefaults, v as FamilyDescriptor, y as FamilyInstance } from "./framework-components-
|
|
8
|
-
import { r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-
|
|
9
|
-
import { m as PslDocumentAst } from "./psl-ast-dnXw52MT-
|
|
7
|
+
import { D as TargetBoundComponentDescriptor, O as TargetDescriptor, a as ComponentMetadata, f as DriverDescriptor, g as ExtensionInstance, h as ExtensionDescriptor, k as TargetInstance, n as AdapterInstance, p as DriverInstance, t as AdapterDescriptor, u as ControlMutationDefaults, v as FamilyDescriptor, y as FamilyInstance } from "./framework-components-CDppKaT_-DcMHokB8.mjs";
|
|
8
|
+
import { r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-BoSJNKfQ-D0NRnZiA.mjs";
|
|
9
|
+
import { m as PslDocumentAst } from "./psl-ast-dnXw52MT-1jSUKlC9.mjs";
|
|
10
10
|
import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
|
|
11
11
|
import { n as JsonObject } from "./json-Dkqr3say.mjs";
|
|
12
|
-
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-
|
|
12
|
+
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-uZb7Sjk2-Dx6ifIWL.mjs";
|
|
13
13
|
import { r as Result } from "./result-Bpupv5vO.mjs";
|
|
14
14
|
//#region ../../../1-framework/1-core/framework-components/dist/control.d.mts
|
|
15
15
|
//#region src/control/contract-serializer.d.ts
|
|
@@ -1391,4 +1391,4 @@ type VerifierIssueCategory = 'declaredMissing' | 'declaredIncompatible' | 'value
|
|
|
1391
1391
|
declare function dispositionForCategory(controlPolicy: ControlPolicy, category: VerifierIssueCategory): VerifierOutcome;
|
|
1392
1392
|
//#endregion
|
|
1393
1393
|
export { SchemaDiffIssue as $, MigrationPlan as A, diffSchemas as At, MigrationRunnerFailure as B, hasSchemaView as Bt, ExpectationFailureReason as C, assembleAuthoringContributions as Ct, MigrationOperationClass as D, contractSnapshotJsonSpecifier as Dt, MigrationMetadata as E, buildExtensionLoadOrder as Et, MigrationPlannerFailureResult as F, extractQueryOperationTypeImports as Ft, MigrationScaffoldContext as G, MigrationRunnerPerSpaceSuccessValue as H, orderIssuesByDependencies as Ht, MigrationPlannerResult as I, hasMigrations as It, OperationPreview as J, OpFactoryCall as K, MigrationPlannerSuccessResult as L, hasOperationPreview as Lt, MigrationPlanWithAuthoringSurface as M, extractCodecLookup as Mt, MigrationPlanner as N, extractCodecTypeImports as Nt, MigrationOperationPolicy as O, contractSnapshotTypesSpecifier as Ot, MigrationPlannerConflict as P, extractComponentIds as Pt, SchemaDiff as Q, MigrationRunner as R, hasPslContractInfer as Rt, EmitContractResult as S, VerifyDatabaseSchemaResult as St, MigratableTargetDescriptor as T, assertUniqueCodecOwner as Tt, MigrationRunnerResult as U, storageHashHex as Ut, MigrationRunnerPerSpaceOptions as V, issueOutcome as Vt, MigrationRunnerSuccessValue as W, OperationPreviewStatement as X, OperationPreviewCapable as Y, PslContractInferCapable as Z, ControlTargetInstance as _, VERIFY_CODE_TARGET_MISMATCH as _t, ContractSpace as a, SchemaTreeNodeOptions as at, DiffSubjectGranularity as b, VerifierOutcome as bt, ControlAdapterInstance as c, SchemaVerifyOptions as ct, ControlExtensionDescriptor as d, SchemaViewNodeKind as dt, SchemaEntityCoordinate as et, ControlExtensionInstance as f, SignDatabaseResult as ft, ControlTargetDescriptor as g, VERIFY_CODE_SCHEMA_FAILURE as gt, ControlStack as h, VERIFY_CODE_MARKER_MISSING as ht, ContractSerializer as i, SchemaTreeNode as it, MigrationPlanOperation as j, dispositionForCategory as jt, MigrationPackage as k, createControlStack as kt, ControlDriverDescriptor as l, SchemaVerifyResult as lt, ControlFamilyInstance as m, VERIFY_CODE_HASH_MISMATCH as mt, AssembledAuthoringContributions as n, SchemaOwnership as nt, ContractSpaceHeadRef as o, SchemaTreeVisitor as ot, ControlFamilyDescriptor as p, TargetMigrationsCapability as pt, OperationContext as q, CONTRACT_SNAPSHOTS_DIRNAME as r, SchemaSubjectClassifierCapable as rt, ControlAdapterDescriptor as s, SchemaVerifier as st, APP_SPACE_ID as t, SchemaNodeRef as tt, ControlDriverInstance as u, SchemaViewCapable as ut, CoreSchemaView as v, VerificationStatus as vt, IntrospectSchemaResult as w, assembleControlMutationDefaults as wt, DiffableNode as x, VerifyDatabaseResult as xt, CreateControlStackInput as y, VerifierIssueCategory as yt, MigrationRunnerExecutionChecks as z, hasSchemaSubjectClassifier as zt };
|
|
1394
|
-
//# sourceMappingURL=control-
|
|
1394
|
+
//# sourceMappingURL=control-B32e7diK.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-B32e7diK.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6BU,mBAAmB;;;;;;;;;;;;EAY3B,oBAAoB,UAAU,YAAY,WAAW,gBAAgB;;;;;;;;;;EAUrE,kBAAkB,UAAU,YAAY;;;;;;;;WAQ/B,sBAAsB;;;;;;;;WAQtB,cAAc;;;;cAIX;;iBAEG,eAAe;;iBAEf,8BAA8B,6BAA6B;;iBAE3D,+BAA+B,6BAA6B;;;;;;;;;;KAUxE;WACM;WACA;;UAED,gBAAgB,cAAc,eAAe;;WAE5C;;WAEA,WAAW;;WAEX,SAAS;;;;;;;;WAQT;;;;;;;;;;;;;;;;KAgBN;;;;;;;iBAOY,aAAa,OAAO,kBAAkB;;;;;;;;;;;;;;;UAe7C;WACC;WACA;;;;;;;WAOA,qBAAqB;EAC9B,UAAU,OAAO;EACjB,qBAAqB;;;;;;;;;;;iBAWN,YAAY,UAAU,cAAc,QAAQ,wBAAwB;;;;;;;;;;;;cAYvE,WAAW,cAAc,eAAe;WAC3C,iBAAiB,gBAAgB;EAC1C,YAAY,iBAAiB,gBAAgB;;EAE7C,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;;;KAavL;;;;;;;;;;;;;;;;;UAiBK;EACR,2BAA2B,OAAO,kBAAkB;EACpD,mBAAmB,OAAO;;iBAEX,2BAA2B,0BAA0B,WAAW,UAAU,sBAAsB,WAAW,aAAa,YAAY,sBAAsB,WAAW,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BlL,0BAA0B,cAAc,eAAe,cAAc,iBAAiB,gBAAgB,oBAAoB,gBAAgB;;;;;;;;;;;;;;;;;;UAkBjJ,eAAe,WAAW;EAClC,aAAa,SAAS,oBAAoB,WAAW,WAAW;;;;;;;;UAQxD,oBAAoB,WAAW;WAC9B,UAAU;WACV,QAAQ;;;;;;;;UAQT;WACC;WACA,iBAAiB;;;;KAIvB;KACA,kBAAkB;;;;;;;;;;;;;;;;;KAiBlB;;;;;;;;;;iBAUY,uBAAuB,eAAe,eAAe,UAAU,wBAAwB"}
|
package/dist/{domain-envelope-D6Wn9AmZ-BqZKTT9U.d.mts → domain-envelope-CENjHN4U-BIIt9bl4.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../../1-framework/0-foundation/contract/dist/domain-envelope-
|
|
1
|
+
//#region ../../../1-framework/0-foundation/contract/dist/domain-envelope-CENjHN4U.d.mts
|
|
2
2
|
//#region src/namespace-id.d.ts
|
|
3
3
|
type NamespaceId = string & {
|
|
4
4
|
readonly __brand: 'NamespaceId';
|
|
@@ -293,12 +293,24 @@ type ContractManyToManyRelation = {
|
|
|
293
293
|
readonly on: ContractRelationOn;
|
|
294
294
|
readonly through: ContractRelationThrough;
|
|
295
295
|
};
|
|
296
|
-
|
|
296
|
+
/**
|
|
297
|
+
* A to-one reference relation. `nullable` records whether the related row may be
|
|
298
|
+
* absent, as stated by the schema (`author User?` versus `author User`).
|
|
299
|
+
*/
|
|
300
|
+
type ContractToOneRelation = {
|
|
301
|
+
readonly to: CrossReference;
|
|
302
|
+
readonly cardinality: '1:1' | 'N:1';
|
|
303
|
+
readonly nullable: boolean;
|
|
304
|
+
readonly on: ContractRelationOn;
|
|
305
|
+
readonly through?: never;
|
|
306
|
+
};
|
|
307
|
+
type ContractToManyRelation = {
|
|
297
308
|
readonly to: CrossReference;
|
|
298
|
-
readonly cardinality: '1:
|
|
309
|
+
readonly cardinality: '1:N';
|
|
299
310
|
readonly on: ContractRelationOn;
|
|
300
311
|
readonly through?: never;
|
|
301
312
|
};
|
|
313
|
+
type ContractNonJunctionRelation = ContractToOneRelation | ContractToManyRelation;
|
|
302
314
|
type ContractReferenceRelation = ContractManyToManyRelation | ContractNonJunctionRelation;
|
|
303
315
|
type ContractEmbedRelation = {
|
|
304
316
|
readonly to: CrossReference;
|
|
@@ -355,5 +367,5 @@ type ContractWithDomain = {
|
|
|
355
367
|
readonly domain: ApplicationDomain;
|
|
356
368
|
};
|
|
357
369
|
//#endregion
|
|
358
|
-
export {
|
|
359
|
-
//# sourceMappingURL=domain-envelope-
|
|
370
|
+
export { StorageNamespace as $, DocIndex as A, JsonPrimitive as B, ContractToOneRelation as C, CrossReference as D, ContractWithDomain as E, ExecutionMutationDefaultValue as F, PlanMeta as G, LedgerEntryRecord as H, ExecutionSection as I, ScalarFieldType as J, ProfileHashBase as K, Expr as L, ExecutionHashBase as M, ExecutionMutationDefault as N, CrossReferenceSchema as O, ExecutionMutationDefaultPhases as P, StorageHashBase as Q, FieldType as R, ContractToManyRelation as S, ContractVariantEntry as T, ModelStorageBase as U, JsonValue as V, NamespaceId as W, StorageBase as X, Source as Y, StorageEntitySlot as Z, ContractNonJunctionRelation as _, ColumnDefault as a, crossRef as at, ContractRelationOn as b, ContractDiscriminator as c, isColumnDefaultLiteralInputValue as ct, ContractField as d, UnionFieldType as et, ContractFieldType as f, ContractModelBase as g, ContractModel as h, Brand as i, coreHash as it, EmbedRelationKeys as j, DocCollection as k, ContractEmbedRelation as l, isExecutionMutationDefaultValue as lt, ContractMarkerRecord as m, ApplicationDomain as n, ValueSetRef as nt, ColumnDefaultLiteralInputValue as o, executionHash as ot, ContractManyToManyRelation as p, ReferenceRelationKeys as q, ApplicationDomainNamespace as r, asNamespaceId as rt, ColumnDefaultLiteralValue as s, isColumnDefault as st, $ as t, ValueObjectFieldType as tt, ContractEnum as u, profileHash as ut, ContractReferenceRelation as v, ContractValueObject as w, ContractRelationThrough as x, ContractRelation as y, GeneratedValueSpec as z };
|
|
371
|
+
//# sourceMappingURL=domain-envelope-CENjHN4U-BIIt9bl4.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-envelope-
|
|
1
|
+
{"version":3,"file":"domain-envelope-CENjHN4U-BIIt9bl4.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/domain-envelope-CENjHN4U.d.mts"],"mappings":";;KACK;WACM;;iBAEM,cAAc,gBAAgB;;;UAGrC;WACC,WAAW;WACX;;;;;;WAMA;;cAEG,oEAAoE,WAAW;iBAC5E,SAAS,eAAe,oBAAoB,iBAAiB;;;;;;cAMhE;;;;;;;KAOT,MAAM,uCAAuC;GAC/C,OAAO,KAAK,OAAO;;;;;;;KAOjB,gBAAgB,wBAAwB,QAAQ;;;;;;KAMhD,kBAAkB,wBAAwB,QAAQ;iBACtC,oBAAoB,kBAAkB,OAAO,IAAI,kBAAkB;iBACnE,eAAe,kBAAkB,OAAO,IAAI,gBAAgB;;;;;;KAMxE,gBAAgB,wBAAwB,QAAQ;iBACpC,kBAAkB,kBAAkB,OAAO,IAAI,gBAAgB;;;;;;KAM3E,oBAAoB,SAAS;;;;;;;UAOxB;WACC;WACA,SAAS,SAAS,eAAe;;;;;;;;;;;UAWlC,YAAY;WACX,aAAa,gBAAgB;WAC7B,YAAY,SAAS,eAAe;;UAErC;WACC;WACA;WACA,QAAQ;WACR,aAAa,eAAe;;KAElC;WACM;WACA,SAAS;;KAEf;KACA,YAAY;YACL,cAAc;aACb;KACR,4BAA4B;KAC5B,iCAAiC,4BAA4B;;;;;;;;;iBASjD,iCAAiC,iBAAiB,SAAS;KACvE;WACM;WACA,OAAO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,kBAAkB,sBAAsB,mBAAmB;WAC1D,QAAQ,eAAe;WACvB,WAAW,eAAe;WAC1B,SAAS;WACT,gBAAgB;WAChB,WAAW,eAAe;WAC1B,OAAO;WACP;;UAED,cAAc,sBAAsB,mBAAmB,0BAA0B,kBAAkB;WAClG,QAAQ,eAAe;;KAE7B,sBAAsB,gBAAgB;WAChC,WAAW,eAAe;IACjC,iCAAiC,cAAc,WAAW,QAAQ,0BAA0B,QAAQ,wBAAwB,WAAW,4BAA4B,mBAAmB,QAAQ;KAC7L,kBAAkB,gBAAgB;WAC5B,WAAW,eAAe;IACjC,iCAAiC,cAAc,WAAW,QAAQ,0BAA0B,QAAQ,wBAAwB,WAAW,oCAAoC,WAAW,QAAQ;;;;;;;UAOxL;WACC,QAAQ,eAAe;WACvB,eAAe,eAAe;WAC9B,OAAO,eAAe;;;;;;UAMvB;WACC,YAAY,SAAS,eAAe;;KAE1C;WACM,QAAQ"}
|
package/dist/{emission-types-D9HO45ZP-DNR08QfB.d.mts → emission-types-BoSJNKfQ-D0NRnZiA.d.mts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Contract } from "./contract-types-
|
|
3
|
-
import { c as CodecLookup, t as AnyCodecDescriptor } from "./codec-types-nVMtogur-
|
|
4
|
-
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-
|
|
5
|
-
//#region ../../../1-framework/1-core/framework-components/dist/emission-types-
|
|
1
|
+
import { V as JsonValue, g as ContractModelBase } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { t as Contract } from "./contract-types-HCUyPohe-CuimQxo_.mjs";
|
|
3
|
+
import { c as CodecLookup, t as AnyCodecDescriptor } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
4
|
+
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-253rIcmj.mjs";
|
|
5
|
+
//#region ../../../1-framework/1-core/framework-components/dist/emission-types-BoSJNKfQ.d.mts
|
|
6
6
|
//#region src/shared/import-specifier-resolver.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Rewrites one module specifier for the import root a generated file is being
|
|
@@ -44,6 +44,10 @@ interface GenerateContractTypesOptions {
|
|
|
44
44
|
*/
|
|
45
45
|
readonly aggregateDescriptors?: ReadonlyArray<AggregateDescriptor>;
|
|
46
46
|
readonly codecDescriptors?: ReadonlyArray<AnyCodecDescriptor>;
|
|
47
|
+
/**
|
|
48
|
+
* The target's namespace declaration. `false` drops the namespace segment from emitted `Models` member names and from the `models` constant; absent means `true`.
|
|
49
|
+
*/
|
|
50
|
+
readonly supportsNamespaces?: boolean;
|
|
47
51
|
}
|
|
48
52
|
interface ValidationContext {
|
|
49
53
|
readonly codecTypeImports?: ReadonlyArray<TypesImportSpec>;
|
|
@@ -77,4 +81,4 @@ interface EmissionSpi {
|
|
|
77
81
|
}
|
|
78
82
|
//#endregion
|
|
79
83
|
export { keepInternalSpecifiers as a, ValidationContext as i, GenerateContractTypesOptions as n, resolveRequirementSpecifiers as o, ImportSpecifierResolver as r, EmissionSpi as t };
|
|
80
|
-
//# sourceMappingURL=emission-types-
|
|
84
|
+
//# sourceMappingURL=emission-types-BoSJNKfQ-D0NRnZiA.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emission-types-BoSJNKfQ-D0NRnZiA.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/emission-types-BoSJNKfQ.d.mts"],"mappings":";;;;;;;;;;;;;;;;KAcK,2BAA2B;;;;;;cAMlB,wBAAwB;;;;;;;;;;iBAUrB,6BAA6B;WACnC;GACR,uBAAuB,KAAK,UAAU,0BAA0B,MAAM,KAAK;WACnE;;;;UAID;WACC,4BAA4B,cAAc;;;;WAI1C,uBAAuB,cAAc;WACrC,mBAAmB,cAAc;;;;WAIjC;;UAED;WACC,mBAAmB,cAAc;WACjC,eAAe;;UAEhB;WACC;EACT,oBAAoB,UAAU,UAAU;EACxC,yBAAyB,mBAAmB,OAAO;;;;;;EAMnD,iBAAiB,wBAAwB;EACzC,qBAAqB,UAAU;EAC/B;EACA,mBAAmB,0BAA0B;EAC7C,wBAAwB,mBAAmB,mBAAmB,OAAO,mBAAmB,UAAU,WAAW;;;;;;;EAO7G,sBAAsB,mBAAmB,mBAAmB,OAAO,mBAAmB,UAAU;aACrF,wBAAwB;aACxB;;EAEX,uBAAuB,UAAU,UAAU,cAAc"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Contract } from "./contract-types-
|
|
1
|
+
import { V as JsonValue, u as ContractEnum } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { t as Contract } from "./contract-types-HCUyPohe-CuimQxo_.mjs";
|
|
3
3
|
//#region ../../../1-framework/0-foundation/contract/dist/enum-accessor.d.mts
|
|
4
4
|
//#region src/enum-accessor.d.ts
|
|
5
5
|
/**
|
|
@@ -82,4 +82,4 @@ type NamespaceEnumAccessors<TContract extends Contract, NsId extends keyof TCont
|
|
|
82
82
|
type NamespacedEnums<TContract extends Contract> = { readonly [Ns in keyof TContract['domain']['namespaces']]: NamespaceEnumAccessors<TContract, Ns>; };
|
|
83
83
|
//#endregion
|
|
84
84
|
export { EnumValues as a, buildEnumsMapForNamespace as c, EnumMemberNames as i, buildNamespacedEnums as l, EnumAccessor as n, NamespaceEnumAccessors as o, EnumEntriesToAccessors as r, NamespacedEnums as s, ContractEnumAccessor as t, createEnumAccessor as u };
|
|
85
|
-
//# sourceMappingURL=enum-accessor-
|
|
85
|
+
//# sourceMappingURL=enum-accessor-Gr9UcG-r.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum-accessor-
|
|
1
|
+
{"version":3,"file":"enum-accessor-Gr9UcG-r.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/enum-accessor.d.mts"],"mappings":";;;;;;;;;;;;;;UAa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BAAgB,kBAAkB,wBAAwB,YAAY,oCAAoC,uBAAuB,WAAW"}
|
package/dist/errors.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { C as errorTargetMigrationNotSupported, S as errorQueryRunnerFactoryRequired, _ as errorJsonFormatNotSupported, a as errorConfigFileNotFound, b as errorMigrationPlanningFailed, c as errorContractConfigMissing, d as errorDatabaseConnectionRequired, f as errorDriverRequired, g as errorInvalidOutputFormat, h as errorFileNotFound, i as errorConfigEvaluationFailed, l as errorContractMissingExtensions, m as errorFamilyReadMarkerSqlRequired, n as CliErrorEnvelope, o as errorConfigValidation, p as errorEnumCodecNotInPackStack, r as CliStructuredError, s as errorConfigVersionMarkerMissing, t as CliErrorConflict, u as errorContractValidationFailed, v as errorMigrationCliInvalidConfigArg, w as errorUnexpected, x as errorOutputFormatMutex, y as errorMigrationCliUnknownFlag } from "./control-ql9N9u4f-D5sGnPR-.mjs";
|
|
2
|
-
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-
|
|
2
|
+
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-CdhoM1OQ.mjs";
|
|
3
3
|
import { a as errorMigrationTargetMismatch, i as errorMigrationPlanNotArray, n as errorMigrationFileMissing, o as errorUnfilledPlaceholder, r as errorMigrationInvalidDefaultExport, s as placeholder, t as errorDataTransformContractMismatch } from "./migration-Bdp-ucGZ.mjs";
|
|
4
4
|
export { type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, ERROR_CODE_CONSENT_PLAN_MISMATCH, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorConsentPlanMismatch, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDestructiveChanges, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-
|
|
1
|
+
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-CdhoM1OQ.mjs";
|
|
2
2
|
export { ERROR_CODE_CONSENT_PLAN_MISMATCH, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConsentPlanMismatch, errorDestructiveChanges, errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as TargetDescriptor, f as DriverDescriptor, g as ExtensionInstance, h as ExtensionDescriptor, k as TargetInstance, n as AdapterInstance, p as DriverInstance, t as AdapterDescriptor, v as FamilyDescriptor, y as FamilyInstance } from "./framework-components-
|
|
1
|
+
import { O as TargetDescriptor, f as DriverDescriptor, g as ExtensionInstance, h as ExtensionDescriptor, k as TargetInstance, n as AdapterInstance, p as DriverInstance, t as AdapterDescriptor, v as FamilyDescriptor, y as FamilyInstance } from "./framework-components-CDppKaT_-DcMHokB8.mjs";
|
|
2
2
|
//#region ../../../1-framework/1-core/framework-components/dist/execution.d.mts
|
|
3
3
|
//#region src/execution/execution-instances.d.ts
|
|
4
4
|
interface RuntimeFamilyInstance<TFamilyId extends string> extends FamilyInstance<TFamilyId> {}
|
|
@@ -76,4 +76,4 @@ declare function assertRuntimeContractRequirementsSatisfied<TFamilyId extends st
|
|
|
76
76
|
}): void;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { RuntimeDriverDescriptor as a, RuntimeExtensionInstance as c, RuntimeTargetDescriptor as d, RuntimeTargetInstance as f, instantiateExecutionStack as h, RuntimeAdapterInstance as i, RuntimeFamilyDescriptor as l, createExecutionStack as m, ExecutionStackInstance as n, RuntimeDriverInstance as o, assertRuntimeContractRequirementsSatisfied as p, RuntimeAdapterDescriptor as r, RuntimeExtensionDescriptor as s, ExecutionStack as t, RuntimeFamilyInstance as u };
|
|
79
|
-
//# sourceMappingURL=execution-
|
|
79
|
+
//# sourceMappingURL=execution-BDzJVN0t.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-
|
|
1
|
+
{"version":3,"file":"execution-BDzJVN0t.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/execution.d.mts"],"mappings":";;;UAEU,sBAAsB,kCAAkC,eAAe;UACvE,sBAAsB,0BAA0B,kCAAkC,eAAe,WAAW;UAC5G,uBAAuB,0BAA0B,kCAAkC,gBAAgB,WAAW;UAC9G,sBAAsB,0BAA0B,kCAAkC,eAAe,WAAW;UAC5G,yBAAyB,0BAA0B,kCAAkC,kBAAkB,WAAW;;;UAGlH,eAAe,0BAA0B,0BAA0B,yBAAyB,uBAAuB,WAAW,aAAa,uBAAuB,WAAW,YAAY,wBAAwB,sBAAsB,WAAW,aAAa,sBAAsB,WAAW,YAAY,2BAA2B,yBAAyB,WAAW,aAAa,yBAAyB,WAAW;WAC3Z,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW,WAAW;WACxD,QAAQ,wBAAwB,WAAW,oBAAoB;WAC/D,qBAAqB,2BAA2B,WAAW,WAAW;;UAEvE,uBAAuB,0BAA0B,0BAA0B,yBAAyB,uBAAuB,WAAW,aAAa,uBAAuB,WAAW,YAAY,wBAAwB,sBAAsB,WAAW,aAAa,sBAAsB,WAAW,YAAY,2BAA2B,yBAAyB,WAAW,aAAa,yBAAyB,WAAW;WACna,OAAO,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AAO,OAAO,eAAe,WAAW,aAAa;;UAE7C,wBAAwB,0BAA0B,0BAA0B,uBAAuB,wBAAwB,sBAAsB,WAAW,aAAa,sBAAsB,WAAW,oBAAoB,iBAAiB,WAAW;EAClQ,OAAO,UAAU,iBAAiB;;UAE1B,2BAA2B,0BAA0B,0BAA0B,2BAA2B,yBAAyB,WAAW,aAAa,yBAAyB,WAAW,oBAAoB,oBAAoB,WAAW;EAC1P,UAAU;;;;iBAIK,2CAA2C,0BAA0B,4BAA4B,UAAU,QAAQ,QAAQ,SAAS;WAC1I;aACE;aACA,aAAa;;WAEf,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,qBAAqB,2BAA2B,WAAW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SchemaDiffIssue, St as VerifyDatabaseSchemaResult } from "./control-
|
|
1
|
+
import { $ as SchemaDiffIssue, St as VerifyDatabaseSchemaResult } from "./control-B32e7diK.mjs";
|
|
2
2
|
import { r as NextAction } from "./structured-error-Z4iE-fTI.mjs";
|
|
3
3
|
import { r as CliStructuredError } from "./control-ql9N9u4f-D5sGnPR-.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/errors/dist/execution.d.mts
|
|
@@ -112,4 +112,4 @@ declare function errorRuntime(code: `${string}.${string}`, summary: string, opti
|
|
|
112
112
|
}): CliStructuredError;
|
|
113
113
|
//#endregion
|
|
114
114
|
export { errorHashMismatch as a, errorMarkerRequired as c, errorRuntime as d, errorSchemaVerificationFailed as f, withMarkerReadErrorHandling as g, rethrowMarkerReadError as h, errorDestructiveChanges as i, errorMarkerRowCorrupt as l, parseMarkerRowSafely as m, ERROR_CODE_DESTRUCTIVE_CHANGES as n, errorMarkerMissing as o, errorTargetMismatch as p, errorConsentPlanMismatch as r, errorMarkerReadFailed as s, ERROR_CODE_CONSENT_PLAN_MISMATCH as t, errorRunnerFailed as u };
|
|
115
|
-
//# sourceMappingURL=execution-
|
|
115
|
+
//# sourceMappingURL=execution-CdhoM1OQ.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-
|
|
1
|
+
{"version":3,"file":"execution-CdhoM1OQ.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.d.mts"],"mappings":";;;;;;;;iBAOiB,mBAAmB;WACzB;IACP;;;;iBAIa,kBAAkB;WACxB;WACA;WACA;IACP;;;;iBAIa,oBAAoB,kBAAkB,gBAAgB;WAC5D;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;iBACa,uBAAuB,cAAc;WAC3C;WACA;;iBAEM,4BAA4B,GAAG,iBAAiB,QAAQ,IAAI;WAClE;WACA;IACP,QAAQ;iBACK,qBAAqB,GAAG,cAAc,QAAQ,mBAAmB,GAAG;WAC1E;WACA;IACP;;;;;iBAKa,oBAAoB;WAC1B;WACA;WACA,uBAAuB;IAC9B;;;;;iBAKa,8BAA8B;WACpC;WACA,oBAAoB;WACpB,kBAAkB;IACzB;;;;iBAIa,kBAAkB,iBAAiB;WACzC;WACA;WACA,uBAAuB;WACvB,OAAO;WACP;IACP;;cAEU;;;;iBAIG,wBAAwB,iBAAiB;WAC/C;WACA;WACA,OAAO;IACd;cACU;;;;;iBAKG,yBAAyB;WAC/B;WACA;WACA;IACP;;;;iBAIa,aAAa,6BAA6B,iBAAiB;WACjE;WACA;WACA,OAAO;WACP;IACP"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as CodecLookup } from "./codec-types-nVMtogur-
|
|
1
|
+
import { P as ExecutionMutationDefaultPhases, a as ColumnDefault } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { c as CodecLookup } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
3
3
|
import { Type } from "arktype";
|
|
4
4
|
//#region ../../../1-framework/1-core/framework-components/dist/framework-authoring-BYgPL2X6.d.mts
|
|
5
5
|
//#region src/shared/option-descriptor.d.ts
|
|
@@ -779,4 +779,4 @@ declare function instantiateAuthoringFieldPreset(descriptor: AuthoringFieldPrese
|
|
|
779
779
|
};
|
|
780
780
|
//#endregion
|
|
781
781
|
export { collectScalarTypeConstructors as $, ContributedPslDiagnosticCode as A, PslExtensionBlockParamBare as B, AuthoringStorageTypeTemplate as C, AuthoringTypeNamespace as D, AuthoringTypeConstructorEntityRef as E, PslBlockParamValue as F, PslExtensionBlockParamValue as G, PslExtensionBlockParamOption as H, PslDiagnosticCode as I, PslSpan as J, PslExtensionBlockParsedAttribute as K, PslExtensionBlock as L, PslBlockParamList as M, PslBlockParamOption as N, AuthoringWarning as O, PslBlockParamRef as P, classifyEnumMemberType as Q, PslExtensionBlockAttribute as R, AuthoringSelectRef as S, AuthoringTypeConstructorDescriptor as T, PslExtensionBlockParamRef as U, PslExtensionBlockParamList as V, PslExtensionBlockParamScalarValue as W, assertNoCrossRegistryCollisions as X, ScalarTypeConstructorOutput as Y, assertResolvableTypeConstructorTemplates as Z, AuthoringModelAttributeDescriptorNamespace as _, AuthoringContributions as a, isAuthoringArgRef as at, AuthoringPslBlockDescriptor as b, AuthoringEntityTypeDescriptor as c, isAuthoringModelAttributeDescriptor as ct, AuthoringEntityTypeTemplateOutput as d, mergeAuthoringNamespaces as dt, flushAuthoringWarnings as et, AuthoringFieldNamespace as f, resolveAuthoringTemplateValue as ft, AuthoringModelAttributeDescriptor as g, AuthoringModelAttributeContext as h, AuthoringColumnDefaultTemplate as i, instantiateAuthoringTypeConstructor as it, PslBlockParam as j, AuthoringWarningSink as k, AuthoringEntityTypeFactoryOutput as l, isAuthoringPslBlockDescriptor as lt, AuthoringFieldPresetOutput as m, validateAuthoringHelperArguments as mt, AuthoringArgumentDescriptor as n, instantiateAuthoringEntityType as nt, AuthoringDiagnosticSink as o, isAuthoringEntityTypeDescriptor as ot, AuthoringFieldPresetDescriptor as p, resolveEnumCodecId as pt, PslPosition as q, AuthoringAttributeSpecContributions as r, instantiateAuthoringFieldPreset as rt, AuthoringEntityContext as s, isAuthoringFieldPresetDescriptor as st, AuthoringArgRef as t, hasRegisteredFieldNamespace as tt, AuthoringEntityTypeNamespace as u, isAuthoringTypeConstructorDescriptor as ut, AuthoringModelAttributeLoweringOutput as v, AuthoringTemplateValue as w, AuthoringPslBlockDescriptorNamespace as x, AuthoringOption as y, PslExtensionBlockAttributeArg as z };
|
|
782
|
-
//# sourceMappingURL=framework-authoring-BYgPL2X6-
|
|
782
|
+
//# sourceMappingURL=framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts.map
|