@prisma/orm-framework 8.0.0-rc.20-dev.13 → 8.0.0-rc.20-dev.15

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 (100) hide show
  1. package/dist/{authoring-C9wgJCNs.d.mts → authoring-C2UAuRfN.d.mts} +4 -14
  2. package/dist/{authoring-C9wgJCNs.d.mts.map → authoring-C2UAuRfN.d.mts.map} +1 -1
  3. package/dist/{authoring-BNzxszPO.mjs → authoring-CuGQP7_1.mjs} +4 -26
  4. package/dist/authoring-CuGQP7_1.mjs.map +1 -0
  5. package/dist/{binder-DJRPMfsD-D7PEvJOJ.d.mts → binder-BszqDG1t-icu83_4f.d.mts} +16 -12
  6. package/dist/{binder-DJRPMfsD-D7PEvJOJ.d.mts.map → binder-BszqDG1t-icu83_4f.d.mts.map} +1 -1
  7. package/dist/{components-Cl5lB_Iw.d.mts → components-BenCVFk4.d.mts} +3 -3
  8. package/dist/{components-Cl5lB_Iw.d.mts.map → components-BenCVFk4.d.mts.map} +1 -1
  9. package/dist/components.d.mts +10 -10
  10. package/dist/components.mjs +4 -4
  11. package/dist/components__authoring.d.mts +4 -4
  12. package/dist/components__authoring.mjs +3 -3
  13. package/dist/components__components.d.mts +3 -3
  14. package/dist/components__control.d.mts +3 -3
  15. package/dist/components__control.mjs +2 -2
  16. package/dist/components__execution.d.mts +1 -1
  17. package/dist/components__psl-ast.d.mts +3 -3
  18. package/dist/{config-types-j3Elycru.d.mts → config-types-BJ79TZCl.d.mts} +5 -5
  19. package/dist/{config-types-j3Elycru.d.mts.map → config-types-BJ79TZCl.d.mts.map} +1 -1
  20. package/dist/config.d.mts +1 -1
  21. package/dist/config__config-types.d.mts +1 -1
  22. package/dist/contract-authoring.d.mts +19 -54
  23. package/dist/contract-authoring.d.mts.map +1 -1
  24. package/dist/contract-authoring.mjs +15 -28
  25. package/dist/contract-authoring.mjs.map +1 -1
  26. package/dist/control-B3OS8JEw.d.mts +1 -0
  27. package/dist/{control-BeXOxtXA-DRX60Yu3.d.mts → control-BeXOxtXA-BU8y-LiK.d.mts} +2 -2
  28. package/dist/{control-BeXOxtXA-DRX60Yu3.d.mts.map → control-BeXOxtXA-BU8y-LiK.d.mts.map} +1 -1
  29. package/dist/{control-Df-HE5e4.d.mts → control-CS1uqJj_.d.mts} +8 -9
  30. package/dist/{control-Df-HE5e4.d.mts.map → control-CS1uqJj_.d.mts.map} +1 -1
  31. package/dist/{control-DKOWXGUq.mjs → control-Dn1CMH6R.mjs} +8 -16
  32. package/dist/control-Dn1CMH6R.mjs.map +1 -0
  33. package/dist/{control-MllEQmML-tXi_WAy3.mjs → control-MllEQmML-BdhmgQVr.mjs} +2 -2
  34. package/dist/{control-MllEQmML-tXi_WAy3.mjs.map → control-MllEQmML-BdhmgQVr.mjs.map} +1 -1
  35. package/dist/{declarations-BgUAq1RG-Dz_-EI1Q.mjs → declarations-BgUAq1RG-DPNkVezv.mjs} +2 -2
  36. package/dist/{declarations-BgUAq1RG-Dz_-EI1Q.mjs.map → declarations-BgUAq1RG-DPNkVezv.mjs.map} +1 -1
  37. package/dist/errors.d.mts +4 -4
  38. package/dist/errors.mjs +3 -3
  39. package/dist/errors__control.d.mts +2 -2
  40. package/dist/errors__control.mjs +1 -1
  41. package/dist/errors__execution.d.mts +1 -1
  42. package/dist/errors__execution.mjs +1 -1
  43. package/dist/errors__migration.d.mts +1 -1
  44. package/dist/errors__migration.mjs +1 -1
  45. package/dist/{execution-D5tvAHf4.d.mts → execution-BPJbNttJ.d.mts} +2 -2
  46. package/dist/{execution-D5tvAHf4.d.mts.map → execution-BPJbNttJ.d.mts.map} +1 -1
  47. package/dist/{execution-CgR7dFMU.d.mts → execution-BWR_z8XI.d.mts} +2 -2
  48. package/dist/{execution-CgR7dFMU.d.mts.map → execution-BWR_z8XI.d.mts.map} +1 -1
  49. package/dist/{execution-DMsDYKSr.mjs → execution-GInmnTZ9.mjs} +2 -2
  50. package/dist/{execution-DMsDYKSr.mjs.map → execution-GInmnTZ9.mjs.map} +1 -1
  51. package/dist/{expressions-CMQzbnHk-BL2zN0Iv.mjs → expressions-CMQzbnHk-FYhlr1aG.mjs} +2 -2
  52. package/dist/{expressions-CMQzbnHk-BL2zN0Iv.mjs.map → expressions-CMQzbnHk-FYhlr1aG.mjs.map} +1 -1
  53. package/dist/{framework-authoring-DSqNuI8w-BMQDwpgF.d.mts → framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts} +17 -97
  54. package/dist/framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts.map +1 -0
  55. package/dist/{framework-components-BhbsOiJc-BpDfGsqn.d.mts → framework-components-BqHA1V92-D9j8uXa-.d.mts} +3 -3
  56. package/dist/{framework-components-BhbsOiJc-BpDfGsqn.d.mts.map → framework-components-BqHA1V92-D9j8uXa-.d.mts.map} +1 -1
  57. package/dist/ids.d.mts +3 -98
  58. package/dist/ids.d.mts.map +1 -1
  59. package/dist/ids.mjs +12 -52
  60. package/dist/ids.mjs.map +1 -1
  61. package/dist/{migration-DpdvEAEC.mjs → migration-D57w8Uxv.mjs} +2 -2
  62. package/dist/{migration-DpdvEAEC.mjs.map → migration-D57w8Uxv.mjs.map} +1 -1
  63. package/dist/{migration-Ox7HWa_t.d.mts → migration-Dk1sYIvs.d.mts} +2 -2
  64. package/dist/{migration-Ox7HWa_t.d.mts.map → migration-Dk1sYIvs.d.mts.map} +1 -1
  65. package/dist/{parse-bZgfjovA-BNgYhylT.mjs → parse-bZgfjovA-gD3hVy3X.mjs} +3 -3
  66. package/dist/{parse-bZgfjovA-BNgYhylT.mjs.map → parse-bZgfjovA-gD3hVy3X.mjs.map} +1 -1
  67. package/dist/{parse-djL5wker-sY18Mt5K.d.mts → parse-djL5wker-DnMlKOii.d.mts} +6 -6
  68. package/dist/{parse-djL5wker-sY18Mt5K.d.mts.map → parse-djL5wker-DnMlKOii.d.mts.map} +1 -1
  69. package/dist/{psl-ast-C8W7AM1f-DYtFq1nP.d.mts → psl-ast-0oMzInxd-Nx9cHmcc.d.mts} +3 -3
  70. package/dist/{psl-ast-C8W7AM1f-DYtFq1nP.d.mts.map → psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map} +1 -1
  71. package/dist/psl-ast-CFQfCJeM.d.mts +2 -0
  72. package/dist/psl-parser.d.mts +12 -12
  73. package/dist/psl-parser.mjs +17 -55
  74. package/dist/psl-parser.mjs.map +1 -1
  75. package/dist/psl-parser__format.d.mts +1 -1
  76. package/dist/psl-parser__format.mjs +3 -3
  77. package/dist/psl-parser__interpret.d.mts +30 -30
  78. package/dist/psl-parser__interpret.d.mts.map +1 -1
  79. package/dist/psl-parser__interpret.mjs +110 -298
  80. package/dist/psl-parser__interpret.mjs.map +1 -1
  81. package/dist/psl-parser__syntax.d.mts +1 -1
  82. package/dist/psl-parser__syntax.mjs +3 -3
  83. package/dist/psl-printer.d.mts +4 -4
  84. package/dist/psl-printer.mjs +1 -1
  85. package/dist/temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts +133 -0
  86. package/dist/temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts.map +1 -0
  87. package/dist/{temporal-presets-5TK1pTYJ-DmhrnMP1.mjs → temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs} +29 -281
  88. package/dist/temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs.map +1 -0
  89. package/dist/{type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs → type-constructor-calls-CNd1Xlw2-DjyX5mKn.mjs} +52 -7
  90. package/dist/type-constructor-calls-CNd1Xlw2-DjyX5mKn.mjs.map +1 -0
  91. package/package.json +15 -15
  92. package/dist/authoring-BNzxszPO.mjs.map +0 -1
  93. package/dist/control-CV9doMHb.d.mts +0 -1
  94. package/dist/control-DKOWXGUq.mjs.map +0 -1
  95. package/dist/framework-authoring-DSqNuI8w-BMQDwpgF.d.mts.map +0 -1
  96. package/dist/psl-ast-sZ1tAYRc.d.mts +0 -2
  97. package/dist/temporal-presets-5TK1pTYJ-DmhrnMP1.mjs.map +0 -1
  98. package/dist/temporal-presets-De4oKG36-DlGYQgF1.d.mts +0 -258
  99. package/dist/temporal-presets-De4oKG36-DlGYQgF1.d.mts.map +0 -1
  100. package/dist/type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { B as JsonValue } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
2
2
  import { i as Codec, m as CodecRef, p as CodecLookupWithDescriptors, v as DataTypeId } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
3
3
  import { r as Result } from "./result-BYCOANWy.mjs";
4
- import { K as DataTypeSupport, M as AuthoringTypeConstructorDescriptor, Ot as WrittenValue, P as AuthoringTypeNamespace, Xt as instantiateAuthoringTypeConstructor, bt as RefusalDescription, ct as ParsedPslExtensionBlock, g as AuthoringFieldPresetDescriptor, s as AuthoringContributions, u as AuthoringEntityContext, vt as PslSpan } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
5
- import "./temporal-presets-De4oKG36-DlGYQgF1.mjs";
4
+ import { E as AuthoringTypeConstructorDescriptor, O as AuthoringTypeNamespace, Ut as instantiateAuthoringTypeConstructor, dt as PslSpan, l as AuthoringEntityContext, pt as RefusalDescription, tt as ParsedPslExtensionBlock, xt as WrittenValue, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
5
+ import "./temporal-type-aliases-BIiamFSH-BrpK13hf.mjs";
6
6
  //#region ../../../1-framework/1-core/framework-components/dist/authoring.d.mts
7
7
  //#region src/shared/authoring-type-constructor-call.d.ts
8
8
  /** What a type constructor call produces for a column. */
@@ -192,15 +192,5 @@ declare function enumMemberProblemDiagnostic(problem: EnumMemberProblem, site: E
192
192
  */
193
193
  declare function readEnumBlockMembers(block: ParsedPslExtensionBlock<Readonly<Record<string, unknown>>>, codecId: string, codec: Codec, ctx: AuthoringEntityContext): readonly EnumBlockMember[] | undefined;
194
194
  //#endregion
195
- //#region src/shared/field-preset-resolution.d.ts
196
- /**
197
- * How each field preset registered under `namespace`, at any depth, is written, with the names of its arguments: `temporal.timestamp(onCreate, onUpdate)`.
198
- */
199
- declare function fieldPresetSpellings(contributions: AuthoringContributions | undefined, namespace: string): readonly string[];
200
- /**
201
- * Walks `authoringContributions.field` segment by segment and returns the field-preset descriptor at the path, or `undefined` when none is registered there.
202
- */
203
- declare function getAuthoringFieldPreset(contributions: AuthoringContributions | undefined, path: readonly string[]): AuthoringFieldPresetDescriptor | undefined;
204
- //#endregion
205
- export { fieldPresetSpellings as C, readEnumBlockMembers as E, enumMemberProblemDiagnostic as S, getAuthoringFieldPreset as T, authoringTypeConstructorArguments as _, DiscriminatorField as a, duplicateStoredMembers as b, DiscriminatorVariantRefusal as c, EnumBlockDiagnostic as d, EnumBlockMember as f, applyDiscriminatorRule as g, StoredEnumMember as h, DiscriminatorDecision as i, DuplicateStoredValue as l, EnumMemberProblem as m, AuthoringTypeConstructorOutput as n, DiscriminatorFieldRefusal as o, EnumBlockSite as p, DecodedEnum as r, DiscriminatorRefusal as s, AuthoringTypeConstructorCall as t, EncodedEnumMember as u, authoringTypeConstructors as v, findAuthoringTypeConstructorCall as w, encodeEnumMembers as x, describeDiscriminatorRefusal as y };
206
- //# sourceMappingURL=authoring-C9wgJCNs.d.mts.map
195
+ export { findAuthoringTypeConstructorCall as C, enumMemberProblemDiagnostic as S, authoringTypeConstructorArguments as _, DiscriminatorField as a, duplicateStoredMembers as b, DiscriminatorVariantRefusal as c, EnumBlockDiagnostic as d, EnumBlockMember as f, applyDiscriminatorRule as g, StoredEnumMember as h, DiscriminatorDecision as i, DuplicateStoredValue as l, EnumMemberProblem as m, AuthoringTypeConstructorOutput as n, DiscriminatorFieldRefusal as o, EnumBlockSite as p, DecodedEnum as r, DiscriminatorRefusal as s, AuthoringTypeConstructorCall as t, EncodedEnumMember as u, authoringTypeConstructors as v, readEnumBlockMembers as w, encodeEnumMembers as x, describeDiscriminatorRefusal as y };
196
+ //# sourceMappingURL=authoring-C2UAuRfN.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authoring-C9wgJCNs.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.d.mts"],"mappings":";;;;;;;;KAOK,iCAAiC,kBAAkB;;UAE9C;WACC;WACA;;;iBAGM,0BAA0B,WAAW,wBAAwB,2BAA2B;WAC9F;WACA,YAAY;;;;;;;iBAON,kCAAkC,YAAY,oCAAoC,QAAQ;;;;;;;iBAO1F,iCAAiC,WAAW,wBAAwB,QAAQ,iCAAiC;;;;UAIpH;;WAEC,KAAK;WACL;WACA;;WAEA,sBAAsB;;;KAG5B,qBAAqB;WACf;;WAEA;;WAEA;WACA,UAAU;WACV,wBAAwB;;WAExB;WACA,KAAK;WACL,QAAQ;WACR,kBAAkB;;;;;iBAKZ,6BAA6B,KAAK,SAAS,qBAAqB,MAAM;WAC5E;WACA;;WAEA;;WAEA;WACA,cAAc,KAAK;;;KAGzB,4BAA4B,QAAQ;WAC9B;;;KAGN,4BAA4B;WACtB;WACA,KAAK;WACL,SAAS;IAChB,QAAQ,qBAAqB;WACtB;;;UAGD,sBAAsB;;WAErB,wBAAwB;;WAExB,0BAA0B,4BAA4B;;WAEtD,QAAQ,YAAY;;;;;iBAKd,uBAAuB,KAAK;WAClC,OAAO;WACP;aACE,KAAK;aACL,SAAS;;WAEX;WACA,aAAa,KAAK;WAClB,WAAW;IAClB,sBAAsB;;;UAGhB;WACC;WACA,QAAQ;;UAET;WACC;WACA;WACA,QAAQ;;WAER,gBAAgB;;;;;iBAKV,uBAAuB,kBAAkB,oBAAoB,eAAe,MAAM,gCAAgC;;;;UAIzH;WACC;WACA;aACE;aACA;;;;UAIH;WACC;WACA,OAAO;;UAER;WACC;WACA;WACA;WACA;;UAED;WACC;WACA;WACA;WACA,QAAQ;WACR;;KAEN;WACM;WACA;;WAEA;IACP,qBAAqB;WACd;IACP;;;;iBAIa,kBAAkB,aAAa,aAAa,aAAa,6BAA6B,gBAAgB,8BAA8B;;;UAG3I;WACC;WACA;;UAED;WACC;WACA;WACA;WACA,MAAM;;;;;UAKP;WACC;WACA;WACA;WACA,MAAM;WACN,aAAa,SAAS,eAAe;;;;;iBAK/B,4BAA4B,SAAS,mBAAmB,MAAM,gBAAgB;;;;;;iBAM9E,qBAAqB,OAAO,wBAAwB,SAAS,2BAA2B,iBAAiB,OAAO,OAAO,KAAK,kCAAkC;;;;;;iBAM9J,qBAAqB,eAAe,oCAAoC;;;;iBAIxE,wBAAwB,eAAe,oCAAoC,0BAA0B"}
1
+ {"version":3,"file":"authoring-C2UAuRfN.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.d.mts"],"mappings":";;;;;;;;KAOK,iCAAiC,kBAAkB;;UAE9C;WACC;WACA;;;iBAGM,0BAA0B,WAAW,wBAAwB,2BAA2B;WAC9F;WACA,YAAY;;;;;;;iBAON,kCAAkC,YAAY,oCAAoC,QAAQ;;;;;;;iBAO1F,iCAAiC,WAAW,wBAAwB,QAAQ,iCAAiC;;;;UAIpH;;WAEC,KAAK;WACL;WACA;;WAEA,sBAAsB;;;KAG5B,qBAAqB;WACf;;WAEA;;WAEA;WACA,UAAU;WACV,wBAAwB;;WAExB;WACA,KAAK;WACL,QAAQ;WACR,kBAAkB;;;;;iBAKZ,6BAA6B,KAAK,SAAS,qBAAqB,MAAM;WAC5E;WACA;;WAEA;;WAEA;WACA,cAAc,KAAK;;;KAGzB,4BAA4B,QAAQ;WAC9B;;;KAGN,4BAA4B;WACtB;WACA,KAAK;WACL,SAAS;IAChB,QAAQ,qBAAqB;WACtB;;;UAGD,sBAAsB;;WAErB,wBAAwB;;WAExB,0BAA0B,4BAA4B;;WAEtD,QAAQ,YAAY;;;;;iBAKd,uBAAuB,KAAK;WAClC,OAAO;WACP;aACE,KAAK;aACL,SAAS;;WAEX;WACA,aAAa,KAAK;WAClB,WAAW;IAClB,sBAAsB;;;UAGhB;WACC;WACA,QAAQ;;UAET;WACC;WACA;WACA,QAAQ;;WAER,gBAAgB;;;;;iBAKV,uBAAuB,kBAAkB,oBAAoB,eAAe,MAAM,gCAAgC;;;;UAIzH;WACC;WACA;aACE;aACA;;;;UAIH;WACC;WACA,OAAO;;UAER;WACC;WACA;WACA;WACA;;UAED;WACC;WACA;WACA;WACA,QAAQ;WACR;;KAEN;WACM;WACA;;WAEA;IACP,qBAAqB;WACd;IACP;;;;iBAIa,kBAAkB,aAAa,aAAa,aAAa,6BAA6B,gBAAgB,8BAA8B;;;UAG3I;WACC;WACA;;UAED;WACC;WACA;WACA;WACA,MAAM;;;;;UAKP;WACC;WACA;WACA;WACA,MAAM;WACN,aAAa,SAAS,eAAe;;;;;iBAK/B,4BAA4B,SAAS,mBAAmB,MAAM,gBAAgB;;;;;;iBAM9E,qBAAqB,OAAO,wBAAwB,SAAS,2BAA2B,iBAAiB,OAAO,OAAO,KAAK,kCAAkC"}
@@ -4,7 +4,7 @@ import { n as notOk, r as ok } from "./result-8OXF26MN.mjs";
4
4
  import { t as canonicalizeJson } from "./canonicalize-json-ZPawceQR-Dua1VNEB.mjs";
5
5
  import { d as dataTypeParams, u as dataTypeId } from "./data-type-V6mcDhcG-DVQAPOQT.mjs";
6
6
  import { r as codecForRef } from "./resolve-codec-qqMjZrmn-Cok8elAo.mjs";
7
- import { A as isAuthoringTypeAliasDescriptor, E as isAuthoringFieldPresetDescriptor, F as printTaggedLiteral, I as printedTaggedLiteralReadsBack, S as instantiateAuthoringTypeConstructor, j as isAuthoringTypeConstructorDescriptor, w as isAuthoringArgRef } from "./temporal-presets-5TK1pTYJ-DmhrnMP1.mjs";
7
+ import { D as isAuthoringTypeConstructorDescriptor, E as isAuthoringTypeAliasDescriptor, M as printedTaggedLiteralReadsBack, S as isAuthoringArgRef, b as instantiateAuthoringTypeConstructor, j as printTaggedLiteral } from "./temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs";
8
8
  import { a as numeralText, i as enumRefusalOf, o as readContractValue } from "./codec-descriptor-CPSGZunM-DxrbRHX1.mjs";
9
9
  //#region ../../../1-framework/1-core/framework-components/dist/authoring.mjs
10
10
  /** Every type constructor of `namespace`, with its path, in namespace order. */
@@ -35,7 +35,7 @@ function authoringTypeConstructorArguments(descriptor, output) {
35
35
  const args = [];
36
36
  for (const [key, template] of Object.entries(descriptor.output.typeParams ?? {})) {
37
37
  const value = output.typeParams?.[key];
38
- if (value !== void 0 && isAuthoringArgRef(template) && template.path === void 0) args[template.index] = value;
38
+ if (value !== void 0 && isAuthoringArgRef(template)) args[template.index] = value;
39
39
  }
40
40
  const requiredArgs = (descriptor.args ?? []).filter((arg) => arg.optional !== true).length;
41
41
  if (args.length < requiredArgs || Array.from(args).includes(void 0)) return void 0;
@@ -736,29 +736,7 @@ function encodeEnumMembers(decodedEnum, codecLookup) {
736
736
  });
737
737
  return problems.length > 0 ? notOk(problems) : ok(members);
738
738
  }
739
- function presetSpellingsUnder(members, prefix) {
740
- return Object.entries(members).flatMap(([name, member]) => isAuthoringFieldPresetDescriptor(member) ? [`${prefix}.${name}(${(member.args ?? []).map((arg, index) => arg.name ?? `argument${index + 1}`).join(", ")})`] : presetSpellingsUnder(member, `${prefix}.${name}`));
741
- }
742
- /**
743
- * How each field preset registered under `namespace`, at any depth, is written, with the names of its arguments: `temporal.timestamp(onCreate, onUpdate)`.
744
- */
745
- function fieldPresetSpellings(contributions, namespace) {
746
- const members = contributions?.field?.[namespace];
747
- if (members === void 0 || isAuthoringFieldPresetDescriptor(members)) return [];
748
- return presetSpellingsUnder(members, namespace);
749
- }
750
- /**
751
- * Walks `authoringContributions.field` segment by segment and returns the field-preset descriptor at the path, or `undefined` when none is registered there.
752
- */
753
- function getAuthoringFieldPreset(contributions, path) {
754
- let current = contributions?.field;
755
- for (const segment of path) {
756
- if (typeof current !== "object" || current === null || "kind" in current) return;
757
- current = current[segment];
758
- }
759
- return current !== void 0 && isAuthoringFieldPresetDescriptor(current) ? current : void 0;
760
- }
761
739
  //#endregion
762
- export { readWrittenValue as C, tagForm as E, readEnumBlockMembers as S, readWrittenValueIntoCodec as T, exactRewrite as _, authoringTypeConstructors as a, getAuthoringFieldPreset as b, describeDiscriminatorRefusal as c, describeRefusedValueType as d, duplicateStoredMembers as f, enumMemberProblemDiagnostic as g, entryForTag as h, authoringTypeConstructorArguments as i, describeExpected as l, entryForPlain as m, admittedTags as n, castTypedValue as o, encodeEnumMembers as p, applyDiscriminatorRule as r, describeAdmittedForms as s, admittedForms as t, describeRefusal as u, fieldPresetSpellings as v, readWrittenValueAs as w, knownTags as x, findAuthoringTypeConstructorCall as y };
740
+ export { readWrittenValueIntoCodec as C, readWrittenValueAs as S, exactRewrite as _, authoringTypeConstructors as a, readEnumBlockMembers as b, describeDiscriminatorRefusal as c, describeRefusedValueType as d, duplicateStoredMembers as f, enumMemberProblemDiagnostic as g, entryForTag as h, authoringTypeConstructorArguments as i, describeExpected as l, entryForPlain as m, admittedTags as n, castTypedValue as o, encodeEnumMembers as p, applyDiscriminatorRule as r, describeAdmittedForms as s, admittedForms as t, describeRefusal as u, findAuthoringTypeConstructorCall as v, tagForm as w, readWrittenValue as x, knownTags as y };
763
741
 
764
- //# sourceMappingURL=authoring-BNzxszPO.mjs.map
742
+ //# sourceMappingURL=authoring-CuGQP7_1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authoring-CuGQP7_1.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.mjs"],"sourcesContent":["import { a as dataTypeId, o as dataTypeParams } from \"./data-type-V6mcDhcG.mjs\";\nimport { a as readContractValue, o as numeralText, r as enumRefusalOf } from \"./codec-descriptor-CPSGZunM.mjs\";\nimport { t as canonicalizeJson } from \"./canonicalize-json-ZPawceQR.mjs\";\nimport { r as codecForRef } from \"./resolve-codec-qqMjZrmn.mjs\";\nimport { A as isAuthoringEntityTypeDescriptor, B as resolveTypeAliasGenerators, C as flushAuthoringWarnings, D as instantiateAuthoringTypeConstructor, E as instantiateAuthoringTypeAlias, F as isAuthoringTypeDescriptor, H as validateAuthoringTypeParams, L as mergeAuthoringNamespaces, M as isAuthoringPslBlockDescriptor, N as isAuthoringTypeAliasDescriptor, O as instantiateAuthoringTypeConstructorFromValues, P as isAuthoringTypeConstructorDescriptor, R as resolveAuthoringTemplateValue, S as collectScalarTypeConstructors, T as instantiateAuthoringEntityType, V as validateAuthoringHelperArguments, _ as assertNoCrossRegistryCollisions, a as canonicalizeTaggedLiteralBody, b as classifyEnumMemberType, c as printedTaggedLiteralReadsBack, d as tsTaggedTemplateSource, f as assembleAuthoringDataTypes, g as assertNoAuthoringFieldNamespace, h as AUTHORING_TYPE_DESCRIPTOR_KINDS, j as isAuthoringModelAttributeDescriptor, k as isAuthoringArgRef, n as temporalTypeAliases, o as describeTaggedLiteralFailure, p as assembleDataTypeSupport, s as printTaggedLiteral, t as TIMESTAMP_NOW_GENERATOR_ID, u as resolveTemplateTagEscapes, v as assertResolvableTypeConstructorTemplates, w as getAuthoringTypeConstructor, y as assertTypeAliasesValid, z as resolveEnumCodecId } from \"./temporal-type-aliases-D98ei6Fj.mjs\";\nimport { InternalError, isInternalError } from \"@internal/utils/internal-error\";\nimport { notOk, ok } from \"@internal/utils/result\";\nimport { canonicalStringify } from \"@internal/utils/canonical-stringify\";\n//#region src/shared/authoring-type-constructor-call.ts\n/** Every type constructor of `namespace`, with its path, in namespace order. */\nfunction* authoringTypeConstructors(namespace, path = []) {\n\tfor (const [name, value] of Object.entries(namespace)) if (isAuthoringTypeConstructorDescriptor(value)) yield {\n\t\tpath: [...path, name],\n\t\tdescriptor: value\n\t};\n\telse if (!isAuthoringTypeAliasDescriptor(value)) yield* authoringTypeConstructors(value, [...path, name]);\n}\nfunction produces(produced, wanted) {\n\tconst wantedFields = {\n\t\t...wanted,\n\t\ttypeParams: wanted.typeParams ?? {}\n\t};\n\treturn Object.entries({\n\t\t...produced,\n\t\ttypeParams: produced.typeParams ?? {}\n\t}).every(([key, value]) => canonicalizeJson(value) === canonicalizeJson(wantedFields[key]));\n}\n/**\n* The arguments that make `descriptor` produce exactly `output`, when each of its type parameters\n* comes straight from one argument; `undefined` when it cannot produce `output`, including when\n* `output` has no value for an argument the constructor requires.\n*/\nfunction authoringTypeConstructorArguments(descriptor, output) {\n\tif (descriptor.entityRefArg !== void 0 || descriptor.output.codecId !== output.codecId) return;\n\tconst args = [];\n\tfor (const [key, template] of Object.entries(descriptor.output.typeParams ?? {})) {\n\t\tconst value = output.typeParams?.[key];\n\t\tif (value !== void 0 && isAuthoringArgRef(template)) args[template.index] = value;\n\t}\n\tconst requiredArgs = (descriptor.args ?? []).filter((arg) => arg.optional !== true).length;\n\tif (args.length < requiredArgs || Array.from(args).includes(void 0)) return void 0;\n\ttry {\n\t\treturn produces(instantiateAuthoringTypeConstructor(descriptor, args), output) ? args : void 0;\n\t} catch {\n\t\treturn;\n\t}\n}\n/**\n* The first call, in namespace order, to a type constructor in `namespace` that produces exactly\n* `output`. The inverse of {@link instantiateAuthoringTypeConstructor} for constructors whose type\n* parameters each come straight from one argument. A constructor whose argument names another\n* entity is never chosen. `undefined` when no call produces `output`.\n*/\nfunction findAuthoringTypeConstructorCall(namespace, output) {\n\tfor (const { path, descriptor } of authoringTypeConstructors(namespace)) {\n\t\tconst args = authoringTypeConstructorArguments(descriptor, output);\n\t\tif (args !== void 0) return {\n\t\t\tpath,\n\t\t\targs\n\t\t};\n\t}\n}\n//#endregion\n//#region src/shared/enum-stored-members.ts\nfunction storedFormOf(stored) {\n\treturn canonicalStringify(JSON.parse(JSON.stringify(stored)));\n}\n/** The key two stored values are equal by: the data type's `equalityKey` when it declares one, else the stored form as `contract.json` holds it, compared by `canonicalStringify`. */\nfunction storedValueKey(stored, equalityKey) {\n\treturn equalityKey?.(stored) ?? storedFormOf(stored);\n}\n/**\n* Each enum member whose stored form equals an earlier member's, paired with the first such member. Stored forms are compared as `contract.json` holds them, so negative zero is zero, and by `canonicalStringify`, so two objects with the same entries in a different order are equal; or, when the enum's data type declares an `equalityKey`, by that key, so `0.5` and `0.50` are one `numeric` value. Every enum authoring surface refuses the members this returns.\n*/\nfunction duplicateStoredMembers(members, equalityKey) {\n\tconst memberByKey = /* @__PURE__ */ new Map();\n\tconst duplicates = [];\n\tfor (const member of members) {\n\t\tconst { name, stored } = member;\n\t\tconst key = storedValueKey(stored, equalityKey);\n\t\tconst earlier = memberByKey.get(key);\n\t\tif (earlier === void 0) memberByKey.set(key, member);\n\t\telse if (storedFormOf(earlier.stored) === storedFormOf(stored)) duplicates.push({\n\t\t\tearlier: earlier.name,\n\t\t\tlater: name,\n\t\t\tstored\n\t\t});\n\t\telse duplicates.push({\n\t\t\tearlier: earlier.name,\n\t\t\tlater: name,\n\t\t\tstored,\n\t\t\tearlierStored: earlier.stored\n\t\t});\n\t}\n\treturn duplicates;\n}\n//#endregion\n//#region src/shared/written-value.ts\n/**\n* Words a refusal of the cast rule. The message leads with what to write; the types are named only when the value has a form the position admits and its type is still refused, such as a number too large for the receiving type.\n*/\nfunction describeRefusal(refusal, support, guidance) {\n\tswitch (refusal.kind) {\n\t\tcase \"unknown-tag\": return {\n\t\t\tcode: \"PSL_UNKNOWN_LITERAL_TAG\",\n\t\t\tmessage: `Unknown literal tag \"${refusal.tag}\". Known tags: ${refusal.known.join(\", \")}.`\n\t\t};\n\t\tcase \"unwritable\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: `${describeExpected(guidance.forms)}; this target has no data type for a ${refusal.syntax} value`\n\t\t};\n\t\tcase \"unreadable\":\n\t\tcase \"refused-by-type\": return {\n\t\t\tcode: \"PSL_INVALID_LITERAL\",\n\t\t\tmessage: refusal.message\n\t\t};\n\t\tcase \"no-cast\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: describeRefusedValueType(refusal, support, guidance)\n\t\t};\n\t}\n}\n/** `Expected <forms>`, the forms joined with `or`: the start of every refusal that says what to write. */\nfunction describeExpected(forms) {\n\treturn `Expected ${joinForms(forms)}`;\n}\n/**\n* Words a value of type `valueType` that `receivingType` refuses, where `guidance.forms` may be written. The types are named only when the value has one of those forms.\n*/\nfunction describeRefusedValueType(refused, support, guidance) {\n\tconst expected = describeExpected(guidance.forms);\n\tconst valueForm = writtenForm(support, refused.valueType);\n\tif (valueForm !== void 0 && guidance.forms.some((form) => isSameForm(form, valueForm))) return `${expected} that ${refused.receivingType} can hold; got ${refused.valueType}`;\n\treturn guidance.rewrite === void 0 ? expected : `${expected}; write ${guidance.rewrite}`;\n}\nfunction isSameForm(a, b) {\n\treturn a.kind === \"tag\" && b.kind === \"tag\" ? a.tag === b.tag : a.kind === b.kind;\n}\n/** Text a contract source reads as a number literal. */\nconst NUMBER_TEXT = /^[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?$|^[+-]?(?:NaN|Infinity)$/;\nconst DECIMAL_TEXT = /^([+-]?)0*(\\d*?)(?:\\.(\\d*?))?0*$/;\n/** A decimal numeral in one form: no plus sign, no leading or trailing zeros, the sign of zero kept. Other text is itself. */\nfunction canonicalNumber(text) {\n\tconst match = text.includes(\".\") ? DECIMAL_TEXT.exec(text) : /^([+-]?)0*(\\d*)$/.exec(text);\n\tif (match === null) return text;\n\tconst [, sign = \"\", whole = \"\", fraction = \"\"] = match;\n\treturn `${sign === \"-\" ? \"-\" : \"\"}${whole === \"\" ? \"0\" : whole}${fraction === \"\" ? \"\" : `.${fraction}`}`;\n}\n/** Whether a stored value is the number `text` writes, digit for digit and with its sign, so writing the text unquoted stores what it says. */\nfunction sameNumber(text, stored) {\n\tconst storedText = typeof stored === \"number\" ? Object.is(stored, -0) ? \"-0\" : numeralText(stored) : typeof stored === \"string\" ? stored : void 0;\n\treturn storedText !== void 0 && canonicalNumber(storedText) === canonicalNumber(text);\n}\n/**\n* The literal to write in place of a quoted string that `receivingType` refuses under `receivingParams`: the string as a literal of the first tag the type admits, or else the string's text unquoted, as a number or a boolean. `undefined` when the value is not a quoted string, no such literal reads back as the same text, the type would refuse each of them too, or the number the text writes would be stored as another number, as `-0` is stored without its sign or `9007199254740993` as the nearest double.\n*/\nfunction exactRewrite(support, receiving, written) {\n\tif (written.kind !== \"string\") return void 0;\n\tconst castOf = (candidate) => {\n\t\tconst read = readWrittenValue(support, candidate);\n\t\tif (!read.ok) return void 0;\n\t\tconst cast = castTypedValue(support, receiving.receivingType, receiving.receivingParams, read.value);\n\t\treturn cast.ok ? cast.value : void 0;\n\t};\n\tconst admits = (candidate) => castOf(candidate) !== void 0;\n\tconst [tag] = admittedTags(support, receiving.receivingType);\n\tif (tag !== void 0 && printedTaggedLiteralReadsBack(written.text) && admits({\n\t\tkind: \"tag\",\n\t\ttag,\n\t\ttext: written.text\n\t})) return printTaggedLiteral(tag, written.text);\n\tif (NUMBER_TEXT.test(written.text)) {\n\t\tconst stored = castOf({\n\t\t\tkind: \"number\",\n\t\t\ttext: written.text\n\t\t});\n\t\tif (stored !== void 0 && sameNumber(written.text, stored.value)) return written.text;\n\t}\n\tif ((written.text === \"true\" || written.text === \"false\") && admits({\n\t\tkind: \"boolean\",\n\t\tvalue: written.text === \"true\"\n\t})) return written.text;\n}\nfunction findEntry(support, matches) {\n\tfor (const [key, entry] of Object.entries(support.entries)) if (matches(entry)) return {\n\t\tkey,\n\t\tentry\n\t};\n}\n/** The entry a tag names, or `undefined` when no pack registered that tag. */\nfunction entryForTag(support, tag) {\n\treturn findEntry(support, ({ written }) => written.kind === \"tag\" && written.tag === tag);\n}\n/** The entry that reads a plain string, boolean or number, or `undefined` when none does. */\nfunction entryForPlain(support, syntax) {\n\treturn findEntry(support, ({ written }) => written.kind === \"plain\" && written.syntax === syntax);\n}\n/** Every tag a stack registers, in the order the entries were merged. */\nfunction knownTags(support) {\n\treturn Object.values(support.entries).flatMap((entry) => entry.written.kind === \"tag\" ? [entry.written.tag] : []);\n}\nfunction textOf(written) {\n\treturn written.kind === \"boolean\" ? String(written.value) : written.text;\n}\nfunction messageOf(error) {\n\treturn error instanceof Error ? error.message : String(error);\n}\n/** The value of `type` that `json` gives under `params`, constructed by that type; a refusal is worded for a diagnostic. */\nfunction valueOfType(support, type, json, params, refuse) {\n\tconst declaration = support.lookup.get(type);\n\tif (declaration === void 0) throw new InternalError(`A value of \"${type}\" was written, and this stack does not register it.`);\n\ttry {\n\t\treturn ok(declaration.valueFrom(json(), params));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk(refuse(messageOf(error)));\n\t}\n}\n/** Read one written value through the authoring entry for its syntax, as a value its type constructs. */\nfunction readWrittenValue(support, written) {\n\tconst found = written.kind === \"tag\" ? entryForTag(support, written.tag) : entryForPlain(support, written.kind);\n\tif (found === void 0) return written.kind === \"tag\" ? notOk({\n\t\tkind: \"unknown-tag\",\n\t\ttag: written.tag,\n\t\tknown: knownTags(support)\n\t}) : notOk({\n\t\tkind: \"unwritable\",\n\t\tsyntax: written.kind\n\t});\n\tconst text = textOf(written);\n\tconst form = found.entry.written;\n\tconst unreadable = (message) => ({\n\t\tkind: \"unreadable\",\n\t\tmessage\n\t});\n\tif (form.kind === \"plain\" && form.syntax === \"number\") {\n\t\tconst classified = form.classify(text);\n\t\treturn classified === void 0 ? notOk(unreadable(`no data type of this target holds the number ${text}`)) : valueOfType(support, classified.type, () => classified.value, {}, unreadable);\n\t}\n\treturn valueOfType(support, dataTypeId(found.key), () => form.parse(text), {}, unreadable);\n}\n/** Take a value into the receiving type, directly or through the cast that type declares; the receiving type constructs the result under `receivingParams`, the parameters of the position that receives it. */\nfunction castTypedValue(support, receivingType, receivingParams, value) {\n\tconst refusedByType = (message) => ({\n\t\tkind: \"refused-by-type\",\n\t\treceivingType,\n\t\tmessage\n\t});\n\tif (value.type === receivingType) return valueOfType(support, receivingType, () => value.value, receivingParams, refusedByType);\n\tconst declaration = support.lookup.get(receivingType);\n\tconst cast = declaration?.casts[value.type];\n\tif (cast === void 0) return notOk({\n\t\tkind: \"no-cast\",\n\t\treceivingType,\n\t\treceivingParams,\n\t\tvalueType: value.type,\n\t\tcasts: Object.keys(declaration?.casts ?? {})\n\t});\n\tconst source = support.lookup.get(value.type);\n\tif (source === void 0) throw new InternalError(`A value of \"${value.type}\" was cast, and this stack does not register it.`);\n\tlet json;\n\ttry {\n\t\tjson = cast(source.toContract(value));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk({\n\t\t\tkind: \"unreadable\",\n\t\t\tmessage: messageOf(error)\n\t\t});\n\t}\n\treturn valueOfType(support, receivingType, () => json, receivingParams, refusedByType);\n}\n/**\n* Reads `written` as a value of `receivingType`: through the authoring entry for its syntax, then into `receivingType` directly or through a cast it declares. A refusal is worded for a diagnostic at the written value. The read every value of a fixed receiving type takes: an attribute argument, a type-constructor argument, and its TypeScript counterpart. ADR 254.\n*/\nfunction readWrittenValueAs(support, receivingType, written) {\n\tconst forms = admittedForms(support, [receivingType]);\n\tconst read = readWrittenValue(support, written);\n\tif (!read.ok) return notOk(describeRefusal(read.failure, support, {\n\t\tforms,\n\t\trewrite: void 0\n\t}));\n\tconst cast = castTypedValue(support, receivingType, {}, read.value);\n\tif (cast.ok) return cast;\n\tconst rewrite = exactRewrite(support, {\n\t\treceivingType,\n\t\treceivingParams: {}\n\t}, written);\n\treturn notOk(describeRefusal(cast.failure, support, {\n\t\tforms,\n\t\trewrite\n\t}));\n}\n/**\n* Reads `written` into the codec `ref` names, built with `ref`'s type parameters: the authoring entry for its syntax reads it, the codec's data type takes it directly or through a cast, the data type constructs it under the type parameters, and the codec checks it. Returns the value as the data type stores it. A written list is read element by element into the element types of the data type's list cast, then through the list cast.\n*\n* A refusal is worded for a diagnostic, after `subject` and the element it is about, as in `enum \"Ratio\" member \"Half\" at element 2: Expected a number`: syntax no entry reads or a cast refuses is `PSL_INVALID_LITERAL`, a value of a type the data type neither is nor casts from is `PSL_VALUE_TYPE_INCOMPATIBLE`, and a value the data type under the type parameters or the codec refuses is `PSL_VALUE_REFUSED`. ADR 254.\n*/\nfunction readWrittenValueIntoCodec(input) {\n\tconst { support, ref, written, subject } = input;\n\tconst codec = codecForRef(input.codecLookup, ref);\n\tif (codec === void 0) throw new InternalError(`${subject}: no codec descriptor is registered for \"${ref.codecId}\", but the value was read for it.`);\n\tconst receivingType = codec.dataType.id;\n\tconst receivingParams = dataTypeParams(codec.dataType, ref.typeParams);\n\tconst refused = (elementIndex, { code, message }) => notOk({\n\t\tcode,\n\t\tmessage: `${elementIndex === void 0 ? subject : `${subject} at element ${elementIndex + 1}`}: ${message}`\n\t});\n\tconst stored = (json) => {\n\t\ttry {\n\t\t\tconst value = codec.dataType.valueFrom(json, receivingParams);\n\t\t\tcodec.fromDataTypeValue(value);\n\t\t\treturn ok(codec.dataType.toContract(value));\n\t\t} catch (error) {\n\t\t\tif (isInternalError(error)) throw error;\n\t\t\treturn refused(void 0, {\n\t\t\t\tcode: \"PSL_VALUE_REFUSED\",\n\t\t\t\tmessage: messageOf(error)\n\t\t\t});\n\t\t}\n\t};\n\tconst forms = admittedForms(support, [receivingType]);\n\tif (written.kind === \"list\") {\n\t\tconst listCast = support.lookup.get(receivingType)?.listCast;\n\t\tif (listCast === void 0) return refused(void 0, {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: `${describeExpected(forms)}; got a list`\n\t\t});\n\t\tconst elementGuidance = {\n\t\t\tforms: admittedForms(support, listCast.of),\n\t\t\trewrite: void 0\n\t\t};\n\t\tconst elements = [];\n\t\tfor (const [index, element] of written.elements.entries()) {\n\t\t\tif (element.kind === \"list\") return refused(index, {\n\t\t\t\tcode: \"PSL_INVALID_LITERAL\",\n\t\t\t\tmessage: \"a list holds values, not other lists\"\n\t\t\t});\n\t\t\tconst read = readWrittenValue(support, element);\n\t\t\tif (!read.ok) return refused(index, describeRefusal(read.failure, support, elementGuidance));\n\t\t\tif (!listCast.of.includes(read.value.type)) return refused(index, {\n\t\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\t\tmessage: describeRefusedValueType({\n\t\t\t\t\treceivingType,\n\t\t\t\t\tvalueType: read.value.type\n\t\t\t\t}, support, elementGuidance)\n\t\t\t});\n\t\t\telements.push(read.value.value);\n\t\t}\n\t\tlet json;\n\t\ttry {\n\t\t\tjson = listCast.cast(elements);\n\t\t} catch (error) {\n\t\t\tif (isInternalError(error)) throw error;\n\t\t\treturn refused(void 0, {\n\t\t\t\tcode: \"PSL_INVALID_LITERAL\",\n\t\t\t\tmessage: messageOf(error)\n\t\t\t});\n\t\t}\n\t\treturn stored(json);\n\t}\n\tconst read = readWrittenValue(support, written);\n\tif (!read.ok) return refused(void 0, describeRefusal(read.failure, support, {\n\t\tforms,\n\t\trewrite: void 0\n\t}));\n\tconst cast = castTypedValue(support, receivingType, receivingParams, read.value);\n\tif (cast.ok) return stored(cast.value.value);\n\tconst { failure } = cast;\n\tif (failure.kind === \"refused-by-type\") return refused(void 0, {\n\t\tcode: \"PSL_VALUE_REFUSED\",\n\t\tmessage: failure.message\n\t});\n\treturn refused(void 0, describeRefusal(failure, support, {\n\t\tforms,\n\t\trewrite: failure.kind === \"no-cast\" ? exactRewrite(support, failure, written) : void 0\n\t}));\n}\n/** The type itself, then each type it casts from, in key order. */\nfunction admittedTypes(support, dataType) {\n\treturn [dataType, ...Object.keys(support.lookup.get(dataType)?.casts ?? {})];\n}\n/** The tags a position of `dataType` admits: its own tag, then the tags of the types it casts from. */\nfunction admittedTags(support, dataType) {\n\tconst tags = admittedTypes(support, dataType).flatMap((type) => {\n\t\tconst written = support.entries[type]?.written;\n\t\treturn written?.kind === \"tag\" ? [written.tag] : [];\n\t});\n\treturn [...new Set(tags)];\n}\n/** The form a value of a tagged literal's type is written in. */\nfunction tagForm(tag) {\n\treturn {\n\t\tkind: \"tag\",\n\t\ttag,\n\t\tphrase: `${tag}\\`...\\``\n\t};\n}\nconst PLAIN_PHRASES = {\n\tstring: \"a quoted string\",\n\tboolean: \"true or false\",\n\tnumber: \"a number\"\n};\nfunction writtenForm(support, type) {\n\tconst written = support.entries[type]?.written;\n\tif (written?.kind === \"tag\") return tagForm(written.tag);\n\tif (written?.kind === \"plain\" && written.syntax !== \"number\") return {\n\t\tkind: written.syntax,\n\t\tphrase: PLAIN_PHRASES[written.syntax]\n\t};\n\treturn Object.entries(support.entries).some(([key, entry]) => entry.written.kind === \"plain\" && entry.written.syntax === \"number\" && (key === type || entry.written.types.some((listed) => listed === type))) ? {\n\t\tkind: \"number\",\n\t\tphrase: PLAIN_PHRASES.number\n\t} : void 0;\n}\n/** What {@link describeAdmittedForms} returns for a type that nothing writes. */\nconst NO_WRITTEN_FORM = \"no written form\";\n/** Each form a position receiving every one of `receivingTypes` admits, once, in order: ``sql`...` ``, `true or false`. */\nfunction admittedForms(support, receivingTypes) {\n\tconst forms = [];\n\tfor (const type of receivingTypes.flatMap((receiving) => admittedTypes(support, receiving))) {\n\t\tconst form = writtenForm(support, type);\n\t\tif (form !== void 0 && !forms.some((listed) => isSameForm(listed, form))) forms.push(form);\n\t}\n\treturn forms;\n}\nfunction joinForms(forms) {\n\treturn forms.length === 0 ? NO_WRITTEN_FORM : forms.map((form) => form.phrase).join(\" or \");\n}\n/** How a position of `dataType` can be written, for a diagnostic: ``sql`...` ``, `true or false`. */\nfunction describeAdmittedForms(support, dataType) {\n\treturn joinForms(admittedForms(support, [dataType]));\n}\n//#endregion\n//#region src/shared/discriminator-rule.ts\n/**\n* The refusals of a discriminator: the field must be required, hold one value, and have one of the stack's text data types; and when an enum types it, each variant's value, as the field stores it, must be one of the enum's members, compared by the field's data type's equality. Returns no refusals for a discriminator that is valid.\n*/\nfunction discriminatorRefusals(input) {\n\tconst { field } = input;\n\tconst textDataTypes = input.dataTypes.textDataTypes ?? [];\n\tif (textDataTypes.length === 0) throw new InternalError(\"The stack names no text data types, so no field can be a discriminator; the target names its text types in its authoring contributions.\");\n\tconst refusals = [];\n\tif (field.nullable) refusals.push({ kind: \"optional\" });\n\tif (field.many) refusals.push({ kind: \"list\" });\n\tconst dataType = field.ref === void 0 ? void 0 : input.codecLookup.descriptorFor(field.ref.codecId)?.dataType;\n\tif (dataType === void 0 || !textDataTypes.includes(dataType)) refusals.push({\n\t\tkind: \"not-text\",\n\t\tdataType,\n\t\ttextDataTypes\n\t});\n\tconst members = field.enumMembers;\n\tif (members !== void 0) {\n\t\tconst equalityKey = dataType === void 0 ? void 0 : input.dataTypes.lookup.get(dataType)?.equalityKey;\n\t\tconst memberKeys = new Set(members.map((member) => storedValueKey(member, equalityKey)));\n\t\tfor (const { key, stored } of input.variantValues) if (!memberKeys.has(storedValueKey(stored, equalityKey))) refusals.push({\n\t\t\tkind: \"not-a-member\",\n\t\t\tkey,\n\t\t\tstored,\n\t\t\tmembers\n\t\t});\n\t}\n\treturn refusals;\n}\n/**\n* A discriminator refusal worded as a PSL diagnostic: a refusal of the field at its `@@discriminator`, and a value that is not a member at its `@@base`. The wording names PSL syntax, so PSL sources word the refusals with this; a TypeScript source words them in its own terms.\n*/\nfunction describeDiscriminatorRefusal(refusal, subject) {\n\tconst field = `Discriminator field \"${subject.fieldName}\" on model \"${subject.modelName}\"`;\n\tswitch (refusal.kind) {\n\t\tcase \"optional\": return `${field} must be required, but it is optional. Remove the \"?\"`;\n\t\tcase \"list\": return `${field} must hold one value, but it is a list. Remove the \"[]\"`;\n\t\tcase \"not-text\": return `${field} must be text, such as String, but is \"${subject.typeName}\"`;\n\t\tcase \"not-a-member\": return `Model \"${subject.variantName(refusal.key)}\" declares @@base value ${JSON.stringify(refusal.stored)}, which is not a member of enum \"${subject.enumName}\", the type of discriminator field \"${subject.modelName}.${subject.fieldName}\". Write one of: ${refusal.members.map((member) => JSON.stringify(member)).join(\", \")}`;\n\t}\n}\n/**\n* Applies the discriminator rule to one discriminator and its variants: reads each variant's written value into the field's codec with {@link readWrittenValueIntoCodec}, worded after `subject`, then decides with {@link discriminatorRefusals}. A refused field refuses the whole discriminator, so its variants' values are neither read nor refused. A discriminator is text, so a stored value that is not a string is a bug in a text data type.\n*/\nfunction applyDiscriminatorRule(input) {\n\tconst { field, codecLookup, dataTypes } = input;\n\tconst fieldOnly = discriminatorRefusals({\n\t\tfield,\n\t\tvariantValues: [],\n\t\tcodecLookup,\n\t\tdataTypes\n\t}).filter(isFieldRefusal);\n\tif (fieldOnly.length > 0) return {\n\t\tfieldRefusals: fieldOnly,\n\t\tvariantRefusals: [],\n\t\tvalues: /* @__PURE__ */ new Map()\n\t};\n\tconst ref = field.ref;\n\tif (ref === void 0) throw new InternalError(\"A discriminator field the rule accepts has a codec.\");\n\tconst reads = input.variants.map(({ key, written }) => ({\n\t\tkey,\n\t\treading: readWrittenValueIntoCodec({\n\t\t\tsupport: dataTypes,\n\t\t\tcodecLookup,\n\t\t\tref,\n\t\t\twritten,\n\t\t\tsubject: input.subject\n\t\t})\n\t}));\n\tconst notMembers = new Map(discriminatorRefusals({\n\t\tfield,\n\t\tvariantValues: reads.flatMap(({ key, reading }) => reading.ok ? [{\n\t\t\tkey,\n\t\t\tstored: reading.value\n\t\t}] : []),\n\t\tcodecLookup,\n\t\tdataTypes\n\t}).flatMap((refusal) => refusal.kind === \"not-a-member\" ? [[refusal.key, refusal]] : []));\n\tconst variantRefusals = [];\n\tconst values = /* @__PURE__ */ new Map();\n\tfor (const { key, reading } of reads) {\n\t\tif (!reading.ok) {\n\t\t\tvariantRefusals.push({\n\t\t\t\tkind: \"unreadable\",\n\t\t\t\tkey,\n\t\t\t\trefusal: reading.failure\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tconst notMember = notMembers.get(key);\n\t\tif (notMember !== void 0) {\n\t\t\tvariantRefusals.push(notMember);\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof reading.value !== \"string\") throw new InternalError(`Discriminator field codec \"${ref.codecId}\" stores a text value as ${typeof reading.value}.`);\n\t\tvalues.set(key, reading.value);\n\t}\n\treturn {\n\t\tfieldRefusals: [],\n\t\tvariantRefusals,\n\t\tvalues\n\t};\n}\nfunction isFieldRefusal(refusal) {\n\treturn refusal.kind !== \"not-a-member\";\n}\n//#endregion\n//#region src/shared/enum-block-members.ts\n/**\n* A problem with an enum's members as a diagnostic at the member, or at the block when the problem is the enum's codec.\n*/\nfunction enumMemberProblemDiagnostic(problem, site) {\n\tconst { enumName, codecId, sourceId } = site;\n\tconst at = (member) => ({\n\t\tsourceId,\n\t\tspan: site.memberSpans[member] ?? site.span\n\t});\n\tswitch (problem.kind) {\n\t\tcase \"codec-not-for-enums\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" cannot use the codec \"${codecId}\". ${problem.refusal}`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-missing\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" uses codec \"${codecId}\", which no pack in the contract provides`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-refused-member\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" was rejected by codec \"${codecId}\": ${problem.reason}`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"member-not-stored-as-written\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" is written ${problem.written}, but its codec stores ${JSON.stringify(problem.stored)}. Write the member as ${problem.writeAs}.`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"duplicate-member-value\": return {\n\t\t\tcode: \"PSL_ENUM_DUPLICATE_MEMBER_VALUE\",\n\t\t\tmessage: problem.earlierStored === void 0 ? `enum \"${enumName}\": members \"${problem.earlier}\" and \"${problem.later}\" both store ${JSON.stringify(problem.stored)}` : `enum \"${enumName}\": members \"${problem.earlier}\" and \"${problem.later}\" store ${JSON.stringify(problem.earlierStored)} and ${JSON.stringify(problem.stored)}, which the database holds equal`,\n\t\t\t...at(problem.later)\n\t\t};\n\t}\n}\n/** A member as it is written: its recorded written value, or a bare member's name, as text. */\nfunction writtenMember(block, memberName, memberValue) {\n\tconst written = block.writtenValues?.[memberName];\n\tif (written !== void 0) return written;\n\tif (memberValue === void 0) return {\n\t\tkind: \"string\",\n\t\ttext: memberName\n\t};\n\tthrow new InternalError(`enum \"${block.name}\" member \"${memberName}\" has a value, but the block holds no written value for it.`);\n}\n/**\n* Reads the members of an `enum` block through its codec with {@link readWrittenValueIntoCodec}: each member's syntax gives it a data type, the codec's data type takes it directly or through a cast, and the codec checks it, so a number keeps every digit and a quoted value is text. A bare member is read from its own name, as text.\n* Pushes a diagnostic and returns `undefined` when a member is refused, when two members\n* store the same value, or when the block has no members. Shared by every family's enum factory.\n*/\nfunction readEnumBlockMembers(block, codecId, codec, ctx) {\n\tconst sourceId = ctx.sourceId ?? \"unknown\";\n\tconst diagnostics = ctx.diagnostics;\n\tconst site = {\n\t\tenumName: block.name,\n\t\tcodecId,\n\t\tsourceId,\n\t\tspan: block.span,\n\t\tmemberSpans: block.parameterSpans\n\t};\n\tconst members = [];\n\tconst storedMembers = [];\n\tlet memberError = false;\n\tfor (const [memberName, memberValue] of Object.entries(block.values)) {\n\t\tconst span = block.parameterSpans[memberName] ?? block.span;\n\t\tconst reading = readWrittenValueIntoCodec({\n\t\t\tsupport: ctx.dataTypes,\n\t\t\tcodecLookup: ctx.codecLookup,\n\t\t\tref: { codecId },\n\t\t\twritten: writtenMember(block, memberName, memberValue),\n\t\t\tsubject: `enum \"${block.name}\" member \"${memberName}\"`\n\t\t});\n\t\tif (!reading.ok) {\n\t\t\tdiagnostics?.push(memberValue === void 0 ? {\n\t\t\t\tcode: \"PSL_ENUM_BARE_MEMBER_NON_STRING_CODEC\",\n\t\t\t\tmessage: `enum \"${block.name}\" member \"${memberName}\" has no value and codec \"${codecId}\" does not accept a bare name as input`,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t} : {\n\t\t\t\t...reading.failure,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t});\n\t\t\tmemberError = true;\n\t\t\tcontinue;\n\t\t}\n\t\tconst read = readContractValue(codec, reading.value, void 0);\n\t\tmembers.push({\n\t\t\tname: memberName,\n\t\t\tvalue: read\n\t\t});\n\t\tstoredMembers.push({\n\t\t\tname: memberName,\n\t\t\tstored: codec.dataType.toContract(codec.toDataTypeValue(read))\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(storedMembers, codec.dataType.equalityKey)) {\n\t\tdiagnostics?.push(enumMemberProblemDiagnostic({\n\t\t\tkind: \"duplicate-member-value\",\n\t\t\t...duplicate\n\t\t}, site));\n\t\tmemberError = true;\n\t}\n\tif (memberError) return void 0;\n\tif (members.length === 0) {\n\t\tdiagnostics?.push({\n\t\t\tcode: \"PSL_ENUM_MISSING_TYPE\",\n\t\t\tmessage: `enum \"${block.name}\" must have at least one member`,\n\t\t\tsourceId,\n\t\t\tspan: block.span\n\t\t});\n\t\treturn;\n\t}\n\treturn members;\n}\n//#endregion\n//#region src/shared/enum-members.ts\n/** Whether TypeScript gives the value a literal type: a primitive, or an array or plain object of them. */\nfunction hasLiteralType(value) {\n\tif ([\n\t\t\"string\",\n\t\t\"number\",\n\t\t\"boolean\",\n\t\t\"bigint\"\n\t].includes(typeof value)) return true;\n\tif (Array.isArray(value)) return value.every(hasLiteralType);\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst prototype = Object.getPrototypeOf(value);\n\treturn (prototype === Object.prototype || prototype === null) && Object.values(value).every(hasLiteralType);\n}\n/**\n* A member's value in the form its codec stores it, and that form read back by the codec. A codec that throws on either is a refusal naming the member; an internal error is not the member's fault and propagates.\n*/\nfunction encodeEnumMember(member, codec) {\n\ttry {\n\t\tconst stored = codec.dataType.toContract(codec.toDataTypeValue(member.value));\n\t\treturn ok({\n\t\t\tstored,\n\t\t\treadBack: readContractValue(codec, stored, void 0)\n\t\t});\n\t} catch (cause) {\n\t\tif (isInternalError(cause)) throw cause;\n\t\treturn notOk({\n\t\t\tkind: \"codec-refused-member\",\n\t\t\tmember: member.name,\n\t\t\treason: cause instanceof Error ? cause.message : String(cause),\n\t\t\tcause\n\t\t});\n\t}\n}\n/**\n* Refuses a member its codec reads back as a different value from the one written. A member with no literal type has nothing to compare.\n*/\nfunction notStoredAsWritten(member, stored, readBack) {\n\tif (!hasLiteralType(member.value)) return void 0;\n\tif (hasLiteralType(readBack) && canonicalStringify(readBack) === canonicalStringify(member.value)) return void 0;\n\treturn {\n\t\tkind: \"member-not-stored-as-written\",\n\t\tmember: member.name,\n\t\twritten: canonicalStringify(member.value),\n\t\tstored,\n\t\twriteAs: hasLiteralType(readBack) ? canonicalStringify(readBack) : JSON.stringify(stored)\n\t};\n}\n/**\n* Each member of an enum in the form its codec stores it. Refuses a codec an enum cannot use, a codec the lookup does not have, a member the codec refuses, a member the codec reads back as another value, and two members stored as the same value. Every family's contract build calls this, and reports the problems in its own terms.\n*/\nfunction encodeEnumMembers(decodedEnum, codecLookup) {\n\tconst descriptor = codecLookup.descriptorFor(decodedEnum.codecId);\n\tconst refusal = descriptor === void 0 ? void 0 : enumRefusalOf(descriptor);\n\tif (refusal !== void 0) return notOk([{\n\t\tkind: \"codec-not-for-enums\",\n\t\trefusal\n\t}]);\n\tconst codec = codecLookup.get(decodedEnum.codecId);\n\tif (codec === void 0) return notOk([{ kind: \"codec-missing\" }]);\n\tconst problems = [];\n\tconst members = [];\n\tfor (const member of decodedEnum.enumMembers) {\n\t\tconst encoded = encodeEnumMember(member, codec);\n\t\tif (!encoded.ok) {\n\t\t\tproblems.push(encoded.failure);\n\t\t\tcontinue;\n\t\t}\n\t\tconst { stored, readBack } = encoded.value;\n\t\tconst mismatch = notStoredAsWritten(member, stored, readBack);\n\t\tif (mismatch !== void 0) problems.push(mismatch);\n\t\tmembers.push({\n\t\t\tname: member.name,\n\t\t\tvalue: stored\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(members.map(({ name, value }) => ({\n\t\tname,\n\t\tstored: value\n\t})), codec.dataType.equalityKey)) problems.push({\n\t\tkind: \"duplicate-member-value\",\n\t\t...duplicate\n\t});\n\treturn problems.length > 0 ? notOk(problems) : ok(members);\n}\n//#endregion\nexport { AUTHORING_TYPE_DESCRIPTOR_KINDS, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, applyDiscriminatorRule, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalTypeAliases, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };\n\n//# sourceMappingURL=authoring.mjs.map"],"mappings":";;;;;;;;;;AAUA,UAAU,0BAA0B,WAAW,OAAO,CAAC,GAAG;CACzD,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAQ,SAAS,GAAG,IAAI,qCAAqC,KAA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AI,aAAa,KAAK,GAAG,SAAS,KAAK,QAAQ;EAC/C,QAAQ,KAAK;GACZ,MAAM,OAAO;GACb,OAAO;EACR,CAAC;CACF;CACA,KAAK,MAAM,aAAa,uBAAuB,QAAQ,KAAK,EAAE,MAAM,aAAa;EAChF;EACA,QAAQ;CACT,EAAE,GAAG,MAAM,SAAS,WAAW,GAAG,SAAS,KAAK;EAC/C,MAAM;EACN,GAAG;CACJ,CAAC;CACD,OAAO,SAAS,SAAS,IAAI,MAAM,QAAQ,IAAI,GAAG,OAAO;AAC1D"}
@@ -1,17 +1,17 @@
1
1
  import { B as JsonValue } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
2
2
  import { T as DataTypeValue, v as DataTypeId } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
3
3
  import { r as Result } from "./result-BYCOANWy.mjs";
4
- import { A as AuthoringTypeAliasDescriptor, M as AuthoringTypeConstructorDescriptor, W as ControlMutationDefaults, g as AuthoringFieldPresetDescriptor, vt as PslSpan } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
5
- import { l as TaggedLiteralCanonicalization } from "./temporal-presets-De4oKG36-DlGYQgF1.mjs";
6
- import "./authoring-C9wgJCNs.mjs";
4
+ import { E as AuthoringTypeConstructorDescriptor, L as ControlMutationDefaults, dt as PslSpan, w as AuthoringTypeAliasDescriptor } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
5
+ import { o as TaggedLiteralCanonicalization } from "./temporal-type-aliases-BIiamFSH-BrpK13hf.mjs";
6
+ import "./authoring-C2UAuRfN.mjs";
7
7
  import "./codec-CZ3VQq7G.mjs";
8
- import { l as SignatureArgumentOutput, u as SignatureOptionalArgument } from "./components-Cl5lB_Iw.mjs";
9
- import "./control-Df-HE5e4.mjs";
10
- import "./psl-ast-sZ1tAYRc.mjs";
11
- import { n as ContractSourceContext } from "./config-types-j3Elycru.mjs";
12
- import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, r as AttributeArgAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-djL5wker-sY18Mt5K.mjs";
8
+ import { l as SignatureArgumentOutput, u as SignatureOptionalArgument } from "./components-BenCVFk4.mjs";
9
+ import "./control-CS1uqJj_.mjs";
10
+ import "./psl-ast-CFQfCJeM.mjs";
11
+ import { n as ContractSourceContext } from "./config-types-BJ79TZCl.mjs";
12
+ import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, r as AttributeArgAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-djL5wker-DnMlKOii.mjs";
13
13
  import { n as UnionToIntersection, t as Simplify } from "./types-DGxlljKG.mjs";
14
- //#region ../../../1-framework/2-authoring/psl-parser/dist/binder-DJRPMfsD.d.mts
14
+ //#region ../../../1-framework/2-authoring/psl-parser/dist/binder-BszqDG1t.d.mts
15
15
  //#region src/resolve.d.ts
16
16
  interface ResolvedAttributeArg {
17
17
  readonly kind: 'positional' | 'named';
@@ -366,7 +366,7 @@ type AttributeOut<Pos extends readonly PositionalParam<unknown, never>[], Named
366
366
  type InferAttr<S> = S extends AttributeSpec<infer Out, never> ? Out : never;
367
367
  //#endregion
368
368
  //#region src/contributed-type-scope.d.ts
369
- type ContributedTypeDescriptor = AuthoringTypeConstructorDescriptor | AuthoringTypeAliasDescriptor | AuthoringFieldPresetDescriptor;
369
+ type ContributedTypeDescriptor = AuthoringTypeConstructorDescriptor | AuthoringTypeAliasDescriptor;
370
370
  type ContributedTypeNamespace = {
371
371
  readonly [name: string]: ContributedTypeDescriptor | ContributedTypeNamespace;
372
372
  };
@@ -389,6 +389,8 @@ interface ContributedTypeScope {
389
389
  }
390
390
  /** The codec a column typed by `descriptor` is stored with. */
391
391
  declare function contributedTypeCodecId(descriptor: ContributedTypeDescriptor): string;
392
+ /** The descriptor at `path` in `namespace`, or `undefined` when none is contributed there. */
393
+ declare function contributedTypeAt(namespace: ContributedTypeNamespace, path: readonly string[]): ContributedTypeDescriptor | undefined;
392
394
  //#endregion
393
395
  //#region src/scope.d.ts
394
396
  type ScopeResolution = {
@@ -498,6 +500,8 @@ interface UnresolvedTypeReference {
498
500
  readonly field: FieldSymbol;
499
501
  readonly owner: FieldOwner;
500
502
  readonly written: string;
503
+ /** Whether a declaration of the schema, rather than a contributed type, takes the name `name` where the field is written. */
504
+ readonly isDeclared: (name: string) => boolean;
501
505
  }
502
506
  type DescribeUnresolvedType = (unresolved: UnresolvedTypeReference) => string | undefined;
503
507
  interface BinderContext extends Pick<ContractSourceContext, 'authoringContributions' | 'pslDiagnostics' | 'dataTypes' | 'generatorFunctions'> {
@@ -516,5 +520,5 @@ declare function typeReferenceNode(symbol: FieldSymbol | NamedTypeSymbol): Synta
516
520
  declare function contributedTypeOf(resolution: Resolution | undefined, binder: Binder): ContributedTypeSymbol | undefined;
517
521
  declare function createBinder(input: CreateBinderInput): BinderResult;
518
522
  //#endregion
519
- export { ModelSymbol as $, DescribeUnresolvedType as A, SymbolTableResult as At, FixedStrArgType as B, contributedTypeOf as Bt, ContributedTypeNamespace as C, ResolvedAttributeArg as Ct, CtxOf as D, Scope as Dt, CreateBinderInput as E, ResolvedTypeConstructorCall as Et, FieldAttributeCtx as F, UnrestrictedNumArgType as Ft, InferAttr as G, matchesSelector as Gt, FuncCallSig as H, entityReference as Ht, FieldRefArgType as I, UnrestrictedStrArgType as It, JsonArgType as J, readResolvedAttribute as Jt, InspectableArgType as K, memberEntries as Kt, FieldSymbol as L, UnsupportedAttribute as Lt, EntityDeclaration as M, TypedFuncCall as Mt, EntityRefArgType as N, UnresolvedTypeReference as Nt, DataTypeValueArgType as O, ScopeResolution as Ot, EntitySelector as P, UnrestrictedIdentifierArgType as Pt, ModelAttributeCtx as Q, FixedIdentifierArgType as R, buildSymbolTable as Rt, ContributedTypeDescriptor as S, ResolvedAttribute as St, ContributedTypeSymbol as T, ResolvedNamedTypeBinding as Tt, FunctionSymbol as U, isNamespaceLike as Ut, FuncCallArgType as V, createBinder as Vt, IdentifierArgType as W, keywordPslSpan as Wt, ListArgType as X, readResolvedConstructorCall as Xt, JsonValueArgType as Y, readResolvedAttributes as Yt, MixinSymbol as Z, typeReferenceNode as Zt, CompositeTypeSymbol as _, RecordArgType as _t, AttributeLevel as a, NumLiteralArgType as at, ContributedMember as b, RequiredContextFor as bt, AttributeSymbol as c, OutOf as ct, BinderResult as d, ParameterSymbol as dt, NamedOut as et, BlockAttributeCtx as f, ParsedTaggedLiteral as ft, BuildSymbolTableOptions as g, PslSymbol as gt, BoundSpec as h, PositionalParam as ht, AttributeCtx as i, NumLiteral as it, DescribeUnsupportedAttribute as j, TaggedLiteralArgType as jt, DeclarationFor as k, SymbolTable as kt, Binder as l, PSL_UNRESOLVED_REFERENCE as lt, BoolArgType as m, PosOut as mt, ArgType as n, NamespaceSymbol as nt, AttributeOut as o, OneOfArgType as ot, BlockSymbol as p, ParsedTypedValue as pt, IntArgType as q, nodePslSpan as qt, ArgTypeKind as r, NullArgType as rt, AttributeSpec as s, OptionalArgType as st, AnyArgType as t, NamedTypeSymbol as tt, BinderContext as u, Param as ut, ConstantSymbol as v, ReferencedFieldRefArgType as vt, ContributedTypeScope as w, ResolvedEntityReference as wt, ContributedNamespaceSymbol as x, Resolution as xt, ContextForRequirement as y, RejectingArgType as yt, FixedNumArgType as z, contributedTypeCodecId as zt };
520
- //# sourceMappingURL=binder-DJRPMfsD-D7PEvJOJ.d.mts.map
523
+ export { ModelSymbol as $, DescribeUnresolvedType as A, SymbolTableResult as At, FixedStrArgType as B, contributedTypeCodecId as Bt, ContributedTypeNamespace as C, ResolvedAttributeArg as Ct, CtxOf as D, Scope as Dt, CreateBinderInput as E, ResolvedTypeConstructorCall as Et, FieldAttributeCtx as F, UnrestrictedNumArgType as Ft, InferAttr as G, keywordPslSpan as Gt, FuncCallSig as H, createBinder as Ht, FieldRefArgType as I, UnrestrictedStrArgType as It, JsonArgType as J, nodePslSpan as Jt, InspectableArgType as K, matchesSelector as Kt, FieldSymbol as L, UnsupportedAttribute as Lt, EntityDeclaration as M, TypedFuncCall as Mt, EntityRefArgType as N, UnresolvedTypeReference as Nt, DataTypeValueArgType as O, ScopeResolution as Ot, EntitySelector as P, UnrestrictedIdentifierArgType as Pt, ModelAttributeCtx as Q, typeReferenceNode as Qt, FixedIdentifierArgType as R, buildSymbolTable as Rt, ContributedTypeDescriptor as S, ResolvedAttribute as St, ContributedTypeSymbol as T, ResolvedNamedTypeBinding as Tt, FunctionSymbol as U, entityReference as Ut, FuncCallArgType as V, contributedTypeOf as Vt, IdentifierArgType as W, isNamespaceLike as Wt, ListArgType as X, readResolvedAttributes as Xt, JsonValueArgType as Y, readResolvedAttribute as Yt, MixinSymbol as Z, readResolvedConstructorCall as Zt, CompositeTypeSymbol as _, RecordArgType as _t, AttributeLevel as a, NumLiteralArgType as at, ContributedMember as b, RequiredContextFor as bt, AttributeSymbol as c, OutOf as ct, BinderResult as d, ParameterSymbol as dt, NamedOut as et, BlockAttributeCtx as f, ParsedTaggedLiteral as ft, BuildSymbolTableOptions as g, PslSymbol as gt, BoundSpec as h, PositionalParam as ht, AttributeCtx as i, NumLiteral as it, DescribeUnsupportedAttribute as j, TaggedLiteralArgType as jt, DeclarationFor as k, SymbolTable as kt, Binder as l, PSL_UNRESOLVED_REFERENCE as lt, BoolArgType as m, PosOut as mt, ArgType as n, NamespaceSymbol as nt, AttributeOut as o, OneOfArgType as ot, BlockSymbol as p, ParsedTypedValue as pt, IntArgType as q, memberEntries as qt, ArgTypeKind as r, NullArgType as rt, AttributeSpec as s, OptionalArgType as st, AnyArgType as t, NamedTypeSymbol as tt, BinderContext as u, Param as ut, ConstantSymbol as v, ReferencedFieldRefArgType as vt, ContributedTypeScope as w, ResolvedEntityReference as wt, ContributedNamespaceSymbol as x, Resolution as xt, ContextForRequirement as y, RejectingArgType as yt, FixedNumArgType as z, contributedTypeAt as zt };
524
+ //# sourceMappingURL=binder-BszqDG1t-icu83_4f.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"binder-DJRPMfsD-D7PEvJOJ.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-DJRPMfsD.d.mts"],"mappings":";;;;;;;;;;;;;;;UAWU;WACC;WACA;WACA;WACA,aAAa;WACb,MAAM;;WAEN,OAAO;;UAER,kBAAkB,cAAc,oBAAoB,oBAAoB,oBAAoB;WAC3F;WACA,eAAe;WACf,MAAM;WACN,MAAM;;UAEP;WACC;WACA,eAAe;WACf,MAAM;;iBAEA,sBAAsB,cAAc,oBAAoB,mBAAmB,WAAW,OAAO,SAAS,aAAa,kBAAkB;iBACrI,uBAAuB,cAAc,oBAAoB,mBAAmB,YAAY,SAAS,QAAQ,SAAS,sBAAsB,kBAAkB;iBAC1J,4BAA4B,YAAY,+BAA+B,SAAS,aAAa;iBAC7F,YAAY,MAAM,YAAY,SAAS,aAAa;;iBAEpD,eAAe,MAAM,YAAY,iBAAiB,SAAS,aAAa;;;UAG/E;WACC,kBAAkB;WAClB,YAAY,eAAe;WAC3B,YAAY,eAAe;;UAE5B;WACC,MAAM;WACN,MAAM;;UAEP;WACC;WACA;WACA;WACA,uBAAuB;WACvB,QAAQ,eAAe;WACvB,gBAAgB,eAAe;WAC/B,QAAQ,eAAe;WACvB,QAAQ,eAAe;;UAExB;WACC;WACA;WACA,MAAM;WACN,MAAM;EACf,QAAQ,eAAe;EACvB,qBAAqB,kBAAkB;;UAE/B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SAAS;iBACvE,aAAa,OAAO,oBAAoB"}
1
+ {"version":3,"file":"binder-BszqDG1t-icu83_4f.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-BszqDG1t.d.mts"],"mappings":";;;;;;;;;;;;;;;UAWU;WACC;WACA;WACA;WACA,aAAa;WACb,MAAM;;WAEN,OAAO;;UAER,kBAAkB,cAAc,oBAAoB,oBAAoB,oBAAoB;WAC3F;WACA,eAAe;WACf,MAAM;WACN,MAAM;;UAEP;WACC;WACA,eAAe;WACf,MAAM;;iBAEA,sBAAsB,cAAc,oBAAoB,mBAAmB,WAAW,OAAO,SAAS,aAAa,kBAAkB;iBACrI,uBAAuB,cAAc,oBAAoB,mBAAmB,YAAY,SAAS,QAAQ,SAAS,sBAAsB,kBAAkB;iBAC1J,4BAA4B,YAAY,+BAA+B,SAAS,aAAa;iBAC7F,YAAY,MAAM,YAAY,SAAS,aAAa;;iBAEpD,eAAe,MAAM,YAAY,iBAAiB,SAAS,aAAa;;;UAG/E;WACC,kBAAkB;WAClB,YAAY,eAAe;WAC3B,YAAY,eAAe;;UAE5B;WACC,MAAM;WACN,MAAM;;UAEP;WACC;WACA;WACA;WACA,uBAAuB;WACvB,QAAQ,eAAe;WACvB,gBAAgB,eAAe;WAC/B,QAAQ,eAAe;WACvB,QAAQ,eAAe;;UAExB;WACC;WACA;WACA,MAAM;WACN,MAAM;EACf,QAAQ,eAAe;EACvB,qBAAqB,kBAAkB;;UAE/B;WACC;WACA;WACA,MAAM;WACN,MAAM;EACf,QAAQ,eAAe;EACvB,qBAAqB,kBAAkB;;UAE/B;WACC;WACA;WACA;WACA,MAAM;WACN,MAAM;EACf,kBAAkB;EAClB,qBAAqB,kBAAkB;;UAE/B;WACC;WACA;WACA;WACA,MAAM;WACN,MAAM;WACN,QAAQ,eAAe;WACvB,kBAAkB;WAClB,qBAAqB,kBAAkB;;UAExC;WACC;WACA,kBAAkB;WAClB;WACA,qBAAqB,kBAAkB;;;;;;;UAOx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EAC3B,YAAY,QAAQ;WACX,OAAO,eAAe;qBACZ,YAAY;EAC/B,WAAW,2BAA2B;;iBAEvB,gBAAgB,YAAY,kBAAkB,cAAc,QAAQ;EACnF;;iBAEe,cAAc,WAAW,QAAQ;EAChD;KACG,2BAA2B;;;cAGlB;KACT,YAAY,qBAAqB,qBAAqB,qBAAqB,qBAAqB,qBAAqB;UAChH;WACC;WACA;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA,OAAO;;UAER;WACC;WACA;WACA,WAAW;;UAEZ;WACC;WACA;WACA;;KAEN,YAAY,cAAc,sBAAsB,kBAAkB,cAAc,kBAAkB,cAAc;KAChH,aAAa,cAAc,sBAAsB;KACjD,aAAa;WACP;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;;WAEA;WACA;;UAED;EACR,eAAe,MAAM,aAAa;EAClC,cAAc,MAAM,aAAa;EACjC,QAAQ,MAAM,aAAa;;UAEnB;WACC,WAAW;WACX;WACA,OAAO;WACP,OAAO;;KAEb,gCAAgC,aAAa,yBAAyB;UACjE;WACC,OAAO;WACP,OAAO;WACP;;WAEA,aAAa;;KAEnB,0BAA0B,YAAY;UACjC,sBAAsB,KAAK;WAC1B,yBAAyB,KAAK;;UAE/B;WACC,SAAS;WACT,aAAa;WACb,SAAS;;UAEV;WACC,QAAQ;WACR,sBAAsB;;iBAEhB,kBAAkB,QAAQ,cAAc,kBAAkB;iBAC1D,kBAAkB,YAAY,wBAAwB,QAAQ,SAAS;iBACvE,aAAa,OAAO,oBAAoB"}
@@ -1,7 +1,7 @@
1
1
  import { g as CodecTrait } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
2
- import { Q as GeneratorFunctionComponent, Z as GeneratorFunctionCall } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
2
+ import { G as GeneratorFunctionComponent, W as GeneratorFunctionCall } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
3
3
  import { t as AggregateDescriptor } from "./types-import-spec-Bkh243Hv-B-fdw0Wl.mjs";
4
- import "./framework-components-BhbsOiJc-BpDfGsqn.mjs";
4
+ import "./framework-components-BqHA1V92-D9j8uXa-.mjs";
5
5
  //#region ../../../1-framework/1-core/framework-components/dist/components.d.mts
6
6
  //#region src/shared/aggregate-overloads.d.ts
7
7
  /** What settling needs to know about a codec: its id, and the traits an overload can claim it by. */
@@ -83,4 +83,4 @@ type GeneratorHelpersOf<Component> = { readonly [Contribution in Declared<Contri
83
83
  declare function createGeneratorHelpers<const Component extends GeneratorFunctionComponent>(components: readonly Component[]): GeneratorHelpersOf<Component>;
84
84
  //#endregion
85
85
  export { GeneratorHelper as a, SettledAggregateOverloads as c, createGeneratorHelpers as d, settleAggregateOverloads as f, ExtensionPackValues as i, SignatureArgumentOutput as l, AggregateOverloadAmbiguity as n, GeneratorHelpersOf as o, AggregateOverloadDuplicate as r, SettledAggregateOperation as s, AggregateCodecTraits as t, SignatureOptionalArgument as u };
86
- //# sourceMappingURL=components-Cl5lB_Iw.d.mts.map
86
+ //# sourceMappingURL=components-BenCVFk4.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components-Cl5lB_Iw.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;;UAQU;WACC;WACA,iBAAiB;;;UAGlB,0BAA0B,oBAAoB;;WAE7C,WAAW,oBAAoB;;WAE/B,SAAS;;WAET,UAAU;;;UAGX;WACC;WACA;WACA,iBAAiB;;;UAGlB,2BAA2B,oBAAoB;WAC9C;WACA;WACA,OAAO;WACP,QAAQ;;UAET,0BAA0B,oBAAoB;WAC7C,YAAY,oBAAoB,0BAA0B;WAC1D,sBAAsB;WACtB,qBAAqB,2BAA2B;;;;;;;;;;;iBAW1C,yBAAyB,oBAAoB,qBAAqB,sBAAsB,eAAe,QAAQ,SAAS,wBAAwB,0BAA0B;;;;UAIjL,wBAAwB;WACvB,OAAO;;;UAGR;WACC;;KAEN,YAAY,QAAQ,aAAa,8BAA8B,OAAO,QAAQ;KAC9E,oBAAoB,UAAU,+BAA+B,eAAe,QAAQ;WAC9E,YAAY;IACnB,aAAa,6BAA6B,WAAW,YAAY,UAAU,oBAAoB,UAAU,UAAU,YAAY,UAAU,oBAAoB;;KAE5J,gBAAgB,aAAa,uBAAuB,sBAAsB,SAAS,QAAQ;;KAE3F,gBAAgB,iBAAiB,MAAM,gBAAgB;WACjD,kBAAkB;IACzB,oBAAoB,iBAAiB;KACpC,gBAAgB,aAAa;WACvB,2BAA2B;IAClC,sCAAsC,kBAAkB;KACvD,SAAS,gBAAgB;WACnB;WACA;IACP;;KAEC,oBAAoB,cAAc,mBAAmB,qBAAqB,QAAQ;;KAElF,mBAAmB,yBAAyB,gBAAgB,SAAS,gBAAgB,eAAe,uBAAuB,gBAAgB;;;;iBAI/H,6BAA6B,kBAAkB,4BAA4B,qBAAqB,cAAc,mBAAmB"}
1
+ {"version":3,"file":"components-BenCVFk4.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;;UAQU;WACC;WACA,iBAAiB;;;UAGlB,0BAA0B,oBAAoB;;WAE7C,WAAW,oBAAoB;;WAE/B,SAAS;;WAET,UAAU;;;UAGX;WACC;WACA;WACA,iBAAiB;;;UAGlB,2BAA2B,oBAAoB;WAC9C;WACA;WACA,OAAO;WACP,QAAQ;;UAET,0BAA0B,oBAAoB;WAC7C,YAAY,oBAAoB,0BAA0B;WAC1D,sBAAsB;WACtB,qBAAqB,2BAA2B;;;;;;;;;;;iBAW1C,yBAAyB,oBAAoB,qBAAqB,sBAAsB,eAAe,QAAQ,SAAS,wBAAwB,0BAA0B;;;;UAIjL,wBAAwB;WACvB,OAAO;;;UAGR;WACC;;KAEN,YAAY,QAAQ,aAAa,8BAA8B,OAAO,QAAQ;KAC9E,oBAAoB,UAAU,+BAA+B,eAAe,QAAQ;WAC9E,YAAY;IACnB,aAAa,6BAA6B,WAAW,YAAY,UAAU,oBAAoB,UAAU,UAAU,YAAY,UAAU,oBAAoB;;KAE5J,gBAAgB,aAAa,uBAAuB,sBAAsB,SAAS,QAAQ;;KAE3F,gBAAgB,iBAAiB,MAAM,gBAAgB;WACjD,kBAAkB;IACzB,oBAAoB,iBAAiB;KACpC,gBAAgB,aAAa;WACvB,2BAA2B;IAClC,sCAAsC,kBAAkB;KACvD,SAAS,gBAAgB;WACnB;WACA;IACP;;KAEC,oBAAoB,cAAc,mBAAmB,qBAAqB,QAAQ;;KAElF,mBAAmB,yBAAyB,gBAAgB,SAAS,gBAAgB,eAAe,uBAAuB,gBAAgB;;;;iBAI/H,6BAA6B,kBAAkB,4BAA4B,qBAAqB,cAAc,mBAAmB"}
@@ -1,22 +1,22 @@
1
1
  import { A as createDataTypeLookup, B as requireValueOf, C as DataTypeSpec, D as TypeLookups, E as ListCast, F as dataTypeValuesEqual, H as requiredSchemaKeys, I as emptyCodecLookup, L as enumRefusalOf, M as dataTypeId, N as dataTypeParams, O as assembleDataTypes, P as dataTypeParamsProblem, R as objectSchemaKeys, S as DataTypeReader, T as DataTypeValue, U as schemaKeysAllowing, V as requiredParamKeys, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataType, k as assertDataTypeParams, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeSpelling, x as DataTypeParamsProblem, y as DataTypeLookup, z as readContractValue } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
2
- import { $ as GeneratorFunctionContribution, $t as isAuthoringEntityTypeDescriptor, A as AuthoringTypeAliasDescriptor, At as admittedTags, B as CastRefusal, Bt as describeRefusal, C as AuthoringModelAttributeLoweringOutput, Ct as SourceDiagnostic, D as AuthoringSelectRef, Dt as WrittenScalar, E as AuthoringPslBlockDescriptorNamespace, Et as WrittenForm, F as AuthoringTypeParamsIssue, Ft as castTypedValue, G as DataTypeAuthoringEntry, Gt as flushAuthoringWarnings, H as ControlMutationDefaultEntry, Ht as entryForPlain, I as AuthoringValueArgument, It as classifyEnumMemberType, J as DefaultFunctionLoweringContext, Jt as instantiateAuthoringFieldPreset, K as DataTypeSupport, Kt as getAuthoringTypeConstructor, L as AuthoringWarning, Lt as collectScalarTypeConstructors, M as AuthoringTypeConstructorDescriptor, Mt as assertNoCrossRegistryCollisions, N as AuthoringTypeConstructorEntityRef, Nt as assertResolvableTypeConstructorTemplates, O as AuthoringStorageTypeTemplate, Ot as WrittenValue, P as AuthoringTypeNamespace, Pt as assertTypeAliasesValid, Q as GeneratorFunctionComponent, Qt as isAuthoringArgRef, R as AuthoringWarningSink, Rt as describeAdmittedForms, S as AuthoringModelAttributeIndexOutput, St as ScalarTypeConstructorOutput, T as AuthoringPslBlockDescriptor, Tt as TypedDefaultFunctionCall, U as ControlMutationDefaultRegistry, Ut as entryForTag, V as ContributedPslDiagnosticCode, Vt as describeRefusedValueType, W as ControlMutationDefaults, Wt as exactRewrite, X as GeneratorFunctionBinding, Xt as instantiateAuthoringTypeConstructor, Y as EMPTY_GENERATOR_FUNCTIONS, Yt as instantiateAuthoringTypeAlias, Z as GeneratorFunctionCall, Zt as instantiateAuthoringTypeConstructorFromValues, _ as AuthoringFieldPresetOutput, _n as validateAuthoringHelperArguments, _t as PslPosition, a as AuthoringAttributeSpecContributions, an as isAuthoringTypeConstructorDescriptor, at as LoweredDefaultResult, b as AuthoringModelAttributeDescriptorNamespace, bt as RefusalDescription, c as AuthoringDescriptorKinds, cn as mergeAuthoringNamespaces, ct as ParsedPslExtensionBlock, d as AuthoringEntityTypeDescriptor, dn as readWrittenValueIntoCodec, dt as PslDiagnosticCode, en as isAuthoringFieldPresetDescriptor, et as GeneratorFunctionField, f as AuthoringEntityTypeFactoryOutput, fn as resolveAuthoringTemplateValue, ft as PslExtensionBlock, g as AuthoringFieldPresetDescriptor, gn as tagForm, gt as PslExtensionBlockPrintEntry, h as AuthoringFieldNamespace, hn as singleGeneratorBinding, ht as PslExtensionBlockParsedAttribute, i as AuthoringArgumentDescriptor, in as isAuthoringTypeAliasDescriptor, it as GeneratorPhase, j as AuthoringTypeAliasOutput, jt as assembleGeneratorFunctions, k as AuthoringTemplateValue, kt as admittedForms, l as AuthoringDiagnosticSink, ln as readWrittenValue, lt as PrintedArguments, m as AuthoringEntityTypeTemplateOutput, mn as resolveTypeAliasGenerators, mt as PslExtensionBlockAttributeArg, n as AssembledControlMutationDefaults, nn as isAuthoringPslBlockDescriptor, nt as GeneratorFunctionResolution, o as AuthoringColumnDefaultTemplate, on as isAuthoringTypeDescriptor, ot as LoweredDefaultValue, p as AuthoringEntityTypeNamespace, pn as resolveEnumCodecId, pt as PslExtensionBlockAttribute, q as DataTypeWrittenForm, qt as instantiateAuthoringEntityType, r as AuthoringArgRef, rn as isAuthoringSelectRef, rt as GeneratorFunctionSummary, s as AuthoringContributions, sn as knownTags, st as MutationDefaultGeneratorDescriptor, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as isAuthoringModelAttributeDescriptor, tt as GeneratorFunctionRegistry, u as AuthoringEntityContext, un as readWrittenValueAs, ut as PrintedGeneratorCall, v as AuthoringModelAttributeContext, vn as validateAuthoringTypeParams, vt as PslSpan, w as AuthoringOption, wt as SourceSpan, x as AuthoringModelAttributeEntityOutput, xt as RefusalGuidance, y as AuthoringModelAttributeDescriptor, yt as ReadRefusal, z as BindingResolution, zt as describeExpected } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
3
- import { C as timestampNowControlDescriptor, S as temporalTypeAliases, _ as resolveTemplateTagEscapes, a as TAGGED_LITERAL_MAX_BYTES, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, g as resolvePslBacktickEscapes, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, w as tsTaggedTemplateSource, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-De4oKG36-DlGYQgF1.mjs";
4
- import { C as fieldPresetSpellings, E as readEnumBlockMembers, S as enumMemberProblemDiagnostic, T as getAuthoringFieldPreset, _ as authoringTypeConstructorArguments, a as DiscriminatorField, b as duplicateStoredMembers, c as DiscriminatorVariantRefusal, d as EnumBlockDiagnostic, f as EnumBlockMember, g as applyDiscriminatorRule, h as StoredEnumMember, i as DiscriminatorDecision, l as DuplicateStoredValue, m as EnumMemberProblem, n as AuthoringTypeConstructorOutput, o as DiscriminatorFieldRefusal, p as EnumBlockSite, r as DecodedEnum, s as DiscriminatorRefusal, t as AuthoringTypeConstructorCall, u as EncodedEnumMember, v as authoringTypeConstructors, w as findAuthoringTypeConstructorCall, x as encodeEnumMembers, y as describeDiscriminatorRefusal } from "./authoring-C9wgJCNs.mjs";
2
+ import { $ as LoweredDefaultValue, $t as mergeAuthoringNamespaces, A as AuthoringWarning, At as classifyEnumMemberType, B as DataTypeWrittenForm, Bt as getAuthoringTypeConstructor, C as AuthoringTemplateValue, Ct as admittedTags, D as AuthoringTypeConstructorEntityRef, Dt as assertResolvableTypeConstructorTemplates, E as AuthoringTypeConstructorDescriptor, Et as assertNoCrossRegistryCollisions, F as ControlMutationDefaultEntry, Ft as describeRefusedValueType, G as GeneratorFunctionComponent, Gt as isAuthoringArgRef, H as EMPTY_GENERATOR_FUNCTIONS, Ht as instantiateAuthoringTypeAlias, I as ControlMutationDefaultRegistry, It as entryForPlain, J as GeneratorFunctionRegistry, Jt as isAuthoringPslBlockDescriptor, K as GeneratorFunctionContribution, Kt as isAuthoringEntityTypeDescriptor, L as ControlMutationDefaults, Lt as entryForTag, M as BindingResolution, Mt as describeAdmittedForms, N as CastRefusal, Nt as describeExpected, O as AuthoringTypeNamespace, Ot as assertTypeAliasesValid, P as ContributedPslDiagnosticCode, Pt as describeRefusal, Q as LoweredDefaultResult, Qt as knownTags, R as DataTypeAuthoringEntry, Rt as exactRewrite, S as AuthoringStorageTypeTemplate, St as admittedForms, T as AuthoringTypeAliasOutput, Tt as assertNoAuthoringFieldNamespace, U as GeneratorFunctionBinding, Ut as instantiateAuthoringTypeConstructor, V as DefaultFunctionLoweringContext, Vt as instantiateAuthoringEntityType, W as GeneratorFunctionCall, Wt as instantiateAuthoringTypeConstructorFromValues, X as GeneratorFunctionSummary, Xt as isAuthoringTypeConstructorDescriptor, Y as GeneratorFunctionResolution, Yt as isAuthoringTypeAliasDescriptor, Z as GeneratorPhase, Zt as isAuthoringTypeDescriptor, _ as AuthoringModelAttributeEntityOutput, _t as SourceSpan, a as AuthoringAttributeSpecContributions, an as resolveTypeAliasGenerators, at as PslExtensionBlock, b as AuthoringPslBlockDescriptor, bt as WrittenScalar, c as AuthoringDiagnosticSink, cn as validateAuthoringHelperArguments, ct as PslExtensionBlockParsedAttribute, d as AuthoringEntityTypeFactoryOutput, dt as PslSpan, en as readWrittenValue, et as MutationDefaultGeneratorDescriptor, f as AuthoringEntityTypeNamespace, ft as ReadRefusal, g as AuthoringModelAttributeDescriptorNamespace, gt as SourceDiagnostic, h as AuthoringModelAttributeDescriptor, ht as ScalarTypeConstructorOutput, i as AuthoringArgumentDescriptor, in as resolveEnumCodecId, it as PslDiagnosticCode, j as AuthoringWarningSink, jt as collectScalarTypeConstructors, k as AuthoringTypeParamsIssue, kt as castTypedValue, l as AuthoringEntityContext, ln as validateAuthoringTypeParams, lt as PslExtensionBlockPrintEntry, m as AuthoringModelAttributeContext, mt as RefusalGuidance, n as AssembledControlMutationDefaults, nn as readWrittenValueIntoCodec, nt as PrintedArguments, o as AuthoringContributions, on as singleGeneratorBinding, ot as PslExtensionBlockAttribute, p as AuthoringEntityTypeTemplateOutput, pt as RefusalDescription, q as GeneratorFunctionField, qt as isAuthoringModelAttributeDescriptor, r as AuthoringArgRef, rn as resolveAuthoringTemplateValue, rt as PrintedGeneratorCall, s as AuthoringDescriptorKinds, sn as tagForm, st as PslExtensionBlockAttributeArg, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as readWrittenValueAs, tt as ParsedPslExtensionBlock, u as AuthoringEntityTypeDescriptor, ut as PslPosition, v as AuthoringModelAttributeIndexOutput, vt as TypedDefaultFunctionCall, w as AuthoringTypeAliasDescriptor, wt as assembleGeneratorFunctions, x as AuthoringPslBlockDescriptorNamespace, xt as WrittenValue, y as AuthoringModelAttributeLoweringOutput, yt as WrittenForm, z as DataTypeSupport, zt as flushAuthoringWarnings } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
3
+ import { _ as tsTaggedTemplateSource, a as TIMESTAMP_NOW_GENERATOR_ID, c as assembleDataTypeSupport, d as printTaggedLiteral, f as printedTaggedLiteralReadsBack, g as timestampNowControlDescriptor, h as temporalTypeAliases, i as TAGGED_LITERAL_MAX_BYTES, l as canonicalizeTaggedLiteralBody, m as resolveTemplateTagEscapes, o as TaggedLiteralCanonicalization, p as resolvePslBacktickEscapes, r as DataTypeComponent, s as assembleAuthoringDataTypes, t as AssembledDataTypeSupport, u as describeTaggedLiteralFailure } from "./temporal-type-aliases-BIiamFSH-BrpK13hf.mjs";
4
+ import { C as findAuthoringTypeConstructorCall, S as enumMemberProblemDiagnostic, _ as authoringTypeConstructorArguments, a as DiscriminatorField, b as duplicateStoredMembers, c as DiscriminatorVariantRefusal, d as EnumBlockDiagnostic, f as EnumBlockMember, g as applyDiscriminatorRule, h as StoredEnumMember, i as DiscriminatorDecision, l as DuplicateStoredValue, m as EnumMemberProblem, n as AuthoringTypeConstructorOutput, o as DiscriminatorFieldRefusal, p as EnumBlockSite, r as DecodedEnum, s as DiscriminatorRefusal, t as AuthoringTypeConstructorCall, u as EncodedEnumMember, v as authoringTypeConstructors, w as readEnumBlockMembers, x as encodeEnumMembers, y as describeDiscriminatorRefusal } from "./authoring-C2UAuRfN.mjs";
5
5
  import { $ as validateCodecTypeParams, A as decimalTextNumberLiteral, B as printJsonText, C as castUnchanged, D as dateTimeStoredText, E as createNumberClassifier, F as isNumeralText, G as readJsonMatching, H as readJsonFloat, I as isoDateStringText, J as refuseWrongShape, K as readJsonString, L as materializeCodec, M as floatToJson, N as isIntegerIn, O as decimalTextBigintLiteral, P as isNonFiniteText, Q as storedNumeralText, R as numeralText, S as asNumeralText, T as column, U as readJsonInteger, V as readJsonBoolean, W as readJsonIntegerText, X as resolveCodecDescriptorOrThrow, Y as renderTsLiteral, Z as signedRange, _ as SAFE_INTEGER_BIGINT_RANGE, a as ColumnHelperForStrict, b as ScalarFieldDeclarationBuilder, c as DATA_TYPE_ID_PATTERN, d as INT32_RANGE, f as INT64_RANGE, g as NumberClassifierSpec, h as NumberClassification, i as ColumnHelperFor, j as floatNumberLiteral, k as decimalTextEqualityKey, l as DateTimeShape, m as IntegerStep, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as IntegerRange, q as refuseJsonValue, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as DateTimeStoredTextOptions, v as SAFE_INTEGER_RANGE, w as codecForRef, x as asFloat, y as ScalarFieldDeclaration, z as parseJsonText } from "./codec-CZ3VQq7G.mjs";
6
6
  import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-Bkh243Hv-B-fdw0Wl.mjs";
7
7
  import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
8
- import { C as checkContractComponentRequirements, S as TargetPackRef, _ as PackRefBase, a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-BhbsOiJc-BpDfGsqn.mjs";
8
+ import { C as checkContractComponentRequirements, S as TargetPackRef, _ as PackRefBase, a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-BqHA1V92-D9j8uXa-.mjs";
9
9
  import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
10
- import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-Cl5lB_Iw.mjs";
10
+ import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-BenCVFk4.mjs";
11
11
  import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-C9vDMKbg.mjs";
12
- import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-C8W7AM1f-DYtFq1nP.mjs";
12
+ import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-0oMzInxd-Nx9cHmcc.mjs";
13
13
  import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
14
- import { $ as MigrationPlanWithAuthoringSurface, $n as migrationStatementJson, $t as SchemaVerifier, A as FailedCast, An as enumValueCoordinateJson, At as PslContractInferCapable, B as MigratableTargetDescriptor, Bn as failedPrecheckWhy, Bt as RowsHoldingValue, C as CreateControlStackInput, Cn as contractSnapshotTypesSpecifier, Ct as OperationContext, D as EnumValueCoordinate, Dn as dispositionForCategory, Dt as PlanOrigin, E as EmitContractResult, En as diffSchemas, Et as OperationPreviewStatement, F as FieldCoordinateJson, Fn as extractCodecTypeImports, Ft as ResolvedFieldRenameStatement, G as MigrationOperationClass, Gn as hasPslContractInfer, Gt as SchemaLabelPart, H as MigrationDataLoss, Hn as hasMigrations, Ht as SchemaDiff, I as HelperCodecInvariantInput, In as extractComponentIds, It as ResolvedMigrationStatement, J as MigrationPackage, Jn as isRenameStatement, Jt as SchemaOwnership, K as MigrationOperationPolicy, Kn as hasSchemaSubjectClassifier, Kt as SchemaLabelPartRole, L as IntrospectSchemaResult, Ln as extractParameterizedOutputTypeImports, Lt as ResolvedModelRenameStatement, M as FailedConversion, Mn as expectAbsent, Mt as ResolvedEnumValueRenameStatement, N as FailedTypeChange, Nn as expectPresent, Nt as ResolvedFieldBackfillStatement, O as EnumValueCoordinateJson, On as enforceHelperCodecInvariants, Ot as PslContractBuildCapable, P as FieldCoordinate, Pn as extractCodecLookup, Pt as ResolvedFieldConvertStatement, Q as MigrationPlanSubjects, Qn as migrationRunnerFailure, Qt as SchemaTreeVisitor, R as KeepDataEdit, Rn as extractQueryOperationTypeImports, Rt as ResolvedNamespaceRenameStatement, S as CoreSchemaView, Sn as contractSnapshotJsonSpecifier, St as OpFactoryCall, T as DiffableNode, Tn as describeMigrationStatement, Tt as OperationPreviewCapable, U as MigrationDataLossKind, Un as hasOperationPreview, Ut as SchemaDiffIssue, V as MigrationAccessChange, Vn as fieldStatementText, Vt as RowsWithoutValue, W as MigrationMetadata, Wn as hasPslContractBuild, Wt as SchemaEntityCoordinate, X as MigrationPlanNamespaces, Xn as issueLabel, Xt as SchemaTreeNode, Y as MigrationPlan, Yn as isStorageHashHex, Yt as SchemaSubjectClassifierCapable, Z as MigrationPlanOperation, Zn as issueOutcome, Zt as SchemaTreeNodeOptions, _ as ControlFamilyDescriptor, _n as VerifyDatabaseSchemaResult, _t as MigrationTemporaryValue, a as CONTRACT_SNAPSHOTS_DIRNAME, an as SpaceSignature, ar as planOriginOf, at as MigrationRunner, b as ControlTargetDescriptor, bn as assertUniqueCodecOwner, bt as ModelCoordinate, c as ContractSpace, cn as TargetMigrationsCapability, cr as schemaIssuesWhy, ct as MigrationRunnerFailureMeta, d as ControlAdapterInstance, dn as VERIFY_CODE_SCHEMA_FAILURE, dr as withFailingSpace, dt as MigrationRunnerResult, en as SchemaVerifyOptions, er as migrationSubjectJson, et as MigrationPlanner, f as ControlDriverConnectOptions, fn as VERIFY_CODE_TARGET_MISMATCH, ft as MigrationRunnerSuccessValue, g as ControlExtensionInstance, gn as VerifyDatabaseResult, gt as MigrationSubjectJson, h as ControlExtensionDescriptor, hn as VerifierOutcome, ht as MigrationSubject, i as BlockingObject, in as SpaceMarkerConflict, ir as orderIssuesByDependencies, it as MigrationPlannerSuccessResult, j as FailedCheck, jn as enumValueStatementText, jt as PslSourceSettings, k as ExpectationFailureReason, kn as enumValueCoordinateFromJson, kt as PslContractDocument, l as ContractSpaceHeadRef, ln as VERIFY_CODE_HASH_MISMATCH, lr as storageHashHex, lt as MigrationRunnerPerSpaceOptions, m as ControlDriverInstance, mn as VerifierIssueCategory, mt as MigrationStatementJson, n as AppliedMigrationStatement, nn as SchemaViewCapable, nr as modelDisplayName, nt as MigrationPlannerFailureResult, o as CheckExpectation, on as SpaceSigned, or as sameMarkerHashes, ot as MigrationRunnerExecutionChecks, p as ControlDriverDescriptor, pn as VerificationStatus, pt as MigrationScaffoldContext, q as MigrationOperationSubject, qn as hasSchemaView, qt as SchemaNodeRef, r as AssembledAuthoringContributions, rn as SchemaViewNodeKind, rr as modelStatementText, rt as MigrationPlannerResult, s as ContractSerializer, sn as SpaceToSign, sr as schemaCheckWhy, st as MigrationRunnerFailure, t as APP_SPACE_ID, tn as SchemaVerifyResult, tr as migrationSubjectKey, tt as MigrationPlannerConflict, u as ControlAdapterDescriptor, un as VERIFY_CODE_MARKER_MISSING, ur as withDatabaseUnchanged, ut as MigrationRunnerPerSpaceSuccessValue, v as ControlFamilyInstance, vn as assembleAuthoringContributions, vt as MismatchCause, w as DiffSubjectGranularity, wn as createControlStack, wt as OperationPreview, x as ControlTargetInstance, xn as buildExtensionLoadOrder, xt as ModelCoordinateJson, y as ControlStack, yn as assembleControlMutationDefaults, yt as MismatchExplanation, z as MarkerHashes, zn as failedPostcheckWhy, zt as ResolvedRenameStatement } from "./control-Df-HE5e4.mjs";
14
+ import { $ as MigrationPlanWithAuthoringSurface, $n as migrationStatementJson, $t as SchemaVerifier, A as FailedCast, An as enumValueCoordinateJson, At as PslContractInferCapable, B as MigratableTargetDescriptor, Bn as failedPrecheckWhy, Bt as RowsHoldingValue, C as CreateControlStackInput, Cn as contractSnapshotTypesSpecifier, Ct as OperationContext, D as EnumValueCoordinate, Dn as dispositionForCategory, Dt as PlanOrigin, E as EmitContractResult, En as diffSchemas, Et as OperationPreviewStatement, F as FieldCoordinateJson, Fn as extractCodecTypeImports, Ft as ResolvedFieldRenameStatement, G as MigrationOperationClass, Gn as hasPslContractInfer, Gt as SchemaLabelPart, H as MigrationDataLoss, Hn as hasMigrations, Ht as SchemaDiff, I as HelperCodecInvariantInput, In as extractComponentIds, It as ResolvedMigrationStatement, J as MigrationPackage, Jn as isRenameStatement, Jt as SchemaOwnership, K as MigrationOperationPolicy, Kn as hasSchemaSubjectClassifier, Kt as SchemaLabelPartRole, L as IntrospectSchemaResult, Ln as extractParameterizedOutputTypeImports, Lt as ResolvedModelRenameStatement, M as FailedConversion, Mn as expectAbsent, Mt as ResolvedEnumValueRenameStatement, N as FailedTypeChange, Nn as expectPresent, Nt as ResolvedFieldBackfillStatement, O as EnumValueCoordinateJson, On as enforceHelperCodecInvariants, Ot as PslContractBuildCapable, P as FieldCoordinate, Pn as extractCodecLookup, Pt as ResolvedFieldConvertStatement, Q as MigrationPlanSubjects, Qn as migrationRunnerFailure, Qt as SchemaTreeVisitor, R as KeepDataEdit, Rn as extractQueryOperationTypeImports, Rt as ResolvedNamespaceRenameStatement, S as CoreSchemaView, Sn as contractSnapshotJsonSpecifier, St as OpFactoryCall, T as DiffableNode, Tn as describeMigrationStatement, Tt as OperationPreviewCapable, U as MigrationDataLossKind, Un as hasOperationPreview, Ut as SchemaDiffIssue, V as MigrationAccessChange, Vn as fieldStatementText, Vt as RowsWithoutValue, W as MigrationMetadata, Wn as hasPslContractBuild, Wt as SchemaEntityCoordinate, X as MigrationPlanNamespaces, Xn as issueLabel, Xt as SchemaTreeNode, Y as MigrationPlan, Yn as isStorageHashHex, Yt as SchemaSubjectClassifierCapable, Z as MigrationPlanOperation, Zn as issueOutcome, Zt as SchemaTreeNodeOptions, _ as ControlFamilyDescriptor, _n as VerifyDatabaseSchemaResult, _t as MigrationTemporaryValue, a as CONTRACT_SNAPSHOTS_DIRNAME, an as SpaceSignature, ar as planOriginOf, at as MigrationRunner, b as ControlTargetDescriptor, bn as assertUniqueCodecOwner, bt as ModelCoordinate, c as ContractSpace, cn as TargetMigrationsCapability, cr as schemaIssuesWhy, ct as MigrationRunnerFailureMeta, d as ControlAdapterInstance, dn as VERIFY_CODE_SCHEMA_FAILURE, dr as withFailingSpace, dt as MigrationRunnerResult, en as SchemaVerifyOptions, er as migrationSubjectJson, et as MigrationPlanner, f as ControlDriverConnectOptions, fn as VERIFY_CODE_TARGET_MISMATCH, ft as MigrationRunnerSuccessValue, g as ControlExtensionInstance, gn as VerifyDatabaseResult, gt as MigrationSubjectJson, h as ControlExtensionDescriptor, hn as VerifierOutcome, ht as MigrationSubject, i as BlockingObject, in as SpaceMarkerConflict, ir as orderIssuesByDependencies, it as MigrationPlannerSuccessResult, j as FailedCheck, jn as enumValueStatementText, jt as PslSourceSettings, k as ExpectationFailureReason, kn as enumValueCoordinateFromJson, kt as PslContractDocument, l as ContractSpaceHeadRef, ln as VERIFY_CODE_HASH_MISMATCH, lr as storageHashHex, lt as MigrationRunnerPerSpaceOptions, m as ControlDriverInstance, mn as VerifierIssueCategory, mt as MigrationStatementJson, n as AppliedMigrationStatement, nn as SchemaViewCapable, nr as modelDisplayName, nt as MigrationPlannerFailureResult, o as CheckExpectation, on as SpaceSigned, or as sameMarkerHashes, ot as MigrationRunnerExecutionChecks, p as ControlDriverDescriptor, pn as VerificationStatus, pt as MigrationScaffoldContext, q as MigrationOperationSubject, qn as hasSchemaView, qt as SchemaNodeRef, r as AssembledAuthoringContributions, rn as SchemaViewNodeKind, rr as modelStatementText, rt as MigrationPlannerResult, s as ContractSerializer, sn as SpaceToSign, sr as schemaCheckWhy, st as MigrationRunnerFailure, t as APP_SPACE_ID, tn as SchemaVerifyResult, tr as migrationSubjectKey, tt as MigrationPlannerConflict, u as ControlAdapterDescriptor, un as VERIFY_CODE_MARKER_MISSING, ur as withDatabaseUnchanged, ut as MigrationRunnerPerSpaceSuccessValue, v as ControlFamilyInstance, vn as assembleAuthoringContributions, vt as MismatchCause, w as DiffSubjectGranularity, wn as createControlStack, wt as OperationPreview, x as ControlTargetInstance, xn as buildExtensionLoadOrder, xt as ModelCoordinateJson, y as ControlStack, yn as assembleControlMutationDefaults, yt as MismatchExplanation, z as MarkerHashes, zn as failedPostcheckWhy, zt as ResolvedRenameStatement } from "./control-CS1uqJj_.mjs";
15
15
  import "./emission-ByTWEe2j.mjs";
16
- import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-CgR7dFMU.mjs";
16
+ import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-BWR_z8XI.mjs";
17
17
  import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
18
18
  import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b as freezeNode, c as NamespaceBase, d as Storage, f as StorageType, g as coordinateKey, h as buildSingleNamespaceView, i as EntityKindDescriptor, l as NamespacedEntities, m as buildNamespacedEntities, n as DefaultNamespaceEntries, o as IRNodeBase, p as UNBOUND_NAMESPACE_ID, r as EntityCoordinate, s as Namespace, t as AnyEntityKindDescriptor, u as SingleNamespaceView, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-LV4tXsw3.mjs";
19
- import "./psl-ast-sZ1tAYRc.mjs";
19
+ import "./psl-ast-CFQfCJeM.mjs";
20
20
  import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-CTJc8PII.mjs";
21
21
  import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
22
- export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringValueArgument, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DateTimeShape, type DateTimeStoredTextOptions, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withDatabaseUnchanged, withFailingSpace };
22
+ export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DateTimeShape, type DateTimeStoredTextOptions, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withDatabaseUnchanged, withFailingSpace };