@prisma/orm-framework 8.0.0-rc.8-dev.18 → 8.0.0-rc.8-dev.20

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.
Files changed (54) hide show
  1. package/dist/authoring-CsmBwxxc.d.mts +1 -0
  2. package/dist/{components-DfBgqtAA.d.mts → components-BQv52KQK.d.mts} +2 -2
  3. package/dist/{components-DfBgqtAA.d.mts.map → components-BQv52KQK.d.mts.map} +1 -1
  4. package/dist/components.d.mts +9 -9
  5. package/dist/components.mjs +2 -2
  6. package/dist/components__authoring.d.mts +3 -3
  7. package/dist/components__authoring.mjs +1 -1
  8. package/dist/components__components.d.mts +2 -2
  9. package/dist/components__control.d.mts +2 -2
  10. package/dist/components__control.mjs +1 -1
  11. package/dist/components__execution.d.mts +1 -1
  12. package/dist/components__psl-ast.d.mts +4 -4
  13. package/dist/{config-types-Cd3lF465.d.mts → config-types-Bs2RmoF1.d.mts} +4 -4
  14. package/dist/{config-types-Cd3lF465.d.mts.map → config-types-Bs2RmoF1.d.mts.map} +1 -1
  15. package/dist/config.d.mts +1 -1
  16. package/dist/config__config-types.d.mts +1 -1
  17. package/dist/contract-authoring.d.mts +2 -2
  18. package/dist/contract-authoring.mjs +1 -1
  19. package/dist/{control-Ua4mFpMZ.mjs → control-B85tHWHg.mjs} +2 -2
  20. package/dist/{control-Ua4mFpMZ.mjs.map → control-B85tHWHg.mjs.map} +1 -1
  21. package/dist/{control-DK98Br9g.d.mts → control-CjcbNOkD.d.mts} +4 -4
  22. package/dist/{control-DK98Br9g.d.mts.map → control-CjcbNOkD.d.mts.map} +1 -1
  23. package/dist/errors.d.mts +1 -1
  24. package/dist/errors__execution.d.mts +1 -1
  25. package/dist/{execution-B6yrDgxW.d.mts → execution-BBhG0eEX.d.mts} +2 -2
  26. package/dist/{execution-B6yrDgxW.d.mts.map → execution-BBhG0eEX.d.mts.map} +1 -1
  27. package/dist/{execution-DPhpNcSb.d.mts → execution-Bip-dSRD.d.mts} +2 -2
  28. package/dist/{execution-DPhpNcSb.d.mts.map → execution-Bip-dSRD.d.mts.map} +1 -1
  29. package/dist/{framework-authoring-C57bj6fM-C9ljFo_i.d.mts → framework-authoring-BYgPL2X6-DMWdZRe_.d.mts} +10 -4
  30. package/dist/framework-authoring-BYgPL2X6-DMWdZRe_.d.mts.map +1 -0
  31. package/dist/{framework-authoring-7TMJaLjm-DghHbwwP.mjs → framework-authoring-BvxZnsPY-ZPMm8wzu.mjs} +12 -16
  32. package/dist/framework-authoring-BvxZnsPY-ZPMm8wzu.mjs.map +1 -0
  33. package/dist/{framework-components-BAj0Yl7v-CFNdlUrJ.d.mts → framework-components-Cbc_SNqC-3S58m-me.d.mts} +3 -3
  34. package/dist/{framework-components-BAj0Yl7v-CFNdlUrJ.d.mts.map → framework-components-Cbc_SNqC-3S58m-me.d.mts.map} +1 -1
  35. package/dist/{parse-0ZJjj_2N-hn1rwo4m.d.mts → parse-B5xYL_oV-EhHFhFC2.d.mts} +5 -5
  36. package/dist/{parse-0ZJjj_2N-hn1rwo4m.d.mts.map → parse-B5xYL_oV-EhHFhFC2.d.mts.map} +1 -1
  37. package/dist/{psl-ast-D7s3Wde7.d.mts → psl-ast-TV65PbYl.d.mts} +3 -3
  38. package/dist/{psl-ast-D7s3Wde7.d.mts.map → psl-ast-TV65PbYl.d.mts.map} +1 -1
  39. package/dist/{psl-ast-U8WIp-a5-BVKH-Lhi.d.mts → psl-ast-dnXw52MT-Bl0_KlW1.d.mts} +3 -3
  40. package/dist/{psl-ast-U8WIp-a5-BVKH-Lhi.d.mts.map → psl-ast-dnXw52MT-Bl0_KlW1.d.mts.map} +1 -1
  41. package/dist/psl-parser.d.mts +76 -67
  42. package/dist/psl-parser.d.mts.map +1 -1
  43. package/dist/psl-parser.mjs +87 -14
  44. package/dist/psl-parser.mjs.map +1 -1
  45. package/dist/psl-parser__interpret.d.mts +3 -3
  46. package/dist/psl-parser__syntax.d.mts +1 -1
  47. package/dist/psl-printer.d.mts +4 -4
  48. package/dist/psl-printer.mjs +1 -1
  49. package/dist/{symbol-table-CZ7EVCTL-Kr33P4hu.d.mts → symbol-table-BeOQBu3C-JNYN-J1H.d.mts} +6 -6
  50. package/dist/{symbol-table-CZ7EVCTL-Kr33P4hu.d.mts.map → symbol-table-BeOQBu3C-JNYN-J1H.d.mts.map} +1 -1
  51. package/package.json +15 -15
  52. package/dist/authoring-9Zbdh9AT.d.mts +0 -1
  53. package/dist/framework-authoring-7TMJaLjm-DghHbwwP.mjs.map +0 -1
  54. package/dist/framework-authoring-C57bj6fM-C9ljFo_i.d.mts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework-authoring-BvxZnsPY-ZPMm8wzu.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/framework-authoring-BvxZnsPY.mjs"],"sourcesContent":["import { n as runtimeError } from \"./runtime-error-BA9d7XjZ.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue } from \"@internal/contract/types\";\nimport { invariant } from \"@internal/utils/assertions\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { InternalError } from \"@internal/utils/internal-error\";\n//#region src/shared/framework-authoring.ts\nconst AUTHORING_WARNING_BATCH_THRESHOLD = 5;\n/**\n* Emits collected authoring warnings once per build, grouped by `code`:\n* a group at or below the threshold itemizes every `message`; above it,\n* one summary — `\"<count> <summary>\"` followed by the `item` lines — so\n* a build with many hits of one kind does not wall-of-text, and warnings\n* of different codes never batch into each other's summary.\n*/\nfunction flushAuthoringWarnings(warnings) {\n\tconst groups = /* @__PURE__ */ new Map();\n\tfor (const warning of warnings) {\n\t\tconst key = `${warning.code}\\u0000${warning.summary}`;\n\t\tconst group = groups.get(key) ?? [];\n\t\tgroup.push(warning);\n\t\tgroups.set(key, group);\n\t}\n\tfor (const group of groups.values()) {\n\t\tconst first = group[0];\n\t\tif (first === void 0) continue;\n\t\tif (group.length <= AUTHORING_WARNING_BATCH_THRESHOLD) {\n\t\t\tfor (const warning of group) process.emitWarning(warning.message, { code: warning.code });\n\t\t\tcontinue;\n\t\t}\n\t\tprocess.emitWarning(`${group.length} ${first.summary}\\n${group.map((w) => ` - ${w.item}`).join(\"\\n\")}`, { code: first.code });\n\t}\n}\n/**\n* Classifies an `enum` block's members (before codec decoding, which needs\n* the codec chosen first) into which default codec an omitted `@@type`\n* should resolve to:\n*\n* - every member is `bare`, or a `value` whose raw JSON is a string → `'text'`\n* - every member is a `value` whose raw JSON is an integer → `'int'`\n* - anything else (float, bigint, boolean, mixed, or a `ref`/`option`/`list`\n* parameter) → `null`, meaning the caller must require an explicit `@@type`.\n*/\nfunction classifyEnumMemberType(block) {\n\tlet sawText = false;\n\tlet sawInt = false;\n\tfor (const paramValue of Object.values(block.parameters)) {\n\t\tif (paramValue.kind === \"bare\") {\n\t\t\tsawText = true;\n\t\t\tcontinue;\n\t\t}\n\t\tif (paramValue.kind !== \"value\") return null;\n\t\tlet jsonValue;\n\t\ttry {\n\t\t\tjsonValue = JSON.parse(paramValue.raw);\n\t\t} catch {\n\t\t\treturn null;\n\t\t}\n\t\tif (typeof jsonValue === \"string\") sawText = true;\n\t\telse if (typeof jsonValue === \"number\" && Number.isInteger(jsonValue)) sawInt = true;\n\t\telse return null;\n\t}\n\tif (sawText && sawInt) return null;\n\tif (sawText) return \"text\";\n\tif (sawInt) return \"int\";\n\treturn null;\n}\n/**\n* Resolves the codec id for an `enum` block. When `@@type` is absent, the codec\n* is inferred from the members via {@link classifyEnumMemberType}; otherwise the\n* explicit `@@type(\"codec\")` argument is parsed. Pushes the appropriate\n* diagnostic and returns `undefined` when neither yields a codec. `codecSpan` is\n* the span downstream codec-validation diagnostics should anchor to. Shared by\n* every family's enum factory so inference and the explicit path stay identical.\n*/\nfunction resolveEnumCodecId(block, ctx) {\n\tconst sourceId = ctx.sourceId ?? \"unknown\";\n\tconst typeAttr = block.attributes[\"type\"];\n\tif (typeAttr === void 0) {\n\t\tconst inferredKind = classifyEnumMemberType(block);\n\t\tif (inferredKind === null || ctx.enumInferenceCodecs === void 0) {\n\t\t\tctx.diagnostics?.push({\n\t\t\t\tcode: \"PSL_ENUM_CANNOT_INFER_TYPE\",\n\t\t\t\tmessage: `cannot infer @@type for enum \"${block.name}\"; add an explicit @@type(...)`,\n\t\t\t\tsourceId,\n\t\t\t\tspan: block.span\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\treturn {\n\t\t\tcodecId: ctx.enumInferenceCodecs[inferredKind],\n\t\t\tcodecSpan: block.span\n\t\t};\n\t}\n\tconst codecId = typeAttr.args[\"codecId\"];\n\tinvariant(typeof codecId === \"string\", \"@@type on an enum block parses one string argument\");\n\treturn {\n\t\tcodecId,\n\t\tcodecSpan: typeAttr.span\n\t};\n}\nfunction isAuthoringArgRef(value) {\n\tif (typeof value !== \"object\" || value === null || value.kind !== \"arg\") return false;\n\tconst { index, path } = value;\n\tif (typeof index !== \"number\" || !Number.isInteger(index) || index < 0) return false;\n\tif (path !== void 0 && (!Array.isArray(path) || path.some((s) => typeof s !== \"string\"))) return false;\n\treturn true;\n}\nfunction isAuthoringSelectRef(value) {\n\tif (!isAuthoringTemplateRecord(value) || value[\"kind\"] !== \"select\") return false;\n\tconst index = value[\"index\"];\n\tconst path = value[\"path\"];\n\tconst cases = value[\"cases\"];\n\tif (typeof index !== \"number\" || !Number.isInteger(index) || index < 0) return false;\n\tif (path !== void 0 && (!Array.isArray(path) || path.some((s) => typeof s !== \"string\"))) return false;\n\treturn typeof cases === \"object\" && cases !== null && !Array.isArray(cases);\n}\nfunction isAuthoringTemplateRecord(value) {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\nfunction readTemplateArgumentValue(args, index, path) {\n\tlet value = args[index];\n\tfor (const segment of path ?? []) {\n\t\tif (!isAuthoringTemplateRecord(value) || !Object.hasOwn(value, segment)) return;\n\t\tvalue = value[segment];\n\t}\n\treturn value;\n}\nfunction isAuthoringTypeConstructorDescriptor(value) {\n\treturn \"kind\" in value && value.kind === \"typeConstructor\";\n}\nfunction isAuthoringFieldPresetDescriptor(value) {\n\treturn \"kind\" in value && value.kind === \"fieldPreset\";\n}\nfunction isAuthoringEntityTypeDescriptor(value) {\n\treturn \"kind\" in value && value.kind === \"entity\";\n}\nfunction isAuthoringPslBlockDescriptor(value) {\n\treturn \"kind\" in value && value.kind === \"pslBlock\";\n}\nfunction isAuthoringModelAttributeDescriptor(value) {\n\treturn \"kind\" in value && value.kind === \"modelAttribute\";\n}\n/**\n* Returns true when `namespace` is a non-leaf key in `contributions.field`.\n*\n* `AuthoringFieldNamespace` permits a leaf descriptor at any depth — including\n* the root — so a top-level `field: { Foo: { kind: 'fieldPreset', ... } }`\n* registration must NOT be treated as a \"namespace\" with sub-paths. Callers\n* use this predicate to gate dot-namespaced lookups (e.g. PSL `@Foo.bar`).\n*/\nfunction hasRegisteredFieldNamespace(contributions, namespace) {\n\tif (contributions?.field === void 0 || !Object.hasOwn(contributions.field, namespace)) return false;\n\tconst value = contributions.field[namespace];\n\treturn value !== void 0 && !isAuthoringFieldPresetDescriptor(value);\n}\nfunction isCopyableNamespaceObject(value) {\n\tif (typeof value !== \"object\" || value === null || Array.isArray(value)) return false;\n\tconst proto = Object.getPrototypeOf(value);\n\treturn proto === Object.prototype || proto === null;\n}\n/**\n* Deep structural check run only at the composition boundary (the merge and\n* collect walkers) to classify a raw namespace-tree node as a leaf descriptor.\n* A node counts as a leaf iff its `kind` matches `descriptorKind` AND it\n* carries that kind's required fields.\n*\n* This is boundary validation over `unknown`, NOT a type-predicate: the four\n* exported `isAuthoring*Descriptor` predicates deliberately narrow on `kind`\n* alone and trust the static types. The walkers, by contrast, also receive\n* type-bypassing packs (`as unknown as never` in tests, untyped JS at runtime)\n* whose descriptor-shaped-but-incomplete nodes must be rejected rather than\n* silently treated as sub-namespaces — so the well-formedness check lives here.\n*/\nfunction isWellFormedDescriptor(value, descriptorKind) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tif (!(\"kind\" in value) || value.kind !== descriptorKind) return false;\n\tswitch (descriptorKind) {\n\t\tcase \"typeConstructor\":\n\t\tcase \"fieldPreset\": {\n\t\t\tif (!(\"output\" in value)) return false;\n\t\t\tconst output = value.output;\n\t\t\treturn typeof output === \"object\" && output !== null;\n\t\t}\n\t\tcase \"entity\": {\n\t\t\tif (!(\"discriminator\" in value) || typeof value.discriminator !== \"string\") return false;\n\t\t\tif (value.discriminator.length === 0) return false;\n\t\t\tif (!(\"output\" in value)) return false;\n\t\t\tconst output = value.output;\n\t\t\tif (typeof output !== \"object\" || output === null) return false;\n\t\t\tconst factory = \"factory\" in output ? output.factory : void 0;\n\t\t\tconst template = \"template\" in output ? output.template : void 0;\n\t\t\treturn typeof factory === \"function\" || template !== void 0;\n\t\t}\n\t\tcase \"pslBlock\": {\n\t\t\tif (!(\"keyword\" in value) || typeof value.keyword !== \"string\" || value.keyword.length === 0) return false;\n\t\t\tif (!(\"discriminator\" in value) || typeof value.discriminator !== \"string\" || value.discriminator.length === 0) return false;\n\t\t\tif (!(\"name\" in value)) return false;\n\t\t\tconst name = value.name;\n\t\t\tif (typeof name !== \"object\" || name === null) return false;\n\t\t\tif (!(\"required\" in name) || typeof name.required !== \"boolean\") return false;\n\t\t\tif (!(\"parameters\" in value)) return false;\n\t\t\tconst parameters = value.parameters;\n\t\t\tif (typeof parameters !== \"object\" || parameters === null || Array.isArray(parameters)) return false;\n\t\t\tif (!(\"attributes\" in value) || value.attributes === void 0) return true;\n\t\t\tconst attributes = value.attributes;\n\t\t\tif (typeof attributes !== \"object\" || attributes === null || Array.isArray(attributes)) return false;\n\t\t\treturn Object.values(attributes).every((factory) => typeof factory === \"function\");\n\t\t}\n\t\tcase \"modelAttribute\":\n\t\t\tif (!(\"attribute\" in value) || typeof value.attribute !== \"string\" || value.attribute.length === 0) return false;\n\t\t\tif (!(\"spec\" in value)) return false;\n\t\t\treturn \"lower\" in value && typeof value.lower === \"function\";\n\t\tdefault: return false;\n\t}\n}\nfunction deepCopyNamespace(source, descriptorKind) {\n\tconst copy = {};\n\tfor (const [key, value] of Object.entries(source)) copy[key] = isCopyableNamespaceObject(value) && !isWellFormedDescriptor(value, descriptorKind) ? deepCopyNamespace(value, descriptorKind) : value;\n\treturn copy;\n}\n/**\n* Merges `source` into `target` recursively at the descriptor-namespace\n* level. `descriptorKind` is the `kind` value ('typeConstructor',\n* 'fieldPreset', 'entity', or 'pslBlock') that identifies a descriptor\n* (terminal merge point; same-path registrations across components are\n* reported as duplicates) as opposed to a sub-namespace (recursion target).\n*\n* Path segments are validated against prototype-pollution names\n* (`__proto__`, `constructor`, `prototype`). A value that is neither a\n* recognized leaf nor a plain object — e.g. a malformed descriptor\n* where the canonical leaf guard rejected it for missing `output` —\n* is reported as an invalid contribution rather than recursed into,\n* which would either silently mangle state or infinite-loop on\n* primitive properties.\n*\n* Within-registry duplicate detection is this walker's job;\n* cross-registry detection runs separately via\n* `assertNoCrossRegistryCollisions` after merging completes.\n*/\nfunction mergeAuthoringNamespaces(target, source, path, descriptorKind, label) {\n\tconst assertSafePath = (currentPath) => {\n\t\tconst blockedSegment = currentPath.find((segment) => segment === \"__proto__\" || segment === \"constructor\" || segment === \"prototype\");\n\t\tif (blockedSegment) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Invalid authoring ${label} helper \"${currentPath.join(\".\")}\". Helper path segments must not use \"${blockedSegment}\".`);\n\t};\n\tfor (const [key, sourceValue] of Object.entries(source)) {\n\t\tconst currentPath = [...path, key];\n\t\tassertSafePath(currentPath);\n\t\tconst hasExistingValue = Object.hasOwn(target, key);\n\t\tconst existingValue = hasExistingValue ? target[key] : void 0;\n\t\tif (!hasExistingValue) {\n\t\t\ttarget[key] = isCopyableNamespaceObject(sourceValue) && !isWellFormedDescriptor(sourceValue, descriptorKind) ? deepCopyNamespace(sourceValue, descriptorKind) : sourceValue;\n\t\t\tcontinue;\n\t\t}\n\t\tconst existingIsLeaf = isWellFormedDescriptor(existingValue, descriptorKind);\n\t\tconst sourceIsLeaf = isWellFormedDescriptor(sourceValue, descriptorKind);\n\t\tif (existingIsLeaf || sourceIsLeaf) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Duplicate authoring ${label} helper \"${currentPath.join(\".\")}\". Helper names must be unique across composed packs.`);\n\t\tif (!isCopyableNamespaceObject(existingValue) || !isCopyableNamespaceObject(sourceValue)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Invalid authoring ${label} helper \"${currentPath.join(\".\")}\". Expected a sub-namespace object or a recognized descriptor; received a malformed value.`);\n\t\tmergeAuthoringNamespaces(existingValue, sourceValue, currentPath, descriptorKind, label);\n\t}\n}\nconst ATTRIBUTE_SPEC_LEVELS = [\"model\", \"field\"];\nfunction mergeAuthoringAttributeSpecs(target, source, contributedBy, owners) {\n\tconst invalidContribution = (detail) => runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Invalid authoring attributeSpecs contribution from descriptor \"${contributedBy}\". ${detail}`);\n\tif (!isCopyableNamespaceObject(source)) throw invalidContribution(\"Expected a record carrying a \\\"model\\\" and a \\\"field\\\" level.\");\n\tfor (const level of ATTRIBUTE_SPEC_LEVELS) {\n\t\tconst contributed = source[level];\n\t\tif (!isCopyableNamespaceObject(contributed)) throw invalidContribution(`The \"${level}\" level must be a record of spec factories keyed by attribute name.`);\n\t\tfor (const [attribute, factory] of Object.entries(contributed)) {\n\t\t\tconst entryPath = `${level}.${attribute}`;\n\t\t\tconst invalidEntry = (detail) => runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Invalid authoring attributeSpecs entry \"${entryPath}\" contributed by descriptor \"${contributedBy}\". ${detail}`);\n\t\t\tif (attribute === \"__proto__\" || attribute === \"constructor\" || attribute === \"prototype\") throw invalidEntry(`Attribute names must not use \"${attribute}\".`);\n\t\t\tif (typeof factory !== \"function\") throw invalidEntry(\"Each entry must be a spec factory function.\");\n\t\t\tconst existingOwner = owners.get(entryPath);\n\t\t\tif (existingOwner !== void 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Duplicate authoring attributeSpecs entry \"${entryPath}\". Descriptor \"${contributedBy}\" conflicts with \"${existingOwner}\". Each attribute name may be claimed once per level.`);\n\t\t\towners.set(entryPath, contributedBy);\n\t\t\ttarget[level][attribute] = factory;\n\t\t}\n\t}\n}\n/**\n* Collects the full dotted paths of every well-formed descriptor of\n* `descriptorKind` in a raw contribution tree, using the same boundary\n* classification as {@link mergeAuthoringNamespaces}. Lets assembly-level\n* callers attribute each contributed path to its contributing component\n* before merging, so a same-path collision can be reported naming both\n* contributors.\n*/\nfunction collectContributedDescriptorPaths(namespace, descriptorKind, path = []) {\n\tconst paths = [];\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isWellFormedDescriptor(value, descriptorKind)) {\n\t\t\tpaths.push(currentPath.join(\".\"));\n\t\t\tcontinue;\n\t\t}\n\t\tif (isCopyableNamespaceObject(value)) paths.push(...collectContributedDescriptorPaths(value, descriptorKind, currentPath));\n\t}\n\treturn paths;\n}\n/**\n* Derives the scalar view of an assembled authoring type namespace: every\n* **top-level** type constructor that is instantiable with an empty argument\n* list — all declared args optional and no entity-ref argument. A bare type\n* name `T` in a schema is semantically the zero-arg instantiation `T()`, so\n* each entry is exactly what that call produces (defaulted template values\n* applied, absent optional-arg typeParams keys omitted). Constructors\n* registered under a namespace segment, constructors with required args, and\n* entity-ref constructors are not scalars and are excluded.\n*\n* Eligibility needs no template inspection: templates that cannot resolve\n* for their legal call shapes are rejected at the composition boundary by\n* {@link assertResolvableTypeConstructorTemplates}, so the zero-arg\n* instantiation below cannot fail for an eligible constructor.\n*/\nfunction collectScalarTypeConstructors(namespace) {\n\tconst result = /* @__PURE__ */ new Map();\n\tfor (const [name, value] of Object.entries(namespace)) {\n\t\tif (!isAuthoringTypeConstructorDescriptor(value)) continue;\n\t\tif (value.entityRefArg !== void 0) continue;\n\t\tif (value.args?.some((arg) => arg.optional !== true)) continue;\n\t\tresult.set(name, instantiateAuthoringTypeConstructor(value, []));\n\t}\n\treturn result;\n}\nfunction visitTemplateArgRefs(template, visit) {\n\tif (template === void 0) return;\n\tif (isAuthoringArgRef(template)) {\n\t\tvisit(template);\n\t\tvisitTemplateArgRefs(template.default, visit);\n\t\treturn;\n\t}\n\tif (Array.isArray(template)) {\n\t\tfor (const value of template) visitTemplateArgRefs(value, visit);\n\t\treturn;\n\t}\n\tif (typeof template === \"object\" && template !== null) for (const value of Object.values(template)) visitTemplateArgRefs(value, visit);\n}\n/**\n* Boundary validation for a contributed authoring type namespace, called\n* per contributing component at assembly (which supplies `contributedBy`\n* for attribution). Rejects what the types cannot express — entity-ref\n* constructors are skipped (their output derives from the referenced\n* entity): a plain constructor must declare its output storage type name,\n* and every `typeParams` arg-ref (including refs inside arg-ref defaults)\n* must point at a declared argument index.\n*/\nfunction assertResolvableTypeConstructorTemplates(namespace, contributedBy, path = []) {\n\tfor (const [name, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, name];\n\t\tif (!isAuthoringTypeConstructorDescriptor(value)) {\n\t\t\tassertResolvableTypeConstructorTemplates(value, contributedBy, currentPath);\n\t\t\tcontinue;\n\t\t}\n\t\tif (value.entityRefArg !== void 0) continue;\n\t\tconst args = value.args ?? [];\n\t\tconst invalid = (detail) => /* @__PURE__ */ new Error(`Invalid authoring type constructor \"${currentPath.join(\".\")}\" contributed by descriptor \"${contributedBy}\". ${detail}`);\n\t\tif (value.output.nativeType === void 0) throw invalid(\"The output declares no storage type template and no entityRefArg; a plain constructor must declare one.\");\n\t\tfor (const [key, template] of Object.entries(value.output.typeParams ?? {})) visitTemplateArgRefs(template, (ref) => {\n\t\t\tif (args[ref.index] === void 0) throw invalid(`output.typeParams.${key} references argument ${ref.index}, but the constructor declares ${args.length} argument(s). Declare the argument or correct the reference index.`);\n\t\t});\n\t}\n}\nfunction collectDescriptorPaths(namespace, isLeaf, path = []) {\n\tconst paths = [];\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isLeaf(value)) {\n\t\t\tpaths.push(currentPath.join(\".\"));\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) paths.push(...collectDescriptorPaths(value, isLeaf, currentPath));\n\t}\n\treturn paths;\n}\nfunction collectDescriptorEntries(namespace, isLeaf, descriptorKind, label, path = []) {\n\tconst entries = [];\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isLeaf(value)) {\n\t\t\tif (!isWellFormedDescriptor(value, descriptorKind)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Malformed authoring ${label} contribution at \"${currentPath.join(\".\")}\". The value carries descriptor keys (kind/keyword/discriminator) but does not satisfy the ${label} descriptor shape. Fix the contribution so it is a complete descriptor, or remove the stray keys if it was meant to be a sub-namespace.`);\n\t\t\tif (value.discriminator.length > 0) entries.push({\n\t\t\t\tpath: currentPath.join(\".\"),\n\t\t\t\tdiscriminator: value.discriminator\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) {\n\t\t\tconst record = blindCast(value);\n\t\t\tif ((record[\"kind\"] !== void 0 || record[\"keyword\"] !== void 0 || record[\"discriminator\"] !== void 0) && !isLeaf(value)) {\n\t\t\t\tconst hasKind = record[\"kind\"] === \"pslBlock\";\n\t\t\t\tconst hasKeyword = typeof record[\"keyword\"] === \"string\";\n\t\t\t\tconst hasDiscriminator = typeof record[\"discriminator\"] === \"string\";\n\t\t\t\tif (hasKind || hasKeyword && hasDiscriminator) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Malformed authoring ${label} contribution at \"${currentPath.join(\".\")}\". The value carries descriptor keys (kind/keyword/discriminator) but does not satisfy the ${label} descriptor shape. Fix the contribution so it is a complete descriptor, or remove the stray keys if it was meant to be a sub-namespace.`);\n\t\t\t}\n\t\t\tentries.push(...collectDescriptorEntries(value, isLeaf, descriptorKind, label, currentPath));\n\t\t}\n\t}\n\treturn entries;\n}\n/**\n* Throws when two or more entries in the same namespace share a key. A\n* duplicate key makes dispatch ambiguous — the caller's lookup dispatches by\n* this key, so one entry would silently shadow the other. Catch duplicates\n* before building any dispatch map.\n*\n* `label` (e.g. `'pslBlock'`, `'entityType'`) names which namespace the\n* duplicate was found in and is carried in the structured error metadata;\n* the key itself is always called `key` in both the message and the\n* metadata, since what it semantically represents (a discriminator for\n* `entityType`, the parser's dispatch keyword for `pslBlock`) is the\n* caller's concern, not this function's.\n*/\nfunction assertUniqueDiscriminators(entries, label) {\n\tconst seen = /* @__PURE__ */ new Map();\n\tfor (const { path, discriminator: key } of entries) {\n\t\tconst existing = seen.get(key);\n\t\tif (existing !== void 0) throw runtimeError(\"RUNTIME.DUPLICATE_AUTHORING_DISCRIMINATOR\", `Duplicate ${label} key \"${key}\" registered at both \"${existing}\" and \"${path}\". Each ${label} contribution must use a unique key.`, {\n\t\t\tlabel,\n\t\t\tkey,\n\t\t\texistingPath: existing,\n\t\t\tpath\n\t\t});\n\t\tseen.set(key, path);\n\t}\n}\nfunction collectPslBlockDescriptorEntries(namespace, path = []) {\n\tconst entries = [];\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isAuthoringPslBlockDescriptor(value)) {\n\t\t\tif (!isWellFormedDescriptor(value, \"pslBlock\")) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Malformed authoring pslBlock contribution at \"${currentPath.join(\".\")}\". The value carries descriptor keys (kind/keyword/discriminator) but does not satisfy the pslBlock descriptor shape. Fix the contribution so it is a complete descriptor, or remove the stray keys if it was meant to be a sub-namespace.`);\n\t\t\tentries.push({\n\t\t\t\tpath: currentPath.join(\".\"),\n\t\t\t\tdiscriminator: value.discriminator,\n\t\t\t\tkeyword: value.keyword\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) {\n\t\t\tconst record = blindCast(value);\n\t\t\tconst hasKind = record[\"kind\"] === \"pslBlock\";\n\t\t\tconst hasKeyword = typeof record[\"keyword\"] === \"string\";\n\t\t\tconst hasDiscriminator = typeof record[\"discriminator\"] === \"string\";\n\t\t\tif (hasKind || hasKeyword && hasDiscriminator) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Malformed authoring pslBlock contribution at \"${currentPath.join(\".\")}\". The value carries descriptor keys (kind/keyword/discriminator) but does not satisfy the pslBlock descriptor shape. Fix the contribution so it is a complete descriptor, or remove the stray keys if it was meant to be a sub-namespace.`);\n\t\t\tentries.push(...collectPslBlockDescriptorEntries(value, currentPath));\n\t\t}\n\t}\n\treturn entries;\n}\n/**\n* Every `pslBlockDescriptors` entry requires a matching `entityTypes` factory\n* with the same discriminator. An `entityTypes` factory may stand alone (e.g.\n* `enum`, reachable from the TypeScript builder without any PSL block).\n*\n* Uniqueness for pslBlock entries is keyed on **keyword**, not discriminator:\n* several keywords (e.g. `policy_select`/`policy_insert`) may legitimately\n* share one discriminator, routing to the same `entityTypes` factory and the\n* same `entries[discriminator]` slot — that N:1 shape is exactly what lets\n* one entity kind be authored through several PSL keywords. What must stay\n* unique is the keyword itself, since that's what the parser dispatches on.\n*/\nfunction assertPslBlocksHaveFactories(entityTypeNamespace, pslBlockNamespace) {\n\tconst blockEntries = collectPslBlockDescriptorEntries(pslBlockNamespace);\n\tconst entityEntries = collectDescriptorEntries(entityTypeNamespace, isAuthoringEntityTypeDescriptor, \"entity\", \"entityType\");\n\tassertUniqueDiscriminators(blockEntries.map((entry) => ({\n\t\tpath: entry.path,\n\t\tdiscriminator: entry.keyword\n\t})), \"pslBlock\");\n\tassertUniqueDiscriminators(entityEntries, \"entityType\");\n\tconst entityDiscriminators = new Set(entityEntries.map((entry) => entry.discriminator));\n\tfor (const block of blockEntries) if (!entityDiscriminators.has(block.discriminator)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Incomplete extension contribution: pslBlock helper \"${block.path}\" registers discriminator \"${block.discriminator}\" but no entityType contribution shares that discriminator. An extension-contributed PSL block requires a matching entityType factory so the parsed AST node can lower to an IR class instance; add an entityType helper with discriminator \"${block.discriminator}\".`);\n}\nfunction collectModelAttributeEntries(namespace, path = []) {\n\tconst entries = [];\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isAuthoringModelAttributeDescriptor(value)) {\n\t\t\tif (!isWellFormedDescriptor(value, \"modelAttribute\")) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Malformed authoring modelAttribute contribution at \"${currentPath.join(\".\")}\". The value carries descriptor keys (kind/attribute) but does not satisfy the modelAttribute descriptor shape. Fix the contribution so it is a complete descriptor, or remove the stray keys if it was meant to be a sub-namespace.`);\n\t\t\tentries.push({\n\t\t\t\tpath: currentPath.join(\".\"),\n\t\t\t\tdiscriminator: value.attribute\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) {\n\t\t\tconst record = blindCast(value);\n\t\t\tif (typeof record[\"attribute\"] === \"string\" && \"spec\" in record) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Malformed authoring modelAttribute contribution at \"${currentPath.join(\".\")}\". The value carries descriptor keys (kind/attribute) but does not satisfy the modelAttribute descriptor shape. Fix the contribution so it is a complete descriptor, or remove the stray keys if it was meant to be a sub-namespace.`);\n\t\t\tentries.push(...collectModelAttributeEntries(value, currentPath));\n\t\t}\n\t}\n\treturn entries;\n}\n/**\n* Throws when two modelAttribute contributions — at any paths, even\n* different ones — claim the same bare `@@` attribute name. The family\n* interpreter dispatches by attribute name, not by registration path, so\n* two descriptors claiming the same name would have one silently shadow\n* the other.\n*/\nfunction assertUniqueModelAttributeNames(entries) {\n\tconst seen = /* @__PURE__ */ new Map();\n\tfor (const { path, discriminator: attribute } of entries) {\n\t\tconst existing = seen.get(attribute);\n\t\tif (existing !== void 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Duplicate modelAttribute \"${attribute}\" registered at both \"${existing}\" and \"${path}\". Each modelAttribute contribution must claim a unique attribute name.`);\n\t\tseen.set(attribute, path);\n\t}\n}\nfunction assertNoCrossRegistryCollisions(typeNamespace, fieldNamespace, entityTypeNamespace = {}, pslBlockNamespace = {}, modelAttributeNamespace = {}) {\n\tconst typePaths = new Set(collectDescriptorPaths(typeNamespace, isAuthoringTypeConstructorDescriptor));\n\tconst fieldPaths = new Set(collectDescriptorPaths(fieldNamespace, isAuthoringFieldPresetDescriptor));\n\tconst entityPaths = new Set(collectDescriptorPaths(entityTypeNamespace, isAuthoringEntityTypeDescriptor));\n\tconst ambiguityHint = \"Register each path in only one of authoringContributions.field / authoringContributions.type / authoringContributions.entityTypes.\";\n\tfor (const fieldPath of fieldPaths) if (typePaths.has(fieldPath)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Ambiguous authoring registry path \"${fieldPath}\". The same path is registered as both a type constructor and a field preset; PSL resolution would be ambiguous. ${ambiguityHint}`);\n\tfor (const entityPath of entityPaths) if (typePaths.has(entityPath) || fieldPaths.has(entityPath)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Ambiguous authoring registry path \"${entityPath}\". The same path is registered as an entity contribution AND as a type constructor or field preset; PSL resolution would be ambiguous. ${ambiguityHint}`);\n\tassertPslBlocksHaveFactories(entityTypeNamespace, pslBlockNamespace);\n\tassertUniqueModelAttributeNames(collectModelAttributeEntries(modelAttributeNamespace));\n\tassertSelectTemplatesMatchOptionArgs(typeNamespace, fieldNamespace, entityTypeNamespace);\n}\nfunction collectDescriptorNodes(namespace, isLeaf, path = []) {\n\tconst nodes = [];\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isLeaf(value)) {\n\t\t\tnodes.push([currentPath.join(\".\"), value]);\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) nodes.push(...collectDescriptorNodes(value, isLeaf, currentPath));\n\t}\n\treturn nodes;\n}\nfunction collectSelectRefs(value, found) {\n\tif (typeof value !== \"object\" || value === null) return;\n\tif (isAuthoringSelectRef(value)) {\n\t\tfound.push(value);\n\t\tfor (const caseTemplate of Object.values(value.cases)) collectSelectRefs(caseTemplate, found);\n\t\treturn;\n\t}\n\tif (isAuthoringArgRef(value)) {\n\t\tcollectSelectRefs(value.default, found);\n\t\treturn;\n\t}\n\tif (Array.isArray(value)) {\n\t\tfor (const entry of value) collectSelectRefs(entry, found);\n\t\treturn;\n\t}\n\tfor (const entry of Object.values(value)) collectSelectRefs(entry, found);\n}\nfunction validateSelectRefsAgainstArgs(label, helperPath, args, templateRoot) {\n\tconst selects = [];\n\tcollectSelectRefs(templateRoot, selects);\n\tfor (const select of selects) {\n\t\tconst position = `#${select.index + 1}`;\n\t\tlet descriptor = args?.[select.index];\n\t\tif (descriptor === void 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Authoring ${label} helper \"${helperPath}\" select template references argument ${position}, but the helper declares no argument at that position.`);\n\t\tfor (const segment of select.path ?? []) {\n\t\t\tdescriptor = descriptor.kind === \"object\" ? descriptor.properties[segment] : void 0;\n\t\t\tif (descriptor === void 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Authoring ${label} helper \"${helperPath}\" select template references argument ${position} at path \"${(select.path ?? []).join(\".\")}\", which does not resolve to a declared argument property.`);\n\t\t}\n\t\tif (descriptor.kind !== \"option\") throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Authoring ${label} helper \"${helperPath}\" select template references argument ${position}, which is kind \"${descriptor.kind}\"; select requires an option argument.`);\n\t\tconst argumentLabel = descriptor.name !== void 0 ? `\"${descriptor.name}\"` : position;\n\t\tconst missing = descriptor.values.filter((value) => !Object.hasOwn(select.cases, value));\n\t\tif (missing.length > 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Authoring ${label} helper \"${helperPath}\" option argument ${argumentLabel} allows [${descriptor.values.join(\", \")}] but the select template has no case for: ${missing.join(\", \")}.`);\n\t\tconst values = descriptor.values;\n\t\tconst unreachable = Object.keys(select.cases).filter((key) => !values.includes(key));\n\t\tif (unreachable.length > 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Authoring ${label} helper \"${helperPath}\" select template has case(s) not allowed by option argument ${argumentLabel}: ${unreachable.join(\", \")}. Allowed values: [${values.join(\", \")}].`);\n\t}\n}\n/**\n* Every `select` template node must target an option argument whose `values`\n* exactly cover the node's `cases` — a legal token with no case and a case no\n* token can reach are both declaration bugs, caught here at pack-registration\n* time rather than at first resolution.\n*/\nfunction assertSelectTemplatesMatchOptionArgs(typeNamespace, fieldNamespace, entityTypeNamespace) {\n\tfor (const [helperPath, descriptor] of collectDescriptorNodes(fieldNamespace, isAuthoringFieldPresetDescriptor)) validateSelectRefsAgainstArgs(\"field\", helperPath, descriptor.args, descriptor.output);\n\tfor (const [helperPath, descriptor] of collectDescriptorNodes(typeNamespace, isAuthoringTypeConstructorDescriptor)) validateSelectRefsAgainstArgs(\"type\", helperPath, descriptor.args, descriptor.output);\n\tfor (const [helperPath, descriptor] of collectDescriptorNodes(entityTypeNamespace, isAuthoringEntityTypeDescriptor)) if (\"template\" in descriptor.output) validateSelectRefsAgainstArgs(\"entityType\", helperPath, descriptor.args, descriptor.output.template);\n}\nfunction resolveAuthoringTemplateValue(template, args) {\n\tif (template === void 0) return;\n\tif (isAuthoringArgRef(template)) {\n\t\tconst value = readTemplateArgumentValue(args, template.index, template.path);\n\t\tif (value === void 0 && template.default !== void 0) return resolveAuthoringTemplateValue(template.default, args);\n\t\treturn value;\n\t}\n\tif (isAuthoringSelectRef(template)) {\n\t\tconst value = readTemplateArgumentValue(args, template.index, template.path);\n\t\tif (value === void 0) return;\n\t\tif (typeof value !== \"string\" || !Object.hasOwn(template.cases, value)) throw new InternalError(`Authoring template select has no case for value \"${String(value)}\"`);\n\t\treturn resolveAuthoringTemplateValue(template.cases[value], args);\n\t}\n\tif (Array.isArray(template)) return template.map((value) => resolveAuthoringTemplateValue(value, args));\n\tif (typeof template === \"object\" && template !== null) {\n\t\tconst resolved = {};\n\t\tfor (const [key, value] of Object.entries(template)) {\n\t\t\tconst resolvedValue = resolveAuthoringTemplateValue(value, args);\n\t\t\tif (resolvedValue !== void 0) resolved[key] = resolvedValue;\n\t\t}\n\t\treturn resolved;\n\t}\n\treturn template;\n}\nfunction validateAuthoringArgument(descriptor, value, path) {\n\tif (value === void 0) {\n\t\tif (descriptor.optional) return;\n\t\tthrow runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Missing required authoring helper argument at ${path}`);\n\t}\n\tif (descriptor.kind === \"string\") {\n\t\tif (typeof value !== \"string\") throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be a string`);\n\t\treturn;\n\t}\n\tif (descriptor.kind === \"boolean\") {\n\t\tif (typeof value !== \"boolean\") throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be a boolean`);\n\t\treturn;\n\t}\n\tif (descriptor.kind === \"stringArray\") {\n\t\tif (!Array.isArray(value)) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be an array of strings`);\n\t\tfor (const entry of value) if (typeof entry !== \"string\") throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be an array of strings`);\n\t\treturn;\n\t}\n\tif (descriptor.kind === \"object\") {\n\t\tif (typeof value !== \"object\" || value === null || Array.isArray(value)) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be an object`);\n\t\tconst input = value;\n\t\tconst expectedKeys = new Set(Object.keys(descriptor.properties));\n\t\tfor (const key of Object.keys(input)) if (!expectedKeys.has(key)) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} contains unknown property \"${key}\"`);\n\t\tfor (const [key, propertyDescriptor] of Object.entries(descriptor.properties)) validateAuthoringArgument(propertyDescriptor, input[key], `${path}.${key}`);\n\t\treturn;\n\t}\n\tif (descriptor.kind === \"option\") {\n\t\tif (typeof value !== \"string\" || !descriptor.values.includes(value)) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be one of: ${descriptor.values.join(\", \")}`);\n\t\treturn;\n\t}\n\tif (typeof value !== \"number\" || Number.isNaN(value)) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be a number`);\n\tif (descriptor.integer && !Number.isInteger(value)) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be an integer`);\n\tif (descriptor.minimum !== void 0 && value < descriptor.minimum) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be >= ${descriptor.minimum}, received ${value}`);\n\tif (descriptor.maximum !== void 0 && value > descriptor.maximum) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `Authoring helper argument at ${path} must be <= ${descriptor.maximum}, received ${value}`);\n}\nfunction validateAuthoringHelperArguments(helperPath, descriptors, args) {\n\tconst expected = descriptors ?? [];\n\tconst minimumArgs = expected.reduce((count, descriptor, index) => descriptor.optional ? count : index + 1, 0);\n\tif (args.length < minimumArgs || args.length > expected.length) throw runtimeError(\"CONTRACT.ARGUMENT_INVALID\", `${helperPath} expects ${minimumArgs === expected.length ? expected.length : `${minimumArgs}-${expected.length}`} argument(s), received ${args.length}`);\n\texpected.forEach((descriptor, index) => {\n\t\tvalidateAuthoringArgument(descriptor, args[index], `${helperPath}[${index}]`);\n\t});\n}\nfunction resolveAuthoringStorageTypeTemplate(template, args) {\n\tconst nativeType = template.nativeType;\n\tif (nativeType === void 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Authoring output template for codec \"${template.codecId}\" declares no nativeType; only entity-ref constructors may omit it`);\n\tconst typeParams = template.typeParams === void 0 ? void 0 : resolveAuthoringTemplateValue(template.typeParams, args);\n\tif (typeParams !== void 0 && !isAuthoringTemplateRecord(typeParams)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Resolved authoring typeParams must be an object for codec \"${template.codecId}\", received ${String(typeParams)}`);\n\tconst normalizedTypeParams = typeParams !== void 0 && Object.keys(typeParams).length === 0 ? void 0 : typeParams;\n\treturn {\n\t\tcodecId: template.codecId,\n\t\tnativeType,\n\t\t...ifDefined(\"typeParams\", normalizedTypeParams)\n\t};\n}\nfunction resolveAuthoringColumnDefaultTemplate(template, args) {\n\tif (template.kind === \"literal\") {\n\t\tconst value = resolveAuthoringTemplateValue(template.value, args);\n\t\tif (value === void 0) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", \"Resolved authoring literal default must not be undefined\");\n\t\tif (!isColumnDefaultLiteralInputValue(value)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Resolved authoring literal default must be a JSON-serializable value or Date, received ${String(value)}`);\n\t\treturn {\n\t\t\tkind: \"literal\",\n\t\t\tvalue\n\t\t};\n\t}\n\tconst expression = resolveAuthoringTemplateValue(template.expression, args);\n\tif (expression === void 0 || typeof expression === \"object\" && expression !== null) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Resolved authoring function default expression must resolve to a primitive, received ${String(expression)}`);\n\treturn {\n\t\tkind: \"function\",\n\t\texpression: String(expression)\n\t};\n}\nfunction resolveExecutionMutationDefaultPhase(phase, template, args) {\n\tconst value = resolveAuthoringTemplateValue(template, args);\n\tif (value === void 0) return;\n\tif (!isExecutionMutationDefaultValue(value)) throw runtimeError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Authoring preset executionDefaults.${phase} did not resolve to a valid generator descriptor (kind: 'generator', id: string).`);\n\treturn value;\n}\nfunction resolveAuthoringExecutionDefaultsTemplate(template, args) {\n\tconst phases = {\n\t\t...ifDefined(\"onCreate\", template.onCreate !== void 0 ? resolveExecutionMutationDefaultPhase(\"onCreate\", template.onCreate, args) : void 0),\n\t\t...ifDefined(\"onUpdate\", template.onUpdate !== void 0 ? resolveExecutionMutationDefaultPhase(\"onUpdate\", template.onUpdate, args) : void 0)\n\t};\n\treturn Object.keys(phases).length === 0 ? void 0 : phases;\n}\nfunction instantiateAuthoringTypeConstructor(descriptor, args) {\n\treturn resolveAuthoringStorageTypeTemplate(descriptor.output, args);\n}\nfunction instantiateAuthoringEntityType(helperPath, descriptor, args, ctx) {\n\tif (\"factory\" in descriptor.output) {\n\t\tconst input = args[0];\n\t\treturn blindCast(descriptor.output.factory)(input, ctx);\n\t}\n\tvalidateAuthoringHelperArguments(helperPath, descriptor.args, args);\n\treturn blindCast(resolveAuthoringTemplateValue(descriptor.output.template, args));\n}\nfunction instantiateAuthoringFieldPreset(descriptor, args) {\n\treturn {\n\t\tdescriptor: resolveAuthoringStorageTypeTemplate(descriptor.output, args),\n\t\tnullable: descriptor.output.nullable ?? false,\n\t\t...ifDefined(\"default\", descriptor.output.default !== void 0 ? resolveAuthoringColumnDefaultTemplate(descriptor.output.default, args) : void 0),\n\t\t...ifDefined(\"executionDefaults\", descriptor.output.executionDefaults !== void 0 ? resolveAuthoringExecutionDefaultsTemplate(descriptor.output.executionDefaults, args) : void 0),\n\t\tid: descriptor.output.id ?? false,\n\t\tunique: descriptor.output.unique ?? false\n\t};\n}\n//#endregion\nexport { mergeAuthoringAttributeSpecs as _, collectScalarTypeConstructors as a, resolveEnumCodecId as b, instantiateAuthoringEntityType as c, isAuthoringArgRef as d, isAuthoringEntityTypeDescriptor as f, isAuthoringTypeConstructorDescriptor as g, isAuthoringPslBlockDescriptor as h, collectContributedDescriptorPaths as i, instantiateAuthoringFieldPreset as l, isAuthoringModelAttributeDescriptor as m, assertResolvableTypeConstructorTemplates as n, flushAuthoringWarnings as o, isAuthoringFieldPresetDescriptor as p, classifyEnumMemberType as r, hasRegisteredFieldNamespace as s, assertNoCrossRegistryCollisions as t, instantiateAuthoringTypeConstructor as u, mergeAuthoringNamespaces as v, validateAuthoringHelperArguments as x, resolveAuthoringTemplateValue as y };\n\n//# sourceMappingURL=framework-authoring-BvxZnsPY.mjs.map"],"mappings":";;;;;;;AAOA,MAAM,oCAAoC;;;;;;;;AAQ1C,SAAS,uBAAuB,UAAU;CACzC,MAAM,yBAAyB,IAAI,IAAI;CACvC,KAAK,MAAM,WAAW,UAAU;EAC/B,MAAM,MAAM,GAAG,QAAQ,KAAK,QAAQ,QAAQ;EAC5C,MAAM,QAAQ,OAAO,IAAI,GAAG,KAAK,CAAC;EAClC,MAAM,KAAK,OAAO;EAClB,OAAO,IAAI,KAAK,KAAK;CACtB;CACA,KAAK,MAAM,SAAS,OAAO,OAAO,GAAG;EACpC,MAAM,QAAQ,MAAM;EACpB,IAAI,UAAU,KAAK,GAAG;EACtB,IAAI,MAAM,UAAU,mCAAmC;GACtD,KAAK,MAAM,WAAW,OAAO,QAAQ,YAAY,QAAQ,SAAS,EAAE,MAAM,QAAQ,KAAK,CAAC;GACxF;EACD;EACA,QAAQ,YAAY,GAAG,MAAM,OAAO,GAAG,MAAM,QAAQ,IAAI,MAAM,KAAK,MAAM,OAAO,EAAE,MAAM,CAAC,CAAC,KAAK,IAAI,KAAK,EAAE,MAAM,MAAM,KAAK,CAAC;CAC9H;AACD;;;;;;;;;;;AAWA,SAAS,uBAAuB,OAAO;CACtC,IAAI,UAAU;CACd,IAAI,SAAS;CACb,KAAK,MAAM,cAAc,OAAO,OAAO,MAAM,UAAU,GAAG;EACzD,IAAI,WAAW,SAAS,QAAQ;GAC/B,UAAU;GACV;EACD;EACA,IAAI,WAAW,SAAS,SAAS,OAAO;EACxC,IAAI;EACJ,IAAI;GACH,YAAY,KAAK,MAAM,WAAW,GAAG;EACtC,QA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@@
1
1
  import { M as ExecutionMutationDefaultPhases, N as ExecutionMutationDefaultValue, a as ColumnDefault } from "./domain-envelope-D6Wn9AmZ-BqZKTT9U.mjs";
2
2
  import { t as AnyCodecDescriptor } from "./codec-types-nVMtogur-DkhzrAqE.mjs";
3
- import { a as AuthoringContributions } from "./framework-authoring-C57bj6fM-C9ljFo_i.mjs";
3
+ import { a as AuthoringContributions } from "./framework-authoring-BYgPL2X6-DMWdZRe_.mjs";
4
4
  import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-ccYJ7L30.mjs";
5
- //#region ../../../1-framework/1-core/framework-components/dist/framework-components-BAj0Yl7v.d.mts
5
+ //#region ../../../1-framework/1-core/framework-components/dist/framework-components-Cbc_SNqC.d.mts
6
6
  //#region src/shared/mutation-default-types.d.ts
7
7
  interface SourcePosition {
8
8
  readonly offset: number;
@@ -389,4 +389,4 @@ interface ExtensionInstance<TFamilyId extends string, TTargetId extends string>
389
389
  }
390
390
  //#endregion
391
391
  export { TargetPackRef as A, MutationDefaultGeneratorDescriptor as C, TargetBoundComponentDescriptor as D, SourceSpan as E, checkContractComponentRequirements as M, TargetDescriptor as O, LoweredDefaultValue as S, SourceDiagnostic as T, ExtensionPackRef as _, ComponentMetadata as a, FamilyPackRef as b, ControlMutationDefaultEntry as c, DefaultFunctionLoweringContext as d, DriverDescriptor as f, ExtensionInstance as g, ExtensionDescriptor as h, ComponentDescriptor as i, TypedDefaultFunctionCall as j, TargetInstance as k, ControlMutationDefaultRegistry as l, DriverPackRef as m, AdapterInstance as n, ContractComponentRequirementsCheckInput as o, DriverInstance as p, AdapterPackRef as r, ContractComponentRequirementsCheckResult as s, AdapterDescriptor as t, ControlMutationDefaults as u, FamilyDescriptor as v, PackRefBase as w, LoweredDefaultResult as x, FamilyInstance as y };
392
- //# sourceMappingURL=framework-components-BAj0Yl7v-CFNdlUrJ.d.mts.map
392
+ //# sourceMappingURL=framework-components-Cbc_SNqC-3S58m-me.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"framework-components-BAj0Yl7v-CFNdlUrJ.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/framework-components-BAj0Yl7v.d.mts"],"mappings":";;;;;;UAKU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;WACP,OAAO,SAAS;;UAEjB;WACC;WACA;WACA;WACA;;KAEN;WACM;WACA,cAAc;;WAEd;WACA,WAAW;;KAEjB;WACM;WACA,OAAO;;WAEP;WACA,YAAY;;UAEb;WACC;;;;;;;;;;WAUA;;;;;;;WAOA,eAAe,OAAO,4BAA4B;;UAEnD;WACC;WACA,MAAM;WACN,MAAM,SAAS;;UAEhB;WACC;WACA,QAAQ;aACN,MAAM;aACN,SAAS;QACd;WACG;;KAEN,iCAAiC,oBAAoB;UAChD;WACC,yBAAyB;WACzB,+BAA+B;;;;;;;UAOhC;;WAEC;;;;;;WAMA,eAAe;;WAEf;aACE;;;;eAIE,SAAS;;;;;;;;eAQT,cAAc,cAAc;;;;eAI5B,oBAAoB;;;;eAIpB,mBAAmB,cAAc;;;;;aAKnC,uBAAuB,cAAc;aACrC;eACE,QAAQ;;aAEV,UAAU;eACR;eACA;eACA;eACA;;;;;;;;WAQJ,YAAY;;;;WAIZ,0BAA0B;;;;;;;;;;;;;;;;;UAiB3B,oBAAoB,6BAA6B;;WAEhD,MAAM;;WAEN;;UAED;WACC;aACE;aACA;aACA,aAAa;;WAEf;WACA;WACA,sBAAsB;;UAEvB;WACC;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;iBAEM,mCAAmC,OAAO,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;UA0B3F,iBAAiB,kCAAkC;;WAElD,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2BX,iBAAiB,0BAA0B,kCAAkC;;WAE5E,UAAU;;WAEV,UAAU;;;;;UAKX,YAAY,qBAAqB,kCAAkC;WAClE,MAAM;WACN;WACA,UAAU;WACV;WACA,YAAY;;KAElB,cAAc,qCAAqC,sBAAsB;KACzE,cAAc,mCAAmC,qCAAqC,sBAAsB;WACtG,UAAU;;WAEV;;KAEN,eAAe,mCAAmC,qCAAqC,uBAAuB;WACxG,UAAU;;KAEhB,iBAAiB,mCAAmC,qCAAqC,yBAAyB;WAC5G,UAAU;;KAEhB,cAAc,mCAAmC,qCAAqC,sBAAsB;WACtG,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4BX,kBAAkB,0BAA0B,kCAAkC;;WAE7E,UAAU;;WAEV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6BX,iBAAiB,0BAA0B,kCAAkC;;WAE5E,UAAU;;WAEV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4BX,oBAAoB,0BAA0B,kCAAkC;;WAE/E,UAAU;;WAEV,UAAU;;;KAGhB,+BAA+B,0BAA0B,4BAA4B,iBAAiB,WAAW,aAAa,kBAAkB,WAAW,aAAa,iBAAiB,WAAW,aAAa,oBAAoB,WAAW;UAC3O,eAAe;WACd,UAAU;;UAEX,eAAe,0BAA0B;WACxC,UAAU;WACV,UAAU;;UAEX,gBAAgB,0BAA0B;WACzC,UAAU;WACV,UAAU;;UAEX,eAAe,0BAA0B;WACxC,UAAU;WACV,UAAU;;UAEX,kBAAkB,0BAA0B;WAC3C,UAAU;WACV,UAAU"}
1
+ {"version":3,"file":"framework-components-Cbc_SNqC-3S58m-me.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/framework-components-Cbc_SNqC.d.mts"],"mappings":";;;;;;UAKU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;WACP,OAAO,SAAS;;UAEjB;WACC;WACA;WACA;WACA;;KAEN;WACM;WACA,cAAc;;WAEd;WACA,WAAW;;KAEjB;WACM;WACA,OAAO;;WAEP;WACA,YAAY;;UAEb;WACC;;;;;;;;;;WAUA;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;;;;;;;;;;;;;;;;;;UA6BX,iBAAiB,0BAA0B,kCAAkC;;WAE5E,UAAU;;WAEV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4BX,oBAAoB,0BAA0B,kCAAkC;;WAE/E,UAAU;;WAEV,UAAU;;;KAGhB,+BAA+B,0BAA0B,4BAA4B,iBAAiB,WAAW,aAAa,kBAAkB,WAAW,aAAa,iBAAiB,WAAW,aAAa,oBAAoB,WAAW;UAC3O,eAAe;WACd,UAAU;;UAEX,eAAe,0BAA0B;WACxC,UAAU;WACV,UAAU;;UAEX,gBAAgB,0BAA0B;WACzC,UAAU;WACV,UAAU;;UAEX,eAAe,0BAA0B;WACxC,UAAU;WACV,UAAU;;UAEX,kBAAkB,0BAA0B;WAC3C,UAAU;WACV,UAAU"}
@@ -1,7 +1,7 @@
1
- import { I as PslDiagnosticCode } from "./framework-authoring-C57bj6fM-C9ljFo_i.mjs";
2
- import "./psl-ast-D7s3Wde7.mjs";
1
+ import { p as PslDiagnostic } from "./psl-ast-dnXw52MT-Bl0_KlW1.mjs";
2
+ import "./psl-ast-TV65PbYl.mjs";
3
3
  import { n as TokenKind, t as Token } from "./tokenizer-DcYI0Xrq-C-nNE9mE.mjs";
4
- //#region ../../../1-framework/2-authoring/psl-parser/dist/parse-0ZJjj_2N.d.mts
4
+ //#region ../../../1-framework/2-authoring/psl-parser/dist/parse-B5xYL_oV.d.mts
5
5
  //#region src/source-file.d.ts
6
6
  interface Position {
7
7
  readonly line: number;
@@ -408,7 +408,7 @@ declare class NamedTypeDeclarationAst implements AstNode {
408
408
  //#endregion
409
409
  //#region src/parse.d.ts
410
410
  interface ParseDiagnostic {
411
- readonly code: PslDiagnosticCode;
411
+ readonly code: PslDiagnostic['code'];
412
412
  readonly message: string;
413
413
  readonly range: Range;
414
414
  }
@@ -424,4 +424,4 @@ interface ParseResult {
424
424
  declare function parse(source: string): ParseResult;
425
425
  //#endregion
426
426
  export { parse as $, ObjectLiteralExprAst as A, SyntaxNode as B, ModelAttributeAst as C, NamespaceMemberAst as D, NamespaceDeclarationAst as E, Range as F, any as G, TokenAtOffset as H, SourceFile as I, filterChildren as J, castExpression as K, StringLiteralExprAst as L, ParseResult as M, Position as N, NumberLiteralExprAst as O, QualifiedNameAst as P, greenToken as Q, SyntaxElement as R, KeyValuePairAst as S, NamedTypeDeclarationAst as T, TypeAnnotationAst as U, SyntaxToken as V, TypesBlockAst as W, findFirstChild as X, findChildToken as Y, greenNode as Z, GenericBlockMemberAst as _, AttributeAst as a, GreenToken as b, BracedBlock as c, DocumentAst as d, printSyntax as et, ExpressionAst as f, GenericBlockDeclarationAst as g, FunctionCallAst as h, AttributeArgListAst as i, ParseDiagnostic as j, ObjectFieldAst as k, CompositeTypeDeclarationAst as l, FieldDeclarationAst as m, AstNode as n, BlockMemberAst as o, FieldAttributeAst as p, createSyntaxTree as q, AttributeArgAst as r, BooleanLiteralExprAst as s, ArrayLiteralAst as t, DeclarationAst as u, GreenElement as v, ModelDeclarationAst as w, IdentifierAst as x, GreenNode as y, SyntaxKind as z };
427
- //# sourceMappingURL=parse-0ZJjj_2N-hn1rwo4m.d.mts.map
427
+ //# sourceMappingURL=parse-B5xYL_oV-EhHFhFC2.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse-0ZJjj_2N-hn1rwo4m.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/parse-0ZJjj_2N.d.mts"],"mappings":";;;;;UAGU;WACC;WACA;;UAED;WACC,OAAO;WACP,KAAK;;cAEF;;EAEZ,YAAY;MACR;MACA;MACA;EACJ;EACA,gBAAgB;EAChB,cAAc;EACd,WAAW,iBAAiB;EAC5B,SAAS,UAAU;;;;KAIhB;;;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;;;;;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BAAgB,SAAS;SAClB,KAAK,MAAM,aAAa;;cAEnB,sCAAsC;WACzC,QAAQ;EACjB,YAAY,QAAQ;EACpB,WAAW;EACX,QAAQ;EACR,UAAU;EACV,UAAU;EACV,WAAW,SAAS;EACpB,cAAc,SAAS;EACvB,WAAW,SAAS;SACb,KAAK,MAAM,aAAa;;cAEnB,2BAA2B;WAC9B,QAAQ;EACjB,YAAY,QAAQ;EACpB,OAAO;EACP,UAAU;EACV,SAAS;SACF,KAAK,MAAM,aAAa;;cAEnB,+BAA+B;WAClC,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,kBAAkB;EAClB,cAAc,SAAS;SAChB,KAAK,MAAM,aAAa;;cAEnB,mCAAmC;WACtC,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,UAAU;EACV,kBAAkB;EAClB,cAAc,SAAS;SAChB,KAAK,MAAM,aAAa;;;;UAIvB;WACC,MAAM;WACN;WACA,OAAO;;UAER;WACC,UAAU;WACV,sBAAsB;WACtB,YAAY;;;;;;iBAMN,MAAM,iBAAiB"}
1
+ {"version":3,"file":"parse-B5xYL_oV-EhHFhFC2.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/parse-B5xYL_oV.d.mts"],"mappings":";;;;;UAGU;WACC;WACA;;UAED;WACC,OAAO;WACP,KAAK;;cAEF;;EAEZ,YAAY;MACR;MACA;MACA;EACJ;EACA,gBAAgB;EAChB,cAAc;EACd,WAAW,iBAAiB;EAC5B,SAAS,UAAU;;;;KAIhB;;;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,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AAQ;EACR,UAAU;EACV,UAAU;EACV,WAAW,SAAS;EACpB,cAAc,SAAS;EACvB,WAAW,SAAS;SACb,KAAK,MAAM,aAAa;;cAEnB,2BAA2B;WAC9B,QAAQ;EACjB,YAAY,QAAQ;EACpB,OAAO;EACP,UAAU;EACV,SAAS;SACF,KAAK,MAAM,aAAa;;cAEnB,+BAA+B;WAClC,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,kBAAkB;EAClB,cAAc,SAAS;SAChB,KAAK,MAAM,aAAa;;cAEnB,mCAAmC;WACtC,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,UAAU;EACV,kBAAkB;EAClB,cAAc,SAAS;SAChB,KAAK,MAAM,aAAa;;;;UAIvB;WACC,MAAM;WACN;WACA,OAAO;;UAER;WACC,UAAU;WACV,sBAAsB;WACtB,YAAY;;;;;;iBAMN,MAAM,iBAAiB"}
@@ -1,6 +1,6 @@
1
1
  import { c as CodecLookup } from "./codec-types-nVMtogur-DkhzrAqE.mjs";
2
- import { L as PslExtensionBlock, b as AuthoringPslBlockDescriptor } from "./framework-authoring-C57bj6fM-C9ljFo_i.mjs";
3
- import { p as PslDiagnostic, x as PslNamespace } from "./psl-ast-U8WIp-a5-BVKH-Lhi.mjs";
2
+ import { L as PslExtensionBlock, b as AuthoringPslBlockDescriptor } from "./framework-authoring-BYgPL2X6-DMWdZRe_.mjs";
3
+ import { p as PslDiagnostic, x as PslNamespace } from "./psl-ast-dnXw52MT-Bl0_KlW1.mjs";
4
4
  //#region ../../../1-framework/1-core/framework-components/dist/psl-ast.d.mts
5
5
  //#region src/control/psl-extension-block-validator.d.ts
6
6
  /**
@@ -34,4 +34,4 @@ interface ExtensionBlockRefResolutionContext {
34
34
  declare function validateExtensionBlock(node: PslExtensionBlock, descriptor: AuthoringPslBlockDescriptor, sourceId: string, codecLookup: CodecLookup, refCtx?: ExtensionBlockRefResolutionContext): readonly PslDiagnostic[];
35
35
  //#endregion
36
36
  export { validateExtensionBlock as n, ExtensionBlockRefResolutionContext as t };
37
- //# sourceMappingURL=psl-ast-D7s3Wde7.d.mts.map
37
+ //# sourceMappingURL=psl-ast-TV65PbYl.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"psl-ast-D7s3Wde7.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast.d.mts"],"mappings":";;;;;;;;;;;;;UAYU;WACC,gBAAgB;WAChB,wBAAwB;;;;;;;;;;;;;;;;;;iBAkBlB,uBAAuB,MAAM,mBAAmB,YAAY,6BAA6B,kBAAkB,aAAa,aAAa,SAAS,8CAA8C"}
1
+ {"version":3,"file":"psl-ast-TV65PbYl.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast.d.mts"],"mappings":";;;;;;;;;;;;;UAYU;WACC,gBAAgB;WAChB,wBAAwB;;;;;;;;;;;;;;;;;;iBAkBlB,uBAAuB,MAAM,mBAAmB,YAAY,6BAA6B,kBAAkB,aAAa,aAAa,SAAS,8CAA8C"}
@@ -1,6 +1,6 @@
1
1
  import { c as CodecLookup } from "./codec-types-nVMtogur-DkhzrAqE.mjs";
2
- import { A as ContributedPslDiagnosticCode, I as PslDiagnosticCode, L as PslExtensionBlock, q as PslSpan, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-C57bj6fM-C9ljFo_i.mjs";
3
- //#region ../../../1-framework/1-core/framework-components/dist/psl-ast-U8WIp-a5.d.mts
2
+ import { A as ContributedPslDiagnosticCode, I as PslDiagnosticCode, J as PslSpan, L as PslExtensionBlock, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-BYgPL2X6-DMWdZRe_.mjs";
3
+ //#region ../../../1-framework/1-core/framework-components/dist/psl-ast-dnXw52MT.d.mts
4
4
  //#region src/control/psl-ast.d.ts
5
5
  interface PslDiagnostic {
6
6
  /**
@@ -256,4 +256,4 @@ interface ParsePslDocumentResult {
256
256
  }
257
257
  //#endregion
258
258
  export { makePslNamespace as A, PslReferentialAction as C, UNSPECIFIED_PSL_NAMESPACE_ID as D, PslUniqueConstraint as E, namespacePslExtensionBlocks as M, flatPslCompositeTypes as O, PslNamespaceEntry as S, PslTypesBlock as T, PslIndexConstraint as _, PslAttributeArgument as a, PslNamedTypeDeclaration as b, PslAttributeTarget as c, PslDefaultLiteralValue as d, PslDefaultValue as f, PslFieldAttribute as g, PslField as h, PslAttribute as i, makePslNamespaceEntries as j, flatPslModels as k, PslCompositeType as l, PslDocumentAst as m, ParsePslDocumentInput as n, PslAttributeNamedArgument as o, PslDiagnostic as p, ParsePslDocumentResult as r, PslAttributePositionalArgument as s, BUILTIN_PSL_KIND_KEYS as t, PslDefaultFunctionValue as u, PslModel as v, PslTypeConstructorCall as w, PslNamespace as x, PslModelAttribute as y };
259
- //# sourceMappingURL=psl-ast-U8WIp-a5-BVKH-Lhi.d.mts.map
259
+ //# sourceMappingURL=psl-ast-dnXw52MT-Bl0_KlW1.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"psl-ast-U8WIp-a5-BVKH-Lhi.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast-U8WIp-a5.d.mts"],"mappings":";;;;UAGU;;;;;;;;;;;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;;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;UAC/D;WACC;WACA;;;;;;;;;;;;;;;;WAgBA,sBAAsB;;;;;;;;;WAStB,cAAc;;UAEf;WACC,KAAK;WACL,sBAAsB;WACtB"}
1
+ {"version":3,"file":"psl-ast-dnXw52MT-Bl0_KlW1.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast-dnXw52MT.d.mts"],"mappings":";;;;UAGU;;;;;;;;;;;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;;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;UAC/D;WACC;WACA;;;;;;;;;;;;;;;;WAgBA,sBAAsB;;;;;;;;;WAStB,cAAc;;UAEf;WACC,KAAK;WACL,sBAAsB;WACtB"}
@@ -1,14 +1,14 @@
1
1
  import { c as CodecLookup } from "./codec-types-nVMtogur-DkhzrAqE.mjs";
2
- import { B as PslExtensionBlockParamBare, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, K as PslPosition, L as PslExtensionBlock, R as PslExtensionBlockAttribute, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, b as AuthoringPslBlockDescriptor, q as PslSpan, x as AuthoringPslBlockDescriptorNamespace, z as PslExtensionBlockAttributeArg } from "./framework-authoring-C57bj6fM-C9ljFo_i.mjs";
3
- import "./authoring-9Zbdh9AT.mjs";
2
+ import { B as PslExtensionBlockParamBare, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, L as PslExtensionBlock, R as PslExtensionBlockAttribute, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, b as AuthoringPslBlockDescriptor, q as PslPosition, x as AuthoringPslBlockDescriptorNamespace, z as PslExtensionBlockAttributeArg } from "./framework-authoring-BYgPL2X6-DMWdZRe_.mjs";
3
+ import "./authoring-CsmBwxxc.mjs";
4
4
  import "./codec-DHvxe5tk.mjs";
5
- import { l as ControlMutationDefaultRegistry } from "./framework-components-BAj0Yl7v-CFNdlUrJ.mjs";
6
- import { M as namespacePslExtensionBlocks, T as PslTypesBlock, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, o as PslAttributeNamedArgument, p as PslDiagnostic, s as PslAttributePositionalArgument, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-U8WIp-a5-BVKH-Lhi.mjs";
5
+ import { l as ControlMutationDefaultRegistry } from "./framework-components-Cbc_SNqC-3S58m-me.mjs";
6
+ import { M as namespacePslExtensionBlocks, T as PslTypesBlock, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, o as PslAttributeNamedArgument, p as PslDiagnostic, s as PslAttributePositionalArgument, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-dnXw52MT-Bl0_KlW1.mjs";
7
7
  import { r as Result } from "./result-Bpupv5vO.mjs";
8
- import { n as AssembledAuthoringContributions } from "./control-DK98Br9g.mjs";
9
- import "./psl-ast-D7s3Wde7.mjs";
10
- import { C as ModelAttributeAst, I as SourceFile, f as ExpressionAst, n as AstNode, p as FieldAttributeAst, r as AttributeArgAst } from "./parse-0ZJjj_2N-hn1rwo4m.mjs";
11
- import { _ as nodePslSpan, a as ModelSymbol, b as readResolvedAttributes, c as ResolvedAttribute, d as ResolvedTypeConstructorCall, f as SymbolTable, g as keywordPslSpan, h as buildSymbolTable, i as FieldSymbol, l as ResolvedAttributeArg, m as TopLevelScope, n as BuildSymbolTableOptions, o as NamedTypeSymbol, p as SymbolTableResult, r as CompositeTypeSymbol, s as NamespaceSymbol, t as BlockSymbol, u as ResolvedNamedTypeBinding, v as rangeToPslSpan, x as readResolvedConstructorCall, y as readResolvedAttribute } from "./symbol-table-CZ7EVCTL-Kr33P4hu.mjs";
8
+ import { n as AssembledAuthoringContributions } from "./control-CjcbNOkD.mjs";
9
+ import "./psl-ast-TV65PbYl.mjs";
10
+ import { C as ModelAttributeAst, I as SourceFile, f as ExpressionAst, n as AstNode, p as FieldAttributeAst, r as AttributeArgAst } from "./parse-B5xYL_oV-EhHFhFC2.mjs";
11
+ import { _ as nodePslSpan, a as ModelSymbol, b as readResolvedAttributes, c as ResolvedAttribute, d as ResolvedTypeConstructorCall, f as SymbolTable, g as keywordPslSpan, h as buildSymbolTable, i as FieldSymbol, l as ResolvedAttributeArg, m as TopLevelScope, n as BuildSymbolTableOptions, o as NamedTypeSymbol, p as SymbolTableResult, r as CompositeTypeSymbol, s as NamespaceSymbol, t as BlockSymbol, u as ResolvedNamedTypeBinding, v as rangeToPslSpan, x as readResolvedConstructorCall, y as readResolvedAttribute } from "./symbol-table-BeOQBu3C-JNYN-J1H.mjs";
12
12
  import { n as UnionToIntersection, t as Simplify } from "./types-DGxlljKG.mjs";
13
13
  //#region ../../../1-framework/2-authoring/psl-parser/dist/index.d.mts
14
14
  //#region src/attribute-helpers.d.ts
@@ -17,48 +17,51 @@ declare function parseQuotedStringLiteral(value: string): string | undefined;
17
17
  //#endregion
18
18
  //#region src/attribute-spec/types.d.ts
19
19
  type AttributeLevel = 'field' | 'model' | 'block';
20
- interface ArgType<T> {
21
- readonly kind: string;
22
- readonly label: string;
23
- readonly _out?: T;
24
- parse(arg: ExpressionAst, ctx: InterpretCtx): Result<T, readonly PslDiagnostic[]>;
25
- }
26
- interface InterpretCtx {
27
- readonly level: AttributeLevel;
20
+ interface AttributeCtx {
28
21
  readonly sourceId: string;
29
22
  readonly sourceFile: SourceFile;
23
+ }
24
+ interface ModelAttributeCtx extends AttributeCtx {
30
25
  readonly selfModel: ModelSymbol;
26
+ }
27
+ interface FieldAttributeCtx extends ModelAttributeCtx {
28
+ readonly field: FieldSymbol;
31
29
  resolveReferencedModel(): ModelSymbol | undefined;
32
- readonly field?: FieldSymbol;
33
30
  }
34
- interface OptionalArgType<T> extends ArgType<T> {
31
+ interface ArgType<T, Ctx extends AttributeCtx> {
32
+ readonly kind: string;
33
+ readonly label: string;
34
+ readonly _out?: T;
35
+ readonly parse: (arg: ExpressionAst, ctx: Ctx) => Result<T, readonly PslDiagnostic[]>;
36
+ }
37
+ interface OptionalArgType<T, Ctx extends AttributeCtx> extends ArgType<T, Ctx> {
35
38
  readonly optional: true;
36
39
  readonly hasDefault: boolean;
37
40
  readonly defaultValue?: T;
38
41
  }
39
- type Param<T> = ArgType<T>;
40
- interface PositionalParam<T = unknown> {
42
+ type Param<T, Ctx extends AttributeCtx> = ArgType<T, Ctx>;
43
+ interface PositionalParam<T, Ctx extends AttributeCtx> {
41
44
  readonly key: string;
42
- readonly type: Param<T>;
45
+ readonly type: Param<T, Ctx>;
43
46
  }
44
- interface AttributeSpec<Out> {
47
+ interface AttributeSpec<Out, Ctx extends AttributeCtx> {
45
48
  readonly level: AttributeLevel;
46
49
  readonly name: string;
47
- readonly positional: readonly PositionalParam[];
48
- readonly named: Readonly<Record<string, Param<unknown>>>;
50
+ readonly positional: readonly PositionalParam<unknown, Ctx>[];
51
+ readonly named: Readonly<Record<string, Param<unknown, Ctx>>>;
49
52
  /**
50
53
  * Cross-argument validation after all arguments parse. `attributeNode` is
51
54
  * the attribute's own AST node so refines can span-anchor their
52
55
  * diagnostics at the attribute rather than the enclosing model.
53
56
  */
54
- readonly refine?: (parsed: Out, ctx: InterpretCtx, attributeNode: AstNode) => readonly PslDiagnostic[];
57
+ readonly refine?: (parsed: Out, ctx: Ctx, attributeNode: AstNode) => readonly PslDiagnostic[];
55
58
  }
56
- type OutOf<P> = P extends ArgType<infer T> ? T : never;
57
- type NamedOut<N extends Record<string, Param<unknown>>> = Simplify<{ [K in keyof N as N[K] extends OptionalArgType<unknown> ? never : K]: OutOf<N[K]>; } & { [K in keyof N as N[K] extends OptionalArgType<unknown> ? K : never]?: OutOf<N[K]>; }>;
58
- type PosEntryObject<E extends PositionalParam> = E['type'] extends OptionalArgType<unknown> ? { [K in E['key']]?: OutOf<E['type']>; } : { [K in E['key']]: OutOf<E['type']>; };
59
- type PosOut<Pos extends readonly PositionalParam[]> = Simplify<UnionToIntersection<{ [I in keyof Pos]: PosEntryObject<Pos[I]>; }[number]>>;
60
- type AttributeOut<Pos extends readonly PositionalParam[], Named extends Record<string, Param<unknown>>> = Simplify<PosOut<Pos> & NamedOut<Named>>;
61
- type InferAttr<S> = S extends AttributeSpec<infer Out> ? Out : never;
59
+ type OutOf<P> = P extends ArgType<infer T, never> ? T : never;
60
+ type NamedOut<N extends Record<string, Param<unknown, never>>> = Simplify<{ [K in keyof N as N[K] extends OptionalArgType<unknown, never> ? never : K]: OutOf<N[K]>; } & { [K in keyof N as N[K] extends OptionalArgType<unknown, never> ? K : never]?: OutOf<N[K]>; }>;
61
+ type PosEntryObject<E extends PositionalParam<unknown, never>> = E['type'] extends OptionalArgType<unknown, never> ? { [K in E['key']]?: OutOf<E['type']>; } : { [K in E['key']]: OutOf<E['type']>; };
62
+ type PosOut<Pos extends readonly PositionalParam<unknown, never>[]> = Simplify<UnionToIntersection<{ [I in keyof Pos]: PosEntryObject<Pos[I]>; }[number]>>;
63
+ type AttributeOut<Pos extends readonly PositionalParam<unknown, never>[], Named extends Record<string, Param<unknown, never>>> = Simplify<PosOut<Pos> & NamedOut<Named>>;
64
+ type InferAttr<S> = S extends AttributeSpec<infer Out, never> ? Out : never;
62
65
  //#endregion
63
66
  //#region src/attribute-spec/spec-context.d.ts
64
67
  interface AttributeSpecContext {
@@ -69,12 +72,13 @@ interface AttributeSpecContext {
69
72
  interface FieldAttributeSpecContext extends AttributeSpecContext {
70
73
  readonly field: FieldSymbol;
71
74
  }
72
- type ModelAttributeSpecFactory = (ctx: AttributeSpecContext) => AttributeSpec<never>;
73
- type FieldAttributeSpecFactory = (ctx: FieldAttributeSpecContext) => AttributeSpec<never>;
75
+ type ModelAttributeSpecFactory = (ctx: AttributeSpecContext) => AttributeSpec<never, ModelAttributeCtx>;
76
+ type FieldAttributeSpecFactory = (ctx: FieldAttributeSpecContext) => AttributeSpec<never, FieldAttributeCtx>;
74
77
  interface AttributeSpecNamespace {
75
78
  readonly model: Readonly<Record<string, ModelAttributeSpecFactory>>;
76
79
  readonly field: Readonly<Record<string, FieldAttributeSpecFactory>>;
77
80
  }
81
+ type BlockAttributeSpecFactory = () => AttributeSpec<never, AttributeCtx>;
78
82
  //#endregion
79
83
  //#region src/attribute-spec/assemble.d.ts
80
84
  interface AssembledAttributeSpecs {
@@ -83,42 +87,47 @@ interface AssembledAttributeSpecs {
83
87
  }
84
88
  declare function assembleAttributeSpecs(contributions: AssembledAuthoringContributions): AssembledAttributeSpecs;
85
89
  //#endregion
90
+ //#region src/attribute-spec/block-attribute.d.ts
91
+ interface BlockAttributeConfig<Pos extends readonly PositionalParam<unknown, AttributeCtx>[], Named extends Record<string, Param<unknown, AttributeCtx>>> {
92
+ readonly positional?: Pos;
93
+ readonly named?: Named;
94
+ readonly refine?: (parsed: AttributeOut<Pos, Named>, ctx: AttributeCtx, attributeNode: AstNode) => readonly PslDiagnostic[];
95
+ }
96
+ declare function blockAttribute<const Pos extends readonly PositionalParam<unknown, AttributeCtx>[] = readonly [], const Named extends Record<string, Param<unknown, AttributeCtx>> = Record<never, never>>(name: string, config: BlockAttributeConfig<Pos, Named>): AttributeSpec<AttributeOut<Pos, Named>, AttributeCtx>;
97
+ //#endregion
86
98
  //#region src/attribute-spec/combinators/bool.d.ts
87
- declare function bool(): ArgType<boolean>;
99
+ declare function bool(): ArgType<boolean, AttributeCtx>;
88
100
  //#endregion
89
101
  //#region src/attribute-spec/combinators/diagnostic.d.ts
90
- declare function leafDiagnostic(ctx: InterpretCtx, node: AstNode, message: string, code?: PslDiagnostic['code']): PslDiagnostic;
102
+ declare function leafDiagnostic(ctx: AttributeCtx, node: AstNode, message: string, code?: PslDiagnostic['code']): PslDiagnostic;
91
103
  //#endregion
92
104
  //#region src/attribute-spec/combinators/entity-ref.d.ts
93
- declare function entityRef(): ArgType<string>;
105
+ declare function entityRef(): ArgType<string, AttributeCtx>;
94
106
  //#endregion
95
107
  //#region src/attribute-spec/combinators/field-ref.d.ts
96
- type FieldRefScope = 'self' | 'referenced';
97
- interface FieldRefArgType extends ArgType<string> {
98
- readonly scope: FieldRefScope;
99
- }
100
- declare function fieldRef(scope: FieldRefScope): FieldRefArgType;
108
+ declare function fieldRef(): ArgType<string, ModelAttributeCtx>;
109
+ declare function referencedFieldRef(): ArgType<string, FieldAttributeCtx>;
101
110
  //#endregion
102
111
  //#region src/attribute-spec/combinators/func-call.d.ts
103
112
  interface FuncCallSig {
104
- readonly positional?: readonly PositionalParam<unknown>[];
105
- readonly named?: Readonly<Record<string, Param<unknown>>>;
113
+ readonly positional?: readonly PositionalParam<unknown, AttributeCtx>[];
114
+ readonly named?: Readonly<Record<string, Param<unknown, AttributeCtx>>>;
106
115
  }
107
116
  interface TypedFuncCall {
108
117
  readonly fn: string;
109
118
  readonly span: PslSpan;
110
119
  readonly args: Readonly<Record<string, unknown>>;
111
120
  }
112
- declare function funcCall(name: string, sig: FuncCallSig): ArgType<TypedFuncCall>;
121
+ declare function funcCall(name: string, sig: FuncCallSig): ArgType<TypedFuncCall, AttributeCtx>;
113
122
  //#endregion
114
123
  //#region src/attribute-spec/combinators/identifier.d.ts
115
- declare function identifier<const N extends string>(name: N): ArgType<N>;
124
+ declare function identifier<const N extends string>(name: N): ArgType<N, AttributeCtx>;
116
125
  //#endregion
117
126
  //#region src/attribute-spec/combinators/int.d.ts
118
127
  declare function int(opts?: {
119
128
  min?: number;
120
129
  max?: number;
121
- }): ArgType<number>;
130
+ }): ArgType<number, AttributeCtx>;
122
131
  //#endregion
123
132
  //#region src/attribute-spec/combinators/json.d.ts
124
133
  /**
@@ -126,58 +135,58 @@ declare function int(opts?: {
126
135
  * exception (e.g. an index `filter` / `weights` argument). The string is decoded by the parser,
127
136
  * then JSON-parsed; a non-object (array/scalar) or invalid JSON is a diagnostic.
128
137
  */
129
- declare function json(): ArgType<Record<string, unknown>>;
138
+ declare function json(): ArgType<Record<string, unknown>, AttributeCtx>;
130
139
  //#endregion
131
140
  //#region src/attribute-spec/combinators/list.d.ts
132
141
  interface ListOptions {
133
142
  readonly nonEmpty?: boolean;
134
143
  readonly unique?: boolean;
135
144
  }
136
- declare function list<T>(of: ArgType<T>, opts?: ListOptions): ArgType<T[]>;
145
+ declare function list<T, Ctx extends AttributeCtx>(of: ArgType<T, Ctx>, opts?: ListOptions): ArgType<T[], Ctx>;
137
146
  //#endregion
138
147
  //#region src/attribute-spec/combinators/num.d.ts
139
148
  /** The pinned form retains its value as the output literal type. */
140
- declare function num(): ArgType<number>;
141
- declare function num<const T extends number>(value: T): ArgType<T>;
149
+ declare function num(): ArgType<number, AttributeCtx>;
150
+ declare function num<const T extends number>(value: T): ArgType<T, AttributeCtx>;
142
151
  //#endregion
143
152
  //#region src/attribute-spec/combinators/one-of.d.ts
144
- declare function oneOf<Alts extends readonly [ArgType<unknown>, ...ArgType<unknown>[]]>(...alts: Alts): ArgType<OutOf<Alts[number]>>;
153
+ declare function oneOf<Ctx extends AttributeCtx, Alts extends readonly [ArgType<unknown, Ctx>, ...ArgType<unknown, Ctx>[]]>(...alts: Alts): ArgType<OutOf<Alts[number]>, Ctx>;
145
154
  //#endregion
146
155
  //#region src/attribute-spec/combinators/record.d.ts
147
- declare function record<T>(of: ArgType<T>): ArgType<Record<string, T>>;
156
+ declare function record<T, Ctx extends AttributeCtx>(of: ArgType<T, Ctx>): ArgType<Record<string, T>, Ctx>;
148
157
  //#endregion
149
158
  //#region src/attribute-spec/combinators/str.d.ts
150
159
  /** The pinned form retains its value as the output literal type. */
151
- declare function str(): ArgType<string>;
152
- declare function str<const T extends string>(value: T): ArgType<T>;
160
+ declare function str(): ArgType<string, AttributeCtx>;
161
+ declare function str<const T extends string>(value: T): ArgType<T, AttributeCtx>;
153
162
  //#endregion
154
163
  //#region src/attribute-spec/field-attribute.d.ts
155
- interface FieldAttributeConfig<Pos extends readonly PositionalParam[], Named extends Record<string, Param<unknown>>> {
164
+ interface FieldAttributeConfig<Pos extends readonly PositionalParam<unknown, FieldAttributeCtx>[], Named extends Record<string, Param<unknown, FieldAttributeCtx>>> {
156
165
  readonly positional?: Pos;
157
166
  readonly named?: Named;
158
- readonly refine?: (parsed: AttributeOut<Pos, Named>, ctx: InterpretCtx, attributeNode: AstNode) => readonly PslDiagnostic[];
167
+ readonly refine?: (parsed: AttributeOut<Pos, Named>, ctx: FieldAttributeCtx, attributeNode: AstNode) => readonly PslDiagnostic[];
159
168
  }
160
- declare function fieldAttribute<const Pos extends readonly PositionalParam[] = readonly [], const Named extends Record<string, Param<unknown>> = Record<never, never>>(name: string, config: FieldAttributeConfig<Pos, Named>): AttributeSpec<AttributeOut<Pos, Named>>;
169
+ declare function fieldAttribute<const Pos extends readonly PositionalParam<unknown, FieldAttributeCtx>[] = readonly [], const Named extends Record<string, Param<unknown, FieldAttributeCtx>> = Record<never, never>>(name: string, config: FieldAttributeConfig<Pos, Named>): AttributeSpec<AttributeOut<Pos, Named>, FieldAttributeCtx>;
161
170
  //#endregion
162
171
  //#region src/attribute-spec/interpret.d.ts
163
- interface ArgBindingSpec {
172
+ interface ArgBindingSpec<Ctx extends AttributeCtx> {
164
173
  readonly name: string;
165
- readonly positional: readonly PositionalParam<unknown>[];
166
- readonly named: Readonly<Record<string, Param<unknown>>>;
174
+ readonly positional: readonly PositionalParam<unknown, Ctx>[];
175
+ readonly named: Readonly<Record<string, Param<unknown, Ctx>>>;
167
176
  }
168
- declare function interpretArgs(args: Iterable<AttributeArgAst>, spec: ArgBindingSpec, ctx: InterpretCtx, span: PslSpan): Result<Record<string, unknown>, readonly PslDiagnostic[]>;
169
- declare function interpretAttribute<Out>(attrNode: FieldAttributeAst | ModelAttributeAst, spec: AttributeSpec<Out>, ctx: InterpretCtx): Result<Out, readonly PslDiagnostic[]>;
177
+ declare function interpretArgs<Ctx extends AttributeCtx>(args: Iterable<AttributeArgAst>, spec: ArgBindingSpec<Ctx>, ctx: Ctx, span: PslSpan): Result<Record<string, unknown>, readonly PslDiagnostic[]>;
178
+ declare function interpretAttribute<Out, Ctx extends AttributeCtx>(attrNode: FieldAttributeAst | ModelAttributeAst, spec: AttributeSpec<Out, Ctx>, ctx: Ctx): Result<Out, readonly PslDiagnostic[]>;
170
179
  //#endregion
171
180
  //#region src/attribute-spec/model-attribute.d.ts
172
- interface ModelAttributeConfig<Pos extends readonly PositionalParam[], Named extends Record<string, Param<unknown>>> {
181
+ interface ModelAttributeConfig<Pos extends readonly PositionalParam<unknown, ModelAttributeCtx>[], Named extends Record<string, Param<unknown, ModelAttributeCtx>>> {
173
182
  readonly positional?: Pos;
174
183
  readonly named?: Named;
175
- readonly refine?: (parsed: AttributeOut<Pos, Named>, ctx: InterpretCtx, attributeNode: AstNode) => readonly PslDiagnostic[];
184
+ readonly refine?: (parsed: AttributeOut<Pos, Named>, ctx: ModelAttributeCtx, attributeNode: AstNode) => readonly PslDiagnostic[];
176
185
  }
177
- declare function modelAttribute<const Pos extends readonly PositionalParam[] = readonly [], const Named extends Record<string, Param<unknown>> = Record<never, never>>(name: string, config: ModelAttributeConfig<Pos, Named>): AttributeSpec<AttributeOut<Pos, Named>>;
186
+ declare function modelAttribute<const Pos extends readonly PositionalParam<unknown, ModelAttributeCtx>[] = readonly [], const Named extends Record<string, Param<unknown, ModelAttributeCtx>> = Record<never, never>>(name: string, config: ModelAttributeConfig<Pos, Named>): AttributeSpec<AttributeOut<Pos, Named>, ModelAttributeCtx>;
178
187
  //#endregion
179
188
  //#region src/attribute-spec/optional.d.ts
180
- declare function optional<T>(type: ArgType<T>, ...rest: [defaultValue: T] | []): OptionalArgType<T>;
189
+ declare function optional<T, Ctx extends AttributeCtx>(type: ArgType<T, Ctx>, ...rest: [defaultValue: T] | []): OptionalArgType<T, Ctx>;
181
190
  //#endregion
182
191
  //#region src/extension-block.d.ts
183
192
  declare function findBlockDescriptor(descriptors: AuthoringPslBlockDescriptorNamespace | undefined, keyword: string): AuthoringPslBlockDescriptor | undefined;
@@ -190,5 +199,5 @@ declare function validateExtensionBlockFromSymbol(input: {
190
199
  readonly codecLookup: CodecLookup;
191
200
  }): readonly PslDiagnostic[];
192
201
  //#endregion
193
- export { type ArgBindingSpec, type ArgType, type AssembledAttributeSpecs, type AttributeLevel, type AttributeOut, type AttributeSpec, type AttributeSpecContext, type AttributeSpecNamespace, type BlockSymbol, type BuildSymbolTableOptions, type CompositeTypeSymbol, type FieldAttributeSpecContext, type FieldAttributeSpecFactory, type FieldRefArgType, type FieldRefScope, type FieldSymbol, type FuncCallSig, type InferAttr, type InterpretCtx, type ListOptions, type ModelAttributeSpecFactory, type ModelSymbol, type NamedOut, type NamedTypeSymbol, type NamespaceSymbol, type OptionalArgType, type OutOf, type Param, type PosOut, type PositionalParam, type PslAttribute, type PslAttributeArgument, type PslAttributeNamedArgument, type PslAttributePositionalArgument, type PslAttributeTarget, type PslCompositeType, type PslDefaultFunctionValue, type PslDefaultLiteralValue, type PslDefaultValue, type PslDiagnostic, type PslDiagnosticCode, type PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslField, type PslFieldAttribute, type PslModel, type PslModelAttribute, type PslNamedTypeDeclaration, type PslNamespace, type PslPosition, type PslSpan, type PslTypeConstructorCall, type PslTypesBlock, type ResolvedAttribute, type ResolvedAttributeArg, type ResolvedNamedTypeBinding, type ResolvedTypeConstructorCall, type SymbolTable, type SymbolTableResult, type TopLevelScope, type TypedFuncCall, assembleAttributeSpecs, bool, buildSymbolTable, entityRef, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, getPositionalArgument, identifier, int, interpretArgs, interpretAttribute, json, keywordPslSpan, leafDiagnostic, list, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, num, oneOf, optional, parseQuotedStringLiteral, rangeToPslSpan, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, record, str, validateExtensionBlockFromSymbol };
202
+ export { type ArgBindingSpec, type ArgType, type AssembledAttributeSpecs, type AttributeCtx, type AttributeLevel, type AttributeOut, type AttributeSpec, type AttributeSpecContext, type AttributeSpecNamespace, type BlockAttributeSpecFactory, type BlockSymbol, type BuildSymbolTableOptions, type CompositeTypeSymbol, type FieldAttributeCtx, type FieldAttributeSpecContext, type FieldAttributeSpecFactory, type FieldSymbol, type FuncCallSig, type InferAttr, type ListOptions, type ModelAttributeCtx, type ModelAttributeSpecFactory, type ModelSymbol, type NamedOut, type NamedTypeSymbol, type NamespaceSymbol, type OptionalArgType, type OutOf, type Param, type PosOut, type PositionalParam, type PslAttribute, type PslAttributeArgument, type PslAttributeNamedArgument, type PslAttributePositionalArgument, type PslAttributeTarget, type PslCompositeType, type PslDefaultFunctionValue, type PslDefaultLiteralValue, type PslDefaultValue, type PslDiagnostic, type PslDiagnosticCode, type PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslField, type PslFieldAttribute, type PslModel, type PslModelAttribute, type PslNamedTypeDeclaration, type PslNamespace, type PslPosition, type PslSpan, type PslTypeConstructorCall, type PslTypesBlock, type ResolvedAttribute, type ResolvedAttributeArg, type ResolvedNamedTypeBinding, type ResolvedTypeConstructorCall, type SymbolTable, type SymbolTableResult, type TopLevelScope, type TypedFuncCall, assembleAttributeSpecs, blockAttribute, bool, buildSymbolTable, entityRef, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, getPositionalArgument, identifier, int, interpretArgs, interpretAttribute, json, keywordPslSpan, leafDiagnostic, list, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, num, oneOf, optional, parseQuotedStringLiteral, rangeToPslSpan, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, record, referencedFieldRef, str, validateExtensionBlockFromSymbol };
194
203
  //# sourceMappingURL=psl-parser.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"psl-parser.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;iBASiB,sBAAsB,WAAW,cAAgB;iBACjD,yBAAyB;;;KAGrC;UACK,QAAQ;WACP;WACA;WACA,OAAO;EAChB,MAAM,KAAK,eAAe,KAAK,eAAe,OAAO,YAAY;;UAEzD;WACC,OAAO;WACP;WACA,Y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