@prisma/orm-target-postgres 8.0.0-rc.2-dev.3 → 8.0.0-rc.20-dev.1

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 (501) hide show
  1. package/README.md +4 -6
  2. package/dist/adapter-5qylEP__.d.mts +403 -0
  3. package/dist/adapter-5qylEP__.d.mts.map +1 -0
  4. package/dist/{adapter-B0xsc80z-sYcF0RVF.mjs → adapter-svGTIjA2-1p-Iw8D2.mjs} +24 -30
  5. package/dist/adapter-svGTIjA2-1p-Iw8D2.mjs.map +1 -0
  6. package/dist/adapter.d.mts +11 -13
  7. package/dist/adapter.mjs +7 -8
  8. package/dist/adapter__adapter.d.mts +2 -2
  9. package/dist/adapter__adapter.mjs +3 -2
  10. package/dist/adapter__column-types.d.mts +2 -2
  11. package/dist/adapter__column-types.mjs +2 -2
  12. package/dist/adapter__control.d.mts +4 -5
  13. package/dist/adapter__control.mjs +11 -423
  14. package/dist/adapter__control.mjs.map +1 -1
  15. package/dist/adapter__runtime.d.mts +1 -1
  16. package/dist/adapter__runtime.mjs +29 -19
  17. package/dist/adapter__runtime.mjs.map +1 -1
  18. package/dist/adapter__sql-renderer.d.mts +1 -1
  19. package/dist/adapter__sql-renderer.mjs +1 -1
  20. package/dist/adapter__types.d.mts +4 -3
  21. package/dist/aggregates-CEqqEg8k.d.mts +318 -0
  22. package/dist/aggregates-CEqqEg8k.d.mts.map +1 -0
  23. package/dist/{aggregates-Dh6HPdvC.mjs → aggregates-Dw-lAutX.mjs} +105 -40
  24. package/dist/aggregates-Dw-lAutX.mjs.map +1 -0
  25. package/dist/authoring-DWd5pnnV-BBX7P1wT.d.mts +52 -0
  26. package/dist/authoring-DWd5pnnV-BBX7P1wT.d.mts.map +1 -0
  27. package/dist/authoring-SbdvmVJh-nQ7YliD_.mjs +1342 -0
  28. package/dist/authoring-SbdvmVJh-nQ7YliD_.mjs.map +1 -0
  29. package/dist/autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs +58 -0
  30. package/dist/autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs.map +1 -0
  31. package/dist/{canonicalize-CQlxSR4D-MnrT5gtW.d.mts → canonicalize-B-xvDOdd-G3yUeKj4.d.mts} +7 -3
  32. package/dist/canonicalize-B-xvDOdd-G3yUeKj4.d.mts.map +1 -0
  33. package/dist/{canonicalize-CrN3u_xM-D4MrOqcB.mjs → canonicalize-RdxoUHao-FTTkizfe.mjs} +15 -3
  34. package/dist/canonicalize-RdxoUHao-FTTkizfe.mjs.map +1 -0
  35. package/dist/check-expressions-7uCCP01t-DtX2Vak9.mjs +48 -0
  36. package/dist/check-expressions-7uCCP01t-DtX2Vak9.mjs.map +1 -0
  37. package/dist/{check-expressions-DRgG8RN5-DiA-22aC.d.mts → check-expressions-CtTzM58x-LloO-5Vf.d.mts} +14 -13
  38. package/dist/check-expressions-CtTzM58x-LloO-5Vf.d.mts.map +1 -0
  39. package/dist/{codec-descriptor-LT7BpQta-BaDM8UQQ.mjs → codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs} +12 -21
  40. package/dist/codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs.map +1 -0
  41. package/dist/codec-descriptor-Fb3UoQGb.d.mts +1 -0
  42. package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts +47 -0
  43. package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts.map +1 -0
  44. package/dist/codec-ids-BMhEpFwv-B8Zh0s_Q.mjs +41 -0
  45. package/dist/codec-ids-BMhEpFwv-B8Zh0s_Q.mjs.map +1 -0
  46. package/dist/codec-ids-C6II64Wy-CPYTqDTT.d.mts +41 -0
  47. package/dist/codec-ids-C6II64Wy-CPYTqDTT.d.mts.map +1 -0
  48. package/dist/codec-ids-CcB5uBNf.d.mts +1 -0
  49. package/dist/codec-registry-D7XslgPe-DTZnVB8W.mjs +61 -0
  50. package/dist/codec-registry-D7XslgPe-DTZnVB8W.mjs.map +1 -0
  51. package/dist/codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts +53 -0
  52. package/dist/codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts.map +1 -0
  53. package/dist/codec-types-BBACckHa.d.mts +2 -0
  54. package/dist/codec-types-Ct_4iTVc-3tFJcIBo.d.mts +84 -0
  55. package/dist/codec-types-Ct_4iTVc-3tFJcIBo.d.mts.map +1 -0
  56. package/dist/codecs-CADK7dCR-C8WToYQb.d.mts +724 -0
  57. package/dist/codecs-CADK7dCR-C8WToYQb.d.mts.map +1 -0
  58. package/dist/codecs-CRl9-i_r-Co-bgYl3.mjs +1743 -0
  59. package/dist/codecs-CRl9-i_r-Co-bgYl3.mjs.map +1 -0
  60. package/dist/codecs-CoEpEqjM.d.mts +31 -0
  61. package/dist/codecs-CoEpEqjM.d.mts.map +1 -0
  62. package/dist/column-types-B4zsV-u3.mjs +106 -0
  63. package/dist/column-types-B4zsV-u3.mjs.map +1 -0
  64. package/dist/column-types-Bs2V0j8T.d.mts +164 -0
  65. package/dist/column-types-Bs2V0j8T.d.mts.map +1 -0
  66. package/dist/{control-adapter-DFr4gS-r-DM3KcZdQ.mjs → contract-contributions-Xz2FpyfI-CeQZqHKf.mjs} +489 -292
  67. package/dist/contract-contributions-Xz2FpyfI-CeQZqHKf.mjs.map +1 -0
  68. package/dist/{contract-free-DzpGxLfb.d.mts → contract-free-B6-wuc6M.d.mts} +36 -6
  69. package/dist/contract-free-B6-wuc6M.d.mts.map +1 -0
  70. package/dist/{contract-free-aQ4nT-_R.mjs → contract-free-o7olebm9.mjs} +13 -9
  71. package/dist/contract-free-o7olebm9.mjs.map +1 -0
  72. package/dist/control--HupSPoV.d.mts +847 -0
  73. package/dist/control--HupSPoV.d.mts.map +1 -0
  74. package/dist/{control-BaUpALVp.d.mts → control-CQEjh4P7.d.mts} +2 -2
  75. package/dist/control-CQEjh4P7.d.mts.map +1 -0
  76. package/dist/{control-DLTOAEHj.d.mts → control-D4cTcpcJ.d.mts} +22 -48
  77. package/dist/control-D4cTcpcJ.d.mts.map +1 -0
  78. package/dist/{control-Y6FxMu3o.mjs → control-DZQwENIP.mjs} +21 -9
  79. package/dist/control-DZQwENIP.mjs.map +1 -0
  80. package/dist/{control-policy-B53lnBCT-B9K9Cj1x.mjs → control-policy-DtU5u9Dm-44r_OF94.mjs} +444 -218
  81. package/dist/control-policy-DtU5u9Dm-44r_OF94.mjs.map +1 -0
  82. package/dist/{data-transform-ChZzy2dP-CxVCat_8.mjs → data-transform-h9agBu_c-RlC5A7aY.mjs} +12 -5
  83. package/dist/data-transform-h9agBu_c-RlC5A7aY.mjs.map +1 -0
  84. package/dist/{data-transform-Ck5FbyNO-BNE7QlAo.d.mts → data-transform-nGy9rz87-CE3DGlgn.d.mts} +15 -4
  85. package/dist/data-transform-nGy9rz87-CE3DGlgn.d.mts.map +1 -0
  86. package/dist/data-transform-nqkqNIb8.d.mts +1 -0
  87. package/dist/data-type-entries-gQW3-KSb-BIl8vgus.mjs +128 -0
  88. package/dist/data-type-entries-gQW3-KSb-BIl8vgus.mjs.map +1 -0
  89. package/dist/data-types--7V9yY1G.d.mts +99 -0
  90. package/dist/data-types--7V9yY1G.d.mts.map +1 -0
  91. package/dist/data-types-Chx0mjTP-DczU4S9b.mjs +950 -0
  92. package/dist/data-types-Chx0mjTP-DczU4S9b.mjs.map +1 -0
  93. package/dist/date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts +45 -0
  94. package/dist/date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts.map +1 -0
  95. package/dist/ddl-B7Rqlz6D-B7dRDgYb.mjs +647 -0
  96. package/dist/ddl-B7Rqlz6D-B7dRDgYb.mjs.map +1 -0
  97. package/dist/ddl-B8nQZTWN.d.mts +1 -0
  98. package/dist/default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs +18 -0
  99. package/dist/default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs.map +1 -0
  100. package/dist/default-normalizer-BqK6XxdC-2OUb2ybG.mjs +311 -0
  101. package/dist/default-normalizer-BqK6XxdC-2OUb2ybG.mjs.map +1 -0
  102. package/dist/default-normalizer-DO-cH75Q.d.mts +25 -0
  103. package/dist/default-normalizer-DO-cH75Q.d.mts.map +1 -0
  104. package/dist/descriptor-meta-BkD3nXF_-CZaNqC6r.mjs +36 -0
  105. package/dist/descriptor-meta-BkD3nXF_-CZaNqC6r.mjs.map +1 -0
  106. package/dist/descriptor-meta-DaFDNnHQ-QjiiAEtC.mjs +64 -0
  107. package/dist/descriptor-meta-DaFDNnHQ-QjiiAEtC.mjs.map +1 -0
  108. package/dist/descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs +15 -0
  109. package/dist/descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs.map +1 -0
  110. package/dist/{diff-database-schema-DsoNznGC.d.mts → diff-database-schema-BxzhZaVN.d.mts} +12 -7
  111. package/dist/diff-database-schema-BxzhZaVN.d.mts.map +1 -0
  112. package/dist/{diff-database-schema-DKq76rCk-uehceHYz.mjs → diff-database-schema-DAEzWtzU-DoyVgKqh.mjs} +38 -18
  113. package/dist/diff-database-schema-DAEzWtzU-DoyVgKqh.mjs.map +1 -0
  114. package/dist/driver.d.mts +3 -3
  115. package/dist/driver.mjs +3 -2
  116. package/dist/driver__control.d.mts +1 -1
  117. package/dist/driver__control.mjs +1 -1
  118. package/dist/driver__runtime.d.mts +2 -2
  119. package/dist/driver__runtime.mjs +2 -639
  120. package/dist/errors-BrhQYgdL-IvZHPjwL.mjs +103 -0
  121. package/dist/errors-BrhQYgdL-IvZHPjwL.mjs.map +1 -0
  122. package/dist/{errors-CU4xIwwk.d.mts → errors-D3Mj-x0o.d.mts} +3 -3
  123. package/dist/errors-D3Mj-x0o.d.mts.map +1 -0
  124. package/dist/full-text-BYg7EVX2.mjs +39 -0
  125. package/dist/full-text-BYg7EVX2.mjs.map +1 -0
  126. package/dist/full-text-SDbfxrE_.d.mts +26 -0
  127. package/dist/full-text-SDbfxrE_.d.mts.map +1 -0
  128. package/dist/full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts +27 -0
  129. package/dist/full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts.map +1 -0
  130. package/dist/full-text-index-authoring-CN1L9C1k.d.mts +7 -0
  131. package/dist/full-text-index-authoring-CN1L9C1k.d.mts.map +1 -0
  132. package/dist/full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs +195 -0
  133. package/dist/full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs.map +1 -0
  134. package/dist/full-text-index-definition-D5iBWLss-BEpqiucV.d.mts +71 -0
  135. package/dist/full-text-index-definition-D5iBWLss-BEpqiucV.d.mts.map +1 -0
  136. package/dist/full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs +139 -0
  137. package/dist/full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs.map +1 -0
  138. package/dist/full-text-search-document-Doy5TF7c-aMWM_1KB.mjs +54 -0
  139. package/dist/full-text-search-document-Doy5TF7c-aMWM_1KB.mjs.map +1 -0
  140. package/dist/index-types-BihjrAAq-C2VnfAyF.mjs +14 -0
  141. package/dist/index-types-BihjrAAq-C2VnfAyF.mjs.map +1 -0
  142. package/dist/indexes-BYf6nXVv-BXwLw7fO.d.mts +60 -0
  143. package/dist/indexes-BYf6nXVv-BXwLw7fO.d.mts.map +1 -0
  144. package/dist/infer-psl-contract-BSSHcuRi-ChdFSviw.mjs +1143 -0
  145. package/dist/infer-psl-contract-BSSHcuRi-ChdFSviw.mjs.map +1 -0
  146. package/dist/{issue-planner-Biq9Ls7e.d.mts → issue-planner-D-On52xP.d.mts} +39 -9
  147. package/dist/issue-planner-D-On52xP.d.mts.map +1 -0
  148. package/dist/list-decoder-BcrLExnx-DlCwavhu.d.mts +7 -0
  149. package/dist/list-decoder-BcrLExnx-DlCwavhu.d.mts.map +1 -0
  150. package/dist/marker-lock-BviIbusV.d.mts +11 -0
  151. package/dist/marker-lock-BviIbusV.d.mts.map +1 -0
  152. package/dist/marker-lock-DFc1Tfv5-BkBKBRE3.mjs +11 -0
  153. package/dist/marker-lock-DFc1Tfv5-BkBKBRE3.mjs.map +1 -0
  154. package/dist/{migration-PTHAY9Cv.mjs → migration-Be_iuIpn.mjs} +5 -4
  155. package/dist/migration-Be_iuIpn.mjs.map +1 -0
  156. package/dist/migration-D4lMmLVj.d.mts +26 -0
  157. package/dist/migration-D4lMmLVj.d.mts.map +1 -0
  158. package/dist/{namespace-ids-xtp_ZY86-Cpp8PTxD.mjs → namespace-ids-xtp_ZY86-Cxc0dBbO.mjs} +2 -2
  159. package/dist/namespace-ids-xtp_ZY86-Cxc0dBbO.mjs.map +1 -0
  160. package/dist/native-type-normalizer-BaGa9eeb.d.mts +30 -0
  161. package/dist/native-type-normalizer-BaGa9eeb.d.mts.map +1 -0
  162. package/dist/native-type-normalizer-Cn-RGt_E.mjs +24 -0
  163. package/dist/native-type-normalizer-Cn-RGt_E.mjs.map +1 -0
  164. package/dist/{nodes-DAvDJLvJ-BBdvFXNa.mjs → nodes-G8VTh4PM-DNvIhHag.mjs} +78 -7
  165. package/dist/nodes-G8VTh4PM-DNvIhHag.mjs.map +1 -0
  166. package/dist/{nodes-BU-V-aZA-RqwPH68u.d.mts → nodes-s0Oe37jT-Cw3BU2gL.d.mts} +82 -29
  167. package/dist/nodes-s0Oe37jT-Cw3BU2gL.d.mts.map +1 -0
  168. package/dist/op-factory-call-CRaVUOb_.d.mts +1 -0
  169. package/dist/{op-factory-call-H6zeDGLe-_1pAftJk.mjs → op-factory-call-gGX-mZu--0QUG5xH4.mjs} +1014 -258
  170. package/dist/op-factory-call-gGX-mZu--0QUG5xH4.mjs.map +1 -0
  171. package/dist/{op-factory-call-BAeyLFYf-BAgG1h1C.d.mts → op-factory-call-nLHvNx0O-BTBhGbOF.d.mts} +169 -111
  172. package/dist/op-factory-call-nLHvNx0O-BTBhGbOF.d.mts.map +1 -0
  173. package/dist/operation-types--Wa_cv45-RoRnL1Dn.d.mts +192 -0
  174. package/dist/operation-types--Wa_cv45-RoRnL1Dn.d.mts.map +1 -0
  175. package/dist/operation-types-OXILTAOX.d.mts +1 -0
  176. package/dist/pack-2CYw2w-b.d.mts +1573 -0
  177. package/dist/pack-2CYw2w-b.d.mts.map +1 -0
  178. package/dist/{planner-CT-7zSfk.d.mts → planner-AD3Dt57t.d.mts} +23 -51
  179. package/dist/planner-AD3Dt57t.d.mts.map +1 -0
  180. package/dist/planner-VuR6URu3-CCUT2Osx.mjs +954 -0
  181. package/dist/planner-VuR6URu3-CCUT2Osx.mjs.map +1 -0
  182. package/dist/planner-ddl-builders-CPM3y7cQ.d.mts +16 -0
  183. package/dist/planner-ddl-builders-CPM3y7cQ.d.mts.map +1 -0
  184. package/dist/planner-ddl-builders-cYnH52gC-BWifb_M6.mjs +28 -0
  185. package/dist/planner-ddl-builders-cYnH52gC-BWifb_M6.mjs.map +1 -0
  186. package/dist/planner-identity-values-Dsq989Lh.d.mts +26 -0
  187. package/dist/planner-identity-values-Dsq989Lh.d.mts.map +1 -0
  188. package/dist/planner-identity-values-QstrMJ2U-CcpaRVPY.mjs +70 -0
  189. package/dist/planner-identity-values-QstrMJ2U-CcpaRVPY.mjs.map +1 -0
  190. package/dist/planner-produced-postgres-migration-BBUwtjA_.d.mts +1 -0
  191. package/dist/{planner-produced-postgres-migration-D5m8nK6s-CbZ4hlbv.mjs → planner-produced-postgres-migration-BZclL_xO-uflxtYuP.mjs} +5 -5
  192. package/dist/planner-produced-postgres-migration-BZclL_xO-uflxtYuP.mjs.map +1 -0
  193. package/dist/{planner-produced-postgres-migration-BaviT8KK-Yo9kw6rs.d.mts → planner-produced-postgres-migration-DyIXJ3MR-DHO5wn_X.d.mts} +4 -4
  194. package/dist/planner-produced-postgres-migration-DyIXJ3MR-DHO5wn_X.d.mts.map +1 -0
  195. package/dist/{planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs → planner-schema-lookup-BbUY9oVy.mjs} +2 -2
  196. package/dist/planner-schema-lookup-BbUY9oVy.mjs.map +1 -0
  197. package/dist/{planner-schema-lookup-C4DHAddq.d.mts → planner-schema-lookup-ceCNOGFf.d.mts} +2 -2
  198. package/dist/planner-schema-lookup-ceCNOGFf.d.mts.map +1 -0
  199. package/dist/planner-sql-checks-D-K44J19-CzvrqzNB.mjs +151 -0
  200. package/dist/planner-sql-checks-D-K44J19-CzvrqzNB.mjs.map +1 -0
  201. package/dist/planner-sql-checks-Ed-WGtge-D9ByMrW4.d.mts +37 -0
  202. package/dist/planner-sql-checks-Ed-WGtge-D9ByMrW4.d.mts.map +1 -0
  203. package/dist/planner-sql-checks-rEjFx_Jv.d.mts +1 -0
  204. package/dist/planner-target-details-CUEF0s90-6g-mOgTI.mjs +14 -0
  205. package/dist/planner-target-details-CUEF0s90-6g-mOgTI.mjs.map +1 -0
  206. package/dist/{planner-target-details-HkP4RrRO-_xPQVPF0.d.mts → planner-target-details-HkP4RrRO-D6VtK0jY.d.mts} +2 -2
  207. package/dist/planner-target-details-HkP4RrRO-D6VtK0jY.d.mts.map +1 -0
  208. package/dist/postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs +11 -0
  209. package/dist/postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs.map +1 -0
  210. package/dist/{postgres-contract-view-2OP5JnXl-D2fpy4-8.d.mts → postgres-contract-view-BFzIDwwN-hL3QLe_b.d.mts} +2 -2
  211. package/dist/postgres-contract-view-BFzIDwwN-hL3QLe_b.d.mts.map +1 -0
  212. package/dist/{postgres-contract-view-B8ykf2cO-T2LvWVFZ.mjs → postgres-contract-view-BO2elRMz-BqMBzJoJ.mjs} +27 -14
  213. package/dist/postgres-contract-view-BO2elRMz-BqMBzJoJ.mjs.map +1 -0
  214. package/dist/{postgres-database-schema-node-CyfpHXDr-BqyozkQE.d.mts → postgres-database-schema-node-Cv8usVNX-BmvGozi4.d.mts} +4 -4
  215. package/dist/postgres-database-schema-node-Cv8usVNX-BmvGozi4.d.mts.map +1 -0
  216. package/dist/postgres-migration-BSWmeRLo-CUfVTUf0.mjs +1312 -0
  217. package/dist/postgres-migration-BSWmeRLo-CUfVTUf0.mjs.map +1 -0
  218. package/dist/{postgres-migration-BNsrwlxh-CwI5BqAu.d.mts → postgres-migration-C5deJ3Ne-C4Jxu-e6.d.mts} +135 -15
  219. package/dist/postgres-migration-C5deJ3Ne-C4Jxu-e6.d.mts.map +1 -0
  220. package/dist/{postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs → postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs} +2 -2
  221. package/dist/postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs.map +1 -0
  222. package/dist/postgres-object-name-FPikIvOw-B8FfJI7z.mjs +23 -0
  223. package/dist/postgres-object-name-FPikIvOw-B8FfJI7z.mjs.map +1 -0
  224. package/dist/{postgres-rls-policy-CnDxf3z9-C3LIHAIG.d.mts → postgres-rls-policy-CnDxf3z9-BjpVyUnK.d.mts} +2 -2
  225. package/dist/postgres-rls-policy-CnDxf3z9-BjpVyUnK.d.mts.map +1 -0
  226. package/dist/{postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs → postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs} +3 -3
  227. package/dist/postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs.map +1 -0
  228. package/dist/{postgres-schema-CF0yHESb-D7n2X21R.mjs → postgres-schema-C6w1rzOF-D1fdwqRx.mjs} +14 -12
  229. package/dist/postgres-schema-C6w1rzOF-D1fdwqRx.mjs.map +1 -0
  230. package/dist/{postgres-schema-Xsjt3RKO-Buv2X8ai.d.mts → postgres-schema-Xsjt3RKO-bis-SVSB.d.mts} +4 -4
  231. package/dist/postgres-schema-Xsjt3RKO-bis-SVSB.d.mts.map +1 -0
  232. package/dist/{postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs → postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs} +2 -2
  233. package/dist/postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs.map +1 -0
  234. package/dist/prisma7-binding-BjiLA9F7.mjs +307 -0
  235. package/dist/prisma7-binding-BjiLA9F7.mjs.map +1 -0
  236. package/dist/prisma7-binding-a56klfkc.d.mts +1651 -0
  237. package/dist/prisma7-binding-a56klfkc.d.mts.map +1 -0
  238. package/dist/{render-ops-DOsRP0Po-BKn_c_Ia.mjs → render-ops-BgqtCw9Z-T8BPTX85.mjs} +17 -10
  239. package/dist/render-ops-BgqtCw9Z-T8BPTX85.mjs.map +1 -0
  240. package/dist/{render-ops-DPwhZt2W.d.mts → render-ops-Bl84i7ut.d.mts} +3 -3
  241. package/dist/render-ops-Bl84i7ut.d.mts.map +1 -0
  242. package/dist/{render-typescript-6sCFvMBh.d.mts → render-typescript-BysdXYpH.d.mts} +2 -2
  243. package/dist/render-typescript-BysdXYpH.d.mts.map +1 -0
  244. package/dist/{render-typescript-Dqp1Spgn-B128r1qw.mjs → render-typescript-Dqp1Spgn-B4mJhuVr.mjs} +2 -2
  245. package/dist/render-typescript-Dqp1Spgn-B4mJhuVr.mjs.map +1 -0
  246. package/dist/resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs +34 -0
  247. package/dist/resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs.map +1 -0
  248. package/dist/{runtime-lHBKgjB9.d.mts → runtime-C0VXuM0b.d.mts} +4 -3
  249. package/dist/runtime-C0VXuM0b.d.mts.map +1 -0
  250. package/dist/runtime-CXfxy5ED.mjs +660 -0
  251. package/dist/runtime-CXfxy5ED.mjs.map +1 -0
  252. package/dist/{runtime-_TfO66h5.d.mts → runtime-Ci_toEDZ.d.mts} +12 -4
  253. package/dist/runtime-Ci_toEDZ.d.mts.map +1 -0
  254. package/dist/{runtime-DOXznQe0.d.mts → runtime-DtjW0GP_.d.mts} +4 -4
  255. package/dist/runtime-DtjW0GP_.d.mts.map +1 -0
  256. package/dist/{schema-ir-annotations-DuuYh0gl.d.mts → schema-ir-annotations-BygaWBiC.d.mts} +2 -2
  257. package/dist/schema-ir-annotations-BygaWBiC.d.mts.map +1 -0
  258. package/dist/{schema-node-kinds-qlnURWJy-Bo30pwTM.d.mts → schema-node-kinds-C52Bb1ve-DmxQRPPS.d.mts} +2 -2
  259. package/dist/schema-node-kinds-C52Bb1ve-DmxQRPPS.d.mts.map +1 -0
  260. package/dist/{normalize-error-CNjgVO71-CLlZ3CuJ.mjs → server-text-types-DeNPQpv5-DqX0h8WF.mjs} +45 -3
  261. package/dist/server-text-types-DeNPQpv5-DqX0h8WF.mjs.map +1 -0
  262. package/dist/{sql-renderer-ComgusFq-BBlqM1fw.mjs → sql-renderer-BdWJPa5F-Ct0CPlXc.mjs} +113 -123
  263. package/dist/sql-renderer-BdWJPa5F-Ct0CPlXc.mjs.map +1 -0
  264. package/dist/{sql-renderer-BgC0ZgLS.d.mts → sql-renderer-BiBhge7D.d.mts} +9 -7
  265. package/dist/sql-renderer-BiBhge7D.d.mts.map +1 -0
  266. package/dist/{sql-utils-DuzN3JZg-DiXy4Vah.mjs → sql-utils-Bnw3JbWf-BN0gcjZB.mjs} +31 -8
  267. package/dist/sql-utils-Bnw3JbWf-BN0gcjZB.mjs.map +1 -0
  268. package/dist/{sql-utils-DW6fkczF.d.mts → sql-utils-CnnGiZBc.d.mts} +12 -4
  269. package/dist/sql-utils-CnnGiZBc.d.mts.map +1 -0
  270. package/dist/{table-source-ikHOZmhD-DriY1Lcr.d.mts → table-source-ikHOZmhD-vYcblBYv.d.mts} +2 -2
  271. package/dist/table-source-ikHOZmhD-vYcblBYv.d.mts.map +1 -0
  272. package/dist/target.d.mts +61 -49
  273. package/dist/target.mjs +45 -36
  274. package/dist/target__aggregates.d.mts +1 -1
  275. package/dist/target__aggregates.mjs +1 -1
  276. package/dist/target__codec-descriptor.d.mts +2 -2
  277. package/dist/target__codec-descriptor.mjs +1 -1
  278. package/dist/target__codec-ids.d.mts +3 -3
  279. package/dist/target__codec-ids.mjs +2 -2
  280. package/dist/target__codec-types.d.mts +4 -4
  281. package/dist/target__codecs.d.mts +4 -3
  282. package/dist/target__codecs.mjs +3 -3
  283. package/dist/target__contract-free.d.mts +3 -3
  284. package/dist/target__contract-free.mjs +4 -4
  285. package/dist/target__control.d.mts +4 -2
  286. package/dist/target__control.mjs +2501 -2
  287. package/dist/target__control.mjs.map +1 -0
  288. package/dist/target__data-transform.d.mts +2 -2
  289. package/dist/target__data-transform.mjs +1 -1
  290. package/dist/target__data-types.d.mts +2 -0
  291. package/dist/target__data-types.mjs +3 -0
  292. package/dist/target__ddl.d.mts +4 -4
  293. package/dist/target__ddl.mjs +2 -2
  294. package/dist/target__default-normalizer.d.mts +2 -2
  295. package/dist/target__default-normalizer.mjs +2 -2
  296. package/dist/target__diff-database-schema.d.mts +1 -1
  297. package/dist/target__diff-database-schema.mjs +1 -1
  298. package/dist/target__errors.d.mts +1 -1
  299. package/dist/target__errors.mjs +1 -1
  300. package/dist/target__full-text-index-authoring.d.mts +3 -0
  301. package/dist/target__full-text-index-authoring.mjs +3 -0
  302. package/dist/target__full-text.d.mts +4 -0
  303. package/dist/target__full-text.mjs +3 -0
  304. package/dist/target__issue-planner.d.mts +1 -1
  305. package/dist/target__issue-planner.mjs +1 -1
  306. package/dist/target__marker-lock.d.mts +2 -0
  307. package/dist/target__marker-lock.mjs +2 -0
  308. package/dist/target__migration.d.mts +4 -4
  309. package/dist/target__migration.mjs +5 -5
  310. package/dist/target__native-type-normalizer.d.mts +2 -2
  311. package/dist/target__native-type-normalizer.mjs +2 -2
  312. package/dist/target__op-factory-call.d.mts +3 -3
  313. package/dist/target__op-factory-call.mjs +2 -2
  314. package/dist/target__operation-types.d.mts +4 -0
  315. package/dist/target__pack.d.mts +3 -2
  316. package/dist/target__pack.mjs +1 -1
  317. package/dist/target__planner-ddl-builders.d.mts +2 -2
  318. package/dist/target__planner-ddl-builders.mjs +2 -2
  319. package/dist/target__planner-identity-values.d.mts +1 -1
  320. package/dist/target__planner-identity-values.mjs +1 -1
  321. package/dist/target__planner-produced-postgres-migration.d.mts +2 -2
  322. package/dist/target__planner-produced-postgres-migration.mjs +1 -1
  323. package/dist/target__planner-schema-lookup.d.mts +1 -1
  324. package/dist/target__planner-schema-lookup.mjs +1 -1
  325. package/dist/target__planner-sql-checks.d.mts +3 -2
  326. package/dist/target__planner-sql-checks.mjs +2 -2
  327. package/dist/target__planner-target-details.d.mts +1 -1
  328. package/dist/target__planner.d.mts +1 -1
  329. package/dist/target__planner.mjs +2 -2
  330. package/dist/target__prisma7-binding.d.mts +2 -0
  331. package/dist/target__prisma7-binding.mjs +2 -0
  332. package/dist/target__render-ops.d.mts +1 -1
  333. package/dist/target__render-ops.mjs +1 -1
  334. package/dist/target__render-typescript.d.mts +1 -1
  335. package/dist/target__render-typescript.mjs +1 -1
  336. package/dist/target__rls-canonicalize.d.mts +2 -2
  337. package/dist/target__rls-canonicalize.mjs +2 -2
  338. package/dist/target__runtime.d.mts +6 -3
  339. package/dist/target__runtime.mjs +193 -4
  340. package/dist/target__runtime.mjs.map +1 -1
  341. package/dist/target__schema-ir-annotations.d.mts +1 -1
  342. package/dist/target__schema-ir-annotations.mjs +1 -1
  343. package/dist/target__sql-utils.d.mts +3 -2
  344. package/dist/target__sql-utils.mjs +4 -2
  345. package/dist/target__types.d.mts +7 -7
  346. package/dist/target__types.mjs +5 -5
  347. package/dist/types-AvjnIUna.d.mts +2 -0
  348. package/dist/types-D6lgKhE5-D1J9YJnd.d.mts +28 -0
  349. package/dist/types-D6lgKhE5-D1J9YJnd.d.mts.map +1 -0
  350. package/dist/{types-CjGjPLr5.d.mts → types-DOmgp_12.d.mts} +8 -8
  351. package/dist/types-DOmgp_12.d.mts.map +1 -0
  352. package/dist/{types-ue6jkJyF-BQJzjx1P.d.mts → types-ue6jkJyF-D79DmBTl.d.mts} +2 -2
  353. package/dist/types-ue6jkJyF-D79DmBTl.d.mts.map +1 -0
  354. package/package.json +22 -14
  355. package/dist/adapter-B0xsc80z-sYcF0RVF.mjs.map +0 -1
  356. package/dist/adapter-CPesdzv0.d.mts +0 -26
  357. package/dist/adapter-CPesdzv0.d.mts.map +0 -1
  358. package/dist/adapter__operation-types.d.mts +0 -2
  359. package/dist/aggregates-CgqNfj2O.d.mts +0 -10
  360. package/dist/aggregates-CgqNfj2O.d.mts.map +0 -1
  361. package/dist/aggregates-Dh6HPdvC.mjs.map +0 -1
  362. package/dist/authoring-BOpdZa2N-ClrLFiXw.mjs +0 -773
  363. package/dist/authoring-BOpdZa2N-ClrLFiXw.mjs.map +0 -1
  364. package/dist/canonicalize-CQlxSR4D-MnrT5gtW.d.mts.map +0 -1
  365. package/dist/canonicalize-CrN3u_xM-D4MrOqcB.mjs.map +0 -1
  366. package/dist/check-expressions-5vhxWaFy-CBcjFeur.mjs +0 -41
  367. package/dist/check-expressions-5vhxWaFy-CBcjFeur.mjs.map +0 -1
  368. package/dist/check-expressions-DRgG8RN5-DiA-22aC.d.mts.map +0 -1
  369. package/dist/codec-descriptor-Bec_zukr-BfvtUqhm.d.mts +0 -37
  370. package/dist/codec-descriptor-Bec_zukr-BfvtUqhm.d.mts.map +0 -1
  371. package/dist/codec-descriptor-Bg-_412t.d.mts +0 -1
  372. package/dist/codec-descriptor-LT7BpQta-BaDM8UQQ.mjs.map +0 -1
  373. package/dist/codec-ids-Bqu_IwO0-DKOdPizQ.d.mts +0 -35
  374. package/dist/codec-ids-Bqu_IwO0-DKOdPizQ.d.mts.map +0 -1
  375. package/dist/codec-ids-C5Rkltkw-DMf87l9s.mjs +0 -35
  376. package/dist/codec-ids-C5Rkltkw-DMf87l9s.mjs.map +0 -1
  377. package/dist/codec-ids-DJ6j6pZc.d.mts +0 -1
  378. package/dist/codec-types-BRU4F-7t-BaJbKF_i.d.mts +0 -84
  379. package/dist/codec-types-BRU4F-7t-BaJbKF_i.d.mts.map +0 -1
  380. package/dist/codec-types-bX63JRLf.d.mts +0 -2
  381. package/dist/codecs-B1HgsJZ2.mjs +0 -15
  382. package/dist/codecs-B1HgsJZ2.mjs.map +0 -1
  383. package/dist/codecs-BmPCJWqb-DveZGJvm.mjs +0 -1680
  384. package/dist/codecs-BmPCJWqb-DveZGJvm.mjs.map +0 -1
  385. package/dist/codecs-D8tLswBi-_nbo-Z8x.d.mts +0 -638
  386. package/dist/codecs-D8tLswBi-_nbo-Z8x.d.mts.map +0 -1
  387. package/dist/codecs-DmCKO7dg.d.mts +0 -15
  388. package/dist/codecs-DmCKO7dg.d.mts.map +0 -1
  389. package/dist/column-types-BH-MU6uU.d.mts +0 -108
  390. package/dist/column-types-BH-MU6uU.d.mts.map +0 -1
  391. package/dist/column-types-Bh92dNjD.mjs +0 -126
  392. package/dist/column-types-Bh92dNjD.mjs.map +0 -1
  393. package/dist/contract-free-DzpGxLfb.d.mts.map +0 -1
  394. package/dist/contract-free-aQ4nT-_R.mjs.map +0 -1
  395. package/dist/control-2F195jJk.d.mts +0 -11
  396. package/dist/control-2F195jJk.d.mts.map +0 -1
  397. package/dist/control-BaUpALVp.d.mts.map +0 -1
  398. package/dist/control-DLTOAEHj.d.mts.map +0 -1
  399. package/dist/control-V7OkAC55.mjs +0 -1459
  400. package/dist/control-V7OkAC55.mjs.map +0 -1
  401. package/dist/control-Y6FxMu3o.mjs.map +0 -1
  402. package/dist/control-adapter-DFr4gS-r-DM3KcZdQ.mjs.map +0 -1
  403. package/dist/control-policy-B53lnBCT-B9K9Cj1x.mjs.map +0 -1
  404. package/dist/data-transform-BSM7TQpE.d.mts +0 -1
  405. package/dist/data-transform-ChZzy2dP-CxVCat_8.mjs.map +0 -1
  406. package/dist/data-transform-Ck5FbyNO-BNE7QlAo.d.mts.map +0 -1
  407. package/dist/ddl-B4Rh8ntj.d.mts +0 -1
  408. package/dist/ddl-CNQJds-C-WfZ3y4y8.mjs +0 -395
  409. package/dist/ddl-CNQJds-C-WfZ3y4y8.mjs.map +0 -1
  410. package/dist/default-normalizer-B36TOul4.d.mts +0 -31
  411. package/dist/default-normalizer-B36TOul4.d.mts.map +0 -1
  412. package/dist/default-normalizer-Ba5ZebHM-isV86rjy.mjs +0 -253
  413. package/dist/default-normalizer-Ba5ZebHM-isV86rjy.mjs.map +0 -1
  414. package/dist/descriptor-meta-KVX21fsl-DBDoB4eg.mjs +0 -354
  415. package/dist/descriptor-meta-KVX21fsl-DBDoB4eg.mjs.map +0 -1
  416. package/dist/descriptor-meta-rilAH3ep-dAmiVLpe.mjs +0 -30
  417. package/dist/descriptor-meta-rilAH3ep-dAmiVLpe.mjs.map +0 -1
  418. package/dist/descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs +0 -13
  419. package/dist/descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs.map +0 -1
  420. package/dist/diff-database-schema-DKq76rCk-uehceHYz.mjs.map +0 -1
  421. package/dist/diff-database-schema-DsoNznGC.d.mts.map +0 -1
  422. package/dist/driver__runtime.mjs.map +0 -1
  423. package/dist/errors-CU4xIwwk.d.mts.map +0 -1
  424. package/dist/errors-DKjQzNaN-DFcF1thx.mjs +0 -39
  425. package/dist/errors-DKjQzNaN-DFcF1thx.mjs.map +0 -1
  426. package/dist/issue-planner-Biq9Ls7e.d.mts.map +0 -1
  427. package/dist/migration-PTHAY9Cv.mjs.map +0 -1
  428. package/dist/migration-aFeTWTOJ.d.mts +0 -25
  429. package/dist/migration-aFeTWTOJ.d.mts.map +0 -1
  430. package/dist/namespace-ids-xtp_ZY86-Cpp8PTxD.mjs.map +0 -1
  431. package/dist/native-type-normalizer-DqJlOTeX.d.mts +0 -19
  432. package/dist/native-type-normalizer-DqJlOTeX.d.mts.map +0 -1
  433. package/dist/native-type-normalizer-yvd3tqv-.mjs +0 -38
  434. package/dist/native-type-normalizer-yvd3tqv-.mjs.map +0 -1
  435. package/dist/nodes-BU-V-aZA-RqwPH68u.d.mts.map +0 -1
  436. package/dist/nodes-DAvDJLvJ-BBdvFXNa.mjs.map +0 -1
  437. package/dist/normalize-error-CNjgVO71-CLlZ3CuJ.mjs.map +0 -1
  438. package/dist/op-factory-call-BAeyLFYf-BAgG1h1C.d.mts.map +0 -1
  439. package/dist/op-factory-call-BTU8I_x0.d.mts +0 -1
  440. package/dist/op-factory-call-H6zeDGLe-_1pAftJk.mjs.map +0 -1
  441. package/dist/operation-types-BfRocNI8.d.mts +0 -22
  442. package/dist/operation-types-BfRocNI8.d.mts.map +0 -1
  443. package/dist/pack-CySS3DQU.d.mts +0 -626
  444. package/dist/pack-CySS3DQU.d.mts.map +0 -1
  445. package/dist/planner-CT-7zSfk.d.mts.map +0 -1
  446. package/dist/planner-D0uogzvT-1WyGIC5p.mjs +0 -671
  447. package/dist/planner-D0uogzvT-1WyGIC5p.mjs.map +0 -1
  448. package/dist/planner-ddl-builders-Chxh-LEQ-DXvwOeeA.mjs +0 -102
  449. package/dist/planner-ddl-builders-Chxh-LEQ-DXvwOeeA.mjs.map +0 -1
  450. package/dist/planner-ddl-builders-ijp60-JO.d.mts +0 -19
  451. package/dist/planner-ddl-builders-ijp60-JO.d.mts.map +0 -1
  452. package/dist/planner-identity-values-BmHn5C6U-BYBbUAyR.mjs +0 -90
  453. package/dist/planner-identity-values-BmHn5C6U-BYBbUAyR.mjs.map +0 -1
  454. package/dist/planner-identity-values-TfEhnoWa.d.mts +0 -25
  455. package/dist/planner-identity-values-TfEhnoWa.d.mts.map +0 -1
  456. package/dist/planner-produced-postgres-migration-BaviT8KK-Yo9kw6rs.d.mts.map +0 -1
  457. package/dist/planner-produced-postgres-migration-D5m8nK6s-CbZ4hlbv.mjs.map +0 -1
  458. package/dist/planner-produced-postgres-migration-D6C0T2xV.d.mts +0 -1
  459. package/dist/planner-schema-lookup-C4DHAddq.d.mts.map +0 -1
  460. package/dist/planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs.map +0 -1
  461. package/dist/planner-sql-checks-CFgbRTJw.d.mts +0 -20
  462. package/dist/planner-sql-checks-CFgbRTJw.d.mts.map +0 -1
  463. package/dist/planner-sql-checks-ftgzvIO9-BTtBg2Vz.mjs +0 -152
  464. package/dist/planner-sql-checks-ftgzvIO9-BTtBg2Vz.mjs.map +0 -1
  465. package/dist/planner-target-details-HkP4RrRO-_xPQVPF0.d.mts.map +0 -1
  466. package/dist/planner-type-resolution-Bt2f_q-F-C4T6YTae.mjs +0 -15
  467. package/dist/planner-type-resolution-Bt2f_q-F-C4T6YTae.mjs.map +0 -1
  468. package/dist/postgres-contract-view-2OP5JnXl-D2fpy4-8.d.mts.map +0 -1
  469. package/dist/postgres-contract-view-B8ykf2cO-T2LvWVFZ.mjs.map +0 -1
  470. package/dist/postgres-database-schema-node-CyfpHXDr-BqyozkQE.d.mts.map +0 -1
  471. package/dist/postgres-migration-BNsrwlxh-CwI5BqAu.d.mts.map +0 -1
  472. package/dist/postgres-migration-Dbq3RGfZ-aMnwfEAb.mjs +0 -205
  473. package/dist/postgres-migration-Dbq3RGfZ-aMnwfEAb.mjs.map +0 -1
  474. package/dist/postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs.map +0 -1
  475. package/dist/postgres-rls-policy-CnDxf3z9-C3LIHAIG.d.mts.map +0 -1
  476. package/dist/postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs.map +0 -1
  477. package/dist/postgres-schema-CF0yHESb-D7n2X21R.mjs.map +0 -1
  478. package/dist/postgres-schema-Xsjt3RKO-Buv2X8ai.d.mts.map +0 -1
  479. package/dist/postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs.map +0 -1
  480. package/dist/render-ops-DOsRP0Po-BKn_c_Ia.mjs.map +0 -1
  481. package/dist/render-ops-DPwhZt2W.d.mts.map +0 -1
  482. package/dist/render-typescript-6sCFvMBh.d.mts.map +0 -1
  483. package/dist/render-typescript-Dqp1Spgn-B128r1qw.mjs.map +0 -1
  484. package/dist/resolve-ddl-schema-CoaeNP35-C-UZldpj.mjs +0 -22
  485. package/dist/resolve-ddl-schema-CoaeNP35-C-UZldpj.mjs.map +0 -1
  486. package/dist/runtime-DOXznQe0.d.mts.map +0 -1
  487. package/dist/runtime-_TfO66h5.d.mts.map +0 -1
  488. package/dist/runtime-lHBKgjB9.d.mts.map +0 -1
  489. package/dist/schema-ir-annotations-DuuYh0gl.d.mts.map +0 -1
  490. package/dist/schema-node-kinds-qlnURWJy-Bo30pwTM.d.mts.map +0 -1
  491. package/dist/sql-renderer-BgC0ZgLS.d.mts.map +0 -1
  492. package/dist/sql-renderer-ComgusFq-BBlqM1fw.mjs.map +0 -1
  493. package/dist/sql-utils-DW6fkczF.d.mts.map +0 -1
  494. package/dist/sql-utils-DuzN3JZg-DiXy4Vah.mjs.map +0 -1
  495. package/dist/table-source-ikHOZmhD-DriY1Lcr.d.mts.map +0 -1
  496. package/dist/types-B-4d5_4a.d.mts +0 -1
  497. package/dist/types-CjGjPLr5.d.mts.map +0 -1
  498. package/dist/types-CkryN1AS-BcQRGsDn.d.mts +0 -27
  499. package/dist/types-CkryN1AS-BcQRGsDn.d.mts.map +0 -1
  500. package/dist/types-ue6jkJyF-BQJzjx1P.d.mts.map +0 -1
  501. /package/dist/{adapter__operation-types.mjs → target__operation-types.mjs} +0 -0
@@ -0,0 +1,724 @@
1
+ import { r as PostgresCodecDescriptor } from "./codec-descriptor-d1ByNBEk-DhrtS_5y.mjs";
2
+ import { A as PG_TIME_TEMPORAL_CODEC_ID, C as PG_TIMESTAMPTZ_DATE_CODEC_ID, D as PG_TIMESTAMP_TEMPORAL_CODEC_ID, E as PG_TIMESTAMP_STRING_CODEC_ID, M as PG_UNBOUNDED_INT_CODEC_ID, N as PG_UUID_CODEC_ID, O as PG_TIMETZ_CODEC_ID, P as PG_VARBIT_CODEC_ID, S as PG_TEXT_CODEC_ID, T as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_NUMERIC_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, j as PG_TSQUERY_CODEC_ID, k as PG_TIME_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, v as PG_JSONB_CODEC_ID, w as PG_TIMESTAMPTZ_STRING_CODEC_ID, y as PG_JSON_CODEC_ID } from "./codec-ids-C6II64Wy-CPYTqDTT.mjs";
3
+ import { ProjectionExpr, SqlCharCodec, SqlFloatCodec, SqlIntCodec, SqlVarcharCodec } from "@prisma/orm-family-sql/relational-core/ast";
4
+ import { CodecCallContext, CodecImpl, CodecInstanceContext, DataTypeValue } from "@prisma/orm-framework/components/codec";
5
+ import { JsonValue } from "@prisma/orm-framework/contract/types";
6
+ //#region ../../../3-targets/postgres/1-target/dist/codecs-CADK7dCR.d.mts
7
+ //#region src/core/data-type-values.d.ts
8
+ /**
9
+ * The application value of a `pg/interval@1` column.
10
+ *
11
+ * A PostgreSQL interval is three independent fields — months, days and
12
+ * microseconds — not a single duration. `1 month` and `30 days` are different
13
+ * intervals because a month has no fixed length, so the three fields are carried
14
+ * separately and never collapsed into one another. Reading a value is therefore
15
+ * reading these three numbers, not parsing a string.
16
+ *
17
+ * `months` and `days` are `number` because PostgreSQL stores each as a 32-bit
18
+ * integer, which a JS number holds exactly. `micros` is `bigint` because
19
+ * PostgreSQL stores it as a 64-bit integer, whose range a JS number does not
20
+ * cover — the same reason `pg/int8@1` carries `bigint`.
21
+ *
22
+ * The canonical JSON of this codec is the ISO-8601 duration string, not this
23
+ * object: the value and its representation are independent, as they are for
24
+ * `pg/bytea@1` (`Uint8Array` / base64) and `pg/int8@1` (`bigint` / decimal text).
25
+ */
26
+ interface PgInterval {
27
+ readonly months: number;
28
+ readonly days: number;
29
+ readonly micros: bigint;
30
+ }
31
+ //#endregion
32
+ //#region src/core/codec-helpers.d.ts
33
+ type PrecisionParams = {
34
+ readonly precision?: number;
35
+ };
36
+ //#endregion
37
+ //#region src/core/temporal-codecs.d.ts
38
+ declare class PgDateTemporalCodec extends CodecImpl<typeof PG_DATE_TEMPORAL_CODEC_ID, readonly ['equality', 'order'], string, Temporal.PlainDate> {
39
+ toWire(value: Temporal.PlainDate, _ctx: CodecCallContext): Promise<string>;
40
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<Temporal.PlainDate>;
41
+ fromDataTypeValue(value: DataTypeValue<string>): Temporal.PlainDate;
42
+ toDataTypeValue(input: Temporal.PlainDate): DataTypeValue;
43
+ }
44
+ declare class PgDateTemporalDescriptor extends PostgresCodecDescriptor<void> {
45
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
46
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
47
+ readonly codecId: "pg/date-temporal@1";
48
+ readonly traits: readonly ["equality", "order"];
49
+ readonly paramsSchema: undefined;
50
+ factory(): (ctx: CodecInstanceContext) => PgDateTemporalCodec;
51
+ }
52
+ declare class PgTimestampTemporalCodec extends CodecImpl<typeof PG_TIMESTAMP_TEMPORAL_CODEC_ID, readonly ['equality', 'order'], string, Temporal.PlainDateTime> {
53
+ toWire(value: Temporal.PlainDateTime, _ctx: CodecCallContext): Promise<string>;
54
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<Temporal.PlainDateTime>;
55
+ fromDataTypeValue(value: DataTypeValue<string>): Temporal.PlainDateTime;
56
+ toDataTypeValue(input: Temporal.PlainDateTime): DataTypeValue;
57
+ }
58
+ declare class PgTimestampTemporalDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
59
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
60
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
61
+ readonly codecId: "pg/timestamp-temporal@1";
62
+ readonly traits: readonly ["equality", "order"];
63
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
64
+ precision?: number;
65
+ }, {}>;
66
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestampTemporalCodec;
67
+ }
68
+ declare class PgTimestamptzTemporalCodec extends CodecImpl<typeof PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, readonly ['equality', 'order'], string, Temporal.Instant> {
69
+ toWire(value: Temporal.Instant, _ctx: CodecCallContext): Promise<string>;
70
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<Temporal.Instant>;
71
+ fromDataTypeValue(value: DataTypeValue<string>): Temporal.Instant;
72
+ toDataTypeValue(input: Temporal.Instant): DataTypeValue;
73
+ }
74
+ declare class PgTimestamptzTemporalDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
75
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
76
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
77
+ readonly codecId: "pg/timestamptz-temporal@1";
78
+ readonly traits: readonly ["equality", "order"];
79
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
80
+ precision?: number;
81
+ }, {}>;
82
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestamptzTemporalCodec;
83
+ }
84
+ declare class PgTimeTemporalCodec extends CodecImpl<typeof PG_TIME_TEMPORAL_CODEC_ID, readonly ['equality', 'order'], string, Temporal.PlainTime> {
85
+ toWire(value: Temporal.PlainTime, _ctx: CodecCallContext): Promise<string>;
86
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<Temporal.PlainTime>;
87
+ fromDataTypeValue(value: DataTypeValue<string>): Temporal.PlainTime;
88
+ toDataTypeValue(input: Temporal.PlainTime): DataTypeValue;
89
+ }
90
+ declare class PgTimeTemporalDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
91
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
92
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
93
+ readonly codecId: "pg/time-temporal@1";
94
+ readonly traits: readonly ["equality", "order"];
95
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
96
+ precision?: number;
97
+ }, {}>;
98
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimeTemporalCodec;
99
+ }
100
+ //#endregion
101
+ //#region src/core/temporal-string-codecs.d.ts
102
+ declare class PgDateStringCodec extends CodecImpl<typeof PG_DATE_STRING_CODEC_ID, readonly ['equality', 'order'], string, string> {
103
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
104
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
105
+ fromDataTypeValue(value: DataTypeValue<string>): string;
106
+ toDataTypeValue(input: string): DataTypeValue;
107
+ }
108
+ declare class PgDateStringDescriptor extends PostgresCodecDescriptor<void> {
109
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
110
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
111
+ readonly codecId: "pg/date-string@1";
112
+ readonly traits: readonly ["equality", "order"];
113
+ readonly paramsSchema: undefined;
114
+ renderValueLiteral(value: JsonValue): string | undefined;
115
+ factory(): (ctx: CodecInstanceContext) => PgDateStringCodec;
116
+ }
117
+ declare class PgTimestampStringCodec extends CodecImpl<typeof PG_TIMESTAMP_STRING_CODEC_ID, readonly ['equality', 'order'], string, string> {
118
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
119
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
120
+ fromDataTypeValue(value: DataTypeValue<string>): string;
121
+ toDataTypeValue(input: string): DataTypeValue;
122
+ }
123
+ declare class PgTimestampStringDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
124
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
125
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
126
+ readonly codecId: "pg/timestamp-string@1";
127
+ readonly traits: readonly ["equality", "order"];
128
+ readonly enumRefusal: string;
129
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
130
+ precision?: number;
131
+ }, {}>;
132
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestampStringCodec;
133
+ }
134
+ declare class PgTimestamptzStringCodec extends CodecImpl<typeof PG_TIMESTAMPTZ_STRING_CODEC_ID, readonly ['equality', 'order'], string, string> {
135
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
136
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
137
+ fromDataTypeValue(value: DataTypeValue<string>): string;
138
+ toDataTypeValue(input: string): DataTypeValue;
139
+ }
140
+ declare class PgTimestamptzStringDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
141
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
142
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
143
+ readonly codecId: "pg/timestamptz-string@1";
144
+ readonly traits: readonly ["equality", "order"];
145
+ readonly enumRefusal: string;
146
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
147
+ precision?: number;
148
+ }, {}>;
149
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestamptzStringCodec;
150
+ }
151
+ declare class PgTimeStringCodec extends CodecImpl<typeof PG_TIME_STRING_CODEC_ID, readonly ['equality', 'order'], string, string> {
152
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
153
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
154
+ fromDataTypeValue(value: DataTypeValue<string>): string;
155
+ toDataTypeValue(input: string): DataTypeValue;
156
+ }
157
+ declare class PgTimeStringDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
158
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
159
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
160
+ readonly codecId: "pg/time-string@1";
161
+ readonly traits: readonly ["equality", "order"];
162
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
163
+ precision?: number;
164
+ }, {}>;
165
+ renderValueLiteral(value: JsonValue): string | undefined;
166
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimeStringCodec;
167
+ }
168
+ //#endregion
169
+ //#region src/core/date-codecs.d.ts
170
+ declare class PgTimestamptzDateCodec extends CodecImpl<typeof PG_TIMESTAMPTZ_DATE_CODEC_ID, readonly ['equality', 'order'], string, Date> {
171
+ toWire(value: Date, _ctx: CodecCallContext): Promise<string>;
172
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<Date>;
173
+ fromDataTypeValue(value: DataTypeValue<string>): Date;
174
+ toDataTypeValue(input: Date): DataTypeValue;
175
+ }
176
+ declare class PgTimestamptzDateDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
177
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
178
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
179
+ readonly codecId: "pg/timestamptz-date@1";
180
+ readonly traits: readonly ["equality", "order"];
181
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
182
+ precision?: number;
183
+ }, {}>;
184
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestamptzDateCodec;
185
+ }
186
+ declare const pgTimestamptzDateDescriptor: PgTimestamptzDateDescriptor;
187
+ declare const pgTimestamptzDateColumn: (params?: PrecisionParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<PgTimestamptzDateCodec, PrecisionParams>;
188
+ //#endregion
189
+ //#region src/core/codecs.d.ts
190
+ type LengthParams = {
191
+ readonly length?: number;
192
+ };
193
+ type NumericParams = {
194
+ readonly precision?: number;
195
+ readonly scale?: number;
196
+ };
197
+ declare class PgTextCodec extends CodecImpl<typeof PG_TEXT_CODEC_ID, readonly ['equality', 'order', 'textual'], string, string> {
198
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
199
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
200
+ fromDataTypeValue(value: DataTypeValue<string>): string;
201
+ toDataTypeValue(input: string): DataTypeValue;
202
+ }
203
+ declare class PgTextDescriptor extends PostgresCodecDescriptor<void> {
204
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
205
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
206
+ readonly codecId: "pg/text@1";
207
+ readonly traits: readonly ["equality", "order", "textual"];
208
+ readonly paramsSchema: undefined;
209
+ renderValueLiteral(value: JsonValue): string | undefined;
210
+ factory(): (ctx: CodecInstanceContext) => PgTextCodec;
211
+ }
212
+ declare const pgTextColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgTextCodec, undefined>;
213
+ /**
214
+ * Codec for a `pg.enum(Ref)` column bound to a native Postgres enum type.
215
+ * Text passthrough, identical to `pg/text@1` — encode/decode do not carry the
216
+ * enum's member values; membership is enforced by the native type itself, not
217
+ * by this codec. `renderValueLiteral` renders a member value as its TS
218
+ * literal, which is what drives the column's typed value-union (via
219
+ * `renderValueSetType` reading the column's `valueSet` ref) — the codec
220
+ * itself carries no params of its own; typing comes entirely from the
221
+ * column's value-set, not from `pg/enum@1`.
222
+ *
223
+ * A distinct codec id (rather than reusing `pg/text@1` on a plain text
224
+ * column) keeps native-enum columns independently identifiable — from a
225
+ * column's `codecId` alone, without also inspecting its data type — which
226
+ * the managed (DDL) phase needs to target `CREATE TYPE`/`ALTER TYPE`
227
+ * operations at exactly the columns that use one.
228
+ *
229
+ * Not `textual`, although its values are strings: Postgres has no `LIKE`,
230
+ * `ILIKE` or `to_tsvector` over an enum type.
231
+ */
232
+ declare class PgEnumCodec extends CodecImpl<typeof PG_ENUM_CODEC_ID, readonly ['equality', 'order'], string, string> {
233
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
234
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
235
+ fromDataTypeValue(value: DataTypeValue<string>): string;
236
+ toDataTypeValue(input: string): DataTypeValue;
237
+ }
238
+ type PgEnumParams = {
239
+ readonly typeName: string;
240
+ };
241
+ /**
242
+ * Narrows codec `typeParams` to {@link PgEnumParams} — the shape that binds a
243
+ * column to a named database type (a native enum's `CREATE TYPE` name).
244
+ */
245
+ declare function isPgEnumParams(value: unknown): value is PgEnumParams;
246
+ declare class PgEnumDescriptor extends PostgresCodecDescriptor<PgEnumParams> {
247
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
248
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
249
+ readonly codecId: "pg/enum@1";
250
+ readonly traits: readonly ["equality", "order"];
251
+ readonly enumRefusal = "A pg/enum codec types the column of a native enum, whose values the database enforces with an enum type of its own. Declare a native enum instead: native_enum in PSL, or nativeEnum in TypeScript.";
252
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
253
+ typeName: string;
254
+ }, {}>;
255
+ renderValueLiteral(value: JsonValue): string | undefined;
256
+ factory(params: PgEnumParams): (ctx: CodecInstanceContext) => PgEnumCodec;
257
+ /**
258
+ * Authoring-time hook a `pg.enum(<ref>)` type constructor calls once it has
259
+ * resolved its ref argument to the referenced `native_enum` entity:
260
+ * produces this codec's per-column `typeParams` from the entity's bare type
261
+ * name. Schema-qualification (`auth.aal_level` for a
262
+ * named non-default schema) is not this hook's concern — the field's
263
+ * namespace isn't known at this call site for every authoring path (the TS
264
+ * builder resolves a column before it knows its model's namespace), so it is
265
+ * applied later, at contract construction, by {@link qualifyNativeType} via
266
+ * the target's `authoring.qualifyColumnType` hook. Returns `undefined` if `entity` is not a `PostgresNativeEnum` (a
267
+ * contributor bug, not a user-schema error — the caller decides how to
268
+ * report it).
269
+ */
270
+ columnFromEntity(entity: unknown): {
271
+ readonly typeParams: PgEnumParams;
272
+ } | undefined;
273
+ /**
274
+ * Schema-qualifies this native enum type's name for the namespace the
275
+ * consuming column lives in: `${namespaceId}.${typeName}` for a named
276
+ * non-default schema, bare for the target's default schema (`public`) or
277
+ * the late-bound unbound sentinel (whose schema `search_path` resolves at
278
+ * runtime). Postgres's `format_type()` reports the bare name for a
279
+ * public-schema type, so a public column's declared native type must stay
280
+ * bare to match. Owned here because the codec owns its native type.
281
+ */
282
+ qualifyNativeType(typeName: string, namespaceId: string): string;
283
+ }
284
+ declare const pgEnumDescriptor: PgEnumDescriptor;
285
+ /**
286
+ * Contract-construction-time column-type qualifier the Postgres target
287
+ * contributes through `authoring.qualifyColumnType`.
288
+ * `buildSqlContractFromDefinition` calls this for every column as it is
289
+ * constructed, passing the column's bare type info and its owning
290
+ * `namespaceId`; a native-enum column (`pg/enum@1`) gets its type name
291
+ * schema-qualified for that namespace (via
292
+ * {@link PgEnumDescriptor.qualifyNativeType}), which rewrites only
293
+ * `typeParams.typeName`. Every other codec passes through unchanged.
294
+ * Both the PSL `pg.enum(Ref)` path and the TS `pg.enum(handle)` path route
295
+ * through here — the dispatch keys off the codec id, not authoring surface.
296
+ */
297
+ declare function postgresQualifyColumnType(input: {
298
+ readonly codecId: string;
299
+ readonly typeParams?: Record<string, unknown>;
300
+ }, namespaceId: string): {
301
+ readonly typeParams?: Record<string, unknown>;
302
+ };
303
+ declare class PgInt4Codec extends CodecImpl<typeof PG_INT4_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number, number> {
304
+ toWire(value: number, _ctx: CodecCallContext): Promise<number>;
305
+ fromWire(wire: string | number, _ctx: CodecCallContext): Promise<number>;
306
+ fromDataTypeValue(value: DataTypeValue<number>): number;
307
+ toDataTypeValue(input: number): DataTypeValue;
308
+ }
309
+ declare class PgInt4Descriptor extends PostgresCodecDescriptor<void> {
310
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
311
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
312
+ readonly codecId: "pg/int4@1";
313
+ readonly traits: readonly ["equality", "order", "numeric"];
314
+ readonly paramsSchema: undefined;
315
+ renderValueLiteral(value: JsonValue): string | undefined;
316
+ factory(): (ctx: CodecInstanceContext) => PgInt4Codec;
317
+ }
318
+ declare const pgInt4Column: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgInt4Codec, undefined>;
319
+ declare class PgInt2Codec extends CodecImpl<typeof PG_INT2_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number, number> {
320
+ toWire(value: number, _ctx: CodecCallContext): Promise<number>;
321
+ fromWire(wire: string | number, _ctx: CodecCallContext): Promise<number>;
322
+ fromDataTypeValue(value: DataTypeValue<number>): number;
323
+ toDataTypeValue(input: number): DataTypeValue;
324
+ }
325
+ declare class PgInt2Descriptor extends PostgresCodecDescriptor<void> {
326
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
327
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
328
+ readonly codecId: "pg/int2@1";
329
+ readonly traits: readonly ["equality", "order", "numeric"];
330
+ readonly paramsSchema: undefined;
331
+ renderValueLiteral(value: JsonValue): string | undefined;
332
+ factory(): (ctx: CodecInstanceContext) => PgInt2Codec;
333
+ }
334
+ declare const pgInt2Column: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgInt2Codec, undefined>;
335
+ /**
336
+ * A Postgres `int8` spans the full signed 64-bit range, which a JS `number`
337
+ * cannot hold past 2^53. Application values are `bigint` and the canonical JSON
338
+ * is decimal text; the wire form is the decimal string `pg` reads and writes for
339
+ * this type.
340
+ */
341
+ declare class PgInt8Codec extends CodecImpl<typeof PG_INT8_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number | bigint, bigint> {
342
+ toWire(value: bigint, _ctx: CodecCallContext): Promise<string>;
343
+ fromWire(wire: string | number | bigint, _ctx: CodecCallContext): Promise<bigint>;
344
+ fromDataTypeValue(value: DataTypeValue<string>): bigint;
345
+ toDataTypeValue(input: bigint): DataTypeValue;
346
+ }
347
+ declare class PgInt8Descriptor extends PostgresCodecDescriptor<void> {
348
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
349
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
350
+ readonly codecId: "pg/int8@1";
351
+ readonly traits: readonly ["equality", "order", "numeric"];
352
+ readonly paramsSchema: undefined;
353
+ renderValueLiteral(value: JsonValue): string | undefined;
354
+ factory(): (ctx: CodecInstanceContext) => PgInt8Codec;
355
+ }
356
+ declare const pgInt8Column: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgInt8Codec, undefined>;
357
+ /**
358
+ * A Postgres `int8` decoded as a JS `number`, for columns whose values stay
359
+ * within the safe integer range ±(2^53 − 1). Both directions guard rather than
360
+ * round: decode (wire and JSON) and encode throw a structured error on
361
+ * out-of-range or non-integral input. The canonical JSON is the decimal text
362
+ * `pg/int8` carries, which every codec of that data type shares. The descriptor
363
+ * claims no target type, so `int8` in type position stays `pg/int8@1`.
364
+ */
365
+ declare class PgInt8NumberCodec extends CodecImpl<typeof PG_INT8_NUMBER_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number | bigint, number> {
366
+ toWire(value: number, _ctx: CodecCallContext): Promise<string>;
367
+ fromWire(wire: string | number | bigint, _ctx: CodecCallContext): Promise<number>;
368
+ fromDataTypeValue(value: DataTypeValue<string>): number;
369
+ toDataTypeValue(input: number): DataTypeValue;
370
+ }
371
+ declare class PgInt8NumberDescriptor extends PostgresCodecDescriptor<void> {
372
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
373
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
374
+ readonly codecId: "pg/int8number@1";
375
+ readonly traits: readonly ["equality", "order", "numeric"];
376
+ readonly paramsSchema: undefined;
377
+ renderValueLiteral(value: JsonValue): string | undefined;
378
+ factory(): (ctx: CodecInstanceContext) => PgInt8NumberCodec;
379
+ }
380
+ declare const pgInt8NumberColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgInt8NumberCodec, undefined>;
381
+ declare class PgFloat4Codec extends CodecImpl<typeof PG_FLOAT4_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number, number> {
382
+ toWire(value: number, _ctx: CodecCallContext): Promise<string | number>;
383
+ fromWire(wire: string | number, _ctx: CodecCallContext): Promise<number>;
384
+ fromDataTypeValue(value: DataTypeValue<JsonValue>): number;
385
+ toDataTypeValue(input: number): DataTypeValue;
386
+ }
387
+ declare class PgFloat4Descriptor extends PostgresCodecDescriptor<void> {
388
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
389
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
390
+ readonly codecId: "pg/float4@1";
391
+ readonly traits: readonly ["equality", "order", "numeric"];
392
+ readonly paramsSchema: undefined;
393
+ renderValueLiteral(value: JsonValue): string | undefined;
394
+ factory(): (ctx: CodecInstanceContext) => PgFloat4Codec;
395
+ }
396
+ declare const pgFloat4Column: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgFloat4Codec, undefined>;
397
+ declare class PgFloat8Codec extends CodecImpl<typeof PG_FLOAT8_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number, number> {
398
+ toWire(value: number, _ctx: CodecCallContext): Promise<string | number>;
399
+ fromWire(wire: string | number, _ctx: CodecCallContext): Promise<number>;
400
+ fromDataTypeValue(value: DataTypeValue<JsonValue>): number;
401
+ toDataTypeValue(input: number): DataTypeValue;
402
+ }
403
+ declare class PgFloat8Descriptor extends PostgresCodecDescriptor<void> {
404
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
405
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
406
+ readonly codecId: "pg/float8@1";
407
+ readonly traits: readonly ["equality", "order", "numeric"];
408
+ readonly paramsSchema: undefined;
409
+ renderValueLiteral(value: JsonValue): string | undefined;
410
+ factory(): (ctx: CodecInstanceContext) => PgFloat8Codec;
411
+ }
412
+ declare const pgFloat8Column: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgFloat8Codec, undefined>;
413
+ declare class PgBoolCodec extends CodecImpl<typeof PG_BOOL_CODEC_ID, readonly ['equality', 'boolean'], string | boolean, boolean> {
414
+ toWire(value: boolean, _ctx: CodecCallContext): Promise<boolean>;
415
+ fromWire(wire: string | boolean, _ctx: CodecCallContext): Promise<boolean>;
416
+ fromDataTypeValue(value: DataTypeValue<boolean>): boolean;
417
+ toDataTypeValue(input: boolean): DataTypeValue;
418
+ }
419
+ declare class PgBoolDescriptor extends PostgresCodecDescriptor<void> {
420
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
421
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
422
+ readonly codecId: "pg/bool@1";
423
+ readonly traits: readonly ["equality", "boolean"];
424
+ readonly paramsSchema: undefined;
425
+ renderValueLiteral(value: JsonValue): string | undefined;
426
+ factory(): (ctx: CodecInstanceContext) => PgBoolCodec;
427
+ }
428
+ declare const pgBoolColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgBoolCodec, undefined>;
429
+ declare class PgNumericCodec extends CodecImpl<typeof PG_NUMERIC_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number, string> {
430
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
431
+ fromWire(wire: string | number, _ctx: CodecCallContext): Promise<string>;
432
+ fromDataTypeValue(value: DataTypeValue<string>): string;
433
+ toDataTypeValue(input: string): DataTypeValue;
434
+ }
435
+ declare class PgNumericDescriptor extends PostgresCodecDescriptor<NumericParams> {
436
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
437
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
438
+ readonly codecId: "pg/numeric@1";
439
+ readonly traits: readonly ["equality", "order", "numeric"];
440
+ readonly keepsWrittenForm: true;
441
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
442
+ precision?: number;
443
+ scale?: number;
444
+ }, {}>;
445
+ factory(params: NumericParams): (ctx: CodecInstanceContext) => PgNumericCodec;
446
+ }
447
+ declare const pgNumericColumn: (params?: NumericParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<PgNumericCodec, NumericParams>;
448
+ /**
449
+ * A genuinely unbounded integer over unconstrained Postgres `numeric` storage.
450
+ * Application values are `bigint` and the canonical JSON is decimal text, like
451
+ * `pg/int8@1`; decode rejects non-integral values. The descriptor claims no
452
+ * target type, so `numeric` and `decimal` in type position stay `pg/numeric@1`.
453
+ */
454
+ declare class PgUnboundedIntCodec extends CodecImpl<typeof PG_UNBOUNDED_INT_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number | bigint, bigint> {
455
+ toWire(value: bigint, _ctx: CodecCallContext): Promise<string>;
456
+ fromWire(wire: string | number | bigint, _ctx: CodecCallContext): Promise<bigint>;
457
+ /** A `bigint` holds only a whole number, so a value with a fraction, or `NaN` or an infinity, is refused. */
458
+ fromDataTypeValue(value: DataTypeValue<string>): bigint;
459
+ toDataTypeValue(input: bigint): DataTypeValue;
460
+ }
461
+ declare class PgUnboundedIntDescriptor extends PostgresCodecDescriptor<NumericParams> {
462
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
463
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
464
+ readonly codecId: "pg/unboundedint@1";
465
+ readonly traits: readonly ["equality", "order", "numeric"];
466
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
467
+ precision?: number;
468
+ scale?: number;
469
+ }, {}>;
470
+ renderValueLiteral(value: JsonValue): string | undefined;
471
+ factory(params?: NumericParams): (ctx: CodecInstanceContext) => PgUnboundedIntCodec;
472
+ }
473
+ declare const pgUnboundedIntColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgUnboundedIntCodec, undefined>;
474
+ declare class PgTimetzCodec extends CodecImpl<typeof PG_TIMETZ_CODEC_ID, readonly ['equality', 'order'], string, string> {
475
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
476
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
477
+ fromDataTypeValue(value: DataTypeValue<string>): string;
478
+ toDataTypeValue(input: string): DataTypeValue;
479
+ }
480
+ declare class PgTimetzDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
481
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
482
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
483
+ readonly codecId: "pg/timetz@1";
484
+ readonly traits: readonly ["equality", "order"];
485
+ readonly enumRefusal = "A query reads each value as the text PostgreSQL prints, such as \"12:34:56+02\", while the contract stores it in ISO 8601, such as \"12:34:56+02:00\", so a value read back need not equal the member written. No enum can use a timetz codec; use a text enum instead.";
486
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
487
+ precision?: number;
488
+ }, {}>;
489
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimetzCodec;
490
+ }
491
+ declare const pgTimetzColumn: (params?: PrecisionParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<PgTimetzCodec, PrecisionParams>;
492
+ declare class PgBitCodec extends CodecImpl<typeof PG_BIT_CODEC_ID, readonly ['equality', 'order'], string, string> {
493
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
494
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
495
+ fromDataTypeValue(value: DataTypeValue<string>): string;
496
+ toDataTypeValue(input: string): DataTypeValue;
497
+ }
498
+ declare class PgBitDescriptor extends PostgresCodecDescriptor<LengthParams> {
499
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
500
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
501
+ readonly codecId: "pg/bit@1";
502
+ readonly traits: readonly ["equality", "order"];
503
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
504
+ length?: number;
505
+ }, {}>;
506
+ renderValueLiteral(value: JsonValue): string | undefined;
507
+ factory(params: LengthParams): (ctx: CodecInstanceContext) => PgBitCodec;
508
+ }
509
+ declare const pgBitColumn: (params?: LengthParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<PgBitCodec, LengthParams>;
510
+ declare class PgVarbitCodec extends CodecImpl<typeof PG_VARBIT_CODEC_ID, readonly ['equality', 'order'], string, string> {
511
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
512
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
513
+ fromDataTypeValue(value: DataTypeValue<string>): string;
514
+ toDataTypeValue(input: string): DataTypeValue;
515
+ }
516
+ declare class PgVarbitDescriptor extends PostgresCodecDescriptor<LengthParams> {
517
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
518
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
519
+ readonly codecId: "pg/varbit@1";
520
+ readonly traits: readonly ["equality", "order"];
521
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
522
+ length?: number;
523
+ }, {}>;
524
+ renderValueLiteral(value: JsonValue): string | undefined;
525
+ factory(params: LengthParams): (ctx: CodecInstanceContext) => PgVarbitCodec;
526
+ }
527
+ declare const pgVarbitColumn: (params?: LengthParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<PgVarbitCodec, LengthParams>;
528
+ declare class PgByteaCodec extends CodecImpl<typeof PG_BYTEA_CODEC_ID, readonly ['equality'], Uint8Array, Uint8Array> {
529
+ toWire(value: Uint8Array, _ctx: CodecCallContext): Promise<Uint8Array>;
530
+ fromWire(wire: Uint8Array | string, _ctx: CodecCallContext): Promise<Uint8Array>;
531
+ fromDataTypeValue(value: DataTypeValue<string>): Uint8Array;
532
+ toDataTypeValue(input: Uint8Array): DataTypeValue;
533
+ }
534
+ declare class PgByteaDescriptor extends PostgresCodecDescriptor<void> {
535
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
536
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
537
+ readonly codecId: "pg/bytea@1";
538
+ readonly traits: readonly ["equality"];
539
+ readonly enumRefusal = "The contract stores a bytea value as base64 text, which PostgreSQL reads as the bytes of that text, so no CHECK can compare a value with the members. No enum can use a bytea codec; use a text enum instead.";
540
+ readonly paramsSchema: undefined;
541
+ factory(): (ctx: CodecInstanceContext) => PgByteaCodec;
542
+ }
543
+ declare class PgUuidCodec extends CodecImpl<typeof PG_UUID_CODEC_ID, readonly ['equality', 'order'], string, string> {
544
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
545
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
546
+ fromDataTypeValue(value: DataTypeValue<string>): string;
547
+ toDataTypeValue(input: string): DataTypeValue;
548
+ }
549
+ declare class PgUuidDescriptor extends PostgresCodecDescriptor<void> {
550
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
551
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
552
+ readonly codecId: "pg/uuid@1";
553
+ readonly traits: readonly ["equality", "order"];
554
+ readonly paramsSchema: undefined;
555
+ renderValueLiteral(value: JsonValue): string | undefined;
556
+ factory(): (ctx: CodecInstanceContext) => PgUuidCodec;
557
+ }
558
+ declare const pgUuidColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgUuidCodec, undefined>;
559
+ declare class PgInetCodec extends CodecImpl<typeof PG_INET_CODEC_ID, readonly ['equality', 'order'], string, string> {
560
+ toWire(value: string, _ctx: CodecCallContext): Promise<string>;
561
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
562
+ fromDataTypeValue(value: DataTypeValue<string>): string;
563
+ toDataTypeValue(input: string): DataTypeValue;
564
+ }
565
+ declare class PgInetDescriptor extends PostgresCodecDescriptor<void> {
566
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
567
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
568
+ readonly codecId: "pg/inet@1";
569
+ readonly traits: readonly ["equality", "order"];
570
+ readonly paramsSchema: undefined;
571
+ renderValueLiteral(value: JsonValue): string | undefined;
572
+ factory(): (ctx: CodecInstanceContext) => PgInetCodec;
573
+ }
574
+ declare const pgInetColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgInetCodec, undefined>;
575
+ /**
576
+ * A `tsquery` value as the application holds it: text that only Postgres produces, when a query
577
+ * selects one. The brand keeps a bare string from being passed where a full-text query is expected,
578
+ * while a value read back can be passed straight back. It is not exported, so reading one back from
579
+ * Postgres is the only way to get one.
580
+ */
581
+ type TsqueryValue = string & {
582
+ readonly __tsquery: true;
583
+ };
584
+ declare class PgTsqueryCodec extends CodecImpl<typeof PG_TSQUERY_CODEC_ID, readonly [], string, TsqueryValue> {
585
+ toWire(value: TsqueryValue, _ctx: CodecCallContext): Promise<string>;
586
+ fromWire(wire: string, _ctx: CodecCallContext): Promise<TsqueryValue>;
587
+ fromDataTypeValue(value: DataTypeValue<string>): TsqueryValue;
588
+ toDataTypeValue(input: TsqueryValue): DataTypeValue;
589
+ }
590
+ /**
591
+ * The type of a full-text query: what the parsers and the tag in `full-text` return, and what a
592
+ * `tsquery` value read back from a query binds as when passed to `fullTextMatches`, `fullTextRank`
593
+ * or `fullTextHeadline`. It has no column helper, because a contract cannot author a `tsquery`
594
+ * column, and no traits, because comparing or ordering queries means nothing to an application.
595
+ */
596
+ declare class PgTsqueryDescriptor extends PostgresCodecDescriptor<void> {
597
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
598
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
599
+ readonly codecId: "pg/tsquery@1";
600
+ readonly traits: readonly [];
601
+ readonly enumRefusal = "PostgreSQL normalises the query text, so a member as written is not the value a query reads back: it prints a & b as 'a' & 'b'. No enum can use a tsquery codec; use a text enum instead.";
602
+ readonly paramsSchema: undefined;
603
+ factory(): (ctx: CodecInstanceContext) => PgTsqueryCodec;
604
+ }
605
+ /**
606
+ * An application value is a {@link PgInterval} — the three fields PostgreSQL
607
+ * actually stores, `{ months, days, micros }` — and its canonical JSON is the
608
+ * ISO-8601 duration string PostgreSQL spells under
609
+ * `IntervalStyle = 'iso_8601'`: `P1M`, `P30D`, `P1Y2M3DT4H5M6S`, `PT0S` for
610
+ * zero, each component carrying its own sign.
611
+ *
612
+ * Value and representation are independent here, as they are for `pg/bytea@1`
613
+ * (`Uint8Array` carried as base64) and `pg/int8@1` (`bigint` carried as decimal
614
+ * text). Reading an interval hands back numbers to compute with rather than a
615
+ * string to parse; writing one takes the same numbers.
616
+ *
617
+ * The fields stay independent because a month has no fixed length: `{months: 1}`
618
+ * and `{days: 30}` are different values and neither converts to the other. The
619
+ * ISO rendering normalises only in its own spelling — twelve months render as a
620
+ * year — so `{months: 13}` renders `P1Y1M` and reads back as `{months: 13}`.
621
+ */
622
+ declare class PgIntervalCodec extends CodecImpl<typeof PG_INTERVAL_CODEC_ID, readonly ['equality', 'order'], string | Record<string, unknown>, PgInterval> {
623
+ toWire(value: PgInterval, _ctx: CodecCallContext): Promise<string>;
624
+ fromWire(wire: string | Record<string, unknown>, _ctx: CodecCallContext): Promise<PgInterval>;
625
+ fromDataTypeValue(value: DataTypeValue<string>): PgInterval;
626
+ toDataTypeValue(input: PgInterval): DataTypeValue;
627
+ }
628
+ declare class PgIntervalDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
629
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
630
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
631
+ readonly codecId: "pg/interval@1";
632
+ readonly traits: readonly ["equality", "order"];
633
+ readonly keepsWrittenForm: true;
634
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
635
+ precision?: number;
636
+ }, {}>;
637
+ factory(params: PrecisionParams): (ctx: CodecInstanceContext) => PgIntervalCodec;
638
+ }
639
+ declare const pgIntervalColumn: (params?: PrecisionParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<PgIntervalCodec, PrecisionParams>;
640
+ declare class PgJsonCodec extends CodecImpl<typeof PG_JSON_CODEC_ID, readonly [], string | JsonValue, JsonValue> {
641
+ toWire(value: JsonValue, _ctx: CodecCallContext): Promise<string>;
642
+ fromWire(wire: string | JsonValue, _ctx: CodecCallContext): Promise<JsonValue>;
643
+ fromDataTypeValue(value: DataTypeValue<JsonValue>): JsonValue;
644
+ toDataTypeValue(input: JsonValue): DataTypeValue;
645
+ }
646
+ declare class PgJsonDescriptor extends PostgresCodecDescriptor<void> {
647
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
648
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
649
+ readonly codecId: "pg/json@1";
650
+ readonly traits: readonly [];
651
+ readonly enumRefusal = "The json type has no equality operator, so no CHECK can compare a value with the members. No enum can use a json codec; use a text enum instead.";
652
+ readonly paramsSchema: undefined;
653
+ factory(): (ctx: CodecInstanceContext) => PgJsonCodec;
654
+ }
655
+ declare const pgJsonColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgJsonCodec, undefined>;
656
+ declare class PgJsonbCodec extends CodecImpl<typeof PG_JSONB_CODEC_ID, readonly ['equality'], string | JsonValue, JsonValue> {
657
+ toWire(value: JsonValue, _ctx: CodecCallContext): Promise<string>;
658
+ fromWire(wire: string | JsonValue, _ctx: CodecCallContext): Promise<JsonValue>;
659
+ fromDataTypeValue(value: DataTypeValue<JsonValue>): JsonValue;
660
+ toDataTypeValue(input: JsonValue): DataTypeValue;
661
+ }
662
+ declare class PgJsonbDescriptor extends PostgresCodecDescriptor<void> {
663
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
664
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
665
+ readonly codecId: "pg/jsonb@1";
666
+ readonly traits: readonly ["equality"];
667
+ readonly enumRefusal = "A CHECK lists a string member as SQL text, which PostgreSQL reads as the JSON text of a document rather than as a string, and a number member as a number, which PostgreSQL cannot compare with jsonb, so no CHECK can compare a value with the members. No enum can use a jsonb codec; use a text enum instead.";
668
+ readonly paramsSchema: undefined;
669
+ factory(): (ctx: CodecInstanceContext) => PgJsonbCodec;
670
+ }
671
+ declare const pgJsonbColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgJsonbCodec, undefined>;
672
+ declare class PgIntCodec extends SqlIntCodec {
673
+ fromWire(wire: string | number, _ctx: CodecCallContext): Promise<number>;
674
+ }
675
+ declare class PgFloatCodec extends SqlFloatCodec {
676
+ fromWire(wire: string | number, _ctx: CodecCallContext): Promise<number>;
677
+ }
678
+ declare class PgCharDescriptor extends PostgresCodecDescriptor<LengthParams> {
679
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
680
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
681
+ readonly codecId: "pg/char@1";
682
+ readonly traits: readonly ["equality", "order", "textual"];
683
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
684
+ length?: number;
685
+ }, {}>;
686
+ renderValueLiteral(value: JsonValue): string | undefined;
687
+ factory(params: LengthParams): (ctx: CodecInstanceContext) => SqlCharCodec;
688
+ }
689
+ declare const pgCharColumn: (params?: LengthParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<SqlCharCodec, LengthParams>;
690
+ declare class PgVarcharDescriptor extends PostgresCodecDescriptor<LengthParams> {
691
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
692
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
693
+ readonly codecId: "pg/varchar@1";
694
+ readonly traits: readonly ["equality", "order", "textual"];
695
+ readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
696
+ length?: number;
697
+ }, {}>;
698
+ renderValueLiteral(value: JsonValue): string | undefined;
699
+ factory(params: LengthParams): (ctx: CodecInstanceContext) => SqlVarcharCodec;
700
+ }
701
+ declare const pgVarcharColumn: (params?: LengthParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<SqlVarcharCodec, LengthParams>;
702
+ declare class PgIntDescriptor extends PostgresCodecDescriptor<void> {
703
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
704
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
705
+ readonly codecId: "pg/int@1";
706
+ readonly traits: readonly ["equality", "order", "numeric"];
707
+ readonly paramsSchema: undefined;
708
+ renderValueLiteral(value: JsonValue): string | undefined;
709
+ factory(): (ctx: CodecInstanceContext) => PgIntCodec;
710
+ }
711
+ declare const pgIntColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgIntCodec, undefined>;
712
+ declare class PgFloatDescriptor extends PostgresCodecDescriptor<void> {
713
+ protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
714
+ readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
715
+ readonly codecId: "pg/float@1";
716
+ readonly traits: readonly ["equality", "order", "numeric"];
717
+ readonly paramsSchema: undefined;
718
+ renderValueLiteral(value: JsonValue): string | undefined;
719
+ factory(): (ctx: CodecInstanceContext) => PgFloatCodec;
720
+ }
721
+ declare const pgFloatColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<PgFloatCodec, undefined>;
722
+ //#endregion
723
+ export { pgIntervalColumn as $, PgTimestamptzDateDescriptor as A, pgBitColumn as B, PgNumericDescriptor as C, PgTimestampStringDescriptor as D, PgTimeTemporalDescriptor as E, PgUnboundedIntDescriptor as F, pgFloat8Column as G, pgCharColumn as H, PgUuidDescriptor as I, pgInt2Column as J, pgFloatColumn as K, PgVarbitDescriptor as L, PgTimestamptzTemporalDescriptor as M, PgTimetzDescriptor as N, PgTimestampTemporalDescriptor as O, PgTsqueryDescriptor as P, pgIntColumn as Q, PgVarcharDescriptor as R, PgJsonbDescriptor as S, PgTimeStringDescriptor as T, pgEnumDescriptor as U, pgBoolColumn as V, pgFloat4Column as W, pgInt8Column as X, pgInt4Column as Y, pgInt8NumberColumn as Z, PgInt8NumberDescriptor as _, PgDateStringDescriptor as a, pgTimestamptzDateDescriptor as at, PgIntervalDescriptor as b, PgEnumDescriptor as c, pgUuidColumn as ct, PgFloat8Descriptor as d, postgresQualifyColumnType as dt, pgJsonColumn as et, PgFloatDescriptor as f, PgInt8Descriptor as g, PgInt4Descriptor as h, PgCharDescriptor as i, pgTimestamptzDateColumn as it, PgTimestamptzStringDescriptor as j, PgTimestamptzDateCodec as k, PgEnumParams as l, pgVarbitColumn as lt, PgInt2Descriptor as m, PgBoolDescriptor as n, pgNumericColumn as nt, PgDateTemporalDescriptor as o, pgTimetzColumn as ot, PgInetDescriptor as p, pgInetColumn as q, PgByteaDescriptor as r, pgTextColumn as rt, PgEnumCodec as s, pgUnboundedIntColumn as st, PgBitDescriptor as t, pgJsonbColumn as tt, PgFloat4Descriptor as u, pgVarcharColumn as ut, PgIntDescriptor as v, PgTextDescriptor as w, PgJsonDescriptor as x, PgInterval as y, isPgEnumParams as z };
724
+ //# sourceMappingURL=codecs-CADK7dCR-C8WToYQb.d.mts.map