@prisma/orm-target-postgres 8.0.0-rc.17-dev.3 → 8.0.0-rc.17-dev.5

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 (128) hide show
  1. package/dist/{adapter-RtS8vD8U-CkJSaICZ.mjs → adapter-RtS8vD8U-CCQBsu-H.mjs} +2 -2
  2. package/dist/{adapter-RtS8vD8U-CkJSaICZ.mjs.map → adapter-RtS8vD8U-CCQBsu-H.mjs.map} +1 -1
  3. package/dist/adapter.d.mts +1 -1
  4. package/dist/adapter.mjs +2 -2
  5. package/dist/adapter__adapter.mjs +2 -2
  6. package/dist/adapter__control.d.mts +1 -1
  7. package/dist/adapter__control.mjs +4 -4
  8. package/dist/adapter__runtime.mjs +3 -3
  9. package/dist/{authoring-_2G2lsLt-VmVbrMPn.mjs → authoring-CL05jlfX-CKUKjRVV.mjs} +55 -30
  10. package/dist/authoring-CL05jlfX-CKUKjRVV.mjs.map +1 -0
  11. package/dist/{contract-free-BMKFjlIG.mjs → contract-free-DjI-gclO.mjs} +3 -3
  12. package/dist/{contract-free-BMKFjlIG.mjs.map → contract-free-DjI-gclO.mjs.map} +1 -1
  13. package/dist/{control-1lVvMywk.mjs → control-CDAHFmyX.mjs} +20 -13
  14. package/dist/control-CDAHFmyX.mjs.map +1 -0
  15. package/dist/{control-adapter-Co30P4lH-CpxXk5cz.mjs → control-adapter-Co30P4lH-vRdhkEQq.mjs} +2 -2
  16. package/dist/{control-adapter-Co30P4lH-CpxXk5cz.mjs.map → control-adapter-Co30P4lH-vRdhkEQq.mjs.map} +1 -1
  17. package/dist/{control-policy-C0KC3-Gw-DseKgAtX.mjs → control-policy-DbDoLxrp-OpWBtviT.mjs} +5 -5
  18. package/dist/{control-policy-C0KC3-Gw-DseKgAtX.mjs.map → control-policy-DbDoLxrp-OpWBtviT.mjs.map} +1 -1
  19. package/dist/{ddl-D5hYRCTf-DRSajCVT.mjs → ddl-CFWv3VOT-Ad-I5p22.mjs} +3 -3
  20. package/dist/{ddl-D5hYRCTf-DRSajCVT.mjs.map → ddl-CFWv3VOT-Ad-I5p22.mjs.map} +1 -1
  21. package/dist/{descriptor-meta-ARufwwWW-ChZm5Hg5.mjs → descriptor-meta-ARufwwWW-w4_iWp7m.mjs} +2 -2
  22. package/dist/{descriptor-meta-ARufwwWW-ChZm5Hg5.mjs.map → descriptor-meta-ARufwwWW-w4_iWp7m.mjs.map} +1 -1
  23. package/dist/{descriptor-meta-WHc6Kv-m-BLzsaP0M.mjs → descriptor-meta-ClvaJRgh-Dlo6A0nL.mjs} +5 -7
  24. package/dist/descriptor-meta-ClvaJRgh-Dlo6A0nL.mjs.map +1 -0
  25. package/dist/{diff-database-schema-D9YbaVKX-DZ5wOErP.mjs → diff-database-schema-CByLrBg6-BLLJDUpg.mjs} +20 -5
  26. package/dist/diff-database-schema-CByLrBg6-BLLJDUpg.mjs.map +1 -0
  27. package/dist/{full-text-CCqTEQ9y.d.mts → full-text-Dg6-SYSP.d.mts} +2 -2
  28. package/dist/{full-text-CCqTEQ9y.d.mts.map → full-text-Dg6-SYSP.d.mts.map} +1 -1
  29. package/dist/{full-text-RAVq4j8W.mjs → full-text-DyeP0p9V.mjs} +2 -2
  30. package/dist/full-text-DyeP0p9V.mjs.map +1 -0
  31. package/dist/full-text-index-authoring-Ca6bWXyG.d.mts +7 -0
  32. package/dist/full-text-index-authoring-Ca6bWXyG.d.mts.map +1 -0
  33. package/dist/full-text-index-definition-CwWV12H4-DNafWNux.d.mts +53 -0
  34. package/dist/full-text-index-definition-CwWV12H4-DNafWNux.d.mts.map +1 -0
  35. package/dist/full-text-index-definition-D-QC3DO2-DXbQitDn.mjs +195 -0
  36. package/dist/full-text-index-definition-D-QC3DO2-DXbQitDn.mjs.map +1 -0
  37. package/dist/full-text-parsers-B_aFtL8u-BTbiMXi1.d.mts +61 -0
  38. package/dist/full-text-parsers-B_aFtL8u-BTbiMXi1.d.mts.map +1 -0
  39. package/dist/{full-text-parsers-96VfzkHS-C8YGYKhj.mjs → full-text-parsers-DHtcrdrH-DpbFRMEu.mjs} +39 -4
  40. package/dist/full-text-parsers-DHtcrdrH-DpbFRMEu.mjs.map +1 -0
  41. package/dist/full-text-search-document-DJd-9K-K-CuV_QLH3.mjs +54 -0
  42. package/dist/full-text-search-document-DJd-9K-K-CuV_QLH3.mjs.map +1 -0
  43. package/dist/index-types-Bdy_UGfY-CqEPukzT.mjs +14 -0
  44. package/dist/index-types-Bdy_UGfY-CqEPukzT.mjs.map +1 -0
  45. package/dist/{infer-psl-contract-Buc1MJaS-70Kw0cxc.mjs → infer-psl-contract-lnoCopbJ-DRVPVZyI.mjs} +18 -5
  46. package/dist/infer-psl-contract-lnoCopbJ-DRVPVZyI.mjs.map +1 -0
  47. package/dist/migration-PTHAY9Cv.mjs.map +1 -1
  48. package/dist/{op-factory-call-CXlapjuM-BHZNE4Ph.mjs → op-factory-call-BfGiIbUO-BqaxwJhg.mjs} +4 -4
  49. package/dist/{op-factory-call-CXlapjuM-BHZNE4Ph.mjs.map → op-factory-call-BfGiIbUO-BqaxwJhg.mjs.map} +1 -1
  50. package/dist/{operation-types-CjJY7prP.d.mts → operation-types-llBeWQxy.d.mts} +54 -11
  51. package/dist/operation-types-llBeWQxy.d.mts.map +1 -0
  52. package/dist/{pack-Bq9yq-OS.d.mts → pack-C3Y2SBNH.d.mts} +14 -5
  53. package/dist/pack-C3Y2SBNH.d.mts.map +1 -0
  54. package/dist/{planner-DwfHmYme-P1dFkpQ4.mjs → planner-BLGCBKzQ-BFmyE8A2.mjs} +9 -9
  55. package/dist/{planner-DwfHmYme-P1dFkpQ4.mjs.map → planner-BLGCBKzQ-BFmyE8A2.mjs.map} +1 -1
  56. package/dist/{planner-produced-postgres-migration-DBUj6Imx-DhpHjroB.mjs → planner-produced-postgres-migration-8cUeUjsL-DwO8p6_t.mjs} +4 -4
  57. package/dist/{planner-produced-postgres-migration-DBUj6Imx-DhpHjroB.mjs.map → planner-produced-postgres-migration-8cUeUjsL-DwO8p6_t.mjs.map} +1 -1
  58. package/dist/{planner-sql-checks-DCGV2qdu-eaeFLtn8.mjs → planner-sql-checks-Bt_KuSiH-CdGZDp7M.mjs} +3 -3
  59. package/dist/{planner-sql-checks-DCGV2qdu-eaeFLtn8.mjs.map → planner-sql-checks-Bt_KuSiH-CdGZDp7M.mjs.map} +1 -1
  60. package/dist/postgres-codec-traits-BUygtI9N-CB-uwvY1.mjs +11 -0
  61. package/dist/postgres-codec-traits-BUygtI9N-CB-uwvY1.mjs.map +1 -0
  62. package/dist/{postgres-contract-view-CL-YTH_3-Diah6i2a.mjs → postgres-contract-view-BpZ_4qOD-BuCMIaSB.mjs} +9 -5
  63. package/dist/postgres-contract-view-BpZ_4qOD-BuCMIaSB.mjs.map +1 -0
  64. package/dist/{postgres-migration-DjCmSHjA-D8CPJqkC.mjs → postgres-migration-Deb4XrMA-DO7iGvl2.mjs} +9 -9
  65. package/dist/{postgres-migration-DjCmSHjA-D8CPJqkC.mjs.map → postgres-migration-Deb4XrMA-DO7iGvl2.mjs.map} +1 -1
  66. package/dist/{postgres-schema-COkaqci7-C6JpiSha.mjs → postgres-schema-DIaAgaL6-Dmqzjbu5.mjs} +5 -3
  67. package/dist/postgres-schema-DIaAgaL6-Dmqzjbu5.mjs.map +1 -0
  68. package/dist/{prisma7-binding-Dm34z6Fq.d.mts → prisma7-binding-C1fIMMTb.d.mts} +14 -5
  69. package/dist/prisma7-binding-C1fIMMTb.d.mts.map +1 -0
  70. package/dist/{prisma7-binding-De6fpRdV.mjs → prisma7-binding-DE7hezAQ.mjs} +5 -5
  71. package/dist/{prisma7-binding-De6fpRdV.mjs.map → prisma7-binding-DE7hezAQ.mjs.map} +1 -1
  72. package/dist/{render-ops-B5FbJGYf-CnmbaalQ.mjs → render-ops-DjsYroU7-Nqqlj8co.mjs} +3 -3
  73. package/dist/{render-ops-B5FbJGYf-CnmbaalQ.mjs.map → render-ops-DjsYroU7-Nqqlj8co.mjs.map} +1 -1
  74. package/dist/{resolve-ddl-schema-DD69Bwve-e-BpAfFa.mjs → resolve-ddl-schema-b746rtzf-Dydnc_gK.mjs} +3 -3
  75. package/dist/{resolve-ddl-schema-DD69Bwve-e-BpAfFa.mjs.map → resolve-ddl-schema-b746rtzf-Dydnc_gK.mjs.map} +1 -1
  76. package/dist/{sql-utils-DqFxskY6.d.mts → sql-utils-CGSJ8fH0.d.mts} +7 -16
  77. package/dist/sql-utils-CGSJ8fH0.d.mts.map +1 -0
  78. package/dist/target.d.mts +10 -8
  79. package/dist/target.mjs +22 -21
  80. package/dist/target__contract-free.mjs +3 -3
  81. package/dist/target__control.mjs +3 -3
  82. package/dist/target__diff-database-schema.mjs +1 -1
  83. package/dist/target__full-text-index-authoring.d.mts +4 -0
  84. package/dist/target__full-text-index-authoring.mjs +3 -0
  85. package/dist/target__full-text.d.mts +3 -3
  86. package/dist/target__full-text.mjs +3 -3
  87. package/dist/target__issue-planner.mjs +1 -1
  88. package/dist/target__migration.mjs +2 -2
  89. package/dist/target__op-factory-call.mjs +1 -1
  90. package/dist/target__operation-types.d.mts +2 -2
  91. package/dist/target__pack.d.mts +1 -1
  92. package/dist/target__pack.mjs +1 -1
  93. package/dist/target__planner-produced-postgres-migration.mjs +1 -1
  94. package/dist/target__planner-sql-checks.mjs +1 -1
  95. package/dist/target__planner.mjs +2 -2
  96. package/dist/target__prisma7-binding.d.mts +1 -1
  97. package/dist/target__prisma7-binding.mjs +1 -1
  98. package/dist/target__render-ops.mjs +1 -1
  99. package/dist/target__runtime.mjs +100 -26
  100. package/dist/target__runtime.mjs.map +1 -1
  101. package/dist/target__schema-ir-annotations.mjs +1 -1
  102. package/dist/target__sql-utils.d.mts +3 -3
  103. package/dist/target__sql-utils.mjs +3 -3
  104. package/dist/target__types.mjs +1 -1
  105. package/dist/text-search-languages-CO6775ih-DMYr9qsC.d.mts +22 -0
  106. package/dist/text-search-languages-CO6775ih-DMYr9qsC.d.mts.map +1 -0
  107. package/package.json +10 -9
  108. package/dist/authoring-_2G2lsLt-VmVbrMPn.mjs.map +0 -1
  109. package/dist/control-1lVvMywk.mjs.map +0 -1
  110. package/dist/descriptor-meta-WHc6Kv-m-BLzsaP0M.mjs.map +0 -1
  111. package/dist/diff-database-schema-D9YbaVKX-DZ5wOErP.mjs.map +0 -1
  112. package/dist/full-text-RAVq4j8W.mjs.map +0 -1
  113. package/dist/full-text-index-expression-Bfp_xWhy-DtbLdkzv.mjs +0 -30
  114. package/dist/full-text-index-expression-Bfp_xWhy-DtbLdkzv.mjs.map +0 -1
  115. package/dist/full-text-parsers-96VfzkHS-C8YGYKhj.mjs.map +0 -1
  116. package/dist/full-text-parsers-DrS_1B-x-BcAnBoQP.d.mts +0 -34
  117. package/dist/full-text-parsers-DrS_1B-x-BcAnBoQP.d.mts.map +0 -1
  118. package/dist/infer-psl-contract-Buc1MJaS-70Kw0cxc.mjs.map +0 -1
  119. package/dist/operation-types-CjJY7prP.d.mts.map +0 -1
  120. package/dist/pack-Bq9yq-OS.d.mts.map +0 -1
  121. package/dist/postgres-contract-view-CL-YTH_3-Diah6i2a.mjs.map +0 -1
  122. package/dist/postgres-schema-COkaqci7-C6JpiSha.mjs.map +0 -1
  123. package/dist/prisma7-binding-Dm34z6Fq.d.mts.map +0 -1
  124. package/dist/sql-utils-DqFxskY6.d.mts.map +0 -1
  125. package/dist/text-search-languages-BzhBMCtK-D26JB2w3.d.mts +0 -12
  126. package/dist/text-search-languages-BzhBMCtK-D26JB2w3.d.mts.map +0 -1
  127. package/dist/text-search-languages-RO0HiUDm-CeJ7P8gS.mjs +0 -45
  128. package/dist/text-search-languages-RO0HiUDm-CeJ7P8gS.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prisma7-binding-C1fIMMTb.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/prisma7-binding.d.mts"],"mappings":";;;;;;;;;;iBASiB,sBAAsB;;iBAEtB,sBAAsB,mBAAmB;;;iBAGzC,0BAA0B;;;;;;;;iBAQ1B,2BAA2B,gBAAgB;;;;;;;;;;;;cAY9C;WACH;aACE;aACA;aACA,yDAAyD,iBAAiB,uBAAuB;eAC/F;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;QACP;QACA;;;aAGK;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;qBACE;qBACA;qBACA;uBACE;uBACA;;qBAEF;uBACE;;;;;eAKR;iBACE;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;;iBAQd;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;qBACE;qBACA;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;;;mBAGJ;qBACE;qBACA;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;;;;;eAKR,WAAW,SAAS,kEAAkE;eACtF;iBACE;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;;mBAEO;qBACE,UAAU,OAAO,oBAAoB,wDAAwD,2BAA2B;;;iBAG5H;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;;mBAEO;qBACE,UAAU,OAAO,+BAA+B;;;iBAGpD;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;;mBAEO;YACP,UAAU,OAAO,yBAAyB,wDAAwD,2BAA2B;YAC7H,eAAe,QAAQ;cACrB;;;;iBAIG;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;;mBAEO;YACP,UAAU,sCAAsC,wBAAwB,yBAAyB,wDAAwD,2BAA2B;YACpL,iBAAiB,QAAQ;cACvB;cACA;;;;;eAKC;iBACE;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;UACA;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;;;eAGR;iBACE;mBACE;mBACA;mBACA,qCAAqC;mBACrC,QAAQ,SAAS,sBAAsB,wDAAwD;YACtG;YACA,QAAQ;;;iBAGH;mBACE;mBACA;mBACA,qCAAqC;mBACrC;mBACA,QAAQ;qBACN,QAAQ;qBACR,WAAW;qBACX;qBACA;qBACA;aACR,wDAAwD;YACzD;cACE;cACA;cACA;gBACE;gBACA;;cAEF;cACA;cACA;cACA;;;;;eAKC,wBAAwB;eACxB,0BAA0B;eAC1B,+BAA+B;eAC/B,2BAA2B;;aAE7B;eACE;iBACE;mBACE;mBACA;mBACA;;;;aAIN;aACA;aACA;aACA;aACA;aACA;aACA,mEAAmE;aACnE,eAAe;;aAEf,eAAe;;WAEjB,wBAAwB;WACxB;WACA;aACE;eACE;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;;aAGJ;eACE;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;;;WAIN;aACE;aACA;;WAEF;aACE;aACA;aACA;aACA;aACA;aACA;;;WAGF;WACA;aACE,mBAAmB;aACnB,mBAAmB;;WAErB,mCAAmC;WACnC,6BAA6B;WAC7B,uBAAuB,UAAU;aAC/B;aACA,aAAa,SAAS;;aAEtB;aACA;aACA;;aAEA;aACA,UAAU;aACV,OAAO"}
@@ -1,10 +1,10 @@
1
1
  import { A as pgTimestamptz, E as pgTime, M as pgTimetz, O as pgTimestamp, a as pgBytea, b as pgJsonb, c as pgDate, y as pgJson } from "./data-types-DRkmmE9S-C5Q9oH4Q.mjs";
2
- import { h as postgresCreateNamespace } from "./postgres-schema-COkaqci7-C6JpiSha.mjs";
3
- import { m as postgresNowGeneratorIdFor } from "./authoring-_2G2lsLt-VmVbrMPn.mjs";
4
- import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-WHc6Kv-m-BLzsaP0M.mjs";
2
+ import { h as postgresCreateNamespace } from "./postgres-schema-DIaAgaL6-Dmqzjbu5.mjs";
3
+ import { m as postgresNowGeneratorIdFor } from "./authoring-CL05jlfX-CKUKjRVV.mjs";
4
+ import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-ClvaJRgh-Dlo6A0nL.mjs";
5
5
  import { t as parsePostgresDefault } from "./default-normalizer-Bf_Fhv4v-CugGfLAe.mjs";
6
6
  import { n as defaultPrimaryKeyName, t as defaultForeignKeyName } from "./default-constraint-names-CtcRXhV8-nz3ff6b8.mjs";
7
- import { d as createPostgresTypeMap, l as buildPslDocumentAst, m as noColumnDefaults, t as EXISTING_COLUMN_DATE_TIME_TYPES, u as createPostgresDefaultMapping } from "./infer-psl-contract-Buc1MJaS-70Kw0cxc.mjs";
7
+ import { d as createPostgresDefaultMapping, f as createPostgresTypeMap, h as noColumnDefaults, t as EXISTING_COLUMN_DATE_TIME_TYPES, u as buildPslDocumentAst } from "./infer-psl-contract-lnoCopbJ-DRVPVZyI.mjs";
8
8
  import { dataTypeParams, renderSqlTypeName, sqlBaseName } from "@prisma/orm-family-sql/contract/data-type";
9
9
  import { SqlSchemaIR, SqlTableIR } from "@prisma/orm-family-sql/schema-ir/types";
10
10
  import { toModelName } from "@prisma/orm-family-sql/family/psl-infer";
@@ -335,4 +335,4 @@ const prisma7PostgresBinding = {
335
335
  //#endregion
336
336
  export { prisma7PostgresBinding as t };
337
337
 
338
- //# sourceMappingURL=prisma7-binding-De6fpRdV.mjs.map
338
+ //# sourceMappingURL=prisma7-binding-DE7hezAQ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"prisma7-binding-De6fpRdV.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/prisma7-binding.mjs"],"sourcesContent":["import { A as pgTimestamptz, E as pgTime, M as pgTimetz, O as pgTimestamp, a as pgBytea, b as pgJsonb, c as pgDate, y as pgJson } from \"./data-types-DRkmmE9S.mjs\";\nimport { c as postgresNowGeneratorIdFor } from \"./authoring-_2G2lsLt.mjs\";\nimport { i as postgresCreateNamespace } from \"./postgres-schema-COkaqci7.mjs\";\nimport { t as postgresTargetDescriptorMeta } from \"./descriptor-meta-WHc6Kv-m.mjs\";\nimport { t as parsePostgresDefault } from \"./default-normalizer-Bf_Fhv4v.mjs\";\nimport { n as defaultPrimaryKeyName, t as defaultForeignKeyName } from \"./default-constraint-names-CtcRXhV8.mjs\";\nimport { c as noColumnDefaults, g as EXISTING_COLUMN_DATE_TIME_TYPES, h as createPostgresTypeMap, r as createPostgresDefaultMapping, t as buildPslDocumentAst } from \"./infer-psl-contract-Buc1MJaS.mjs\";\nimport { dataTypeParams, renderSqlTypeName, sqlBaseName } from \"@internal/sql-contract/data-type\";\nimport { SqlSchemaIR, SqlTableIR } from \"@internal/sql-schema-ir/types\";\nimport { toModelName } from \"@internal/family-sql/psl-infer\";\nimport { flatPslModels } from \"@internal/framework-components/psl-ast\";\n//#region src/core/prisma7-temporal-defaults.ts\nconst RFC_3339 = /^(\\d{4})-(\\d{2})-(\\d{2})[Tt ](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?(?:[Zz]|([+-])(\\d{2}):(\\d{2}))$/;\nconst MICROS_PER_SECOND = 1e6;\nfunction pad(value, width = 2) {\n\treturn String(value).padStart(width, \"0\");\n}\n/**\n* The microseconds Postgres keeps for a fraction-of-a-second digit string. Every digit counts:\n* `.1234565` is an exact tie, and C's `rint` takes the even neighbour 123456, while `.1234565001`\n* is above the tie and rounds up to 123457.\n*/\nfunction fractionMicros(fraction) {\n\tconst micros = Number(`${fraction}000000`.slice(0, 6));\n\tconst beyondTie = fraction.slice(6).replace(/0+$/, \"\");\n\tif (beyondTie === \"\") return micros;\n\tif (beyondTie === \"5\") return micros % 2 === 0 ? micros : micros + 1;\n\treturn beyondTie > \"5\" ? micros + 1 : micros;\n}\nfunction fractionText(micros) {\n\treturn micros === 0 ? \"\" : `.${pad(micros, 6).replace(/0+$/, \"\")}`;\n}\nfunction offsetText(minutes) {\n\tconst magnitude = Math.abs(minutes);\n\tconst rest = magnitude % 60;\n\treturn `${minutes < 0 ? \"-\" : \"+\"}${pad(Math.floor(magnitude / 60))}${rest === 0 ? \"\" : `:${pad(rest)}`}`;\n}\n/**\n* The text of the column default Postgres stores for a Prisma 7 `DateTime`\n* default, which Prisma 7 writes as `'2024-01-02 03:04:05.123 +02:00'`:\n* `date` keeps the written date, `time` and `timestamp` the written wall-clock\n* time without the offset, and `timetz` the time with the written offset.\n* `timestamptz` is carried in its UTC form, the text a session in UTC prints\n* (`2024-01-02 01:04:05+00`, and `0001-12-31 23:30:00+00 BC` before year 1);\n* a session in another time zone prints the same instant differently.\n* Fractional seconds are rounded to microseconds; the column's own precision\n* does not change a stored default.\n*/\nfunction storedTemporalText(text, dataType) {\n\tconst match = RFC_3339.exec(text);\n\tif (match === null) return void 0;\n\tconst [, year = \"\", month = \"\", day = \"\", hour, minute, second, fraction = \"\", sign, offsetHours, offsetMinutes] = match;\n\tif (dataType === pgDate.id) return `${year}-${month}-${day}`;\n\tconst micros = fractionMicros(fraction);\n\tconst clockSeconds = Number(hour) * 3600 + Number(minute) * 60 + Number(second) + Math.floor(micros / MICROS_PER_SECOND);\n\tconst fractional = fractionText(micros % MICROS_PER_SECOND);\n\tconst offsetMinutesTotal = sign === void 0 ? 0 : (sign === \"-\" ? -1 : 1) * (Number(offsetHours) * 60 + Number(offsetMinutes));\n\tif (dataType === pgTime.id || dataType === pgTimetz.id) {\n\t\tconst clock = `${pad(Math.floor(clockSeconds / 3600))}:${pad(Math.floor(clockSeconds / 60) % 60)}:${pad(clockSeconds % 60)}${fractional}`;\n\t\treturn dataType === pgTime.id ? clock : `${clock}${offsetText(offsetMinutesTotal)}`;\n\t}\n\tconst midnight = /* @__PURE__ */ new Date(0);\n\tmidnight.setUTCFullYear(Number(year), Number(month) - 1, Number(day));\n\tconst utcShift = dataType === pgTimestamptz.id ? offsetMinutesTotal * 60 : 0;\n\tconst stamp = new Date(midnight.getTime() + (clockSeconds - utcShift) * 1e3);\n\tconst astronomicalYear = stamp.getUTCFullYear();\n\tconst wallClock = `${pad(astronomicalYear > 0 ? astronomicalYear : 1 - astronomicalYear, 4)}-${pad(stamp.getUTCMonth() + 1)}-${pad(stamp.getUTCDate())} ${pad(stamp.getUTCHours())}:${pad(stamp.getUTCMinutes())}:${pad(stamp.getUTCSeconds())}${fractional}`;\n\tconst era = astronomicalYear > 0 ? \"\" : \" BC\";\n\treturn dataType === pgTimestamptz.id ? `${wallClock}+00${era}` : `${wallClock}${era}`;\n}\n//#endregion\n//#region src/core/prisma7-type-map.ts\n/**\n* What Prisma 7.10.0 creates in Postgres for each Prisma 7 scalar and `@db.*`\n* native type, expressed as the Prisma 8 authoring type constructor that\n* produces the same column. Derived from the SQL recorded in\n* `test/integration/test/fixtures/prisma7-source/reference/migration.sql`.\n* `args` are the constructor's positional arguments. A `@db.*` attribute's own\n* arguments replace them; without any, the column gets `args`, so `@db.Char`\n* is `Char(1)`, the `character(1)` Postgres stores for Prisma 7's `CHAR`.\n*/\nconst prisma7PostgresTypeMap = {\n\tscalars: {\n\t\tString: {\n\t\t\tconstructorName: \"String\",\n\t\t\targs: []\n\t\t},\n\t\tBoolean: {\n\t\t\tconstructorName: \"Boolean\",\n\t\t\targs: []\n\t\t},\n\t\tInt: {\n\t\t\tconstructorName: \"Int\",\n\t\t\targs: []\n\t\t},\n\t\tBigInt: {\n\t\t\tconstructorName: \"BigInt\",\n\t\t\targs: []\n\t\t},\n\t\tFloat: {\n\t\t\tconstructorName: \"Float\",\n\t\t\targs: []\n\t\t},\n\t\tDecimal: {\n\t\t\tconstructorName: \"Numeric\",\n\t\t\targs: [\"65\", \"30\"]\n\t\t},\n\t\tDateTime: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timestamp,\n\t\t\targs: [\"3\"]\n\t\t},\n\t\tJson: {\n\t\t\tconstructorName: \"Jsonb\",\n\t\t\targs: []\n\t\t},\n\t\tBytes: {\n\t\t\tconstructorName: \"Bytes\",\n\t\t\targs: []\n\t\t}\n\t},\n\tnativeTypes: {\n\t\tText: {\n\t\t\tconstructorName: \"String\",\n\t\t\targs: []\n\t\t},\n\t\tVarChar: {\n\t\t\tconstructorName: \"VarChar\",\n\t\t\targs: []\n\t\t},\n\t\tChar: {\n\t\t\tconstructorName: \"Char\",\n\t\t\targs: [\"1\"]\n\t\t},\n\t\tUuid: {\n\t\t\tconstructorName: \"Uuid\",\n\t\t\targs: []\n\t\t},\n\t\tInet: {\n\t\t\tconstructorName: \"Inet\",\n\t\t\targs: []\n\t\t},\n\t\tBoolean: {\n\t\t\tconstructorName: \"Boolean\",\n\t\t\targs: []\n\t\t},\n\t\tInteger: {\n\t\t\tconstructorName: \"Int\",\n\t\t\targs: []\n\t\t},\n\t\tSmallInt: {\n\t\t\tconstructorName: \"SmallInt\",\n\t\t\targs: []\n\t\t},\n\t\tBigInt: {\n\t\t\tconstructorName: \"BigInt\",\n\t\t\targs: []\n\t\t},\n\t\tReal: {\n\t\t\tconstructorName: \"Real\",\n\t\t\targs: []\n\t\t},\n\t\tDoublePrecision: {\n\t\t\tconstructorName: \"Float\",\n\t\t\targs: []\n\t\t},\n\t\tDecimal: {\n\t\t\tconstructorName: \"Numeric\",\n\t\t\targs: []\n\t\t},\n\t\tTimestamp: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timestamp,\n\t\t\targs: []\n\t\t},\n\t\tTimestamptz: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timestamptz,\n\t\t\targs: []\n\t\t},\n\t\tDate: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.date,\n\t\t\targs: []\n\t\t},\n\t\tTime: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.time,\n\t\t\targs: []\n\t\t},\n\t\tTimetz: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timetz,\n\t\t\targs: []\n\t\t},\n\t\tJson: {\n\t\t\tconstructorName: \"Json\",\n\t\t\targs: []\n\t\t},\n\t\tJsonB: {\n\t\t\tconstructorName: \"Jsonb\",\n\t\t\targs: []\n\t\t},\n\t\tByteA: {\n\t\t\tconstructorName: \"Bytes\",\n\t\t\targs: []\n\t\t}\n\t}\n};\n//#endregion\n//#region src/core/psl-infer/junction-relation-field-names.ts\nconst EMPTY_FOREIGN_KEY_EXTRAS = {\n\textraRelationsByTable: /* @__PURE__ */ new Map(),\n\tcrossSpaceFieldNamesByTable: /* @__PURE__ */ new Map(),\n\tdanglingForeignKeysByTable: /* @__PURE__ */ new Map()\n};\nfunction idTable(name) {\n\treturn new SqlTableIR({\n\t\tname,\n\t\tcolumns: { id: {\n\t\t\tname: \"id\",\n\t\t\tnativeType: \"int4\",\n\t\t\tnullable: false\n\t\t} },\n\t\tforeignKeys: [],\n\t\tuniques: [],\n\t\tindexes: [],\n\t\tprimaryKey: { columns: [\"id\"] }\n\t});\n}\n/**\n* The relation field names `contract infer` prints for an implicit\n* many-to-many junction table whose columns `A` and `B` reference `tableA`\n* and `tableB`, found by running infer's PSL construction on that table.\n*/\nfunction junctionRelationFieldNames(tableA, tableB) {\n\tlet junctionName = \"_junction\";\n\twhile ([tableA, tableB].some((table) => toModelName(table).name === toModelName(junctionName).name)) junctionName = `${junctionName}x`;\n\tconst column = (name) => ({\n\t\tname,\n\t\tnativeType: \"int4\",\n\t\tnullable: false\n\t});\n\tconst foreignKey = (columnName, referencedTable) => ({\n\t\tcolumns: [columnName],\n\t\treferencedTable,\n\t\treferencedColumns: [\"id\"]\n\t});\n\tconst junction = new SqlTableIR({\n\t\tname: junctionName,\n\t\tcolumns: {\n\t\t\tA: column(\"A\"),\n\t\t\tB: column(\"B\")\n\t\t},\n\t\tforeignKeys: [foreignKey(\"A\", tableA), foreignKey(\"B\", tableB)],\n\t\tuniques: [],\n\t\tindexes: [],\n\t\tprimaryKey: { columns: [\"A\", \"B\"] }\n\t});\n\tconst document = buildPslDocumentAst(new SqlSchemaIR({ tables: {\n\t\t[tableA]: idTable(tableA),\n\t\t[tableB]: idTable(tableB),\n\t\t[junctionName]: junction\n\t} }), {\n\t\ttypeMap: createPostgresTypeMap(),\n\t\tdefaultMapping: createPostgresDefaultMapping(),\n\t\tparseRawDefault: parsePostgresDefault,\n\t\tcolumnDefaults: noColumnDefaults\n\t}, EMPTY_FOREIGN_KEY_EXTRAS);\n\tconst junctionModelName = toModelName(junctionName).name;\n\tconst fields = flatPslModels(document).find((model) => model.name === junctionModelName)?.fields;\n\tconst scalarFieldCount = Object.keys(junction.columns).length;\n\tconst [a = \"\", b = \"\"] = (fields ?? []).slice(scalarFieldCount).map((field) => field.name);\n\treturn [a, b];\n}\n//#endregion\n//#region src/core/prisma7-binding.ts\nconst TEMPORAL_TYPES = new Map([\n\tpgTimestamp,\n\tpgTimestamptz,\n\tpgDate,\n\tpgTime,\n\tpgTimetz\n].map((type) => [type.id, type]));\nconst BYTEA_LIST_TYPE = sqlBaseName(pgBytea, {}).toUpperCase();\nfunction sqlStringLiteral(value) {\n\treturn value === void 0 ? void 0 : `'${value.replace(/'/g, \"''\")}'`;\n}\nfunction base64ToHex(base64) {\n\tif (!/^[A-Za-z0-9+/]*={0,2}$/.test(base64) || base64.length % 4 !== 0) return void 0;\n\treturn `\\\\x${Buffer.from(base64, \"base64\").toString(\"hex\")}`;\n}\nfunction arrayLiteral(literals, typeName) {\n\treturn `ARRAY[${literals.join(\", \")}]::${typeName}[]`;\n}\n/**\n* What the Postgres target supplies to the Prisma 7 interpreter. A `Bytes` or\n* `DateTime` default is carried as the SQL literal of the default Postgres\n* stores (`'\\x68656c6c6f'`, `'2024-01-02 03:04:05'`), and a list default as an\n* `ARRAY[...]` of those literals cast to the column type, rather than as the\n* column codec's JSON form (base64, ISO 8601 text). Verify reads both forms as\n* the same value; the reader keeps the SQL literal because storing the value\n* instead changes the contract hash of every such schema (TML-3455).\n*/\nconst prisma7PostgresBinding = {\n\ttarget: postgresTargetDescriptorMeta,\n\tcreateNamespace: postgresCreateNamespace,\n\tproviders: [\"postgresql\", \"postgres\"],\n\ttypeMap: prisma7PostgresTypeMap,\n\tnativeEnum: {\n\t\tentityKind: \"native_enum\",\n\t\ttypeConstructor: [\"pg\", \"enum\"]\n\t},\n\tindexTypes: {\n\t\tBTree: \"btree\",\n\t\tHash: \"hash\",\n\t\tGin: \"gin\",\n\t\tGist: \"gist\",\n\t\tSpGist: \"spgist\",\n\t\tBrin: \"brin\"\n\t},\n\t/** `NAMEDATALEN - 1`. */\n\tidentifierMaxBytes: 63,\n\tdefaultConstraintNames: {\n\t\tprimaryKey: defaultPrimaryKeyName,\n\t\tforeignKey: defaultForeignKeyName\n\t},\n\tjunctionRelationFieldNames,\n\tupdatedAtGeneratorId: postgresNowGeneratorIdFor,\n\tliteralDefaultForm: ({ dataType, typeParams }) => {\n\t\tif (dataType === pgJson.id || dataType === pgJsonb.id) return { kind: \"json\" };\n\t\tif (dataType === pgBytea.id) return {\n\t\t\tkind: \"sqlExpression\",\n\t\t\tliteral: (text) => sqlStringLiteral(base64ToHex(text)),\n\t\t\tlist: (literals) => arrayLiteral(literals, BYTEA_LIST_TYPE)\n\t\t};\n\t\tconst type = TEMPORAL_TYPES.get(dataType);\n\t\tif (type === void 0) return void 0;\n\t\tconst typeName = renderSqlTypeName(type, dataTypeParams(type, typeParams)).toUpperCase();\n\t\treturn {\n\t\t\tkind: \"sqlExpression\",\n\t\t\tliteral: (text) => sqlStringLiteral(storedTemporalText(text, type.id)),\n\t\t\tlist: (literals) => arrayLiteral(literals, typeName)\n\t\t};\n\t}\n};\n//#endregion\nexport { prisma7PostgresBinding };\n\n//# sourceMappingURL=prisma7-binding.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,MAAM,WAAW;AACjB,MAAM,oBAAoB;AAC1B,SAAS,IAAI,OAAO,QAAQ,GAAG;CAC9B,OAAO,OAAO,KAAK,CAAC,CAAC,SAAS,OAAO,GAAG;AACzC;;;;;;AAMA,SAAS,eAAe,UAAU;CACjC,MAAM,SAAS,OAAO,GAAG,SAAS,QAAQ,MAAM,GAAG,CAAC,CAAC;CACrD,MAAM,YAAY,SAAS,MAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,EAAE;CACrD,IAAI,cAAc,IAAI,OAAO;CAC7B,IAAI,cAAc,KAAK,OAAO,SAAS,MAAM,IAAI,SAAS,SAAS;CACnE,OAAO,YAAY,MAAM,SAAS,IAAI;AACvC;AACA,SAAS,aAAa,QAAQ;CAC7B,OAAO,WAAW,IAAI,KAAK,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC,QAAQ,OAAO,EAAE;AAChE;AACA,SAAS,WAAW,SAAS;CAC5B,MAAM,YAAY,KAAK,IAAI,OAAO;CAClC,MAAM,OAAO,YAAY;CACzB,OAAO,GAAG,UAAU,IAAI,MAAM,MAAM,IAAI,KAAK,MAAM,YAAY,EAAE,CAAC,IAAI,SAAS,IAAI,KAAK,IAAI,IAAI,IAAI;AACrG;;;;;;;;;;;;AAYA,SAAS,mBAAmB,MAAM,UAAU;CAC3C,MAAM,QAAQ,SAAS,KAAK,IAAI;CAChC,IAAI,UAAU,MAAM,OAAO,KAAK;CAChC,MAAM,GAAG,OAAO,IAAI,QAAQ,IAAI,MAAM,IAAI,MAAM,QAAQ,QAAQ,WAAW,IAAI,MAAM,aAAa,iBAAiB;CACnH,IAAI,aAAa,OAAO,IAAI,OAAO,GA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cAAc,UAAU;CACpC,SAAS;CACT,YAAY;EACX,YAAY;EACZ,iBAAiB,CAAC,MAAM,MAAM;CAC/B;CACA,YAAY;EACX,OAAO;EACP,MAAM;EACN,KAAK;EACL,MAAM;EACN,QAAQ;EACR,MAAM;CACP;;CAEA,oBAAoB;CACpB,wBAAwB;EACvB,YAAY;EACZ,YAAY;CACb;CACA;CACA,sBAAsB;CACtB,qBAAqB,EAAE,UAAU,iBAAiB;EACjD,IAAI,aAAa,OAAO,MAAM,aAAa,QAAQ,IAAI,OAAO,EAAE,MAAM,OAAO;EAC7E,IAAI,aAAa,QAAQ,IAAI,OAAO;GACnC,MAAM;GACN,UAAU,SAAS,iBAAiB,YAAY,IAAI,CAAC;GACrD,OAAO,aAAa,aAAa,UAAU,eAAe;EAC3D;EACA,MAAM,OAAO,eAAe,IAAI,QAAQ;EACxC,IAAI,SAAS,KAAK,GAAG,OAAO,KAAK;EACjC,MAAM,WAAW,kBAAkB,MAAM,eAAe,MAAM,UAAU,CAAC,CAAC,CAAC,YAAY;EACvF,OAAO;GACN,MAAM;GACN,UAAU,SAAS,iBAAiB,mBAAmB,MAAM,KAAK,EAAE,CAAC;GACrE,OAAO,aAAa,aAAa,UAAU,QAAQ;EACpD;CACD;AACD"}
1
+ {"version":3,"file":"prisma7-binding-DE7hezAQ.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/prisma7-binding.mjs"],"sourcesContent":["import { A as pgTimestamptz, E as pgTime, M as pgTimetz, O as pgTimestamp, a as pgBytea, b as pgJsonb, c as pgDate, y as pgJson } from \"./data-types-DRkmmE9S.mjs\";\nimport { c as postgresNowGeneratorIdFor } from \"./authoring-CL05jlfX.mjs\";\nimport { i as postgresCreateNamespace } from \"./postgres-schema-DIaAgaL6.mjs\";\nimport { t as postgresTargetDescriptorMeta } from \"./descriptor-meta-ClvaJRgh.mjs\";\nimport { t as parsePostgresDefault } from \"./default-normalizer-Bf_Fhv4v.mjs\";\nimport { n as defaultPrimaryKeyName, t as defaultForeignKeyName } from \"./default-constraint-names-CtcRXhV8.mjs\";\nimport { _ as EXISTING_COLUMN_DATE_TIME_TYPES, g as createPostgresTypeMap, l as noColumnDefaults, r as createPostgresDefaultMapping, t as buildPslDocumentAst } from \"./infer-psl-contract-lnoCopbJ.mjs\";\nimport { dataTypeParams, renderSqlTypeName, sqlBaseName } from \"@internal/sql-contract/data-type\";\nimport { SqlSchemaIR, SqlTableIR } from \"@internal/sql-schema-ir/types\";\nimport { toModelName } from \"@internal/family-sql/psl-infer\";\nimport { flatPslModels } from \"@internal/framework-components/psl-ast\";\n//#region src/core/prisma7-temporal-defaults.ts\nconst RFC_3339 = /^(\\d{4})-(\\d{2})-(\\d{2})[Tt ](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?(?:[Zz]|([+-])(\\d{2}):(\\d{2}))$/;\nconst MICROS_PER_SECOND = 1e6;\nfunction pad(value, width = 2) {\n\treturn String(value).padStart(width, \"0\");\n}\n/**\n* The microseconds Postgres keeps for a fraction-of-a-second digit string. Every digit counts:\n* `.1234565` is an exact tie, and C's `rint` takes the even neighbour 123456, while `.1234565001`\n* is above the tie and rounds up to 123457.\n*/\nfunction fractionMicros(fraction) {\n\tconst micros = Number(`${fraction}000000`.slice(0, 6));\n\tconst beyondTie = fraction.slice(6).replace(/0+$/, \"\");\n\tif (beyondTie === \"\") return micros;\n\tif (beyondTie === \"5\") return micros % 2 === 0 ? micros : micros + 1;\n\treturn beyondTie > \"5\" ? micros + 1 : micros;\n}\nfunction fractionText(micros) {\n\treturn micros === 0 ? \"\" : `.${pad(micros, 6).replace(/0+$/, \"\")}`;\n}\nfunction offsetText(minutes) {\n\tconst magnitude = Math.abs(minutes);\n\tconst rest = magnitude % 60;\n\treturn `${minutes < 0 ? \"-\" : \"+\"}${pad(Math.floor(magnitude / 60))}${rest === 0 ? \"\" : `:${pad(rest)}`}`;\n}\n/**\n* The text of the column default Postgres stores for a Prisma 7 `DateTime`\n* default, which Prisma 7 writes as `'2024-01-02 03:04:05.123 +02:00'`:\n* `date` keeps the written date, `time` and `timestamp` the written wall-clock\n* time without the offset, and `timetz` the time with the written offset.\n* `timestamptz` is carried in its UTC form, the text a session in UTC prints\n* (`2024-01-02 01:04:05+00`, and `0001-12-31 23:30:00+00 BC` before year 1);\n* a session in another time zone prints the same instant differently.\n* Fractional seconds are rounded to microseconds; the column's own precision\n* does not change a stored default.\n*/\nfunction storedTemporalText(text, dataType) {\n\tconst match = RFC_3339.exec(text);\n\tif (match === null) return void 0;\n\tconst [, year = \"\", month = \"\", day = \"\", hour, minute, second, fraction = \"\", sign, offsetHours, offsetMinutes] = match;\n\tif (dataType === pgDate.id) return `${year}-${month}-${day}`;\n\tconst micros = fractionMicros(fraction);\n\tconst clockSeconds = Number(hour) * 3600 + Number(minute) * 60 + Number(second) + Math.floor(micros / MICROS_PER_SECOND);\n\tconst fractional = fractionText(micros % MICROS_PER_SECOND);\n\tconst offsetMinutesTotal = sign === void 0 ? 0 : (sign === \"-\" ? -1 : 1) * (Number(offsetHours) * 60 + Number(offsetMinutes));\n\tif (dataType === pgTime.id || dataType === pgTimetz.id) {\n\t\tconst clock = `${pad(Math.floor(clockSeconds / 3600))}:${pad(Math.floor(clockSeconds / 60) % 60)}:${pad(clockSeconds % 60)}${fractional}`;\n\t\treturn dataType === pgTime.id ? clock : `${clock}${offsetText(offsetMinutesTotal)}`;\n\t}\n\tconst midnight = /* @__PURE__ */ new Date(0);\n\tmidnight.setUTCFullYear(Number(year), Number(month) - 1, Number(day));\n\tconst utcShift = dataType === pgTimestamptz.id ? offsetMinutesTotal * 60 : 0;\n\tconst stamp = new Date(midnight.getTime() + (clockSeconds - utcShift) * 1e3);\n\tconst astronomicalYear = stamp.getUTCFullYear();\n\tconst wallClock = `${pad(astronomicalYear > 0 ? astronomicalYear : 1 - astronomicalYear, 4)}-${pad(stamp.getUTCMonth() + 1)}-${pad(stamp.getUTCDate())} ${pad(stamp.getUTCHours())}:${pad(stamp.getUTCMinutes())}:${pad(stamp.getUTCSeconds())}${fractional}`;\n\tconst era = astronomicalYear > 0 ? \"\" : \" BC\";\n\treturn dataType === pgTimestamptz.id ? `${wallClock}+00${era}` : `${wallClock}${era}`;\n}\n//#endregion\n//#region src/core/prisma7-type-map.ts\n/**\n* What Prisma 7.10.0 creates in Postgres for each Prisma 7 scalar and `@db.*`\n* native type, expressed as the Prisma 8 authoring type constructor that\n* produces the same column. Derived from the SQL recorded in\n* `test/integration/test/fixtures/prisma7-source/reference/migration.sql`.\n* `args` are the constructor's positional arguments. A `@db.*` attribute's own\n* arguments replace them; without any, the column gets `args`, so `@db.Char`\n* is `Char(1)`, the `character(1)` Postgres stores for Prisma 7's `CHAR`.\n*/\nconst prisma7PostgresTypeMap = {\n\tscalars: {\n\t\tString: {\n\t\t\tconstructorName: \"String\",\n\t\t\targs: []\n\t\t},\n\t\tBoolean: {\n\t\t\tconstructorName: \"Boolean\",\n\t\t\targs: []\n\t\t},\n\t\tInt: {\n\t\t\tconstructorName: \"Int\",\n\t\t\targs: []\n\t\t},\n\t\tBigInt: {\n\t\t\tconstructorName: \"BigInt\",\n\t\t\targs: []\n\t\t},\n\t\tFloat: {\n\t\t\tconstructorName: \"Float\",\n\t\t\targs: []\n\t\t},\n\t\tDecimal: {\n\t\t\tconstructorName: \"Numeric\",\n\t\t\targs: [\"65\", \"30\"]\n\t\t},\n\t\tDateTime: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timestamp,\n\t\t\targs: [\"3\"]\n\t\t},\n\t\tJson: {\n\t\t\tconstructorName: \"Jsonb\",\n\t\t\targs: []\n\t\t},\n\t\tBytes: {\n\t\t\tconstructorName: \"Bytes\",\n\t\t\targs: []\n\t\t}\n\t},\n\tnativeTypes: {\n\t\tText: {\n\t\t\tconstructorName: \"String\",\n\t\t\targs: []\n\t\t},\n\t\tVarChar: {\n\t\t\tconstructorName: \"VarChar\",\n\t\t\targs: []\n\t\t},\n\t\tChar: {\n\t\t\tconstructorName: \"Char\",\n\t\t\targs: [\"1\"]\n\t\t},\n\t\tUuid: {\n\t\t\tconstructorName: \"Uuid\",\n\t\t\targs: []\n\t\t},\n\t\tInet: {\n\t\t\tconstructorName: \"Inet\",\n\t\t\targs: []\n\t\t},\n\t\tBoolean: {\n\t\t\tconstructorName: \"Boolean\",\n\t\t\targs: []\n\t\t},\n\t\tInteger: {\n\t\t\tconstructorName: \"Int\",\n\t\t\targs: []\n\t\t},\n\t\tSmallInt: {\n\t\t\tconstructorName: \"SmallInt\",\n\t\t\targs: []\n\t\t},\n\t\tBigInt: {\n\t\t\tconstructorName: \"BigInt\",\n\t\t\targs: []\n\t\t},\n\t\tReal: {\n\t\t\tconstructorName: \"Real\",\n\t\t\targs: []\n\t\t},\n\t\tDoublePrecision: {\n\t\t\tconstructorName: \"Float\",\n\t\t\targs: []\n\t\t},\n\t\tDecimal: {\n\t\t\tconstructorName: \"Numeric\",\n\t\t\targs: []\n\t\t},\n\t\tTimestamp: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timestamp,\n\t\t\targs: []\n\t\t},\n\t\tTimestamptz: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timestamptz,\n\t\t\targs: []\n\t\t},\n\t\tDate: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.date,\n\t\t\targs: []\n\t\t},\n\t\tTime: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.time,\n\t\t\targs: []\n\t\t},\n\t\tTimetz: {\n\t\t\tconstructorName: EXISTING_COLUMN_DATE_TIME_TYPES.timetz,\n\t\t\targs: []\n\t\t},\n\t\tJson: {\n\t\t\tconstructorName: \"Json\",\n\t\t\targs: []\n\t\t},\n\t\tJsonB: {\n\t\t\tconstructorName: \"Jsonb\",\n\t\t\targs: []\n\t\t},\n\t\tByteA: {\n\t\t\tconstructorName: \"Bytes\",\n\t\t\targs: []\n\t\t}\n\t}\n};\n//#endregion\n//#region src/core/psl-infer/junction-relation-field-names.ts\nconst EMPTY_FOREIGN_KEY_EXTRAS = {\n\textraRelationsByTable: /* @__PURE__ */ new Map(),\n\tcrossSpaceFieldNamesByTable: /* @__PURE__ */ new Map(),\n\tdanglingForeignKeysByTable: /* @__PURE__ */ new Map()\n};\nfunction idTable(name) {\n\treturn new SqlTableIR({\n\t\tname,\n\t\tcolumns: { id: {\n\t\t\tname: \"id\",\n\t\t\tnativeType: \"int4\",\n\t\t\tnullable: false\n\t\t} },\n\t\tforeignKeys: [],\n\t\tuniques: [],\n\t\tindexes: [],\n\t\tprimaryKey: { columns: [\"id\"] }\n\t});\n}\n/**\n* The relation field names `contract infer` prints for an implicit\n* many-to-many junction table whose columns `A` and `B` reference `tableA`\n* and `tableB`, found by running infer's PSL construction on that table.\n*/\nfunction junctionRelationFieldNames(tableA, tableB) {\n\tlet junctionName = \"_junction\";\n\twhile ([tableA, tableB].some((table) => toModelName(table).name === toModelName(junctionName).name)) junctionName = `${junctionName}x`;\n\tconst column = (name) => ({\n\t\tname,\n\t\tnativeType: \"int4\",\n\t\tnullable: false\n\t});\n\tconst foreignKey = (columnName, referencedTable) => ({\n\t\tcolumns: [columnName],\n\t\treferencedTable,\n\t\treferencedColumns: [\"id\"]\n\t});\n\tconst junction = new SqlTableIR({\n\t\tname: junctionName,\n\t\tcolumns: {\n\t\t\tA: column(\"A\"),\n\t\t\tB: column(\"B\")\n\t\t},\n\t\tforeignKeys: [foreignKey(\"A\", tableA), foreignKey(\"B\", tableB)],\n\t\tuniques: [],\n\t\tindexes: [],\n\t\tprimaryKey: { columns: [\"A\", \"B\"] }\n\t});\n\tconst document = buildPslDocumentAst(new SqlSchemaIR({ tables: {\n\t\t[tableA]: idTable(tableA),\n\t\t[tableB]: idTable(tableB),\n\t\t[junctionName]: junction\n\t} }), {\n\t\ttypeMap: createPostgresTypeMap(),\n\t\tdefaultMapping: createPostgresDefaultMapping(),\n\t\tparseRawDefault: parsePostgresDefault,\n\t\tcolumnDefaults: noColumnDefaults\n\t}, EMPTY_FOREIGN_KEY_EXTRAS);\n\tconst junctionModelName = toModelName(junctionName).name;\n\tconst fields = flatPslModels(document).find((model) => model.name === junctionModelName)?.fields;\n\tconst scalarFieldCount = Object.keys(junction.columns).length;\n\tconst [a = \"\", b = \"\"] = (fields ?? []).slice(scalarFieldCount).map((field) => field.name);\n\treturn [a, b];\n}\n//#endregion\n//#region src/core/prisma7-binding.ts\nconst TEMPORAL_TYPES = new Map([\n\tpgTimestamp,\n\tpgTimestamptz,\n\tpgDate,\n\tpgTime,\n\tpgTimetz\n].map((type) => [type.id, type]));\nconst BYTEA_LIST_TYPE = sqlBaseName(pgBytea, {}).toUpperCase();\nfunction sqlStringLiteral(value) {\n\treturn value === void 0 ? void 0 : `'${value.replace(/'/g, \"''\")}'`;\n}\nfunction base64ToHex(base64) {\n\tif (!/^[A-Za-z0-9+/]*={0,2}$/.test(base64) || base64.length % 4 !== 0) return void 0;\n\treturn `\\\\x${Buffer.from(base64, \"base64\").toString(\"hex\")}`;\n}\nfunction arrayLiteral(literals, typeName) {\n\treturn `ARRAY[${literals.join(\", \")}]::${typeName}[]`;\n}\n/**\n* What the Postgres target supplies to the Prisma 7 interpreter. A `Bytes` or\n* `DateTime` default is carried as the SQL literal of the default Postgres\n* stores (`'\\x68656c6c6f'`, `'2024-01-02 03:04:05'`), and a list default as an\n* `ARRAY[...]` of those literals cast to the column type, rather than as the\n* column codec's JSON form (base64, ISO 8601 text). Verify reads both forms as\n* the same value; the reader keeps the SQL literal because storing the value\n* instead changes the contract hash of every such schema (TML-3455).\n*/\nconst prisma7PostgresBinding = {\n\ttarget: postgresTargetDescriptorMeta,\n\tcreateNamespace: postgresCreateNamespace,\n\tproviders: [\"postgresql\", \"postgres\"],\n\ttypeMap: prisma7PostgresTypeMap,\n\tnativeEnum: {\n\t\tentityKind: \"native_enum\",\n\t\ttypeConstructor: [\"pg\", \"enum\"]\n\t},\n\tindexTypes: {\n\t\tBTree: \"btree\",\n\t\tHash: \"hash\",\n\t\tGin: \"gin\",\n\t\tGist: \"gist\",\n\t\tSpGist: \"spgist\",\n\t\tBrin: \"brin\"\n\t},\n\t/** `NAMEDATALEN - 1`. */\n\tidentifierMaxBytes: 63,\n\tdefaultConstraintNames: {\n\t\tprimaryKey: defaultPrimaryKeyName,\n\t\tforeignKey: defaultForeignKeyName\n\t},\n\tjunctionRelationFieldNames,\n\tupdatedAtGeneratorId: postgresNowGeneratorIdFor,\n\tliteralDefaultForm: ({ dataType, typeParams }) => {\n\t\tif (dataType === pgJson.id || dataType === pgJsonb.id) return { kind: \"json\" };\n\t\tif (dataType === pgBytea.id) return {\n\t\t\tkind: \"sqlExpression\",\n\t\t\tliteral: (text) => sqlStringLiteral(base64ToHex(text)),\n\t\t\tlist: (literals) => arrayLiteral(literals, BYTEA_LIST_TYPE)\n\t\t};\n\t\tconst type = TEMPORAL_TYPES.get(dataType);\n\t\tif (type === void 0) return void 0;\n\t\tconst typeName = renderSqlTypeName(type, dataTypeParams(type, typeParams)).toUpperCase();\n\t\treturn {\n\t\t\tkind: \"sqlExpression\",\n\t\t\tliteral: (text) => sqlStringLiteral(storedTemporalText(text, type.id)),\n\t\t\tlist: (literals) => arrayLiteral(literals, typeName)\n\t\t};\n\t}\n};\n//#endregion\nexport { prisma7PostgresBinding };\n\n//# sourceMappingURL=prisma7-binding.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,MAAM,WAAW;AACjB,MAAM,oBAAoB;AAC1B,SAAS,IAAI,OAAO,QAAQ,GAAG;CAC9B,OAAO,OAAO,KAAK,CAAC,CAAC,SAAS,OAAO,GAAG;AACzC;;;;;;AAMA,SAAS,eAAe,UAAU;CACjC,MAAM,SAAS,OAAO,GAAG,SAAS,QAAQ,MAAM,GAAG,CAAC,CAAC;CACrD,MAAM,YAAY,SAAS,MAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,EAAE;CACrD,IAAI,cAAc,IAAI,OAAO;CAC7B,IAAI,cAAc,KAAK,OAAO,S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K;EACjC,MAAM,WAAW,kBAAkB,MAAM,eAAe,MAAM,UAAU,CAAC,CAAC,CAAC,YAAY;EACvF,OAAO;GACN,MAAM;GACN,UAAU,SAAS,iBAAiB,mBAAmB,MAAM,KAAK,EAAE,CAAC;GACrE,OAAO,aAAa,aAAa,UAAU,QAAQ;EACpD;CACD;AACD"}
@@ -1,8 +1,8 @@
1
1
  import { s as postgresError } from "./errors-DYyzTYzE-39CV_aMo.mjs";
2
- import { B as isPostgresOpFactoryCall } from "./op-factory-call-CXlapjuM-BHZNE4Ph.mjs";
2
+ import { B as isPostgresOpFactoryCall } from "./op-factory-call-BfGiIbUO-BqaxwJhg.mjs";
3
3
  import { blindCast } from "@prisma/orm-framework/utils/casts";
4
4
  import { isThenable } from "@prisma/orm-framework/utils/promise";
5
- //#region ../../../3-targets/3-targets/postgres/dist/render-ops-B5FbJGYf.mjs
5
+ //#region ../../../3-targets/3-targets/postgres/dist/render-ops-DjsYroU7.mjs
6
6
  /**
7
7
  * Asserts an op materialised by an `OpFactoryCall` targets postgres. The
8
8
  * extension surface lets any contributor emit calls, so this is the
@@ -38,4 +38,4 @@ function renderOps(calls, lowerer) {
38
38
  //#endregion
39
39
  export { renderOps as t };
40
40
 
41
- //# sourceMappingURL=render-ops-B5FbJGYf-CnmbaalQ.mjs.map
41
+ //# sourceMappingURL=render-ops-DjsYroU7-Nqqlj8co.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-ops-B5FbJGYf-CnmbaalQ.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/render-ops-B5FbJGYf.mjs"],"sourcesContent":["import { s as postgresError } from \"./errors-DYyzTYzE.mjs\";\nimport { L as isPostgresOpFactoryCall } from \"./op-factory-call-CXlapjuM.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { isThenable } from \"@internal/utils/promise\";\n//#region src/core/migrations/render-ops.ts\n/**\n* Asserts an op materialised by an `OpFactoryCall` targets postgres. The\n* extension surface lets any contributor emit calls, so this is the\n* integration boundary where a stray non-postgres op would otherwise\n* silently flow through to postgres-shaped renderers — exactly the\n* place to fail loudly with op metadata (`id` + `target.id`).\n*/\nfunction assertPostgresOp(op, callFactoryName) {\n\tconst targetId = blindCast(op).target?.id;\n\tif (targetId !== \"postgres\") throw postgresError(\"MIGRATION.TARGET_MISMATCH\", `renderOps: expected postgres op but got target.id=\"${String(targetId)}\" for op.id=\"${op.id}\" (factoryName=\"${callFactoryName}\"). An OpFactoryCall produced an op for a different target on the postgres planner path; check the call's target binding.`, { meta: {\n\t\topId: op.id,\n\t\ttargetId: String(targetId),\n\t\tfactoryName: callFactoryName\n\t} });\n}\nfunction checkedOp(opOrPromise, callFactoryName) {\n\tif (isThenable(opOrPromise)) {\n\t\tconst checked = opOrPromise.then((op) => {\n\t\t\tassertPostgresOp(op, callFactoryName);\n\t\t\treturn op;\n\t\t});\n\t\tchecked.catch(() => void 0);\n\t\treturn checked;\n\t}\n\tassertPostgresOp(opOrPromise, callFactoryName);\n\treturn opOrPromise;\n}\nfunction renderOps(calls, lowerer) {\n\treturn calls.flatMap((c) => {\n\t\treturn (isPostgresOpFactoryCall(c) ? c.toOps(lowerer) : [blindCast(c).toOp(lowerer)]).map((opOrPromise) => checkedOp(opOrPromise, c.factoryName));\n\t});\n}\n//#endregion\nexport { renderOps as t };\n\n//# sourceMappingURL=render-ops-B5FbJGYf.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,SAAS,iBAAiB,IAAI,iBAAiB;CAC9C,MAAM,WAAW,UAAU,EAAE,CAAC,CAAC,QAAQ;CACvC,IAAI,aAAa,YAAY,MAAM,cAAc,6BAA6B,sDAAsD,OAAO,QAAQ,EAAE,eAAe,GAAG,GAAG,kBAAkB,gBAAgB,4HAA4H,EAAE,MAAM;EAC/U,MAAM,GAAG;EACT,UAAU,OAAO,QAAQ;EACzB,aAAa;CACd,EAAE,CAAC;AACJ;AACA,SAAS,UAAU,aAAa,iBAAiB;CAChD,IAAI,WAAW,WAAW,GAAG;EAC5B,MAAM,UAAU,YAAY,MAAM,OAAO;GACxC,iBAAiB,IAAI,eAAe;GACpC,OAAO;EACR,CAAC;EACD,QAAQ,YAAY,KAAK,CAAC;EAC1B,OAAO;CACR;CACA,iBAAiB,aAAa,eAAe;CAC7C,OAAO;AACR;AACA,SAAS,UAAU,OAAO,SAAS;CAClC,OAAO,MAAM,SAAS,MAAM;EAC3B,QAAQ,wBAAwB,CAAC,IAAI,EAAE,MAAM,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,EAAA,CAAG,KAAK,gBAAgB,UAAU,aAAa,EAAE,WAAW,CAAC;CACjJ,CAAC;AACF"}
1
+ {"version":3,"file":"render-ops-DjsYroU7-Nqqlj8co.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/render-ops-DjsYroU7.mjs"],"sourcesContent":["import { s as postgresError } from \"./errors-DYyzTYzE.mjs\";\nimport { L as isPostgresOpFactoryCall } from \"./op-factory-call-BfGiIbUO.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { isThenable } from \"@internal/utils/promise\";\n//#region src/core/migrations/render-ops.ts\n/**\n* Asserts an op materialised by an `OpFactoryCall` targets postgres. The\n* extension surface lets any contributor emit calls, so this is the\n* integration boundary where a stray non-postgres op would otherwise\n* silently flow through to postgres-shaped renderers — exactly the\n* place to fail loudly with op metadata (`id` + `target.id`).\n*/\nfunction assertPostgresOp(op, callFactoryName) {\n\tconst targetId = blindCast(op).target?.id;\n\tif (targetId !== \"postgres\") throw postgresError(\"MIGRATION.TARGET_MISMATCH\", `renderOps: expected postgres op but got target.id=\"${String(targetId)}\" for op.id=\"${op.id}\" (factoryName=\"${callFactoryName}\"). An OpFactoryCall produced an op for a different target on the postgres planner path; check the call's target binding.`, { meta: {\n\t\topId: op.id,\n\t\ttargetId: String(targetId),\n\t\tfactoryName: callFactoryName\n\t} });\n}\nfunction checkedOp(opOrPromise, callFactoryName) {\n\tif (isThenable(opOrPromise)) {\n\t\tconst checked = opOrPromise.then((op) => {\n\t\t\tassertPostgresOp(op, callFactoryName);\n\t\t\treturn op;\n\t\t});\n\t\tchecked.catch(() => void 0);\n\t\treturn checked;\n\t}\n\tassertPostgresOp(opOrPromise, callFactoryName);\n\treturn opOrPromise;\n}\nfunction renderOps(calls, lowerer) {\n\treturn calls.flatMap((c) => {\n\t\treturn (isPostgresOpFactoryCall(c) ? c.toOps(lowerer) : [blindCast(c).toOp(lowerer)]).map((opOrPromise) => checkedOp(opOrPromise, c.factoryName));\n\t});\n}\n//#endregion\nexport { renderOps as t };\n\n//# sourceMappingURL=render-ops-DjsYroU7.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,SAAS,iBAAiB,IAAI,iBAAiB;CAC9C,MAAM,WAAW,UAAU,EAAE,CAAC,CAAC,QAAQ;CACvC,IAAI,aAAa,YAAY,MAAM,cAAc,6BAA6B,sDAAsD,OAAO,QAAQ,EAAE,eAAe,GAAG,GAAG,kBAAkB,gBAAgB,4HAA4H,EAAE,MAAM;EAC/U,MAAM,GAAG;EACT,UAAU,OAAO,QAAQ;EACzB,aAAa;CACd,EAAE,CAAC;AACJ;AACA,SAAS,UAAU,aAAa,iBAAiB;CAChD,IAAI,WAAW,WAAW,GAAG;EAC5B,MAAM,UAAU,YAAY,MAAM,OAAO;GACxC,iBAAiB,IAAI,eAAe;GACpC,OAAO;EACR,CAAC;EACD,QAAQ,YAAY,KAAK,CAAC;EAC1B,OAAO;CACR;CACA,iBAAiB,aAAa,eAAe;CAC7C,OAAO;AACR;AACA,SAAS,UAAU,OAAO,SAAS;CAClC,OAAO,MAAM,SAAS,MAAM;EAC3B,QAAQ,wBAAwB,CAAC,IAAI,EAAE,MAAM,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,EAAA,CAAG,KAAK,gBAAgB,UAAU,aAAa,EAAE,WAAW,CAAC;CACjJ,CAAC;AACF"}
@@ -1,7 +1,7 @@
1
1
  import { t as DEFAULT_NAMESPACE_ID } from "./namespace-ids-xtp_ZY86-Cpp8PTxD.mjs";
2
- import { d as isPostgresSchema } from "./postgres-schema-COkaqci7-C6JpiSha.mjs";
2
+ import { d as isPostgresSchema } from "./postgres-schema-DIaAgaL6-Dmqzjbu5.mjs";
3
3
  import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
4
- //#region ../../../3-targets/3-targets/postgres/dist/resolve-ddl-schema-DD69Bwve.mjs
4
+ //#region ../../../3-targets/3-targets/postgres/dist/resolve-ddl-schema-b746rtzf.mjs
5
5
  /**
6
6
  * Given the contract's storage and a namespace id, returns the live Postgres
7
7
  * DDL schema name that namespace maps to. A named Postgres namespace dispatches
@@ -19,4 +19,4 @@ function resolveDdlSchemaForNamespaceStorage(storage, namespaceId) {
19
19
  //#endregion
20
20
  export { resolveDdlSchemaForNamespaceStorage as t };
21
21
 
22
- //# sourceMappingURL=resolve-ddl-schema-DD69Bwve-e-BpAfFa.mjs.map
22
+ //# sourceMappingURL=resolve-ddl-schema-b746rtzf-Dydnc_gK.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-ddl-schema-DD69Bwve-e-BpAfFa.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/resolve-ddl-schema-DD69Bwve.mjs"],"sourcesContent":["import { t as DEFAULT_NAMESPACE_ID } from \"./namespace-ids-xtp_ZY86.mjs\";\nimport { r as isPostgresSchema } from \"./postgres-schema-COkaqci7.mjs\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\n//#region src/core/migrations/resolve-ddl-schema.ts\n/**\n* Given the contract's storage and a namespace id, returns the live Postgres\n* DDL schema name that namespace maps to. A named Postgres namespace dispatches\n* to its `ddlSchemaName(storage)`; the unbound sentinel resolves to\n* `DEFAULT_NAMESPACE_ID` (the search-path default for offline planning); a\n* bare object payload (used by some tests) falls back to the namespace id\n* itself.\n*/\nfunction resolveDdlSchemaForNamespaceStorage(storage, namespaceId) {\n\tif (namespaceId === UNBOUND_NAMESPACE_ID) return DEFAULT_NAMESPACE_ID;\n\tconst namespace = storage.namespaces[namespaceId];\n\tif (namespace && isPostgresSchema(namespace)) return namespace.ddlSchemaName(storage);\n\treturn namespaceId;\n}\n//#endregion\nexport { resolveDdlSchemaForNamespaceStorage as t };\n\n//# sourceMappingURL=resolve-ddl-schema-DD69Bwve.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,SAAS,oCAAoC,SAAS,aAAa;CAClE,IAAI,gBAAgB,sBAAsB,OAAO;CACjD,MAAM,YAAY,QAAQ,WAAW;CACrC,IAAI,aAAa,iBAAiB,SAAS,GAAG,OAAO,UAAU,cAAc,OAAO;CACpF,OAAO;AACR"}
1
+ {"version":3,"file":"resolve-ddl-schema-b746rtzf-Dydnc_gK.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/resolve-ddl-schema-b746rtzf.mjs"],"sourcesContent":["import { t as DEFAULT_NAMESPACE_ID } from \"./namespace-ids-xtp_ZY86.mjs\";\nimport { r as isPostgresSchema } from \"./postgres-schema-DIaAgaL6.mjs\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\n//#region src/core/migrations/resolve-ddl-schema.ts\n/**\n* Given the contract's storage and a namespace id, returns the live Postgres\n* DDL schema name that namespace maps to. A named Postgres namespace dispatches\n* to its `ddlSchemaName(storage)`; the unbound sentinel resolves to\n* `DEFAULT_NAMESPACE_ID` (the search-path default for offline planning); a\n* bare object payload (used by some tests) falls back to the namespace id\n* itself.\n*/\nfunction resolveDdlSchemaForNamespaceStorage(storage, namespaceId) {\n\tif (namespaceId === UNBOUND_NAMESPACE_ID) return DEFAULT_NAMESPACE_ID;\n\tconst namespace = storage.namespaces[namespaceId];\n\tif (namespace && isPostgresSchema(namespace)) return namespace.ddlSchemaName(storage);\n\treturn namespaceId;\n}\n//#endregion\nexport { resolveDdlSchemaForNamespaceStorage as t };\n\n//# sourceMappingURL=resolve-ddl-schema-b746rtzf.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,SAAS,oCAAoC,SAAS,aAAa;CAClE,IAAI,gBAAgB,sBAAsB,OAAO;CACjD,MAAM,YAAY,QAAQ,WAAW;CACrC,IAAI,aAAa,iBAAiB,SAAS,GAAG,OAAO,UAAU,cAAc,OAAO;CACpF,OAAO;AACR"}
@@ -1,20 +1,11 @@
1
- import { n as FullTextSearchLanguage } from "./text-search-languages-BzhBMCtK-D26JB2w3.mjs";
1
+ import { i as FullTextIndexDefinition } from "./full-text-index-definition-CwWV12H4-DNafWNux.mjs";
2
2
  //#region ../../../3-targets/3-targets/postgres/dist/sql-utils.d.mts
3
- //#region src/core/full-text-index-expression.d.ts
3
+ //#region src/core/full-text-search-document.d.ts
4
4
  /**
5
- * The index expression that covers `fullTextMatches`, `fullTextRank` and
6
- * `fullTextHeadline` on a column. Postgres uses an expression index only when the
7
- * indexed expression is the same `to_tsvector` over the same configuration literal and
8
- * the same column as the query, so both the `@@fullTextIndex` attribute and the
9
- * TypeScript helper render it here rather than each spelling it out.
5
+ * The search document over storage columns, as the index DDL and the schema node carry it. A
6
+ * definition that breaks a rule of a full-text index is refused.
10
7
  */
11
- declare function renderFullTextIndexExpression(language: FullTextSearchLanguage, columnName: string): string;
12
- /**
13
- * Whether a column stored through this codec can be indexed for full-text search.
14
- * Read from the codec descriptors themselves, so both authoring surfaces accept
15
- * exactly the columns the `textual` operations dispatch on.
16
- */
17
- declare function isFullTextIndexableCodec(codecId: string): boolean;
8
+ declare function renderFullTextIndexDocument(definition: FullTextIndexDefinition): string;
18
9
  //#endregion
19
10
  //#region src/core/sql-utils.d.ts
20
11
  /**
@@ -75,5 +66,5 @@ declare function quoteQualifiedName(name: string): string;
75
66
  */
76
67
  declare function validateEnumValueLength(value: string, enumTypeName: string): void;
77
68
  //#endregion
78
- export { quoteQualifiedName as a, quoteIdentifier as i, isFullTextIndexableCodec as n, renderFullTextIndexExpression as o, qualifyName as r, validateEnumValueLength as s, escapeLiteral as t };
79
- //# sourceMappingURL=sql-utils-DqFxskY6.d.mts.map
69
+ export { renderFullTextIndexDocument as a, quoteQualifiedName as i, qualifyName as n, validateEnumValueLength as o, quoteIdentifier as r, escapeLiteral as t };
70
+ //# sourceMappingURL=sql-utils-CGSJ8fH0.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sql-utils-CGSJ8fH0.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/sql-utils.d.mts"],"mappings":";;;;;;;iBAOiB,4BAA4B,YAAY;;;;;;;;;;;;;;;;;;;;;;;;iBAwBxC,gBAAgB;;;;;;;;;;;;iBAYhB,cAAc;;;;iBAId,YAAY,oBAAoB;;;;;;;iBAOhC,mBAAmB;;;;;;;;;;;;iBAYnB,wBAAwB,eAAe"}
package/dist/target.d.mts CHANGED
@@ -18,8 +18,9 @@ import "./ddl-B-WjvCal.mjs";
18
18
  import "./codec-ids-BQRXOwQR.mjs";
19
19
  import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-ZZ7Y5boE.mjs";
20
20
  import { i as normalizeSchemaNativeType, n as IntrospectedNativeType, r as introspectedNativeType, t as CatalogColumnType } from "./native-type-normalizer-BFo5tSyh.mjs";
21
- import { n as FullTextSearchLanguage, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-BzhBMCtK-D26JB2w3.mjs";
22
- import { a as quoteQualifiedName, i as quoteIdentifier, n as isFullTextIndexableCodec, o as renderFullTextIndexExpression, r as qualifyName, s as validateEnumValueLength, t as escapeLiteral } from "./sql-utils-DqFxskY6.mjs";
21
+ import { a as weightGroupsOf, n as FullTextFieldsInput, r as FullTextSearchLanguage, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-CO6775ih-DMYr9qsC.mjs";
22
+ import { a as FullTextIndexProblem, i as FullTextIndexDefinition, n as FullTextColumnCodecs, o as describeFullTextIndexProblem, r as FullTextIndexCandidate, s as fullTextIndexProblems, t as FULL_TEXT_INDEX_TYPE } from "./full-text-index-definition-CwWV12H4-DNafWNux.mjs";
23
+ import { a as renderFullTextIndexDocument, i as quoteQualifiedName, n as qualifyName, o as validateEnumValueLength, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-CGSJ8fH0.mjs";
23
24
  import { t as postgresAggregateDescriptors } from "./aggregates-CgqNfj2O.mjs";
24
25
  import { a as JsonValue$1, c as TimeString, d as Timestamptz, f as TimestamptzString, h as Varchar, i as Interval, l as Timestamp, m as VarBit, n as Char, o as Numeric, p as Timetz, r as CodecTypes, s as Time, t as Bit, u as TimestampString } from "./codec-types-CYsrudBM-DcYPKpS1.mjs";
25
26
  import "./codec-types-CY3pawL3.mjs";
@@ -32,8 +33,9 @@ import "./data-transform-BSM7TQpE.mjs";
32
33
  import { A as pgTimestamptz, C as pgPrecisionParams, D as pgTimeCanonical, E as pgTime, F as pgUuid, I as pgVarbit, L as pgVarchar, M as pgTimetz, N as pgTimetzCanonical, O as pgTimestamp, P as pgTsquery, R as postgresDataTypeEntries, S as pgNumericParams, T as pgTextArray, _ as pgInt8, a as pgBytea, b as pgJsonb, c as pgDate, d as pgEnumParams, f as pgFloat4, g as pgInt4, h as pgInt2, i as pgBool, j as pgTimestamptzCanonical, k as pgTimestampCanonical, l as pgDateCanonical, m as pgInet, n as pgBit, o as pgChar, p as pgFloat8, r as pgBitLengthParams, s as pgCharacterLengthParams, t as createPostgresBuiltinDataTypeLookup, u as pgEnum, v as pgInterval, w as pgText, x as pgNumeric, y as pgJson, z as postgresDataTypes } from "./data-types-BDkZIUMI.mjs";
33
34
  import { t as buildPostgresPlanDiff } from "./diff-database-schema-BGcRo8FM.mjs";
34
35
  import { n as postgresError, t as errorPostgresMigrationStackMissing } from "./errors-DZ3zQdpT.mjs";
35
- import { a as plaintoTsquery, i as phrasetoTsquery, n as TsqueryExpression, o as toTsquery, r as TsqueryParserOptions, s as websearchToTsquery, t as TextArgument } from "./full-text-parsers-DrS_1B-x-BcAnBoQP.mjs";
36
- import { n as tsquery, t as TsqueryTag } from "./full-text-CCqTEQ9y.mjs";
36
+ import { a as TsqueryExpression, c as phrasetoTsquery, d as websearchToTsquery, i as TextArgument, l as plaintoTsquery, n as FullTextDocumentColumn, o as TsqueryParserOptions, r as FullTextDocumentGroups, s as fullTextDocument, t as FullTextDocument, u as toTsquery } from "./full-text-parsers-B_aFtL8u-BTbiMXi1.mjs";
37
+ import { n as tsquery, t as TsqueryTag } from "./full-text-Dg6-SYSP.mjs";
38
+ import { t as postgresCodecTraitsOf } from "./full-text-index-authoring-Ca6bWXyG.mjs";
37
39
  import { B as SetDefaultCall, C as DropDefaultCall, D as DropPostgresRlsPolicyCall, E as DropNotNullCall, F as RenameColumnCall, I as RenameConstraintCall, L as RenameIndexCall, N as RawSqlCall, O as DropTableCall, R as RenamePostgresRlsPolicyCall, S as DropConstraintCall, T as DropNativeEnumTypeCall, V as SetNotNullCall, _ as CreateTableCall, a as AddNotNullColumnWithTempDefaultCall, b as DropCheckConstraintCall, c as AlterColumnTypeCall, d as CreateExtensionCall, f as CreateIndexCall, g as CreateSchemaCall, h as CreatePostgresRlsPolicyCall, i as AddNativeEnumValueCall, k as EnableRowLevelSecurityCall, m as CreateNativeEnumTypeCall, n as AddColumnCall, o as AddPrimaryKeyCall, r as AddForeignKeyCall, s as AddUniqueCall, t as AddCheckConstraintCall, v as DataTransformCall, w as DropIndexCall, x as DropColumnCall, y as DisableRowLevelSecurityCall, z as RenameTableCall } from "./op-factory-call-BaT4DlIo-BnVxOrwv.mjs";
38
40
  import { n as planIssues, t as coalesceSubtreeIssues } from "./issue-planner-BwcfQagl.mjs";
39
41
  import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-BGBqXaQ4.mjs";
@@ -41,8 +43,8 @@ import { t as PostgresContractView } from "./postgres-contract-view-2OP5JnXl-D2f
41
43
  import { t as PostgresMigration } from "./postgres-migration-D2Xs7BfD-Df3OpTyw.mjs";
42
44
  import { a as fn, c as placeholder, d as unique, i as createExtension, l as primaryKey, n as checkExpression, o as foreignKey, r as col, s as lit, t as MigrationCLI, u as rawSql } from "./migration-D5f4UTR3.mjs";
43
45
  import "./op-factory-call-CwFkWbuo.mjs";
44
- import { a as TsqueryArgument, i as QueryOperationTypes, n as FullTextMatchesOptions, r as FullTextRankOptions, t as FullTextHeadlineOptions } from "./operation-types-CjJY7prP.mjs";
45
- import "./pack-Bq9yq-OS.mjs";
46
+ import { a as TsqueryArgument, i as QueryOperationTypes, n as FullTextMatchesOptions, r as FullTextRankOptions, t as FullTextHeadlineOptions } from "./operation-types-llBeWQxy.mjs";
47
+ import "./pack-C3Y2SBNH.mjs";
46
48
  import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-BwZrjNPg-Ch67sFwK.mjs";
47
49
  import { n as createPostgresMigrationPlanner, t as contractToPostgresDatabaseSchemaNode } from "./planner-BkGEylgU.mjs";
48
50
  import { a as renderDefaultLiteral, i as postgresDateTimeDdlText, n as buildColumnTypeSql, r as isPostgresDateTimeDataType, t as DefaultColumn } from "./planner-ddl-builders-BBQC5ET6.mjs";
@@ -50,9 +52,9 @@ import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./pla
50
52
  import "./planner-produced-postgres-migration-eDPWYNBo.mjs";
51
53
  import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-C4DHAddq.mjs";
52
54
  import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-CXDdt_9m.mjs";
53
- import { t as prisma7PostgresBinding } from "./prisma7-binding-Dm34z6Fq.mjs";
55
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-C1fIMMTb.mjs";
54
56
  import { t as renderOps } from "./render-ops-DPwhZt2W.mjs";
55
57
  import { t as renderCallsToTypeScript } from "./render-typescript-6sCFvMBh.mjs";
56
58
  import { n as PostgresListDecoder, r as PostgresRuntimeTargetInstance, t as PostgresContractSerializer } from "./runtime-DAJXp26i.mjs";
57
59
  import { t as resolveDdlSchemaForNamespaceStorage } from "./schema-ir-annotations-DuuYh0gl.mjs";
58
- export { type AdaptedPostgresCodecDescriptor, AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddForeignKeyCall, AddNativeEnumValueCall, AddNotNullColumnWithTempDefaultCall, AddPrimaryKeyCall, AddUniqueCall, AlterColumnTypeCall, type AlterTableActionVisitor, type AnyAlterTableAction, type AnyPostgresCodecDescriptor, type AnyPostgresDdlNode, Bit, type CatalogColumnType, Char, CodecTypes, type ColumnDefaultCheckBuilder, type ColumnExistsCheckBuilder, type ConstraintExistsCheckBuilder, type ContentHashParts, CreateExtensionCall, CreateIndexCall, type CreateIndexElements, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, type DataTransformClosure, type DataTransformOptions, type DdlIndexElements, type DefaultColumn, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, type ExtensionExistsCheckBuilder, type FullTextHeadlineOptions, type FullTextMatchesOptions, type FullTextRankOptions, type FullTextSearchLanguage, INSTANT_NOW_GENERATOR_ID, type IndexExistsCheckBuilder, Interval, type IntrospectedNativeType, type JsonValue$1 as JsonValue, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, Numeric, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, POLICY_OPERATION_PREDICATES, type PgBitDescriptor, type PgBoolDescriptor, type PgCharDescriptor, type PgEnumCodec, type PgEnumDescriptor, type PgEnumParams, type PgFloat4Descriptor, type PgFloat8Descriptor, type PgFloatDescriptor, type PgInetDescriptor, type PgInt2Descriptor, type PgInt4Descriptor, type PgInt8Descriptor, type PgInt8NumberDescriptor, type PgIntDescriptor, type PgInterval, type PgIntervalDescriptor, type PgJsonDescriptor, type PgJsonbDescriptor, type PgNumericDescriptor, type PgTextDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, type PgTimetzDescriptor, type PgUnboundedIntDescriptor, type PgUuidDescriptor, type PgVarbitDescriptor, type PgVarcharDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, type PostgresCheckExpressionCandidate, type PostgresCheckExpressionInput, type PostgresCheckKind, PostgresCodecDescriptor, type PostgresCodecDescriptorRegistry, type PostgresCodecOptions, type PostgresCodecRegistry, type PostgresColumnDefault, type PostgresContract, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, type PostgresDatabaseSchemaNodeInput, PostgresDdlNode, type PostgresDdlVisitor, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresListDecoder, PostgresNamespaceSchemaNode, type PostgresNamespaceSchemaNodeInput, PostgresNativeEnum, type PostgresNativeEnumInput, PostgresNativeEnumSchemaNode, type PostgresNativeEnumSchemaNodeInput, type PostgresPlanTargetDetails, PostgresPolicySchemaNode, type PostgresPolicySchemaNodeInput, PostgresRlsEnablement, type PostgresRlsEnablementInput, PostgresRlsPolicy, type PostgresRlsPolicyInput, PostgresRole, type PostgresRoleInput, PostgresRoleSchemaNode, type PostgresRoleSchemaNodeInput, PostgresRuntimeTargetInstance, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, type PostgresTableSchemaNodeInput, PostgresTableSource, PostgresUnboundSchema, type QueryOperationTypes, RawSqlCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, type RenderedRlsPolicyLiteral, type RlsEnabledCheckBuilder, type RlsPolicyExistsCheckBuilder, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SerializedRlsPolicy, SetDefaultCall, SetNotNullCall, type TableExistsCheckBuilder, type TablePrimaryKeyCheckBuilder, type TextArgument, Time, TimeString, Timestamp, TimestampString, Timestamptz, TimestamptzString, Timetz, type TsqueryArgument, type TsqueryExpression, type TsqueryParserOptions, type TsqueryTag, TypeScriptRenderablePostgresMigration, VarBit, Varchar, addColumnAction, alterTable, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, introspectedNativeType, isFullTextIndexableCodec, isPgEnumParams, isPostgresCodecDescriptor, isPostgresDateTimeDataType, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateCanonical, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgNumeric, pgNumericColumn, pgNumericParams, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetz, pgTimetzCanonical, pgTimetzColumn, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, plaintoTsquery, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresDateTimeDdlText, postgresError, postgresNativeAuthoringTypes, postgresPslTypeConstructors, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, postgresScalarAuthoringTypes, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexExpression, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery };
60
+ export { type AdaptedPostgresCodecDescriptor, AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddForeignKeyCall, AddNativeEnumValueCall, AddNotNullColumnWithTempDefaultCall, AddPrimaryKeyCall, AddUniqueCall, AlterColumnTypeCall, type AlterTableActionVisitor, type AnyAlterTableAction, type AnyPostgresCodecDescriptor, type AnyPostgresDdlNode, Bit, type CatalogColumnType, Char, CodecTypes, type ColumnDefaultCheckBuilder, type ColumnExistsCheckBuilder, type ConstraintExistsCheckBuilder, type ContentHashParts, CreateExtensionCall, CreateIndexCall, type CreateIndexElements, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, type DataTransformClosure, type DataTransformOptions, type DdlIndexElements, type DefaultColumn, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, type ExtensionExistsCheckBuilder, FULL_TEXT_INDEX_TYPE, type FullTextColumnCodecs, FullTextDocument, type FullTextDocumentColumn, type FullTextDocumentGroups, type FullTextFieldsInput, type FullTextHeadlineOptions, type FullTextIndexCandidate, type FullTextIndexDefinition, type FullTextIndexProblem, type FullTextMatchesOptions, type FullTextRankOptions, type FullTextSearchLanguage, INSTANT_NOW_GENERATOR_ID, type IndexExistsCheckBuilder, Interval, type IntrospectedNativeType, type JsonValue$1 as JsonValue, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, Numeric, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, POLICY_OPERATION_PREDICATES, type PgBitDescriptor, type PgBoolDescriptor, type PgCharDescriptor, type PgEnumCodec, type PgEnumDescriptor, type PgEnumParams, type PgFloat4Descriptor, type PgFloat8Descriptor, type PgFloatDescriptor, type PgInetDescriptor, type PgInt2Descriptor, type PgInt4Descriptor, type PgInt8Descriptor, type PgInt8NumberDescriptor, type PgIntDescriptor, type PgInterval, type PgIntervalDescriptor, type PgJsonDescriptor, type PgJsonbDescriptor, type PgNumericDescriptor, type PgTextDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, type PgTimetzDescriptor, type PgUnboundedIntDescriptor, type PgUuidDescriptor, type PgVarbitDescriptor, type PgVarcharDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, type PostgresCheckExpressionCandidate, type PostgresCheckExpressionInput, type PostgresCheckKind, PostgresCodecDescriptor, type PostgresCodecDescriptorRegistry, type PostgresCodecOptions, type PostgresCodecRegistry, type PostgresColumnDefault, type PostgresContract, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, type PostgresDatabaseSchemaNodeInput, PostgresDdlNode, type PostgresDdlVisitor, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresListDecoder, PostgresNamespaceSchemaNode, type PostgresNamespaceSchemaNodeInput, PostgresNativeEnum, type PostgresNativeEnumInput, PostgresNativeEnumSchemaNode, type PostgresNativeEnumSchemaNodeInput, type PostgresPlanTargetDetails, PostgresPolicySchemaNode, type PostgresPolicySchemaNodeInput, PostgresRlsEnablement, type PostgresRlsEnablementInput, PostgresRlsPolicy, type PostgresRlsPolicyInput, PostgresRole, type PostgresRoleInput, PostgresRoleSchemaNode, type PostgresRoleSchemaNodeInput, PostgresRuntimeTargetInstance, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, type PostgresTableSchemaNodeInput, PostgresTableSource, PostgresUnboundSchema, type QueryOperationTypes, RawSqlCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, type RenderedRlsPolicyLiteral, type RlsEnabledCheckBuilder, type RlsPolicyExistsCheckBuilder, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SerializedRlsPolicy, SetDefaultCall, SetNotNullCall, type TableExistsCheckBuilder, type TablePrimaryKeyCheckBuilder, type TextArgument, Time, TimeString, Timestamp, TimestampString, Timestamptz, TimestamptzString, Timetz, type TsqueryArgument, type TsqueryExpression, type TsqueryParserOptions, type TsqueryTag, TypeScriptRenderablePostgresMigration, VarBit, Varchar, addColumnAction, alterTable, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, introspectedNativeType, isPgEnumParams, isPostgresCodecDescriptor, isPostgresDateTimeDataType, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateCanonical, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgNumeric, pgNumericColumn, pgNumericParams, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetz, pgTimetzCanonical, pgTimetzColumn, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, plaintoTsquery, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresDateTimeDdlText, postgresError, postgresNativeAuthoringTypes, postgresPslTypeConstructors, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, postgresScalarAuthoringTypes, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
package/dist/target.mjs CHANGED
@@ -8,39 +8,40 @@ import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEK
8
8
  import { C as pgTimestamptzDateColumn, D as pgUuidColumn, E as pgUnboundedIntColumn, O as pgVarbitColumn, S as pgTextColumn, T as pgTimetzColumn, _ as pgIntColumn, a as pgBitColumn, b as pgJsonbColumn, c as pgEnumDescriptor, d as pgFloatColumn, f as pgInetColumn, g as pgInt8NumberColumn, h as pgInt8Column, i as isPgEnumParams, k as pgVarcharColumn, l as pgFloat4Column, m as pgInt4Column, n as PgTimestamptzDateDescriptor, o as pgBoolColumn, p as pgInt2Column, s as pgCharColumn, t as PgTimestamptzDateCodec, u as pgFloat8Column, v as pgIntervalColumn, w as pgTimestamptzDateDescriptor, x as pgNumericColumn, y as pgJsonColumn } from "./codecs-BK3J4C0n-B8EnUXZf.mjs";
9
9
  import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-CKBDkxX7-Kw84Or3s.mjs";
10
10
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
11
- import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, l as PostgresTableSource, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-COkaqci7-C6JpiSha.mjs";
11
+ import { f as weightGroupsOf, l as fullTextIndexProblems, n as FULL_TEXT_INDEX_TYPE, o as describeFullTextIndexProblem, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./full-text-index-definition-D-QC3DO2-DXbQitDn.mjs";
12
+ import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, l as PostgresTableSource, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-DIaAgaL6-Dmqzjbu5.mjs";
12
13
  import { a as PostgresAlterTable, c as PostgresCreateSchema, d as PostgresDdlNode, f as PostgresDisableRowLevelSecurity, h as PostgresDropType, i as PostgresAlterPolicyRename, l as PostgresCreateTable, m as PostgresDropPolicy, n as DropDefaultAction, o as PostgresCreateIndex, p as PostgresDropIndex, r as PostgresAlterIndexRename, s as PostgresCreatePolicy, t as AddColumnAction, u as PostgresCreateType } from "./nodes-Bm2a7z6e-BXTXyzZv.mjs";
13
- import { A as tableIsEmptyAst, D as rlsPolicyExistsAst, E as rlsEnabledAst, M as toRegclass, O as sequenceNameAvailableAst, S as indexExistsAst, T as noNullValuesAst, _ as dropDefaultAction, a as columnDefaultAst, c as columnNullabilityAst, i as alterTable, j as tablePrimaryKeyAst, k as tableExistsAst, l as columnTypeAst, m as createTable, o as columnDefaultSequenceAst, p as createSchema, s as columnExistsAst, t as addColumnAction, u as constraintExistsAst, x as extensionExistsAst } from "./ddl-D5hYRCTf-DRSajCVT.mjs";
14
- import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-BMKFjlIG.mjs";
15
- import { n as renderFullTextIndexExpression, t as isFullTextIndexableCodec } from "./full-text-index-expression-Bfp_xWhy-DtbLdkzv.mjs";
14
+ import { A as tableIsEmptyAst, D as rlsPolicyExistsAst, E as rlsEnabledAst, M as toRegclass, O as sequenceNameAvailableAst, S as indexExistsAst, T as noNullValuesAst, _ as dropDefaultAction, a as columnDefaultAst, c as columnNullabilityAst, i as alterTable, j as tablePrimaryKeyAst, k as tableExistsAst, l as columnTypeAst, m as createTable, o as columnDefaultSequenceAst, p as createSchema, s as columnExistsAst, t as addColumnAction, u as constraintExistsAst, x as extensionExistsAst } from "./ddl-CFWv3VOT-Ad-I5p22.mjs";
15
+ import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-DjI-gclO.mjs";
16
+ import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-BUygtI9N-CB-uwvY1.mjs";
16
17
  import { n as computeContentHash, t as POLICY_OPERATION_PREDICATES } from "./canonicalize-CrN3u_xM-D4MrOqcB.mjs";
17
- import { t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-RO0HiUDm-CeJ7P8gS.mjs";
18
- import { a as instantNowControlDescriptor, i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-_2G2lsLt-VmVbrMPn.mjs";
18
+ import { a as instantNowControlDescriptor, i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CL05jlfX-CKUKjRVV.mjs";
19
19
  import { t as postgresRenderCheckExpressions } from "./check-expressions-BaFrBceq-ChgvazEN.mjs";
20
20
  import { t as postgresDataTypeEntries } from "./data-type-entries-DoR61yeO-BB2cY7rI.mjs";
21
21
  import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode, t as PostgresNativeEnumSchemaNode } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
22
22
  import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
23
23
  import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-Bf_Fhv4v-CugGfLAe.mjs";
24
- import { t as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-DD69Bwve-e-BpAfFa.mjs";
24
+ import { n as renderFullTextIndexDocument } from "./full-text-search-document-DJd-9K-K-CuV_QLH3.mjs";
25
+ import { t as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-b746rtzf-Dydnc_gK.mjs";
25
26
  import { a as renderDefaultLiteral, i as postgresDateTimeDdlText, n as buildColumnTypeSql, r as isPostgresDateTimeDataType } from "./planner-ddl-builders-Y0_96xpe-BzugdEDO.mjs";
26
- import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-DCGV2qdu-eaeFLtn8.mjs";
27
- import { A as RenameConstraintCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as SetNotNullCall, M as RenamePostgresRlsPolicyCall, N as RenameTableCall, O as RawSqlCall, P as SetDefaultCall, R as createExtension, S as DropIndexCall, T as DropPostgresRlsPolicyCall, _ as DisableRowLevelSecurityCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddNativeEnumValueCall, j as RenameIndexCall, k as RenameColumnCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddNotNullColumnWithTempDefaultCall, p as CreatePostgresRlsPolicyCall, r as AddForeignKeyCall, s as AddPrimaryKeyCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall } from "./op-factory-call-CXlapjuM-BHZNE4Ph.mjs";
27
+ import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-Bt_KuSiH-CdGZDp7M.mjs";
28
+ import { A as RenameConstraintCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as SetNotNullCall, M as RenamePostgresRlsPolicyCall, N as RenameTableCall, O as RawSqlCall, P as SetDefaultCall, R as createExtension, S as DropIndexCall, T as DropPostgresRlsPolicyCall, _ as DisableRowLevelSecurityCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddNativeEnumValueCall, j as RenameIndexCall, k as RenameColumnCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddNotNullColumnWithTempDefaultCall, p as CreatePostgresRlsPolicyCall, r as AddForeignKeyCall, s as AddPrimaryKeyCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall } from "./op-factory-call-BfGiIbUO-BqaxwJhg.mjs";
28
29
  import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-CRS2cQ6v-DakZeIQj.mjs";
29
30
  import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs";
30
- import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-C0KC3-Gw-DseKgAtX.mjs";
31
- import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-D9YbaVKX-DZ5wOErP.mjs";
32
- import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-CL-YTH_3-Diah6i2a.mjs";
31
+ import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-DbDoLxrp-OpWBtviT.mjs";
32
+ import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-CByLrBg6-BLLJDUpg.mjs";
33
+ import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-BpZ_4qOD-BuCMIaSB.mjs";
33
34
  import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
34
- import { s as postgresRenderDefault, t as PostgresMigration } from "./postgres-migration-DjCmSHjA-D8CPJqkC.mjs";
35
- import { t as renderOps } from "./render-ops-B5FbJGYf-CnmbaalQ.mjs";
35
+ import { s as postgresRenderDefault, t as PostgresMigration } from "./postgres-migration-Deb4XrMA-DO7iGvl2.mjs";
36
+ import { t as renderOps } from "./render-ops-DjsYroU7-Nqqlj8co.mjs";
36
37
  import { t as renderCallsToTypeScript } from "./render-typescript-Dqp1Spgn-B128r1qw.mjs";
37
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-DBUj6Imx-DhpHjroB.mjs";
38
- import { t as createPostgresMigrationPlanner } from "./planner-DwfHmYme-P1dFkpQ4.mjs";
38
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-8cUeUjsL-DwO8p6_t.mjs";
39
+ import { t as createPostgresMigrationPlanner } from "./planner-BLGCBKzQ-BFmyE8A2.mjs";
39
40
  import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-QMJSzMIa.mjs";
40
- import { n as postgresPslTypeConstructors, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-1lVvMywk.mjs";
41
- import { a as plaintoTsquery, i as phrasetoTsquery, o as toTsquery, s as websearchToTsquery } from "./full-text-parsers-96VfzkHS-C8YGYKhj.mjs";
42
- import { t as tsquery } from "./full-text-RAVq4j8W.mjs";
41
+ import { n as postgresPslTypeConstructors, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-CDAHFmyX.mjs";
42
+ import { c as toTsquery, l as websearchToTsquery, n as fullTextDocument, o as phrasetoTsquery, s as plaintoTsquery, t as FullTextDocument } from "./full-text-parsers-DHtcrdrH-DpbFRMEu.mjs";
43
+ import { t as tsquery } from "./full-text-DyeP0p9V.mjs";
43
44
  import { a as foreignKey, c as primaryKey, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as unique } from "./migration-PTHAY9Cv.mjs";
44
45
  import { n as normalizeSchemaNativeType, t as introspectedNativeType } from "./native-type-normalizer-CwyVR7xB.mjs";
45
- import { t as prisma7PostgresBinding } from "./prisma7-binding-De6fpRdV.mjs";
46
- export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddForeignKeyCall, AddNativeEnumValueCall, AddNotNullColumnWithTempDefaultCall, AddPrimaryKeyCall, AddUniqueCall, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, INSTANT_NOW_GENERATOR_ID, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, POLICY_OPERATION_PREDICATES, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetNotNullCall, TypeScriptRenderablePostgresMigration, addColumnAction, alterTable, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, introspectedNativeType, isFullTextIndexableCodec, isPgEnumParams, isPostgresCodecDescriptor, isPostgresDateTimeDataType, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateCanonical, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgNumeric, pgNumericColumn, pgNumericParams, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetz, pgTimetzCanonical, pgTimetzColumn, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, plaintoTsquery, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresDateTimeDdlText, postgresError, postgresNativeAuthoringTypes, postgresPslTypeConstructors, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, postgresScalarAuthoringTypes, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexExpression, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery };
46
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-DE7hezAQ.mjs";
47
+ export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddForeignKeyCall, AddNativeEnumValueCall, AddNotNullColumnWithTempDefaultCall, AddPrimaryKeyCall, AddUniqueCall, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FullTextDocument, INSTANT_NOW_GENERATOR_ID, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, POLICY_OPERATION_PREDICATES, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetNotNullCall, TypeScriptRenderablePostgresMigration, addColumnAction, alterTable, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, introspectedNativeType, isPgEnumParams, isPostgresCodecDescriptor, isPostgresDateTimeDataType, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateCanonical, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgNumeric, pgNumericColumn, pgNumericParams, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetz, pgTimetzCanonical, pgTimetzColumn, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, plaintoTsquery, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresDateTimeDdlText, postgresError, postgresNativeAuthoringTypes, postgresPslTypeConstructors, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, postgresScalarAuthoringTypes, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
@@ -1,4 +1,4 @@
1
- import { l as PostgresTableSource } from "./postgres-schema-COkaqci7-C6JpiSha.mjs";
2
- import { A as tableIsEmptyAst, D as rlsPolicyExistsAst, E as rlsEnabledAst, M as toRegclass, O as sequenceNameAvailableAst, S as indexExistsAst, T as noNullValuesAst, _ as dropDefaultAction, a as columnDefaultAst, c as columnNullabilityAst, i as alterTable, j as tablePrimaryKeyAst, k as tableExistsAst, l as columnTypeAst, m as createTable, o as columnDefaultSequenceAst, p as createSchema, s as columnExistsAst, t as addColumnAction, u as constraintExistsAst, x as extensionExistsAst } from "./ddl-D5hYRCTf-DRSajCVT.mjs";
3
- import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-BMKFjlIG.mjs";
1
+ import { l as PostgresTableSource } from "./postgres-schema-DIaAgaL6-Dmqzjbu5.mjs";
2
+ import { A as tableIsEmptyAst, D as rlsPolicyExistsAst, E as rlsEnabledAst, M as toRegclass, O as sequenceNameAvailableAst, S as indexExistsAst, T as noNullValuesAst, _ as dropDefaultAction, a as columnDefaultAst, c as columnNullabilityAst, i as alterTable, j as tablePrimaryKeyAst, k as tableExistsAst, l as columnTypeAst, m as createTable, o as columnDefaultSequenceAst, p as createSchema, s as columnExistsAst, t as addColumnAction, u as constraintExistsAst, x as extensionExistsAst } from "./ddl-CFWv3VOT-Ad-I5p22.mjs";
3
+ import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-DjI-gclO.mjs";
4
4
  export { PostgresTableSource, addColumnAction, alterTable, buildControlTableBootstrapQueries, buildSignMarkerBootstrapQueries, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, constraintExistsAst, createSchema, createTable, dropDefaultAction, extensionExistsAst, indexExistsAst, int4, int8, jsonb, noNullValuesAst, pgTable, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass };
@@ -1,5 +1,5 @@
1
1
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
2
- import { a as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-_2G2lsLt-VmVbrMPn.mjs";
3
- import { s as postgresRenderDefault } from "./postgres-migration-DjCmSHjA-D8CPJqkC.mjs";
4
- import { i as postgresTargetDescriptor, n as postgresPslTypeConstructors, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-1lVvMywk.mjs";
2
+ import { a as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CL05jlfX-CKUKjRVV.mjs";
3
+ import { s as postgresRenderDefault } from "./postgres-migration-Deb4XrMA-DO7iGvl2.mjs";
4
+ import { i as postgresTargetDescriptor, n as postgresPslTypeConstructors, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-CDAHFmyX.mjs";
5
5
  export { INSTANT_NOW_GENERATOR_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, decodePostgresListText, postgresTargetDescriptor as default, instantNowControlDescriptor, parsePostgresListText, plainDateTimeNowControlDescriptor, postgresNativeAuthoringTypes, postgresPslTypeConstructors, postgresRenderDefault, postgresScalarAuthoringTypes };
@@ -1,2 +1,2 @@
1
- import { t as buildPostgresPlanDiff } from "./diff-database-schema-D9YbaVKX-DZ5wOErP.mjs";
1
+ import { t as buildPostgresPlanDiff } from "./diff-database-schema-CByLrBg6-BLLJDUpg.mjs";
2
2
  export { buildPostgresPlanDiff };
@@ -0,0 +1,4 @@
1
+ import { a as weightGroupsOf, n as FullTextFieldsInput } from "./text-search-languages-CO6775ih-DMYr9qsC.mjs";
2
+ import { a as FullTextIndexProblem, i as FullTextIndexDefinition, n as FullTextColumnCodecs, o as describeFullTextIndexProblem, r as FullTextIndexCandidate, s as fullTextIndexProblems, t as FULL_TEXT_INDEX_TYPE } from "./full-text-index-definition-CwWV12H4-DNafWNux.mjs";
3
+ import { t as postgresCodecTraitsOf } from "./full-text-index-authoring-Ca6bWXyG.mjs";
4
+ export { FULL_TEXT_INDEX_TYPE, type FullTextColumnCodecs, type FullTextFieldsInput, type FullTextIndexCandidate, type FullTextIndexDefinition, type FullTextIndexProblem, describeFullTextIndexProblem, fullTextIndexProblems, postgresCodecTraitsOf, weightGroupsOf };
@@ -0,0 +1,3 @@
1
+ import { f as weightGroupsOf, l as fullTextIndexProblems, n as FULL_TEXT_INDEX_TYPE, o as describeFullTextIndexProblem } from "./full-text-index-definition-D-QC3DO2-DXbQitDn.mjs";
2
+ import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-BUygtI9N-CB-uwvY1.mjs";
3
+ export { FULL_TEXT_INDEX_TYPE, describeFullTextIndexProblem, fullTextIndexProblems, postgresCodecTraitsOf, weightGroupsOf };
@@ -1,3 +1,3 @@
1
- import { a as plaintoTsquery, i as phrasetoTsquery, n as TsqueryExpression, o as toTsquery, r as TsqueryParserOptions, s as websearchToTsquery, t as TextArgument } from "./full-text-parsers-DrS_1B-x-BcAnBoQP.mjs";
2
- import { n as tsquery, t as TsqueryTag } from "./full-text-CCqTEQ9y.mjs";
3
- export { type TextArgument, type TsqueryExpression, type TsqueryParserOptions, type TsqueryTag, phrasetoTsquery, plaintoTsquery, toTsquery, tsquery, websearchToTsquery };
1
+ import { a as TsqueryExpression, c as phrasetoTsquery, d as websearchToTsquery, i as TextArgument, l as plaintoTsquery, n as FullTextDocumentColumn, o as TsqueryParserOptions, r as FullTextDocumentGroups, s as fullTextDocument, t as FullTextDocument, u as toTsquery } from "./full-text-parsers-B_aFtL8u-BTbiMXi1.mjs";
2
+ import { n as tsquery, t as TsqueryTag } from "./full-text-Dg6-SYSP.mjs";
3
+ export { FullTextDocument, type FullTextDocumentColumn, type FullTextDocumentGroups, type TextArgument, type TsqueryExpression, type TsqueryParserOptions, type TsqueryTag, fullTextDocument, phrasetoTsquery, plaintoTsquery, toTsquery, tsquery, websearchToTsquery };
@@ -1,3 +1,3 @@
1
- import { a as plaintoTsquery, i as phrasetoTsquery, o as toTsquery, s as websearchToTsquery } from "./full-text-parsers-96VfzkHS-C8YGYKhj.mjs";
2
- import { t as tsquery } from "./full-text-RAVq4j8W.mjs";
3
- export { phrasetoTsquery, plaintoTsquery, toTsquery, tsquery, websearchToTsquery };
1
+ import { c as toTsquery, l as websearchToTsquery, n as fullTextDocument, o as phrasetoTsquery, s as plaintoTsquery, t as FullTextDocument } from "./full-text-parsers-DHtcrdrH-DpbFRMEu.mjs";
2
+ import { t as tsquery } from "./full-text-DyeP0p9V.mjs";
3
+ export { FullTextDocument, fullTextDocument, phrasetoTsquery, plaintoTsquery, toTsquery, tsquery, websearchToTsquery };
@@ -1,2 +1,2 @@
1
- import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-C0KC3-Gw-DseKgAtX.mjs";
1
+ import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-DbDoLxrp-OpWBtviT.mjs";
2
2
  export { coalesceSubtreeIssues, planIssues };
@@ -1,5 +1,5 @@
1
- import { R as createExtension } from "./op-factory-call-CXlapjuM-BHZNE4Ph.mjs";
1
+ import { R as createExtension } from "./op-factory-call-BfGiIbUO-BqaxwJhg.mjs";
2
2
  import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
3
- import { t as PostgresMigration } from "./postgres-migration-DjCmSHjA-D8CPJqkC.mjs";
3
+ import { t as PostgresMigration } from "./postgres-migration-Deb4XrMA-DO7iGvl2.mjs";
4
4
  import { a as foreignKey, c as primaryKey, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as unique } from "./migration-PTHAY9Cv.mjs";
5
5
  export { PostgresMigration as Migration, MigrationCLI, checkExpression, col, createExtension, dataTransform, fn, foreignKey, lit, placeholder, primaryKey, rawSql, unique };
@@ -1,2 +1,2 @@
1
- import { A as RenameConstraintCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as SetNotNullCall, M as RenamePostgresRlsPolicyCall, N as RenameTableCall, O as RawSqlCall, P as SetDefaultCall, S as DropIndexCall, T as DropPostgresRlsPolicyCall, _ as DisableRowLevelSecurityCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddNativeEnumValueCall, j as RenameIndexCall, k as RenameColumnCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddNotNullColumnWithTempDefaultCall, p as CreatePostgresRlsPolicyCall, r as AddForeignKeyCall, s as AddPrimaryKeyCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall } from "./op-factory-call-CXlapjuM-BHZNE4Ph.mjs";
1
+ import { A as RenameConstraintCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as SetNotNullCall, M as RenamePostgresRlsPolicyCall, N as RenameTableCall, O as RawSqlCall, P as SetDefaultCall, S as DropIndexCall, T as DropPostgresRlsPolicyCall, _ as DisableRowLevelSecurityCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddNativeEnumValueCall, j as RenameIndexCall, k as RenameColumnCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddNotNullColumnWithTempDefaultCall, p as CreatePostgresRlsPolicyCall, r as AddForeignKeyCall, s as AddPrimaryKeyCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall } from "./op-factory-call-BfGiIbUO-BqaxwJhg.mjs";
2
2
  export { AddCheckConstraintCall, AddColumnCall, AddForeignKeyCall, AddNativeEnumValueCall, AddNotNullColumnWithTempDefaultCall, AddPrimaryKeyCall, AddUniqueCall, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DataTransformCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, RawSqlCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SetDefaultCall, SetNotNullCall };
@@ -1,3 +1,3 @@
1
- import { n as FullTextSearchLanguage } from "./text-search-languages-BzhBMCtK-D26JB2w3.mjs";
2
- import { a as TsqueryArgument, i as QueryOperationTypes, n as FullTextMatchesOptions, r as FullTextRankOptions, t as FullTextHeadlineOptions } from "./operation-types-CjJY7prP.mjs";
1
+ import { r as FullTextSearchLanguage } from "./text-search-languages-CO6775ih-DMYr9qsC.mjs";
2
+ import { a as TsqueryArgument, i as QueryOperationTypes, n as FullTextMatchesOptions, r as FullTextRankOptions, t as FullTextHeadlineOptions } from "./operation-types-llBeWQxy.mjs";
3
3
  export type { FullTextHeadlineOptions, FullTextMatchesOptions, FullTextRankOptions, FullTextSearchLanguage, QueryOperationTypes, TsqueryArgument };
@@ -1,2 +1,2 @@
1
- import { t as postgresTargetDescriptorMeta } from "./pack-Bq9yq-OS.mjs";
1
+ import { t as postgresTargetDescriptorMeta } from "./pack-C3Y2SBNH.mjs";
2
2
  export { postgresTargetDescriptorMeta as default };
@@ -1,2 +1,2 @@
1
- import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-WHc6Kv-m-BLzsaP0M.mjs";
1
+ import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-ClvaJRgh-Dlo6A0nL.mjs";
2
2
  export { postgresTargetDescriptorMeta as default };
@@ -1,2 +1,2 @@
1
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-DBUj6Imx-DhpHjroB.mjs";
1
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-8cUeUjsL-DwO8p6_t.mjs";
2
2
  export { TypeScriptRenderablePostgresMigration };
@@ -1,2 +1,2 @@
1
- import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-DCGV2qdu-eaeFLtn8.mjs";
1
+ import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-Bt_KuSiH-CdGZDp7M.mjs";
2
2
  export { buildExpectedFormatType, qualifyTableName };
@@ -1,3 +1,3 @@
1
- import { n as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-D9YbaVKX-DZ5wOErP.mjs";
2
- import { t as createPostgresMigrationPlanner } from "./planner-DwfHmYme-P1dFkpQ4.mjs";
1
+ import { n as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-CByLrBg6-BLLJDUpg.mjs";
2
+ import { t as createPostgresMigrationPlanner } from "./planner-BLGCBKzQ-BFmyE8A2.mjs";
3
3
  export { contractToPostgresDatabaseSchemaNode, createPostgresMigrationPlanner };
@@ -1,2 +1,2 @@
1
- import { t as prisma7PostgresBinding } from "./prisma7-binding-Dm34z6Fq.mjs";
1
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-C1fIMMTb.mjs";
2
2
  export { prisma7PostgresBinding };
@@ -1,2 +1,2 @@
1
- import { t as prisma7PostgresBinding } from "./prisma7-binding-De6fpRdV.mjs";
1
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-DE7hezAQ.mjs";
2
2
  export { prisma7PostgresBinding };
@@ -1,2 +1,2 @@
1
- import { t as renderOps } from "./render-ops-B5FbJGYf-CnmbaalQ.mjs";
1
+ import { t as renderOps } from "./render-ops-DjsYroU7-Nqqlj8co.mjs";
2
2
  export { renderOps };