@prisma/orm-family-sql 8.0.0-rc.19-dev.10 → 8.0.0-rc.19-dev.12

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 (141) hide show
  1. package/dist/{ast-De1p3DM9.d.mts → ast-YEMe_B8z.d.mts} +3 -3
  2. package/dist/{ast-De1p3DM9.d.mts.map → ast-YEMe_B8z.d.mts.map} +1 -1
  3. package/dist/{attribute-specs-CTEOxEJS.d.mts → attribute-specs-DA_RwQFB.d.mts} +4 -4
  4. package/dist/{attribute-specs-CTEOxEJS.d.mts.map → attribute-specs-DA_RwQFB.d.mts.map} +1 -1
  5. package/dist/{authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts → authoring-entity-types-CgKIgWq5-pEdfjam5.d.mts} +2 -2
  6. package/dist/{authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts.map → authoring-entity-types-CgKIgWq5-pEdfjam5.d.mts.map} +1 -1
  7. package/dist/builder.d.mts +3 -3
  8. package/dist/builder__runtime.d.mts +9 -9
  9. package/dist/builder__types.d.mts +5 -5
  10. package/dist/collection-methods-BB8YH69u.d.mts +1 -0
  11. package/dist/{collection-methods-D2UnCS0S-CjdGDJ5y.d.mts → collection-methods-D2UnCS0S-DOy2qHYS.d.mts} +3 -3
  12. package/dist/{collection-methods-D2UnCS0S-CjdGDJ5y.d.mts.map → collection-methods-D2UnCS0S-DOy2qHYS.d.mts.map} +1 -1
  13. package/dist/{config-types-DGD0sYRS.d.mts → config-types-C-1mIiJO.d.mts} +3 -3
  14. package/dist/{config-types-DGD0sYRS.d.mts.map → config-types-C-1mIiJO.d.mts.map} +1 -1
  15. package/dist/{contract-builder-Dp7AOnHB.mjs → contract-builder-50lF0kz1.mjs} +26 -24
  16. package/dist/contract-builder-50lF0kz1.mjs.map +1 -0
  17. package/dist/{contract-builder-BrpdASoV.d.mts → contract-builder-C_Zi57iD.d.mts} +34 -26
  18. package/dist/contract-builder-C_Zi57iD.d.mts.map +1 -0
  19. package/dist/contract-prisma7__provider.d.mts +1 -1
  20. package/dist/contract-prisma7__provider.mjs +1 -1
  21. package/dist/contract-psl.d.mts +2 -2
  22. package/dist/contract-psl.mjs +1 -1
  23. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  24. package/dist/contract-psl__provider.d.mts +1 -1
  25. package/dist/contract-psl__provider.mjs +1 -1
  26. package/dist/contract-psl__provider.mjs.map +1 -1
  27. package/dist/contract-ts.d.mts +3 -3
  28. package/dist/contract-ts.mjs +1 -1
  29. package/dist/contract-ts__config-types.d.mts +1 -1
  30. package/dist/contract-ts__contract-builder.d.mts +2 -2
  31. package/dist/contract-ts__contract-builder.mjs +1 -1
  32. package/dist/contract.d.mts +2 -2
  33. package/dist/contract__types.d.mts +2 -2
  34. package/dist/{control-ba0_VwlQ.mjs → control-BK50zF6c.mjs} +2 -2
  35. package/dist/{control-ba0_VwlQ.mjs.map → control-BK50zF6c.mjs.map} +1 -1
  36. package/dist/{control-0cDzwyu1.d.mts → control-ChAUdOOu.d.mts} +12 -12
  37. package/dist/{control-0cDzwyu1.d.mts.map → control-ChAUdOOu.d.mts.map} +1 -1
  38. package/dist/{control-adapter-Bn0uhplA-DYCjJlfN.d.mts → control-adapter-Bn0uhplA-BzP2uPqJ.d.mts} +5 -5
  39. package/dist/{control-adapter-Bn0uhplA-DYCjJlfN.d.mts.map → control-adapter-Bn0uhplA-BzP2uPqJ.d.mts.map} +1 -1
  40. package/dist/{control-adapter-BLLXAM9_.d.mts → control-adapter-NZ2kKc4x.d.mts} +2 -2
  41. package/dist/{control-adapter-BLLXAM9_.d.mts.map → control-adapter-NZ2kKc4x.d.mts.map} +1 -1
  42. package/dist/{db-BmrN9nRS-BKdvl6Lv.d.mts → db-D1d75IvM-D4mRDC6w.d.mts} +21 -16
  43. package/dist/db-D1d75IvM-D4mRDC6w.d.mts.map +1 -0
  44. package/dist/{ddl-types-By5mT2_S-CEkSuvfl.d.mts → ddl-types-By5mT2_S-CdaaFvsX.d.mts} +3 -3
  45. package/dist/{ddl-types-By5mT2_S-CEkSuvfl.d.mts.map → ddl-types-By5mT2_S-CdaaFvsX.d.mts.map} +1 -1
  46. package/dist/{derived-checks-DpPkO6Dt-BzFrQoFZ.d.mts → derived-checks-DpPkO6Dt-9U9UJZOo.d.mts} +2 -2
  47. package/dist/{derived-checks-DpPkO6Dt-BzFrQoFZ.d.mts.map → derived-checks-DpPkO6Dt-9U9UJZOo.d.mts.map} +1 -1
  48. package/dist/{diff-DnJBqc_l.d.mts → diff-1qHOLoUB.d.mts} +4 -4
  49. package/dist/{diff-DnJBqc_l.d.mts.map → diff-1qHOLoUB.d.mts.map} +1 -1
  50. package/dist/{expression-6ld_ZQL6-Brvfpjqy.d.mts → expression-6ld_ZQL6-fOuazzzm.d.mts} +5 -5
  51. package/dist/{expression-6ld_ZQL6-Brvfpjqy.d.mts.map → expression-6ld_ZQL6-fOuazzzm.d.mts.map} +1 -1
  52. package/dist/{expression-CieaNuRM-CI_2zExe.d.mts → expression-CieaNuRM-B1uVqxwd.d.mts} +3 -3
  53. package/dist/{expression-CieaNuRM-CI_2zExe.d.mts.map → expression-CieaNuRM-B1uVqxwd.d.mts.map} +1 -1
  54. package/dist/expression-D8HstQiB.d.mts +2 -0
  55. package/dist/family.d.mts +9 -9
  56. package/dist/family.mjs +3 -3
  57. package/dist/family__control-adapter.d.mts +2 -2
  58. package/dist/family__control.d.mts +3 -3
  59. package/dist/family__control.mjs +1 -1
  60. package/dist/family__diff.d.mts +1 -1
  61. package/dist/family__ir.d.mts +1 -1
  62. package/dist/family__migration.d.mts +1 -1
  63. package/dist/family__pack.d.mts +1 -1
  64. package/dist/family__pack.mjs +2 -2
  65. package/dist/{functions-CRvEdiQM.d.mts → functions-EW-RrRn3.d.mts} +5 -5
  66. package/dist/{functions-CRvEdiQM.d.mts.map → functions-EW-RrRn3.d.mts.map} +1 -1
  67. package/dist/{generator-functions-D_qdqBV--B2Q0WOf5.mjs → generator-functions-D_qdqBV--Bq296cED.mjs} +2 -2
  68. package/dist/{generator-functions-D_qdqBV--B2Q0WOf5.mjs.map → generator-functions-D_qdqBV--Bq296cED.mjs.map} +1 -1
  69. package/dist/{index-ClfuhAEt.d.mts → index-7nHHQsAj.d.mts} +19 -19
  70. package/dist/{index-ClfuhAEt.d.mts.map → index-7nHHQsAj.d.mts.map} +1 -1
  71. package/dist/{index-CUG8HKk_.d.mts → index-Nqc3OHR_.d.mts} +2 -2
  72. package/dist/{index-CUG8HKk_.d.mts.map → index-Nqc3OHR_.d.mts.map} +1 -1
  73. package/dist/{index-reference-4wsdeB7v-BTOzTNIT.d.mts → index-reference-4wsdeB7v-DCwswK-q.d.mts} +3 -3
  74. package/dist/{index-reference-4wsdeB7v-BTOzTNIT.d.mts.map → index-reference-4wsdeB7v-DCwswK-q.d.mts.map} +1 -1
  75. package/dist/index-reference-D8ewQRJr.d.mts +1 -0
  76. package/dist/{interpreter-BDpym-rc-C3-vTcej.mjs → interpreter-D5qk4B---CG0C7kdx.mjs} +17 -18
  77. package/dist/interpreter-D5qk4B---CG0C7kdx.mjs.map +1 -0
  78. package/dist/{ir-VGuTeCGp.d.mts → ir-BvptQsFW.d.mts} +2 -2
  79. package/dist/{ir-VGuTeCGp.d.mts.map → ir-BvptQsFW.d.mts.map} +1 -1
  80. package/dist/{middleware-DHkW6pRr-B67Dujfd.d.mts → middleware-DHkW6pRr-DM6hd9iZ.d.mts} +2 -2
  81. package/dist/{middleware-DHkW6pRr-B67Dujfd.d.mts.map → middleware-DHkW6pRr-DM6hd9iZ.d.mts.map} +1 -1
  82. package/dist/middleware-gqy3l13N.d.mts +1 -0
  83. package/dist/{migration-CXZQR3C_.d.mts → migration-Cxmpzaz0.d.mts} +3 -3
  84. package/dist/{migration-CXZQR3C_.d.mts.map → migration-Cxmpzaz0.d.mts.map} +1 -1
  85. package/dist/operations.d.mts +1 -1
  86. package/dist/orm-client.d.mts +20 -35
  87. package/dist/orm-client.d.mts.map +1 -1
  88. package/dist/{pack-CGcsowo7.d.mts → pack-DA8HZ2mo.d.mts} +3 -3
  89. package/dist/{pack-CGcsowo7.d.mts.map → pack-DA8HZ2mo.d.mts.map} +1 -1
  90. package/dist/{pack-vaUY9-7E.mjs → pack-gSvGQWqs.mjs} +2 -2
  91. package/dist/{pack-vaUY9-7E.mjs.map → pack-gSvGQWqs.mjs.map} +1 -1
  92. package/dist/{plan-Cr4azjnG-B5MWRcqp.d.mts → plan-Cr4azjnG-CuL8FqXC.d.mts} +3 -3
  93. package/dist/{plan-Cr4azjnG-B5MWRcqp.d.mts.map → plan-Cr4azjnG-CuL8FqXC.d.mts.map} +1 -1
  94. package/dist/plan-Di6Gs2JD.d.mts +2 -0
  95. package/dist/{psl-column-resolution-ChZqioOc-DkKTu21I.d.mts → psl-column-resolution-ChZqioOc-BREg4J7d.d.mts} +2 -2
  96. package/dist/{psl-column-resolution-ChZqioOc-DkKTu21I.d.mts.map → psl-column-resolution-ChZqioOc-BREg4J7d.d.mts.map} +1 -1
  97. package/dist/{query-lane-context-BCEoKy0_-CBzNngG3.d.mts → query-lane-context-BCEoKy0_-CzmyavC9.d.mts} +6 -6
  98. package/dist/{query-lane-context-BCEoKy0_-CBzNngG3.d.mts.map → query-lane-context-BCEoKy0_-CzmyavC9.d.mts.map} +1 -1
  99. package/dist/query-lane-context-VqH0mS9B.d.mts +1 -0
  100. package/dist/relational-core.d.mts +12 -12
  101. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  102. package/dist/relational-core__ast.d.mts +3 -3
  103. package/dist/relational-core__codec-descriptor-registry.d.mts +3 -3
  104. package/dist/relational-core__collection-methods.d.mts +2 -2
  105. package/dist/relational-core__contract-free.d.mts +3 -3
  106. package/dist/relational-core__expression.d.mts +3 -3
  107. package/dist/relational-core__functions.d.mts +1 -1
  108. package/dist/relational-core__index-reference.d.mts +2 -2
  109. package/dist/relational-core__middleware.d.mts +2 -2
  110. package/dist/relational-core__plan.d.mts +3 -3
  111. package/dist/relational-core__query-lane-context.d.mts +2 -2
  112. package/dist/relational-core__types.d.mts +2 -2
  113. package/dist/runtime.d.mts +4 -4
  114. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  115. package/dist/{schema-differ-DmP74bB8-Be7PDHNx.d.mts → schema-differ-DmP74bB8-tqHKiJ88.d.mts} +2 -2
  116. package/dist/{schema-differ-DmP74bB8-Be7PDHNx.d.mts.map → schema-differ-DmP74bB8-tqHKiJ88.d.mts.map} +1 -1
  117. package/dist/{sql-execution-plan-3uxYjHyu-Cl0eB5av.d.mts → sql-execution-plan-3uxYjHyu-DLknM-Pj.d.mts} +2 -2
  118. package/dist/{sql-execution-plan-3uxYjHyu-Cl0eB5av.d.mts.map → sql-execution-plan-3uxYjHyu-DLknM-Pj.d.mts.map} +1 -1
  119. package/dist/{transaction-state-DR3nKTmH-Dcu5lbwd.d.mts → transaction-state-DR3nKTmH-D29jmVE-.d.mts} +9 -9
  120. package/dist/{transaction-state-DR3nKTmH-Dcu5lbwd.d.mts.map → transaction-state-DR3nKTmH-D29jmVE-.d.mts.map} +1 -1
  121. package/dist/types-B9wSEUsV.d.mts +1 -0
  122. package/dist/{types-B0J6ZASy.d.mts → types-CkAd8SWm.d.mts} +29 -2
  123. package/dist/{types-B0J6ZASy.d.mts.map → types-CkAd8SWm.d.mts.map} +1 -1
  124. package/dist/{types-Cq6ImLAB-BRpWMRJe.d.mts → types-Cq6ImLAB-RlU4jJAX.d.mts} +4 -4
  125. package/dist/{types-Cq6ImLAB-BRpWMRJe.d.mts.map → types-Cq6ImLAB-RlU4jJAX.d.mts.map} +1 -1
  126. package/dist/{types-DriMIMNQ-Cs5YW-O-.d.mts → types-DriMIMNQ-BkbsW7w3.d.mts} +2 -2
  127. package/dist/{types-DriMIMNQ-Cs5YW-O-.d.mts.map → types-DriMIMNQ-BkbsW7w3.d.mts.map} +1 -1
  128. package/dist/{types-TXO7x1BA-B8fGzOYJ.d.mts → types-TXO7x1BA-CYYIY8NI.d.mts} +7 -7
  129. package/dist/{types-TXO7x1BA-B8fGzOYJ.d.mts.map → types-TXO7x1BA-CYYIY8NI.d.mts.map} +1 -1
  130. package/package.json +18 -18
  131. package/dist/collection-methods-Bc8v7iVP.d.mts +0 -1
  132. package/dist/contract-builder-BrpdASoV.d.mts.map +0 -1
  133. package/dist/contract-builder-Dp7AOnHB.mjs.map +0 -1
  134. package/dist/db-BmrN9nRS-BKdvl6Lv.d.mts.map +0 -1
  135. package/dist/expression-kBtMHj-W.d.mts +0 -2
  136. package/dist/index-reference-DFUfnGcB.d.mts +0 -1
  137. package/dist/interpreter-BDpym-rc-C3-vTcej.mjs.map +0 -1
  138. package/dist/middleware-D5UhS_mW.d.mts +0 -1
  139. package/dist/plan-cqtZBj5m.d.mts +0 -2
  140. package/dist/query-lane-context-DElm2VXX.d.mts +0 -1
  141. package/dist/types-CwP7Hgmt.d.mts +0 -1
@@ -1,6 +1,6 @@
1
- import { Dt as ProjectionItem, E as CodecRef$1, ft as LockWaitPolicy, gt as LoweredStatement, h as AnyQueryAst, m as AnyParamRef } from "./types-DriMIMNQ-Cs5YW-O-.mjs";
1
+ import { Dt as ProjectionItem, E as CodecRef$1, ft as LockWaitPolicy, gt as LoweredStatement, h as AnyQueryAst, m as AnyParamRef } from "./types-DriMIMNQ-BkbsW7w3.mjs";
2
2
  import { c as SqlQueryable } from "./driver-types-DRsYeq3j-BimeCnUk.mjs";
3
- import "./ddl-types-By5mT2_S-CEkSuvfl.mjs";
3
+ import "./ddl-types-By5mT2_S-CdaaFvsX.mjs";
4
4
  import { StructuredError } from "@prisma/orm-framework/utils/structured-error";
5
5
  import { CodecCallContext, CodecDescriptorTemplateImpl, CodecImpl, CodecInstanceContext, CodecLookupWithDescriptors, DataTypeValue } from "@prisma/orm-framework/components/codec";
6
6
  import { ColumnDefaultLiteralInputValue, ContractMarkerRecord, JsonValue } from "@prisma/orm-framework/contract/types";
@@ -289,4 +289,4 @@ declare function collectOrderedParamRefs(ast: AnyQueryAst): ReadonlyArray<AnyPar
289
289
  declare function isAggregateProjection(item: ProjectionItem): boolean;
290
290
  //#endregion
291
291
  export { sqlIntDescriptor as $, SqlTextDescriptor as A, lockStrengthCapabilities as B, SqlFloatCodec as C, SqlRawCodec as D, SqlIntDescriptor as E, encodeListLiteralDefault as F, sqlCharDescriptor as G, missingCapability as H, encodeLiteralDefault as I, sqlFloatDecode as J, sqlCharEncode as K, isAggregateProjection as L, SqlVarcharDescriptor as M, collectOrderedParamRefs as N, SqlRawDescriptor as O, compact as P, sqlIntDecode as Q, lockIncompatible as R, SqlCharDescriptor as S, SqlIntCodec as T, sqlCharColumn as U, lockWaitPolicyOf as V, sqlCharDecode as W, sqlFloatEncode as X, sqlFloatDescriptor as Y, sqlIntColumn as Z, SQL_INT_CODEC_ID as _, EncodedLiteralDefault as a, sqlTextDescriptor as at, SQL_VARCHAR_CODEC_ID as b, LockOptionCapabilities as c, sqlVarcharDecode as ct, LockWaitRequest as d, sqlIntEncode as et, Lowerer as f, SQL_FLOAT_CODEC_ID as g, SQL_CHAR_CODEC_ID as h, CapabilityRequirement as i, sqlTextDecode as it, SqlVarcharCodec as j, SqlTextCodec as k, LockStrengthCapabilities as l, sqlVarcharDescriptor as lt, MarkerReadResult as m, AdapterProfile as n, sqlRawDescriptor as nt, LiteralDefaultColumn as o, sqlTextEncode as ot, LowererContext as p, sqlFloatColumn as q, AdapterTarget as r, sqlTextColumn as rt, LockConflict as s, sqlVarcharColumn as st, Adapter as t, sqlRawColumn as tt, LockWaitOptions as u, sqlVarcharEncode as ut, SQL_RAW_CODEC_ID as v, SqlFloatDescriptor as w, SqlCharCodec as x, SQL_TEXT_CODEC_ID as y, lockOptionCapabilities as z };
292
- //# sourceMappingURL=ast-De1p3DM9.d.mts.map
292
+ //# sourceMappingURL=ast-YEMe_B8z.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ast-De1p3DM9.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/exports/ast.d.mts"],"mappings":";;;;;;;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,gBAAgB;;cAEpB,0BAA0B,4BAA4B;WACzD;WACA;WACA;EACT,QAAQ,SAAS,gBAAgB,KAAK,yBAAyB;;cAEnD,mBAAmB;cACnB,gBAAgB,SAAS,gEAAgE,WAAW,cAAc;cAClH,wBAAwB,iBAAiB;EACrD,OAAO,eAAe,MAAM,mBAAqB;EACjD,SAAS,cAAc,MAAM,mBAAqB;EAClD,kBAAkB,OAAO;EACzB,gBAAgB,gBAAgB;;cAEpB,6BAA6B,4BAA4B;WAC5D;WACA;WACA;EACT,QAAQ,SAAS,gBAAgB,KAAK,yBAAyB;;cAEnD,sBAAsB;cACtB,mBAAmB,SAAS,gEAAgE,WAAW,iBAAiB;KACjI;WACM;;;;;;;;cAQG,oBAAoB,iBAAiB;EACjD,OAAO,gBAAgB,MAAM,mBAAqB;EAClD,SAAS,eAAe,MAAM,mBAAqB;EACnD,kBAAkB,OAAO;EACzB,gBAAgB,iBAAiB;;cAErB,yBAAyB,4BAA4B;WACxD;WACA;WACA;WACA;EACT,QAAQ,SAAS,aAAa,KAAK,yBAAyB;;cAEhD,kBAAkB;cAClB,eAAe,+DAA+D,WAAW;EACrG;;;;iBAIe,QAAQ,UAAU,yBAAyB,GAAG,IAAI;;;;;;;;;;;iBAWlD,wBAAwB,KAAK,cAAc,cAAc;;iBAEzD,sBAAsB,MAAM"}
@@ -1,10 +1,10 @@
1
- import "./contract-builder-BrpdASoV.mjs";
2
- import "./psl-column-resolution-ChZqioOc-DkKTu21I.mjs";
1
+ import "./contract-builder-C_Zi57iD.mjs";
2
+ import "./psl-column-resolution-ChZqioOc-BREg4J7d.mjs";
3
3
  import { DataTypeSupport } from "@prisma/orm-framework/components/authoring";
4
4
  import { PslSources } from "@prisma/orm-framework/psl-parser/syntax";
5
+ import "@prisma/orm-framework/components/psl-ast";
5
6
  import { ControlMutationDefaultEntry } from "@prisma/orm-framework/components/control";
6
7
  import { ArgType, AttributeCtx, AttributeSpec, AttributeSpecContext, DescribeUnsupportedAttribute, FieldAttributeCtx, FieldAttributeSpecContext, FuncCallSig, ModelAttributeCtx, ModelSymbol, ParsedWrittenList, ParsedWrittenScalar, PslSpan, TypedFuncCall } from "@prisma/orm-framework/psl-parser";
7
- import "@prisma/orm-framework/components/psl-ast";
8
8
  //#region ../../../2-sql-family/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts
9
9
  //#region src/sql-attribute-specs.d.ts
10
10
  interface EnumMemberDefault {
@@ -111,4 +111,4 @@ declare const sqlAttributeSpecs: {
111
111
  declare function describeUnsupportedSqlAttribute(sources: PslSources): DescribeUnsupportedAttribute;
112
112
  //#endregion
113
113
  export { EnumMemberListDefault as a, sqlAttributeSpecs as c, EnumMemberDefault as i, DefaultFunctionCall as n, ParsedNullLiteral as o, DefaultFunctionSignature as r, defaultFunctionCall as s, describeUnsupportedSqlAttribute as t };
114
- //# sourceMappingURL=attribute-specs-CTEOxEJS.d.mts.map
114
+ //# sourceMappingURL=attribute-specs-DA_RwQFB.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attribute-specs-CTEOxEJS.d.mts","names":[],"sources":["../../../../2-sql-family/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts","../../../../2-sql-family/2-authoring/contract-psl/dist/attribute-specs.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;;;UAGD;WACC;WACA,MAAM;;;UAGP;WACC;WACA,oBAAoB,oBAAoB;;;UAGzC;WACC;WACA,MAAM;;KAEZ,kBAAkB,sBAAsB,oBAAoB,kBAAkB,sBAAsB,qBAAqB,sBAAsB,oBAAoB;;KAEnK,2BAA2B,gBAAgB,WAAW,oBAAoB;;;;iBAI9D,oBAAoB,cAAc,OAAO,6BAA6B,WAAW,kBAAkB,QAAQ,eAAe;iBAC1H,eAAe,KAAK,uBAAuB;EAC1D;WACS,4CAA4C;WAC5C,uCAAuC;WACvC;WACA;WACA;WACA;WACA,UAAU;GAClB;iBACc,eAAe,KAAK,uBAAuB;WACjD,2CAA2C;WAC3C;WACA;GACR;;cAEW;WACH;aACE,MAAM,MAAM,yBAAyB;MAC5C;OACC;aACM,KAAK,MAAM,yBAAyB;MAC3C;eACS;OACR;aACM,SAAS,MAAM,yBAAyB;MAC/C;eACS;OACR;aACM,cAAc;aACd,cAAc;aACd,UAAU,MAAM,yBAAyB;MAChD;OACC;aACM,gBAAgB,MAAM,yBAAyB;MACtD;OACC;aACM,OAAO,MAAM,yBAAyB;MAC7C,qCAAqC,wBAAwB;MAC7D,OAAO;OACN;;WAEI;aACE,MAAM,MAAM,8BAA8B;MACjD;OACC;aACM,KAAK,MAAM,8BAA8B;eACvC;OACR;aACM,SAAS,MAAM,8BAA8B;eAC3C;OACR;aACM,WAAW,MAAM,8BAA8B;MACtD;eACS;eACA;eACA;eACA;eACA;eACA;OACR;aACM,UAAU,KAAK,8BAA8B;MACpD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;;;;;;iBC3FU,gCAAgC,SAAS,aAAa"}
1
+ {"version":3,"file":"attribute-specs-DA_RwQFB.d.mts","names":[],"sources":["../../../../2-sql-family/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts","../../../../2-sql-family/2-authoring/contract-psl/dist/attribute-specs.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;;;UAGD;WACC;WACA,MAAM;;;UAGP;WACC;WACA,oBAAoB,oBAAoB;;;UAGzC;WACC;WACA,MAAM;;KAEZ,kBAAkB,sBAAsB,oBAAoB,kBAAkB,sBAAsB,qBAAqB,sBAAsB,oBAAoB;;KAEnK,2BAA2B,gBAAgB,WAAW,oBAAoB;;;;iBAI9D,oBAAoB,cAAc,OAAO,6BAA6B,WAAW,kBAAkB,QAAQ,eAAe;iBAC1H,eAAe,KAAK,uBAAuB;EAC1D;WACS,4CAA4C;WAC5C,uCAAuC;WACvC;WACA;WACA;WACA;WACA,UAAU;GAClB;iBACc,eAAe,KAAK,uBAAuB;WACjD,2CAA2C;WAC3C;WACA;GACR;;cAEW;WACH;aACE,MAAM,MAAM,yBAAyB;MAC5C;OACC;aACM,KAAK,MAAM,yBAAyB;MAC3C;eACS;OACR;aACM,SAAS,MAAM,yBAAyB;MAC/C;eACS;OACR;aACM,cAAc;aACd,cAAc;aACd,UAAU,MAAM,yBAAyB;MAChD;OACC;aACM,gBAAgB,MAAM,yBAAyB;MACtD;OACC;aACM,OAAO,MAAM,yBAAyB;MAC7C,qCAAqC,wBAAwB;MAC7D,OAAO;OACN;;WAEI;aACE,MAAM,MAAM,8BAA8B;MACjD;OACC;aACM,KAAK,MAAM,8BAA8B;eACvC;OACR;aACM,SAAS,MAAM,8BAA8B;eAC3C;OACR;aACM,WAAW,MAAM,8BAA8B;MACtD;eACS;eACA;eACA;eACA;eACA;eACA;OACR;aACM,UAAU,KAAK,8BAA8B;MACpD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;;;;;;iBC3FU,gCAAgC,SAAS,aAAa"}
@@ -1,4 +1,4 @@
1
- import "./contract-builder-BrpdASoV.mjs";
1
+ import "./contract-builder-C_Zi57iD.mjs";
2
2
  import "@prisma/orm-framework/components/authoring";
3
3
  import "@prisma/orm-framework/psl-parser";
4
4
  //#region ../../../2-sql-family/9-family/dist/authoring-entity-types-CgKIgWq5.d.mts
@@ -6,4 +6,4 @@ import "@prisma/orm-framework/psl-parser";
6
6
  declare function sqlFamilyEnumSpec(): import("@prisma/orm-framework/psl-parser").MapBlockSpec<Record<string, string | number | boolean | import("@prisma/orm-framework/components/authoring").WrittenScalar | (string | number | boolean | import("@prisma/orm-framework/components/authoring").WrittenScalar)[] | undefined>>;
7
7
  //#endregion
8
8
  export { sqlFamilyEnumSpec as t };
9
- //# sourceMappingURL=authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts.map
9
+ //# sourceMappingURL=authoring-entity-types-CgKIgWq5-pEdfjam5.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/authoring-entity-types-CgKIgWq5.d.mts"],"mappings":";;;;;iBAIiB,oDAAoD,aAAa,8FAA8F,gGAAgG"}
1
+ {"version":3,"file":"authoring-entity-types-CgKIgWq5-pEdfjam5.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/authoring-entity-types-CgKIgWq5.d.mts"],"mappings":";;;;;iBAIiB,oDAAoD,aAAa,8FAA8F,gGAAgG"}
@@ -1,4 +1,4 @@
1
- import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-Brvfpjqy.mjs";
2
- import { a as Subquery, r as Functions } from "./functions-CRvEdiQM.mjs";
3
- import { C as WhereFilter, S as UpdateQuery, d as QueryContext, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, o as GatedMethod, r as Db, s as GroupedQuery, t as AggregateFunctions, y as TableProxy } from "./db-BmrN9nRS-BKdvl6Lv.mjs";
1
+ import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-fOuazzzm.mjs";
2
+ import { a as Subquery, r as Functions } from "./functions-EW-RrRn3.mjs";
3
+ import { C as WhereFilter, S as UpdateQuery, d as QueryContext, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, o as GatedMethod, r as Db, s as GroupedQuery, t as AggregateFunctions, y as TableProxy } from "./db-D1d75IvM-D4mRDC6w.mjs";
4
4
  export type { AggregateFunctions, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, InsertQuery, QueryContext, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableProxy, UpdateQuery, WhereFilter };
@@ -1,13 +1,13 @@
1
1
  import { l as SqlStorage } from "./sql-storage-DeCAh5Hi-CEM-m8cs.mjs";
2
- import "./types-B0J6ZASy.mjs";
3
- import { i as SqlOperationEntry } from "./index-CUG8HKk_.mjs";
4
- import { l as RawCodecInferer } from "./expression-6ld_ZQL6-Brvfpjqy.mjs";
5
- import { t as ExpressionImpl } from "./expression-CieaNuRM-CI_2zExe.mjs";
6
- import "./expression-kBtMHj-W.mjs";
7
- import { s as createFunctions } from "./functions-CRvEdiQM.mjs";
8
- import { a as FieldProxy, b as TableProxyContract, d as QueryContext, f as RawLane, h as Scope, r as Db, t as AggregateFunctions } from "./db-BmrN9nRS-BKdvl6Lv.mjs";
9
- import { a as SqlAggregateDescriptorRegistry, n as ExecutionContext } from "./query-lane-context-BCEoKy0_-CBzNngG3.mjs";
10
- import "./query-lane-context-DElm2VXX.mjs";
2
+ import "./types-CkAd8SWm.mjs";
3
+ import { i as SqlOperationEntry } from "./index-Nqc3OHR_.mjs";
4
+ import { l as RawCodecInferer } from "./expression-6ld_ZQL6-fOuazzzm.mjs";
5
+ import { t as ExpressionImpl } from "./expression-CieaNuRM-B1uVqxwd.mjs";
6
+ import "./expression-D8HstQiB.mjs";
7
+ import { s as createFunctions } from "./functions-EW-RrRn3.mjs";
8
+ import { a as FieldProxy, b as TableProxyContract, d as QueryContext, f as RawLane, h as Scope, r as Db, t as AggregateFunctions } from "./db-D1d75IvM-D4mRDC6w.mjs";
9
+ import { a as SqlAggregateDescriptorRegistry, n as ExecutionContext } from "./query-lane-context-BCEoKy0_-CzmyavC9.mjs";
10
+ import "./query-lane-context-VqH0mS9B.mjs";
11
11
  import { Contract } from "@prisma/orm-framework/contract/types";
12
12
  //#region ../../../2-sql-family/4-lanes/sql-builder/dist/runtime/index.d.mts
13
13
  //#region src/runtime/field-proxy.d.ts
@@ -1,6 +1,6 @@
1
- import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-Brvfpjqy.mjs";
2
- import { a as Subquery, r as Functions, t as BooleanCodecType } from "./functions-CRvEdiQM.mjs";
3
- import { t as IndexReference } from "./index-reference-4wsdeB7v-BTOzTNIT.mjs";
4
- import "./index-reference-DFUfnGcB.mjs";
5
- import { C as WhereFilter, S as UpdateQuery, _ as TableInAnyNamespace, b as TableProxyContract, c as IndexReferences, d as QueryContext, f as RawLane, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, n as ContractRawTag, o as GatedMethod, p as RawTagFor, r as Db, s as GroupedQuery, t as AggregateFunctions, u as Namespace, v as TableNamesAcrossNamespaces, x as UnboundTables, y as TableProxy } from "./db-BmrN9nRS-BKdvl6Lv.mjs";
1
+ import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-fOuazzzm.mjs";
2
+ import { a as Subquery, r as Functions, t as BooleanCodecType } from "./functions-EW-RrRn3.mjs";
3
+ import { t as IndexReference } from "./index-reference-4wsdeB7v-DCwswK-q.mjs";
4
+ import "./index-reference-D8ewQRJr.mjs";
5
+ import { C as WhereFilter, S as UpdateQuery, _ as TableInAnyNamespace, b as TableProxyContract, c as IndexReferences, d as QueryContext, f as RawLane, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, n as ContractRawTag, o as GatedMethod, p as RawTagFor, r as Db, s as GroupedQuery, t as AggregateFunctions, u as Namespace, v as TableNamesAcrossNamespaces, x as UnboundTables, y as TableProxy } from "./db-D1d75IvM-D4mRDC6w.mjs";
6
6
  export type { AggregateFunctions, BooleanCodecType, ContractRawTag, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, IndexReference, IndexReferences, InsertQuery, Namespace, QueryContext, RawLane, RawTagFor, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableInAnyNamespace, TableNamesAcrossNamespaces, TableProxy, TableProxyContract, UnboundTables, UpdateQuery, WhereFilter };
@@ -0,0 +1 @@
1
+ import "./collection-methods-D2UnCS0S-DOy2qHYS.mjs";
@@ -1,6 +1,6 @@
1
1
  import { r as StorageTable } from "./storage-table-Bf1ZjnxO-pUj6pyP0.mjs";
2
- import "./types-B0J6ZASy.mjs";
3
- import { t as IndexReference } from "./index-reference-4wsdeB7v-BTOzTNIT.mjs";
2
+ import "./types-CkAd8SWm.mjs";
3
+ import { t as IndexReference } from "./index-reference-4wsdeB7v-DCwswK-q.mjs";
4
4
  import { ContractField, ContractRelation } from "@prisma/orm-framework/contract/types";
5
5
  //#region ../../../2-sql-family/4-lanes/relational-core/dist/collection-methods-D2UnCS0S.d.mts
6
6
  //#region src/collection-methods.d.ts
@@ -74,4 +74,4 @@ interface CollectionMethodContribution {
74
74
  }
75
75
  //#endregion
76
76
  export { CollectionMethodModel as a, CollectionMethodRegistry as c, CollectionMethodContributionType as i, CollectionMethodTools as l, CollectionMethodContribution as n, CollectionMethodModelType as o, CollectionMethodContributionId as r, CollectionMethodReceiver as s, CollectionMethodBody as t, ContributedMethodSignature as u };
77
- //# sourceMappingURL=collection-methods-D2UnCS0S-CjdGDJ5y.d.mts.map
77
+ //# sourceMappingURL=collection-methods-D2UnCS0S-DOy2qHYS.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection-methods-D2UnCS0S-CjdGDJ5y.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/collection-methods-D2UnCS0S.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;WACA;WACA;WACA;aACE;aACA;;;;;;UAMH;WACC;WACA;WACA;;;;;UAKD;WACC,OAAO;WACP;cACG,eAAe;;;;;;UAMnB;;WAEC;;;KAGN,iCAAiC,cAAc;;UAE1C;WACC,KAAK,SAAS,mBAAmB;WACjC,SAAS,SAAS,eAAe;;;;;UAKlC;EACR,MAAM,YAAY,gBAAgB,OAAO,oCAAoC;EAC7E,QAAQ,QAAQ,gBAAgB,OAAO,oCAAoC;;;KAGxE,wBAAwB,YAAY,6BAA6B,kBAAkB;;UAE9E;WACC;WACA;WACA,QAAQ,SAAS,eAAe;WAChC,WAAW,SAAS,eAAe;WACnC,OAAO;;;;;UAKR;WACC;EACT,WAAW,OAAO,wBAAwB,SAAS,eAAe"}
1
+ {"version":3,"file":"collection-methods-D2UnCS0S-DOy2qHYS.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/collection-methods-D2UnCS0S.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;WACA;WACA;WACA;aACE;aACA;;;;;;UAMH;WACC;WACA;WACA;;;;;UAKD;WACC,OAAO;WACP;cACG,eAAe;;;;;;UAMnB;;WAEC;;;KAGN,iCAAiC,cAAc;;UAE1C;WACC,KAAK,SAAS,mBAAmB;WACjC,SAAS,SAAS,eAAe;;;;;UAKlC;EACR,MAAM,YAAY,gBAAgB,OAAO,oCAAoC;EAC7E,QAAQ,QAAQ,gBAAgB,OAAO,oCAAoC;;;KAGxE,wBAAwB,YAAY,6BAA6B,kBAAkB;;UAE9E;WACC;WACA;WACA,QAAQ,SAAS,eAAe;WAChC,WAAW,SAAS,eAAe;WACnC,OAAO;;;;;UAKR;WACC;EACT,WAAW,OAAO,wBAAwB,SAAS,eAAe"}
@@ -1,6 +1,6 @@
1
1
  import { a as SqlNamespaceBase, c as SqlNamespaceInput } from "./sql-storage-DeCAh5Hi-CEM-m8cs.mjs";
2
- import "./types-B0J6ZASy.mjs";
3
- import { t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt-BzFrQoFZ.mjs";
2
+ import "./types-CkAd8SWm.mjs";
3
+ import { t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt-9U9UJZOo.mjs";
4
4
  import { Contract, ControlPolicy } from "@prisma/orm-framework/contract/types";
5
5
  import { TargetPackRef } from "@prisma/orm-framework/components/components";
6
6
  import { ContractConfig, ContractConfig as ContractConfig$1 } from "@prisma/orm-framework/config/config-types";
@@ -25,4 +25,4 @@ declare function typescriptContract(contract: Contract, output?: string, options
25
25
  declare function typescriptContractFromPath(contractPath: string, output?: string, options?: TypeScriptContractSpecifierOptions): ContractConfig;
26
26
  //#endregion
27
27
  export { typescriptContractFromPath as i, emptyContract as n, typescriptContract as r, ContractConfig$1 as t };
28
- //# sourceMappingURL=config-types-DGD0sYRS.d.mts.map
28
+ //# sourceMappingURL=config-types-C-1mIiJO.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-types-DGD0sYRS.d.mts","names":[],"sources":["../../../../2-sql-family/2-authoring/contract-ts/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;;UAWU;WACC,sBAAsB;WACtB,iBAAiB;;iBAEX,cAAc;WACpB;WACA,QAAQ;WACR,kBAAkB,OAAO,sBAAsB;WAC/C,uBAAuB;IAC9B;iBACa,mBAAmB,UAAU,UAAU,iBAAiB,UAAU,qCAAqC;iBACvG,2BAA2B,sBAAsB,iBAAiB,UAAU,qCAAqC"}
1
+ {"version":3,"file":"config-types-C-1mIiJO.d.mts","names":[],"sources":["../../../../2-sql-family/2-authoring/contract-ts/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;;UAWU;WACC,sBAAsB;WACtB,iBAAiB;;iBAEX,cAAc;WACpB;WACA,QAAQ;WACR,kBAAkB,OAAO,sBAAsB;WAC/C,uBAAuB;IAC9B;iBACa,mBAAmB,UAAU,UAAU,iBAAiB,UAAU,qCAAqC;iBACvG,2BAA2B,sBAAsB,iBAAiB,UAAU,qCAAqC"}
@@ -13,6 +13,7 @@ import { InternalError } from "@prisma/orm-framework/utils/internal-error";
13
13
  import { isColumnDefault } from "@prisma/orm-framework/contract/types";
14
14
  import { assembleGeneratorFunctions, createGeneratorHelpers } from "@prisma/orm-framework/components/components";
15
15
  import { assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace, createFieldHelpersFromNamespace, enumType, isEnumTypeHandle, member, resolveToOneRelationNullable } from "@prisma/orm-framework/contract-authoring";
16
+ import { UNBOUND_PSL_NAMESPACE_NAME } from "@prisma/orm-framework/components/psl-ast";
16
17
  //#region ../../../2-sql-family/2-authoring/contract-ts/dist/contract-builder.mjs
17
18
  /** The written value a TypeScript argument stands for: a number, string or boolean as written in PSL, and a `sql` value as a `sql` literal of its text. */
18
19
  function writtenValueOf(value) {
@@ -215,7 +216,7 @@ var ScalarFieldBuilder = class ScalarFieldBuilder {
215
216
  }
216
217
  /** Generates the field's value in the client every time a row is updated, with a call from `gen`, such as `gen.now()`. */
217
218
  onUpdate(call) {
218
- return new ScalarFieldBuilder(withGeneratorCall(this.state, "onUpdate", call));
219
+ return blindCast(new ScalarFieldBuilder(withGeneratorCall(this.state, "onUpdate", call)));
219
220
  }
220
221
  /**
221
222
  * @deprecated Write `.default(now())` or `.default(autoincrement())`, or `` .default(sql`...`) `` for any other SQL. Removed in 8.0.0.
@@ -1677,6 +1678,9 @@ function validateTargetPackRef(family, target) {
1677
1678
  contractFamilyId: family.familyId
1678
1679
  } });
1679
1680
  }
1681
+ function targetNameOf(target) {
1682
+ return target.displayName ?? target.targetId;
1683
+ }
1680
1684
  /**
1681
1685
  * Per-target reserved namespace names enforced by `defineContract` for
1682
1686
  * SQL family contracts. Two categories:
@@ -1685,16 +1689,16 @@ function validateTargetPackRef(family, target) {
1685
1689
  * every SQL target. The double-underscore decoration marks them as
1686
1690
  * framework-reserved coordinates; user code must not declare them
1687
1691
  * explicitly.
1688
- * 2. **Target-specific PSL keywords** — Postgres reserves the bare
1689
- * `unbound` identifier for the late-binding opt-in
1690
- * (`namespace unbound { … }`) so the TS surface must reject it from
1691
- * `defineContract({ namespaces })` lists. SQLite has no schema
1692
- * concept and rejects every non-empty namespaces list outright;
1693
- * callers should declare `namespaces: []` or omit the field.
1692
+ * 2. **The PSL keyword `unbound`** — the name PSL writes for the
1693
+ * late-binding opt-in (`namespace unbound { … }`), so the TS surface
1694
+ * rejects it from `defineContract({ namespaces })` lists on every
1695
+ * target that accepts namespaces. A target whose `supportsNamespaces` is false rejects every
1696
+ * non-empty namespaces list outright; callers should declare
1697
+ * `namespaces: []` or omit the field.
1694
1698
  */
1695
1699
  function validateNamespaceDeclarations(target, namespaces) {
1696
1700
  if (!namespaces) return;
1697
- if (target.targetId === "sqlite" && namespaces.length > 0) throw contractError("CONTRACT.NAMESPACE_UNSUPPORTED", `defineContract: SQLite contracts cannot declare namespaces (SQLite has no schema concept; emitted DDL is always unqualified). Received namespaces: [${namespaces.map((name) => `"${name}"`).join(", ")}].`, { meta: {
1701
+ if (target.supportsNamespaces === false && namespaces.length > 0) throw contractError("CONTRACT.NAMESPACE_UNSUPPORTED", `defineContract: ${targetNameOf(target)} contracts cannot declare namespaces. Received namespaces: [${namespaces.map((name) => `"${name}"`).join(", ")}].`, { meta: {
1698
1702
  namespaces,
1699
1703
  targetId: target.targetId
1700
1704
  } });
@@ -1712,9 +1716,10 @@ function validateNamespaceDeclarations(target, namespaces) {
1712
1716
  namespace,
1713
1717
  reason: "reserved-ir-sentinel"
1714
1718
  } });
1715
- if (target.targetId === "postgres" && namespace === "unbound") throw contractError("CONTRACT.NAMESPACE_INVALID", `defineContract: namespace name "unbound" is reserved by Postgres for the late-binding opt-in (use \`namespace unbound { … }\` in PSL instead of declaring it as a regular schema).`, { meta: {
1719
+ if (namespace === UNBOUND_PSL_NAMESPACE_NAME) throw contractError("CONTRACT.NAMESPACE_INVALID", `defineContract: namespace name "${namespace}" is reserved by ${targetNameOf(target)} for the late-binding opt-in (use \`namespace ${namespace} { … }\` in PSL instead of declaring it as a regular schema).`, { meta: {
1716
1720
  namespace,
1717
- reason: "reserved-by-postgres"
1721
+ reason: "reserved-psl-keyword",
1722
+ targetId: target.targetId
1718
1723
  } });
1719
1724
  if (seen.has(namespace)) throw contractError("CONTRACT.NAME_DUPLICATE", `defineContract: namespaces list contains duplicate entry "${namespace}".`, { meta: {
1720
1725
  kind: "namespace",
@@ -1731,25 +1736,21 @@ function validateNamespaceDeclarations(target, namespaces) {
1731
1736
  *
1732
1737
  * - `__unbound__` / `__unspecified__` — reserved IR sentinels on
1733
1738
  * every SQL target.
1734
- * - `unbound` on Postgres — reserved for the PSL
1735
- * `namespace unbound { … }` opt-in.
1739
+ * - The PSL keyword `unbound` — reserved for the PSL late-binding
1740
+ * opt-in, which the TS builder has no surface for.
1736
1741
  *
1737
- * Additionally enforces that each per-model `namespace` either
1738
- * references an entry in the contract's declared `namespaces` list or
1739
- * names the Postgres late-binding keyword (`unbound`) — the latter is
1740
- * not a "declared namespace" but is a legal opt-in only via PSL today,
1741
- * so the TS surface also rejects it on the per-model side and points
1742
- * authors at the PSL `namespace unbound { … }` block.
1742
+ * Additionally enforces that each per-model `namespace` references an
1743
+ * entry in the contract's declared `namespaces` list.
1743
1744
  *
1744
- * The SQLite per-model `namespace` field is rejected outright (SQLite
1745
- * has no schema concept).
1745
+ * A target whose `supportsNamespaces` is false rejects the per-model
1746
+ * `namespace` field outright.
1746
1747
  */
1747
1748
  function validatePerModelNamespaces(target, namespaces, models) {
1748
1749
  const declaredNamespaces = new Set(namespaces ?? []);
1749
1750
  for (const [modelKey, modelBuilder] of Object.entries(models)) {
1750
1751
  const perModelNamespace = modelBuilder.stageOne.namespace;
1751
1752
  if (perModelNamespace === void 0) continue;
1752
- if (target.targetId === "sqlite") throw contractError("CONTRACT.NAMESPACE_UNSUPPORTED", `defineContract: model "${modelKey}" sets \`namespace: "${perModelNamespace}"\` but the target is SQLite (SQLite has no schema concept; remove the per-model \`namespace\` field).`, { meta: {
1753
+ if (target.supportsNamespaces === false) throw contractError("CONTRACT.NAMESPACE_UNSUPPORTED", `defineContract: model "${modelKey}" sets \`namespace: "${perModelNamespace}"\` but the target is ${targetNameOf(target)}, which does not support namespaces (remove the per-model \`namespace\` field).`, { meta: {
1753
1754
  modelKey,
1754
1755
  namespace: perModelNamespace,
1755
1756
  targetId: target.targetId
@@ -1759,10 +1760,11 @@ function validatePerModelNamespaces(target, namespaces, models) {
1759
1760
  namespace: perModelNamespace,
1760
1761
  reason: "reserved-ir-sentinel"
1761
1762
  } });
1762
- if (target.targetId === "postgres" && perModelNamespace === "unbound") throw contractError("CONTRACT.NAMESPACE_INVALID", `defineContract: model "${modelKey}" sets \`namespace: "unbound"\` but that name is reserved by Postgres for the late-binding opt-in (use \`namespace unbound { … }\` in PSL instead — there is no equivalent surface in the TS builder today).`, { meta: {
1763
+ if (perModelNamespace === UNBOUND_PSL_NAMESPACE_NAME) throw contractError("CONTRACT.NAMESPACE_INVALID", `defineContract: model "${modelKey}" sets \`namespace: "${perModelNamespace}"\` but that name is reserved by ${targetNameOf(target)} for the late-binding opt-in (use \`namespace ${perModelNamespace} { … }\` in PSL instead — there is no equivalent surface in the TS builder today).`, { meta: {
1763
1764
  modelKey,
1764
1765
  namespace: perModelNamespace,
1765
- reason: "reserved-by-postgres"
1766
+ reason: "reserved-psl-keyword",
1767
+ targetId: target.targetId
1766
1768
  } });
1767
1769
  if (!declaredNamespaces.has(perModelNamespace)) throw contractError("CONTRACT.NAMESPACE_UNKNOWN", `defineContract: model "${modelKey}" references namespace "${perModelNamespace}" but that name does not appear in the contract's declared \`namespaces\` list.${declaredNamespaces.size > 0 ? ` Declared namespaces: [${[...declaredNamespaces].map((name) => `"${name}"`).join(", ")}].` : " The contract does not declare any namespaces; add `namespaces: [\"…\"]` to `defineContract` first."}`, { meta: {
1768
1770
  modelKey,
@@ -1850,4 +1852,4 @@ function autoincrement() {
1850
1852
  //#endregion
1851
1853
  export { check as a, enumType as c, member as d, model as f, buildContractDefinition as i, extensionModel as l, rel as m, bindEnumType as n, createComposedAuthoringHelpers as o, now as p, buildBoundContract as r, defineContract as s, autoincrement as t, field as u };
1852
1854
 
1853
- //# sourceMappingURL=contract-builder-Dp7AOnHB.mjs.map
1855
+ //# sourceMappingURL=contract-builder-50lF0kz1.mjs.map