@prisma/orm-target-postgres 8.0.0-rc.11-dev.42 → 8.0.0-rc.11-dev.43

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 (132) hide show
  1. package/dist/{adapter-BQjOLpLF-DjdhmoYt.mjs → adapter-Br3wVafV-CIaQ1HhO.mjs} +4 -4
  2. package/dist/{adapter-BQjOLpLF-DjdhmoYt.mjs.map → adapter-Br3wVafV-CIaQ1HhO.mjs.map} +1 -1
  3. package/dist/{adapter-BQrsKoUs.d.mts → adapter-Ch23AWoY.d.mts} +2 -2
  4. package/dist/{adapter-BQrsKoUs.d.mts.map → adapter-Ch23AWoY.d.mts.map} +1 -1
  5. package/dist/adapter.d.mts +6 -6
  6. package/dist/adapter.mjs +4 -4
  7. package/dist/adapter__adapter.d.mts +1 -1
  8. package/dist/adapter__adapter.mjs +1 -1
  9. package/dist/adapter__control.d.mts +1 -1
  10. package/dist/adapter__control.mjs +19 -8
  11. package/dist/adapter__control.mjs.map +1 -1
  12. package/dist/adapter__runtime.d.mts +1 -1
  13. package/dist/adapter__runtime.mjs +5 -5
  14. package/dist/adapter__runtime.mjs.map +1 -1
  15. package/dist/adapter__sql-renderer.d.mts +1 -1
  16. package/dist/adapter__sql-renderer.mjs +1 -1
  17. package/dist/adapter__types.d.mts +2 -2
  18. package/dist/{aggregates-s5O5YixU.mjs → aggregates-jKrxvOpL.mjs} +2 -2
  19. package/dist/{aggregates-s5O5YixU.mjs.map → aggregates-jKrxvOpL.mjs.map} +1 -1
  20. package/dist/{authoring-CniOubLM-CbhqVEcC.mjs → authoring-CJ-fJQw8-biM4ZMGz.mjs} +3 -3
  21. package/dist/{authoring-CniOubLM-CbhqVEcC.mjs.map → authoring-CJ-fJQw8-biM4ZMGz.mjs.map} +1 -1
  22. package/dist/codec-descriptor-Cf1qfOwo.d.mts +1 -0
  23. package/dist/{codec-descriptor-Bec_zukr-BfvtUqhm.d.mts → codec-descriptor-DUUGoeyI-WGLGXEoI.d.mts} +8 -6
  24. package/dist/codec-descriptor-DUUGoeyI-WGLGXEoI.d.mts.map +1 -0
  25. package/dist/{codec-descriptor-LT7BpQta-BaDM8UQQ.mjs → codec-descriptor-_SFeUKIu-CZFozFan.mjs} +5 -3
  26. package/dist/codec-descriptor-_SFeUKIu-CZFozFan.mjs.map +1 -0
  27. package/dist/{codec-types-CuQJJtqu-CFc1zyPR.d.mts → codec-types-Bx6YI-KI-sSDAuYPQ.d.mts} +4 -4
  28. package/dist/{codec-types-CuQJJtqu-CFc1zyPR.d.mts.map → codec-types-Bx6YI-KI-sSDAuYPQ.d.mts.map} +1 -1
  29. package/dist/codec-types-GORaWCVQ.d.mts +2 -0
  30. package/dist/{codecs-BDp1mDKT-eDXyAZV_.d.mts → codecs-BIXQf74u-EYQbSdG3.d.mts} +41 -9
  31. package/dist/codecs-BIXQf74u-EYQbSdG3.d.mts.map +1 -0
  32. package/dist/{codecs-7isLDrZp-DmbSAn6K.mjs → codecs-C7OoUG-w-BvO1qMT0.mjs} +82 -22
  33. package/dist/codecs-C7OoUG-w-BvO1qMT0.mjs.map +1 -0
  34. package/dist/{codecs-BfhfEZaj.d.mts → codecs-CAHnXMUO.d.mts} +3 -3
  35. package/dist/codecs-CAHnXMUO.d.mts.map +1 -0
  36. package/dist/{control-DmVutloY.d.mts → control-BJUcS9xX.d.mts} +4 -4
  37. package/dist/{control-DmVutloY.d.mts.map → control-BJUcS9xX.d.mts.map} +1 -1
  38. package/dist/{control-C5bibN_Q.mjs → control-DrE43BfH.mjs} +8 -8
  39. package/dist/{control-C5bibN_Q.mjs.map → control-DrE43BfH.mjs.map} +1 -1
  40. package/dist/{control-adapter-CoDlAe4p-C7reTsaW.mjs → control-adapter-C2Xw0sJP-v5o3srdI.mjs} +10 -8
  41. package/dist/control-adapter-C2Xw0sJP-v5o3srdI.mjs.map +1 -0
  42. package/dist/{control-policy-C0f_MdP8-DNJBynf7.mjs → control-policy-BnSDkwiY-BXJR7SYi.mjs} +4 -4
  43. package/dist/{control-policy-C0f_MdP8-DNJBynf7.mjs.map → control-policy-BnSDkwiY-BXJR7SYi.mjs.map} +1 -1
  44. package/dist/data-type-entries-CWBaprqO-BpEnoawD.mjs +101 -0
  45. package/dist/data-type-entries-CWBaprqO-BpEnoawD.mjs.map +1 -0
  46. package/dist/data-types-CflDs2nq-BaeDf3B9.mjs +111 -0
  47. package/dist/data-types-CflDs2nq-BaeDf3B9.mjs.map +1 -0
  48. package/dist/data-types-DcvGOsFZ.d.mts +37 -0
  49. package/dist/data-types-DcvGOsFZ.d.mts.map +1 -0
  50. package/dist/{default-normalizer-Bjtm2F4f-uV5vvkVt.mjs → default-normalizer-D0urhVPh-BIJnKOfV.mjs} +19 -5
  51. package/dist/default-normalizer-D0urhVPh-BIJnKOfV.mjs.map +1 -0
  52. package/dist/{descriptor-meta-CIeOZJpe-C9c6s9oy.mjs → descriptor-meta-Cl9Kh9e8-B4YvnuYb.mjs} +4 -4
  53. package/dist/{descriptor-meta-CIeOZJpe-C9c6s9oy.mjs.map → descriptor-meta-Cl9Kh9e8-B4YvnuYb.mjs.map} +1 -1
  54. package/dist/{descriptor-meta-CLCajYZj-FAx62ZG-.mjs → descriptor-meta-ClQ1wGLk-D7moct5f.mjs} +7 -5
  55. package/dist/descriptor-meta-ClQ1wGLk-D7moct5f.mjs.map +1 -0
  56. package/dist/{diff-database-schema-Cf2_tOQT-FatzfLUz.mjs → diff-database-schema-BRFwEMlV-0Xm8oaTc.mjs} +4 -4
  57. package/dist/{diff-database-schema-Cf2_tOQT-FatzfLUz.mjs.map → diff-database-schema-BRFwEMlV-0Xm8oaTc.mjs.map} +1 -1
  58. package/dist/{infer-psl-contract-CBsWEERT-CdfjzeCW.mjs → infer-psl-contract-CjRPs0zQ-ChKD4e5O.mjs} +104 -94
  59. package/dist/infer-psl-contract-CjRPs0zQ-ChKD4e5O.mjs.map +1 -0
  60. package/dist/migration-PTHAY9Cv.mjs.map +1 -1
  61. package/dist/{op-factory-call-DrO2ojHT-CEWsFOHI.mjs → op-factory-call-CNSyujs6-D8M7NkKv.mjs} +3 -3
  62. package/dist/{op-factory-call-DrO2ojHT-CEWsFOHI.mjs.map → op-factory-call-CNSyujs6-D8M7NkKv.mjs.map} +1 -1
  63. package/dist/{pack-DQegWXXx.d.mts → pack-CHgkp1ir.d.mts} +3 -3
  64. package/dist/{pack-DQegWXXx.d.mts.map → pack-CHgkp1ir.d.mts.map} +1 -1
  65. package/dist/{planner-DJVEdvln-4m20OBL3.mjs → planner-DY1qWehc-Dia9ZhnI.mjs} +6 -6
  66. package/dist/{planner-DJVEdvln-4m20OBL3.mjs.map → planner-DY1qWehc-Dia9ZhnI.mjs.map} +1 -1
  67. package/dist/{planner-ddl-builders-DTCYp-qA-DF16uM8O.mjs → planner-ddl-builders-Bl8O1tkU-DjGfDUnx.mjs} +3 -3
  68. package/dist/{planner-ddl-builders-DTCYp-qA-DF16uM8O.mjs.map → planner-ddl-builders-Bl8O1tkU-DjGfDUnx.mjs.map} +1 -1
  69. package/dist/{planner-produced-postgres-migration-5P8B01dP-BYOLI08i.mjs → planner-produced-postgres-migration-D9qMCo_6-DZE1bx0Q.mjs} +3 -3
  70. package/dist/{planner-produced-postgres-migration-5P8B01dP-BYOLI08i.mjs.map → planner-produced-postgres-migration-D9qMCo_6-DZE1bx0Q.mjs.map} +1 -1
  71. package/dist/{postgres-contract-view-CG5jf5TZ-DJ32uIq6.mjs → postgres-contract-view-CLAVto6M-mMf300wS.mjs} +3 -3
  72. package/dist/{postgres-contract-view-CG5jf5TZ-DJ32uIq6.mjs.map → postgres-contract-view-CLAVto6M-mMf300wS.mjs.map} +1 -1
  73. package/dist/{postgres-migration-Dm-K5enl-CqLMsqCd.mjs → postgres-migration-B9kxdt1I-DP0Sml3U.mjs} +4 -4
  74. package/dist/{postgres-migration-Dm-K5enl-CqLMsqCd.mjs.map → postgres-migration-B9kxdt1I-DP0Sml3U.mjs.map} +1 -1
  75. package/dist/{prisma7-binding-DW2FJ0Pq.mjs → prisma7-binding-BWUFwFja.mjs} +5 -5
  76. package/dist/{prisma7-binding-DW2FJ0Pq.mjs.map → prisma7-binding-BWUFwFja.mjs.map} +1 -1
  77. package/dist/{prisma7-binding-jsMIoDg0.d.mts → prisma7-binding-DwzP7EKf.d.mts} +3 -3
  78. package/dist/{prisma7-binding-jsMIoDg0.d.mts.map → prisma7-binding-DwzP7EKf.d.mts.map} +1 -1
  79. package/dist/{codecs-BrJWpXPJ.mjs → registry-zad9XdwA-D-QiVeM2.mjs} +4 -4
  80. package/dist/registry-zad9XdwA-D-QiVeM2.mjs.map +1 -0
  81. package/dist/{runtime-BdRKoWQu.d.mts → runtime-CDBw4cq0.d.mts} +2 -2
  82. package/dist/{runtime-BdRKoWQu.d.mts.map → runtime-CDBw4cq0.d.mts.map} +1 -1
  83. package/dist/{sql-renderer-BnTqIzZw-CMA2QgFY.mjs → sql-renderer-BnTqIzZw-CaTxVqe_.mjs} +2 -2
  84. package/dist/{sql-renderer-BnTqIzZw-CMA2QgFY.mjs.map → sql-renderer-BnTqIzZw-CaTxVqe_.mjs.map} +1 -1
  85. package/dist/{sql-renderer-Cshx9dNa.d.mts → sql-renderer-wEUZzVON.d.mts} +4 -4
  86. package/dist/{sql-renderer-Cshx9dNa.d.mts.map → sql-renderer-wEUZzVON.d.mts.map} +1 -1
  87. package/dist/target.d.mts +10 -9
  88. package/dist/target.mjs +20 -18
  89. package/dist/target__aggregates.mjs +1 -1
  90. package/dist/target__codec-descriptor.d.mts +2 -2
  91. package/dist/target__codec-descriptor.mjs +1 -1
  92. package/dist/target__codec-types.d.mts +3 -3
  93. package/dist/target__codecs.d.mts +2 -2
  94. package/dist/target__codecs.mjs +2 -2
  95. package/dist/target__control.mjs +2 -2
  96. package/dist/target__data-types.d.mts +2 -0
  97. package/dist/target__data-types.mjs +3 -0
  98. package/dist/target__default-normalizer.mjs +1 -1
  99. package/dist/target__diff-database-schema.mjs +1 -1
  100. package/dist/target__issue-planner.mjs +1 -1
  101. package/dist/target__migration.mjs +2 -2
  102. package/dist/target__op-factory-call.mjs +1 -1
  103. package/dist/target__pack.d.mts +1 -1
  104. package/dist/target__pack.mjs +1 -1
  105. package/dist/target__planner-ddl-builders.mjs +1 -1
  106. package/dist/target__planner-produced-postgres-migration.mjs +1 -1
  107. package/dist/target__planner.mjs +2 -2
  108. package/dist/target__prisma7-binding.d.mts +1 -1
  109. package/dist/target__prisma7-binding.mjs +1 -1
  110. package/dist/target__runtime.mjs +3 -3
  111. package/dist/target__runtime.mjs.map +1 -1
  112. package/dist/target__sql-utils.mjs +1 -1
  113. package/dist/{text-search-languages-B9_t3ep--DaX5ZABJ.mjs → text-search-languages-Bi8KwBsX-lEgZQZrL.mjs} +3 -3
  114. package/dist/{text-search-languages-B9_t3ep--DaX5ZABJ.mjs.map → text-search-languages-Bi8KwBsX-lEgZQZrL.mjs.map} +1 -1
  115. package/dist/types-v9w5Ww6z.d.mts +1 -0
  116. package/dist/{types-CkryN1AS-CZtzRJFZ.d.mts → types-xNFZRd6Q-BsnQDaBx.d.mts} +4 -4
  117. package/dist/types-xNFZRd6Q-BsnQDaBx.d.mts.map +1 -0
  118. package/package.json +10 -9
  119. package/dist/codec-descriptor-Bec_zukr-BfvtUqhm.d.mts.map +0 -1
  120. package/dist/codec-descriptor-Bg-_412t.d.mts +0 -1
  121. package/dist/codec-descriptor-LT7BpQta-BaDM8UQQ.mjs.map +0 -1
  122. package/dist/codec-types-Cjrk3RME.d.mts +0 -2
  123. package/dist/codecs-7isLDrZp-DmbSAn6K.mjs.map +0 -1
  124. package/dist/codecs-BDp1mDKT-eDXyAZV_.d.mts.map +0 -1
  125. package/dist/codecs-BfhfEZaj.d.mts.map +0 -1
  126. package/dist/codecs-BrJWpXPJ.mjs.map +0 -1
  127. package/dist/control-adapter-CoDlAe4p-C7reTsaW.mjs.map +0 -1
  128. package/dist/default-normalizer-Bjtm2F4f-uV5vvkVt.mjs.map +0 -1
  129. package/dist/descriptor-meta-CLCajYZj-FAx62ZG-.mjs.map +0 -1
  130. package/dist/infer-psl-contract-CBsWEERT-CdfjzeCW.mjs.map +0 -1
  131. package/dist/types-C7BEZmFD.d.mts +0 -1
  132. package/dist/types-CkryN1AS-CZtzRJFZ.d.mts.map +0 -1
package/dist/target.mjs CHANGED
@@ -1,40 +1,42 @@
1
1
  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, F as SQL_CHAR_CODEC_ID, I as SQL_FLOAT_CODEC_ID, L as SQL_INT_CODEC_ID, M as PG_UUID_CODEC_ID, N as PG_VARBIT_CODEC_ID, O as PG_TIMETZ_CODEC_ID, P as PG_VARCHAR_CODEC_ID, R as SQL_TEXT_CODEC_ID, S as PG_TEXT_CODEC_ID, T as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, _ as PG_INT_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, i as PG_CHAR_CODEC_ID, j as PG_UNBOUNDED_INT_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, u as PG_FLOAT_CODEC_ID, v as PG_JSONB_CODEC_ID, w as PG_TIMESTAMPTZ_STRING_CODEC_ID, x as PG_TEXT_ARRAY_CODEC_ID, y as PG_JSON_CODEC_ID, z as SQL_VARCHAR_CODEC_ID } from "./codec-ids-BYhNGq22-B6yIezG2.mjs";
2
- import { t as postgresAggregateDescriptors } from "./aggregates-s5O5YixU.mjs";
3
- import { a as postgresCodec, i as isPostgresCodecDescriptor, n as buildPostgresCodecDescriptorRegistry, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-LT7BpQta-BaDM8UQQ.mjs";
2
+ import { t as postgresAggregateDescriptors } from "./aggregates-jKrxvOpL.mjs";
3
+ import { a as postgresCodec, i as isPostgresCodecDescriptor, n as buildPostgresCodecDescriptorRegistry, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-_SFeUKIu-CZFozFan.mjs";
4
+ import { C as pgUuid, E as postgresDataTypes, S as pgTimetz, T as pgVarchar, _ as pgText, a as pgDate, b as pgTimestamp, c as pgFloat8, d as pgInt4, f as pgInt8, g as pgNumeric, h as pgJsonb, i as pgChar, l as pgInet, m as pgJson, n as pgBool, o as pgEnum, p as pgInterval, r as pgBytea, s as pgFloat4, t as pgBit, u as pgInt2, v as pgTextArray, w as pgVarbit, x as pgTimestamptz, y as pgTime } from "./data-types-CflDs2nq-BaeDf3B9.mjs";
4
5
  import { s as postgresError, t as errorPostgresMigrationStackMissing } from "./errors-DYyzTYzE-39CV_aMo.mjs";
5
6
  import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
6
- 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-7isLDrZp-DmbSAn6K.mjs";
7
- import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./codecs-BrJWpXPJ.mjs";
7
+ 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-C7OoUG-w-BvO1qMT0.mjs";
8
+ import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./registry-zad9XdwA-D-QiVeM2.mjs";
8
9
  import { a as validateEnumValueLength, i as quoteQualifiedName, n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-6j9YTLpr-BCyCBPBg.mjs";
9
10
  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-VPEJqIX9-BBIMq9xs.mjs";
10
11
  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-DAvDJLvJ-BBdvFXNa.mjs";
11
12
  import { A as toRegclass, D as tableExistsAst, E as rlsPolicyExistsAst, O as tableIsEmptyAst, T as rlsEnabledAst, a as columnDefaultAst, b as extensionExistsAst, c as columnTypeAst, f as createSchema, g as dropDefaultAction, i as alterTable, k as tablePrimaryKeyAst, l as constraintExistsAst, o as columnExistsAst, p as createTable, s as columnNullabilityAst, t as addColumnAction, w as noNullValuesAst, x as indexExistsAst } from "./ddl-DxYRJ8hY-mFzFol6l.mjs";
12
13
  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-CmBUYWYN.mjs";
13
- import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-Bjtm2F4f-uV5vvkVt.mjs";
14
- import { a as renderFullTextIndexExpression, r as isFullTextIndexableCodec, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-B9_t3ep--DaX5ZABJ.mjs";
14
+ import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-D0urhVPh-BIJnKOfV.mjs";
15
+ import { a as renderFullTextIndexExpression, r as isFullTextIndexableCodec, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-Bi8KwBsX-lEgZQZrL.mjs";
15
16
  import { n as computeContentHash, t as POLICY_OPERATION_PREDICATES } from "./canonicalize-CrN3u_xM-D4MrOqcB.mjs";
16
- import { a as plainDateTimeNow, i as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNowControlDescriptor, r as instantNow, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CniOubLM-CbhqVEcC.mjs";
17
+ import { a as plainDateTimeNow, i as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNowControlDescriptor, r as instantNow, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CJ-fJQw8-biM4ZMGz.mjs";
17
18
  import { t as postgresRenderCheckExpressions } from "./check-expressions-DFTeR0rd-CSxSpyMV.mjs";
18
19
  import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode, t as PostgresNativeEnumSchemaNode } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
19
20
  import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
20
21
  import { t as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-DFOTYsNN-AVDEd24I.mjs";
21
22
  import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-BZqyX9R1-D47zR6P-.mjs";
22
- import { n as buildColumnTypeSql, r as renderDefaultLiteral, t as buildColumnDefaultSql } from "./planner-ddl-builders-DTCYp-qA-DF16uM8O.mjs";
23
- import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as createExtension, M as SetDefaultCall, N as SetNotNullCall, O as RawSqlCall, 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 RenamePostgresRlsPolicyCall, k as RenameCheckConstraintCall, 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-DrO2ojHT-CEWsFOHI.mjs";
23
+ import { n as buildColumnTypeSql, r as renderDefaultLiteral, t as buildColumnDefaultSql } from "./planner-ddl-builders-Bl8O1tkU-DjGfDUnx.mjs";
24
+ import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as createExtension, M as SetDefaultCall, N as SetNotNullCall, O as RawSqlCall, 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 RenamePostgresRlsPolicyCall, k as RenameCheckConstraintCall, 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-CNSyujs6-D8M7NkKv.mjs";
24
25
  import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-BmHn5C6U-BYBbUAyR.mjs";
25
26
  import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs";
26
- import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-C0f_MdP8-DNJBynf7.mjs";
27
- import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-Cf2_tOQT-FatzfLUz.mjs";
28
- import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-CG5jf5TZ-DJ32uIq6.mjs";
27
+ import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-BnSDkwiY-BXJR7SYi.mjs";
28
+ import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-BRFwEMlV-0Xm8oaTc.mjs";
29
+ import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-CLAVto6M-mMf300wS.mjs";
29
30
  import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
30
- import { t as PostgresMigration } from "./postgres-migration-Dm-K5enl-CqLMsqCd.mjs";
31
+ import { t as PostgresMigration } from "./postgres-migration-B9kxdt1I-DP0Sml3U.mjs";
31
32
  import { t as renderOps } from "./render-ops-D2vJApKB-B281fzmn.mjs";
32
33
  import { t as renderCallsToTypeScript } from "./render-typescript-Dqp1Spgn-B128r1qw.mjs";
33
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-5P8B01dP-BYOLI08i.mjs";
34
- import { t as createPostgresMigrationPlanner } from "./planner-DJVEdvln-4m20OBL3.mjs";
34
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-D9qMCo_6-DZE1bx0Q.mjs";
35
+ import { t as createPostgresMigrationPlanner } from "./planner-DY1qWehc-Dia9ZhnI.mjs";
36
+ import { t as postgresDataTypeEntries } from "./data-type-entries-CWBaprqO-BpEnoawD.mjs";
35
37
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
36
- import { t as postgresRenderDefault } from "./control-C5bibN_Q.mjs";
38
+ import { t as postgresRenderDefault } from "./control-DrE43BfH.mjs";
37
39
  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";
38
40
  import { t as normalizeSchemaNativeType } from "./native-type-normalizer-yvd3tqv-.mjs";
39
- import { t as prisma7PostgresBinding } from "./prisma7-binding-DW2FJ0Pq.mjs";
40
- 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, 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_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, RenameCheckConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, 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, buildBuiltinIdentityValue, buildColumnDefaultSql, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, isFullTextIndexableCodec, isPgEnumParams, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgJsonColumn, pgJsonbColumn, pgNumericColumn, pgTable, pgTextColumn, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCreateNamespace, postgresError, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexExpression, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, unique, validateEnumValueLength };
41
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-BWUFwFja.mjs";
42
+ 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, 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_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, RenameCheckConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, 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, buildBuiltinIdentityValue, buildColumnDefaultSql, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, isFullTextIndexableCodec, isPgEnumParams, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBit, pgBitColumn, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgDate, pgEnum, pgEnumDescriptor, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgNumeric, pgNumericColumn, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimestamp, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetz, pgTimetzColumn, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexExpression, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, unique, validateEnumValueLength };
@@ -1,2 +1,2 @@
1
- import { t as postgresAggregateDescriptors } from "./aggregates-s5O5YixU.mjs";
1
+ import { t as postgresAggregateDescriptors } from "./aggregates-jKrxvOpL.mjs";
2
2
  export { postgresAggregateDescriptors };
@@ -1,3 +1,3 @@
1
- import { a as PostgresCodecOptions, c as isPostgresCodecDescriptor, i as PostgresCodecDescriptorRegistry, l as postgresCodec, n as AnyPostgresCodecDescriptor, o as buildPostgresCodecDescriptorRegistry, r as PostgresCodecDescriptor, s as definePostgresCodecs, t as AdaptedPostgresCodecDescriptor } from "./codec-descriptor-Bec_zukr-BfvtUqhm.mjs";
2
- import "./codec-descriptor-Bg-_412t.mjs";
1
+ import { a as PostgresCodecOptions, c as isPostgresCodecDescriptor, i as PostgresCodecDescriptorRegistry, l as postgresCodec, n as AnyPostgresCodecDescriptor, o as buildPostgresCodecDescriptorRegistry, r as PostgresCodecDescriptor, s as definePostgresCodecs, t as AdaptedPostgresCodecDescriptor } from "./codec-descriptor-DUUGoeyI-WGLGXEoI.mjs";
2
+ import "./codec-descriptor-Cf1qfOwo.mjs";
3
3
  export { type AdaptedPostgresCodecDescriptor, type AnyPostgresCodecDescriptor, PostgresCodecDescriptor, type PostgresCodecDescriptorRegistry, type PostgresCodecOptions, buildPostgresCodecDescriptorRegistry, definePostgresCodecs, isPostgresCodecDescriptor, postgresCodec };
@@ -1,2 +1,2 @@
1
- import { a as postgresCodec, i as isPostgresCodecDescriptor, n as buildPostgresCodecDescriptorRegistry, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-LT7BpQta-BaDM8UQQ.mjs";
1
+ import { a as postgresCodec, i as isPostgresCodecDescriptor, n as buildPostgresCodecDescriptorRegistry, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-_SFeUKIu-CZFozFan.mjs";
2
2
  export { PostgresCodecDescriptor, buildPostgresCodecDescriptorRegistry, definePostgresCodecs, isPostgresCodecDescriptor, postgresCodec };
@@ -1,4 +1,4 @@
1
- import { y as PgInterval } from "./codecs-BDp1mDKT-eDXyAZV_.mjs";
2
- 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-CuQJJtqu-CFc1zyPR.mjs";
3
- import "./codec-types-Cjrk3RME.mjs";
1
+ import { y as PgInterval } from "./codecs-BIXQf74u-EYQbSdG3.mjs";
2
+ 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-Bx6YI-KI-sSDAuYPQ.mjs";
3
+ import "./codec-types-GORaWCVQ.mjs";
4
4
  export { Bit, Char, CodecTypes, Interval, type JsonValue$1 as JsonValue, Numeric, type PgInterval, Time, TimeString, Timestamp, TimestampString, Timestamptz, TimestamptzString, Timetz, VarBit, Varchar };
@@ -1,3 +1,3 @@
1
- import { $ as pgJsonColumn, A as PgTimestamptzDateDescriptor, B as pgBoolColumn, C as PgNumericDescriptor, F as PgUuidDescriptor, G as pgFloatColumn, H as pgEnumDescriptor, I as PgVarbitDescriptor, J as pgInt4Column, K as pgInetColumn, L as PgVarcharDescriptor, N as PgTimetzDescriptor, P as PgUnboundedIntDescriptor, Q as pgIntervalColumn, R as isPgEnumParams, S as PgJsonbDescriptor, U as pgFloat4Column, V as pgCharColumn, W as pgFloat8Column, X as pgInt8NumberColumn, Y as pgInt8Column, Z as pgIntColumn, _ as PgInt8NumberDescriptor, at as pgTimetzColumn, b as PgIntervalDescriptor, c as PgEnumDescriptor, ct as pgVarbitColumn, d as PgFloat8Descriptor, et as pgJsonbColumn, f as PgFloatDescriptor, g as PgInt8Descriptor, h as PgInt4Descriptor, i as PgCharDescriptor, it as pgTimestamptzDateDescriptor, k as PgTimestamptzDateCodec, l as PgEnumParams, lt as pgVarcharColumn, m as PgInt2Descriptor, n as PgBoolDescriptor, nt as pgTextColumn, ot as pgUnboundedIntColumn, p as PgInetDescriptor, q as pgInt2Column, rt as pgTimestamptzDateColumn, s as PgEnumCodec, st as pgUuidColumn, t as PgBitDescriptor, tt as pgNumericColumn, u as PgFloat4Descriptor, v as PgIntDescriptor, w as PgTextDescriptor, x as PgJsonDescriptor, y as PgInterval, z as pgBitColumn } from "./codecs-BDp1mDKT-eDXyAZV_.mjs";
2
- import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./codecs-BfhfEZaj.mjs";
1
+ import { $ as pgJsonColumn, A as PgTimestamptzDateDescriptor, B as pgBoolColumn, C as PgNumericDescriptor, F as PgUuidDescriptor, G as pgFloatColumn, H as pgEnumDescriptor, I as PgVarbitDescriptor, J as pgInt4Column, K as pgInetColumn, L as PgVarcharDescriptor, N as PgTimetzDescriptor, P as PgUnboundedIntDescriptor, Q as pgIntervalColumn, R as isPgEnumParams, S as PgJsonbDescriptor, U as pgFloat4Column, V as pgCharColumn, W as pgFloat8Column, X as pgInt8NumberColumn, Y as pgInt8Column, Z as pgIntColumn, _ as PgInt8NumberDescriptor, at as pgTimetzColumn, b as PgIntervalDescriptor, c as PgEnumDescriptor, ct as pgVarbitColumn, d as PgFloat8Descriptor, et as pgJsonbColumn, f as PgFloatDescriptor, g as PgInt8Descriptor, h as PgInt4Descriptor, i as PgCharDescriptor, it as pgTimestamptzDateDescriptor, k as PgTimestamptzDateCodec, l as PgEnumParams, lt as pgVarcharColumn, m as PgInt2Descriptor, n as PgBoolDescriptor, nt as pgTextColumn, ot as pgUnboundedIntColumn, p as PgInetDescriptor, q as pgInt2Column, rt as pgTimestamptzDateColumn, s as PgEnumCodec, st as pgUuidColumn, t as PgBitDescriptor, tt as pgNumericColumn, u as PgFloat4Descriptor, v as PgIntDescriptor, w as PgTextDescriptor, x as PgJsonDescriptor, y as PgInterval, z as pgBitColumn } from "./codecs-BIXQf74u-EYQbSdG3.mjs";
2
+ import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./codecs-CAHnXMUO.mjs";
3
3
  export { 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, isPgEnumParams, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgJsonColumn, pgJsonbColumn, pgNumericColumn, pgTextColumn, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, postgresCodecDescriptorRegistry, postgresCodecRegistry };
@@ -1,3 +1,3 @@
1
- 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-7isLDrZp-DmbSAn6K.mjs";
2
- import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./codecs-BrJWpXPJ.mjs";
1
+ 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-C7OoUG-w-BvO1qMT0.mjs";
2
+ import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./registry-zad9XdwA-D-QiVeM2.mjs";
3
3
  export { PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, isPgEnumParams, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgJsonColumn, pgJsonbColumn, pgNumericColumn, pgTextColumn, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, postgresCodecDescriptorRegistry, postgresCodecRegistry };
@@ -1,4 +1,4 @@
1
- import { i as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CniOubLM-CbhqVEcC.mjs";
1
+ import { i as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CJ-fJQw8-biM4ZMGz.mjs";
2
2
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
3
- import { n as postgresTargetDescriptor, t as postgresRenderDefault } from "./control-C5bibN_Q.mjs";
3
+ import { n as postgresTargetDescriptor, t as postgresRenderDefault } from "./control-DrE43BfH.mjs";
4
4
  export { INSTANT_NOW_GENERATOR_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, decodePostgresListText, postgresTargetDescriptor as default, instantNowControlDescriptor, parsePostgresListText, plainDateTimeNowControlDescriptor, postgresRenderDefault };
@@ -0,0 +1,2 @@
1
+ import { C as pgUuid, D as postgresDataTypes, E as postgresDataTypeEntries, S as pgTimetz, T as pgVarchar, _ as pgText, a as pgDate, b as pgTimestamp, c as pgFloat8, d as pgInt4, f as pgInt8, g as pgNumeric, h as pgJsonb, i as pgChar, l as pgInet, m as pgJson, n as pgBool, o as pgEnum, p as pgInterval, r as pgBytea, s as pgFloat4, t as pgBit, u as pgInt2, v as pgTextArray, w as pgVarbit, x as pgTimestamptz, y as pgTime } from "./data-types-DcvGOsFZ.mjs";
2
+ export { pgBit, pgBool, pgBytea, pgChar, pgDate, pgEnum, pgFloat4, pgFloat8, pgInet, pgInt2, pgInt4, pgInt8, pgInterval, pgJson, pgJsonb, pgNumeric, pgText, pgTextArray, pgTime, pgTimestamp, pgTimestamptz, pgTimetz, pgUuid, pgVarbit, pgVarchar, postgresDataTypeEntries, postgresDataTypes };
@@ -0,0 +1,3 @@
1
+ import { C as pgUuid, E as postgresDataTypes, S as pgTimetz, T as pgVarchar, _ as pgText, a as pgDate, b as pgTimestamp, c as pgFloat8, d as pgInt4, f as pgInt8, g as pgNumeric, h as pgJsonb, i as pgChar, l as pgInet, m as pgJson, n as pgBool, o as pgEnum, p as pgInterval, r as pgBytea, s as pgFloat4, t as pgBit, u as pgInt2, v as pgTextArray, w as pgVarbit, x as pgTimestamptz, y as pgTime } from "./data-types-CflDs2nq-BaeDf3B9.mjs";
2
+ import { t as postgresDataTypeEntries } from "./data-type-entries-CWBaprqO-BpEnoawD.mjs";
3
+ export { pgBit, pgBool, pgBytea, pgChar, pgDate, pgEnum, pgFloat4, pgFloat8, pgInet, pgInt2, pgInt4, pgInt8, pgInterval, pgJson, pgJsonb, pgNumeric, pgText, pgTextArray, pgTime, pgTimestamp, pgTimestamptz, pgTimetz, pgUuid, pgVarbit, pgVarchar, postgresDataTypeEntries, postgresDataTypes };
@@ -1,2 +1,2 @@
1
- import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-Bjtm2F4f-uV5vvkVt.mjs";
1
+ import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-D0urhVPh-BIJnKOfV.mjs";
2
2
  export { parsePostgresDefault, postgresResolveDefault };
@@ -1,2 +1,2 @@
1
- import { t as buildPostgresPlanDiff } from "./diff-database-schema-Cf2_tOQT-FatzfLUz.mjs";
1
+ import { t as buildPostgresPlanDiff } from "./diff-database-schema-BRFwEMlV-0Xm8oaTc.mjs";
2
2
  export { buildPostgresPlanDiff };
@@ -1,2 +1,2 @@
1
- import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-C0f_MdP8-DNJBynf7.mjs";
1
+ import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-BnSDkwiY-BXJR7SYi.mjs";
2
2
  export { coalesceSubtreeIssues, planIssues };
@@ -1,5 +1,5 @@
1
- import { F as createExtension } from "./op-factory-call-DrO2ojHT-CEWsFOHI.mjs";
1
+ import { F as createExtension } from "./op-factory-call-CNSyujs6-D8M7NkKv.mjs";
2
2
  import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
3
- import { t as PostgresMigration } from "./postgres-migration-Dm-K5enl-CqLMsqCd.mjs";
3
+ import { t as PostgresMigration } from "./postgres-migration-B9kxdt1I-DP0Sml3U.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 RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, M as SetDefaultCall, N as SetNotNullCall, O as RawSqlCall, 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 RenamePostgresRlsPolicyCall, k as RenameCheckConstraintCall, 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-DrO2ojHT-CEWsFOHI.mjs";
1
+ import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, M as SetDefaultCall, N as SetNotNullCall, O as RawSqlCall, 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 RenamePostgresRlsPolicyCall, k as RenameCheckConstraintCall, 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-CNSyujs6-D8M7NkKv.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, RenameCheckConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, SetDefaultCall, SetNotNullCall };
@@ -1,2 +1,2 @@
1
- import { t as postgresTargetDescriptorMeta } from "./pack-DQegWXXx.mjs";
1
+ import { t as postgresTargetDescriptorMeta } from "./pack-CHgkp1ir.mjs";
2
2
  export { postgresTargetDescriptorMeta as default };
@@ -1,2 +1,2 @@
1
- import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-CIeOZJpe-C9c6s9oy.mjs";
1
+ import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-Cl9Kh9e8-B4YvnuYb.mjs";
2
2
  export { postgresTargetDescriptorMeta as default };
@@ -1,2 +1,2 @@
1
- import { n as buildColumnTypeSql, r as renderDefaultLiteral, t as buildColumnDefaultSql } from "./planner-ddl-builders-DTCYp-qA-DF16uM8O.mjs";
1
+ import { n as buildColumnTypeSql, r as renderDefaultLiteral, t as buildColumnDefaultSql } from "./planner-ddl-builders-Bl8O1tkU-DjGfDUnx.mjs";
2
2
  export { buildColumnDefaultSql, buildColumnTypeSql, renderDefaultLiteral };
@@ -1,2 +1,2 @@
1
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-5P8B01dP-BYOLI08i.mjs";
1
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-D9qMCo_6-DZE1bx0Q.mjs";
2
2
  export { TypeScriptRenderablePostgresMigration };
@@ -1,3 +1,3 @@
1
- import { n as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-Cf2_tOQT-FatzfLUz.mjs";
2
- import { t as createPostgresMigrationPlanner } from "./planner-DJVEdvln-4m20OBL3.mjs";
1
+ import { n as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-BRFwEMlV-0Xm8oaTc.mjs";
2
+ import { t as createPostgresMigrationPlanner } from "./planner-DY1qWehc-Dia9ZhnI.mjs";
3
3
  export { contractToPostgresDatabaseSchemaNode, createPostgresMigrationPlanner };
@@ -1,2 +1,2 @@
1
- import { t as prisma7PostgresBinding } from "./prisma7-binding-jsMIoDg0.mjs";
1
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-DwzP7EKf.mjs";
2
2
  export { prisma7PostgresBinding };
@@ -1,2 +1,2 @@
1
- import { t as prisma7PostgresBinding } from "./prisma7-binding-DW2FJ0Pq.mjs";
1
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-BWUFwFja.mjs";
2
2
  export { prisma7PostgresBinding };
@@ -1,9 +1,9 @@
1
1
  import { S as PG_TEXT_CODEC_ID, c as PG_FLOAT4_CODEC_ID, n as PG_BOOL_CODEC_ID } from "./codec-ids-BYhNGq22-B6yIezG2.mjs";
2
2
  import { s as postgresError } from "./errors-DYyzTYzE-39CV_aMo.mjs";
3
- import { i as isFullTextSearchLanguage, n as POSTGRES_TEXT_SEARCH_LANGUAGES } from "./text-search-languages-B9_t3ep--DaX5ZABJ.mjs";
4
- import { a as plainDateTimeNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, r as instantNow, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CniOubLM-CbhqVEcC.mjs";
3
+ import { i as isFullTextSearchLanguage, n as POSTGRES_TEXT_SEARCH_LANGUAGES } from "./text-search-languages-Bi8KwBsX-lEgZQZrL.mjs";
4
+ import { a as plainDateTimeNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, r as instantNow, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-CJ-fJQw8-biM4ZMGz.mjs";
5
5
  import { t as postgresTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs";
6
- import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-CG5jf5TZ-DJ32uIq6.mjs";
6
+ import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-CLAVto6M-mMf300wS.mjs";
7
7
  import { t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
8
8
  import { LiteralExpr } from "@prisma/orm-family-sql/relational-core/ast";
9
9
  import { buildOperation, toExpr } from "@prisma/orm-family-sql/relational-core/expression";
@@ -1 +1 @@
1
- {"version":3,"file":"target__runtime.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/runtime.mjs"],"sourcesContent":["import { S as PG_TEXT_CODEC_ID, c as PG_FLOAT4_CODEC_ID, n as PG_BOOL_CODEC_ID } from \"./codec-ids-BYhNGq22.mjs\";\nimport { s as postgresError } from \"./errors-DYyzTYzE.mjs\";\nimport { n as POSTGRES_TEXT_SEARCH_LANGUAGES, r as isFullTextSearchLanguage } from \"./text-search-languages-B9_t3ep-.mjs\";\nimport { c as PLAIN_DATE_TIME_NOW_GENERATOR_ID, d as INSTANT_NOW_GENERATOR_ID, f as instantNow, l as plainDateTimeNow } from \"./authoring-CniOubLM.mjs\";\nimport { t as postgresTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-UwYdV8fD.mjs\";\nimport { n as PostgresContractSerializer, t as PostgresContractView } from \"./postgres-contract-view-CG5jf5TZ.mjs\";\nimport { t as decodePostgresListText } from \"./list-decoder-DXee1orj.mjs\";\nimport { LiteralExpr } from \"@internal/sql-relational-core/ast\";\nimport { buildOperation, toExpr } from \"@internal/sql-relational-core/expression\";\n//#region src/core/full-text-options.ts\n/**\n* Options for the Postgres full-text operations, and the checks each one goes through.\n*\n* Every option here reaches the SQL as an inline literal rather than a bound parameter, because\n* Postgres accepts no parameter in these positions. Each is therefore validated before a statement\n* exists; anything unrecognized throws `RUNTIME.ARGUMENT_INVALID`.\n*\n* The headline markers are the only free text among them, and `checkMarker` restricts their\n* characters precisely so that the literal path never carries a quote or a backslash for\n* `escapeLiteral` to have to reason about.\n*/\nfunction invalid(method, argument, received, why, fix) {\n\treturn postgresError(\"RUNTIME.ARGUMENT_INVALID\", `${method}: ${why}`, {\n\t\twhy: \"The option is written into the SQL as an inline literal, not a bound parameter, so it is checked before the statement is built.\",\n\t\tfix,\n\t\tmeta: {\n\t\t\thelper: method,\n\t\t\targument,\n\t\t\treceived\n\t\t}\n\t});\n}\nfunction languageLiteral(method, language) {\n\tif (!isFullTextSearchLanguage(language)) throw invalid(method, \"language\", language, `'${language}' is not a PostgreSQL text-search configuration Prisma recognizes.`, `Pass one of: ${POSTGRES_TEXT_SEARCH_LANGUAGES.join(\", \")}.`);\n\treturn LiteralExpr.of(language);\n}\nfunction normalizationLiteral(method, normalization) {\n\tif (!Number.isInteger(normalization) || normalization < 0 || normalization > 63) throw invalid(method, \"normalization\", normalization, `normalization must be an integer between 0 and 63, received ${normalization}.`, \"Combine the flags documented for ts_rank, e.g. 32 to divide the rank by itself plus one.\");\n\treturn LiteralExpr.of(normalization);\n}\nfunction checkWordCount(method, argument, value) {\n\tif (!Number.isInteger(value) || value < 1) throw invalid(method, argument, value, `${argument} must be a positive integer, received ${value}.`, \"Pass a whole number of words, one or more.\");\n}\n/** Non-empty, and none of `\"` `,` `=` `\\` or whitespace. */\nconst MARKER = /^[^\"=,\\\\\\s]+$/;\nfunction checkMarker(method, argument, value) {\n\tif (!MARKER.test(value)) throw invalid(method, argument, value, `${argument} must be non-empty and free of \" , = \\\\ and whitespace, received ${JSON.stringify(value)}.`, \"ts_headline parses its options as a quoted, comma-separated list of Key=Value pairs, and the whole list reaches SQL as one literal, so a marker carrying those characters cannot survive either step. Use markup such as <mark> or <b>.\");\n}\n/**\n* The fourth `ts_headline` argument: one text literal of `Key=Value` pairs. Returns `undefined` when\n* nothing but the language was given, so the common call keeps rendering the three-argument form.\n*/\nfunction headlineOptionsLiteral(method, options) {\n\tconst pairs = [];\n\tif (options.startSel !== void 0) {\n\t\tcheckMarker(method, \"startSel\", options.startSel);\n\t\tpairs.push(`StartSel=${options.startSel}`);\n\t}\n\tif (options.stopSel !== void 0) {\n\t\tcheckMarker(method, \"stopSel\", options.stopSel);\n\t\tpairs.push(`StopSel=${options.stopSel}`);\n\t}\n\tif (options.maxWords !== void 0) {\n\t\tcheckWordCount(method, \"maxWords\", options.maxWords);\n\t\tpairs.push(`MaxWords=${options.maxWords}`);\n\t}\n\tif (options.minWords !== void 0) {\n\t\tcheckWordCount(method, \"minWords\", options.minWords);\n\t\tif (options.maxWords !== void 0 && options.minWords >= options.maxWords) throw invalid(method, \"minWords\", options.minWords, `minWords (${options.minWords}) must be below maxWords (${options.maxWords}).`, \"Postgres requires MinWords strictly below MaxWords. Lower minWords, or raise maxWords.\");\n\t\tpairs.push(`MinWords=${options.minWords}`);\n\t}\n\tif (options.highlightAll !== void 0) {\n\t\tif (typeof options.highlightAll !== \"boolean\") throw invalid(method, \"highlightAll\", options.highlightAll, `highlightAll must be a boolean, received ${JSON.stringify(options.highlightAll)}.`, \"Pass true to mark up the whole document, or false to extract fragments.\");\n\t\tpairs.push(`HighlightAll=${options.highlightAll}`);\n\t}\n\treturn pairs.length === 0 ? void 0 : LiteralExpr.of(pairs.join(\", \"));\n}\n//#endregion\n//#region src/core/query-operations.ts\nconst TEXT_REF = { codecId: PG_TEXT_CODEC_ID };\nconst languageOf = (options) => options.language ?? \"english\";\nfunction postgresQueryOperations() {\n\treturn {\n\t\tilike: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, pattern) => buildOperation({\n\t\t\t\tmethod: \"ilike\",\n\t\t\t\targs: [toExpr(self), toExpr(pattern, TEXT_REF)],\n\t\t\t\treturns: {\n\t\t\t\t\tcodecId: PG_BOOL_CODEC_ID,\n\t\t\t\t\tnullable: false\n\t\t\t\t},\n\t\t\t\tlowering: {\n\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\tstrategy: \"infix\",\n\t\t\t\t\ttemplate: \"{{self}} ILIKE {{arg0}}\"\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\tfullTextMatches: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, query, options = {}) => buildOperation({\n\t\t\t\tmethod: \"fullTextMatches\",\n\t\t\t\targs: [\n\t\t\t\t\ttoExpr(self),\n\t\t\t\t\ttoExpr(query, TEXT_REF),\n\t\t\t\t\tlanguageLiteral(\"fullTextMatches\", languageOf(options))\n\t\t\t\t],\n\t\t\t\treturns: {\n\t\t\t\t\tcodecId: PG_BOOL_CODEC_ID,\n\t\t\t\t\tnullable: false\n\t\t\t\t},\n\t\t\t\tlowering: {\n\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\tstrategy: \"function\",\n\t\t\t\t\ttemplate: \"to_tsvector({{arg1}}, {{self}}) @@ websearch_to_tsquery({{arg1}}, {{arg0}})\"\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\tfullTextRank: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, query, options = {}) => {\n\t\t\t\tconst fn = options.coverDensity === true ? \"ts_rank_cd\" : \"ts_rank\";\n\t\t\t\tconst normalization = options.normalization === void 0 ? void 0 : normalizationLiteral(\"fullTextRank\", options.normalization);\n\t\t\t\tconst vectorAndQuery = \"to_tsvector({{arg1}}, {{self}}), websearch_to_tsquery({{arg1}}, {{arg0}})\";\n\t\t\t\treturn buildOperation({\n\t\t\t\t\tmethod: \"fullTextRank\",\n\t\t\t\t\targs: [\n\t\t\t\t\t\ttoExpr(self),\n\t\t\t\t\t\ttoExpr(query, TEXT_REF),\n\t\t\t\t\t\tlanguageLiteral(\"fullTextRank\", languageOf(options)),\n\t\t\t\t\t\t...normalization === void 0 ? [] : [normalization]\n\t\t\t\t\t],\n\t\t\t\t\treturns: {\n\t\t\t\t\t\tcodecId: PG_FLOAT4_CODEC_ID,\n\t\t\t\t\t\tnullable: false\n\t\t\t\t\t},\n\t\t\t\t\tlowering: {\n\t\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\t\tstrategy: \"function\",\n\t\t\t\t\t\ttemplate: `${fn}(${vectorAndQuery}${normalization === void 0 ? \"\" : \", {{arg2}}\"})`\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tfullTextHeadline: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, query, options = {}) => {\n\t\t\t\tconst headlineOptions = headlineOptionsLiteral(\"fullTextHeadline\", options);\n\t\t\t\tconst base = \"ts_headline({{arg1}}, {{self}}, websearch_to_tsquery({{arg1}}, {{arg0}})\";\n\t\t\t\treturn buildOperation({\n\t\t\t\t\tmethod: \"fullTextHeadline\",\n\t\t\t\t\targs: [\n\t\t\t\t\t\ttoExpr(self),\n\t\t\t\t\t\ttoExpr(query, TEXT_REF),\n\t\t\t\t\t\tlanguageLiteral(\"fullTextHeadline\", languageOf(options)),\n\t\t\t\t\t\t...headlineOptions === void 0 ? [] : [headlineOptions]\n\t\t\t\t\t],\n\t\t\t\t\treturns: {\n\t\t\t\t\t\tcodecId: PG_TEXT_CODEC_ID,\n\t\t\t\t\t\tnullable: false\n\t\t\t\t\t},\n\t\t\t\t\tlowering: {\n\t\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\t\tstrategy: \"function\",\n\t\t\t\t\t\ttemplate: `${base}${headlineOptions === void 0 ? \"\" : \", {{arg2}}\"})`\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n}\n//#endregion\n//#region src/exports/runtime.ts\n/**\n* Target-postgres deliberately does NOT import `SqlRuntimeTargetDescriptor` from `@internal/sql-runtime`. The target package is a control-plane residence and must not pull the SQL execution-plane package into its dependency closure. The runtime descriptor here is shaped to satisfy the framework's `RuntimeTargetDescriptor` plus the structural `SqlStaticContributions` (`codecs:` returning a descriptor list) that\n* `@internal/sql-runtime` consumers narrow to at composition time.\n*\n* The target itself contributes no codecs — postgres-specific codecs ship from the postgres adapter and from extension packs (pgvector, arktype-json, etc.).\n*/\nconst postgresRuntimeTargetDescriptor = {\n\t...postgresTargetDescriptorMetaRuntime,\n\tcodecs: () => [],\n\tlistDecoder: () => decodePostgresListText,\n\tqueryOperations: () => postgresQueryOperations(),\n\tcreate() {\n\t\treturn {\n\t\t\tfamilyId: \"sql\",\n\t\t\ttargetId: \"postgres\"\n\t\t};\n\t}\n};\n//#endregion\nexport { INSTANT_NOW_GENERATOR_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, PostgresContractSerializer, PostgresContractView, decodePostgresListText, postgresRuntimeTargetDescriptor as default, instantNow, plainDateTimeNow };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,SAAS,QAAQ,QAAQ,UAAU,UAAU,KAAK,KAAK;CACtD,OAAO,cAAc,4BAA4B,GAAG,OAAO,IAAI,OAAO;EACrE,KA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,cAAc,CAAC;CACf,mBAAmB;CACnB,uBAAuB,wBAAwB;CAC/C,SAAS;EACR,OAAO;GACN,UAAU;GACV,UAAU;EACX;CACD;AACD"}
1
+ {"version":3,"file":"target__runtime.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/runtime.mjs"],"sourcesContent":["import { S as PG_TEXT_CODEC_ID, c as PG_FLOAT4_CODEC_ID, n as PG_BOOL_CODEC_ID } from \"./codec-ids-BYhNGq22.mjs\";\nimport { s as postgresError } from \"./errors-DYyzTYzE.mjs\";\nimport { n as POSTGRES_TEXT_SEARCH_LANGUAGES, r as isFullTextSearchLanguage } from \"./text-search-languages-Bi8KwBsX.mjs\";\nimport { c as PLAIN_DATE_TIME_NOW_GENERATOR_ID, d as INSTANT_NOW_GENERATOR_ID, f as instantNow, l as plainDateTimeNow } from \"./authoring-CJ-fJQw8.mjs\";\nimport { t as postgresTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-UwYdV8fD.mjs\";\nimport { n as PostgresContractSerializer, t as PostgresContractView } from \"./postgres-contract-view-CLAVto6M.mjs\";\nimport { t as decodePostgresListText } from \"./list-decoder-DXee1orj.mjs\";\nimport { LiteralExpr } from \"@internal/sql-relational-core/ast\";\nimport { buildOperation, toExpr } from \"@internal/sql-relational-core/expression\";\n//#region src/core/full-text-options.ts\n/**\n* Options for the Postgres full-text operations, and the checks each one goes through.\n*\n* Every option here reaches the SQL as an inline literal rather than a bound parameter, because\n* Postgres accepts no parameter in these positions. Each is therefore validated before a statement\n* exists; anything unrecognized throws `RUNTIME.ARGUMENT_INVALID`.\n*\n* The headline markers are the only free text among them, and `checkMarker` restricts their\n* characters precisely so that the literal path never carries a quote or a backslash for\n* `escapeLiteral` to have to reason about.\n*/\nfunction invalid(method, argument, received, why, fix) {\n\treturn postgresError(\"RUNTIME.ARGUMENT_INVALID\", `${method}: ${why}`, {\n\t\twhy: \"The option is written into the SQL as an inline literal, not a bound parameter, so it is checked before the statement is built.\",\n\t\tfix,\n\t\tmeta: {\n\t\t\thelper: method,\n\t\t\targument,\n\t\t\treceived\n\t\t}\n\t});\n}\nfunction languageLiteral(method, language) {\n\tif (!isFullTextSearchLanguage(language)) throw invalid(method, \"language\", language, `'${language}' is not a PostgreSQL text-search configuration Prisma recognizes.`, `Pass one of: ${POSTGRES_TEXT_SEARCH_LANGUAGES.join(\", \")}.`);\n\treturn LiteralExpr.of(language);\n}\nfunction normalizationLiteral(method, normalization) {\n\tif (!Number.isInteger(normalization) || normalization < 0 || normalization > 63) throw invalid(method, \"normalization\", normalization, `normalization must be an integer between 0 and 63, received ${normalization}.`, \"Combine the flags documented for ts_rank, e.g. 32 to divide the rank by itself plus one.\");\n\treturn LiteralExpr.of(normalization);\n}\nfunction checkWordCount(method, argument, value) {\n\tif (!Number.isInteger(value) || value < 1) throw invalid(method, argument, value, `${argument} must be a positive integer, received ${value}.`, \"Pass a whole number of words, one or more.\");\n}\n/** Non-empty, and none of `\"` `,` `=` `\\` or whitespace. */\nconst MARKER = /^[^\"=,\\\\\\s]+$/;\nfunction checkMarker(method, argument, value) {\n\tif (!MARKER.test(value)) throw invalid(method, argument, value, `${argument} must be non-empty and free of \" , = \\\\ and whitespace, received ${JSON.stringify(value)}.`, \"ts_headline parses its options as a quoted, comma-separated list of Key=Value pairs, and the whole list reaches SQL as one literal, so a marker carrying those characters cannot survive either step. Use markup such as <mark> or <b>.\");\n}\n/**\n* The fourth `ts_headline` argument: one text literal of `Key=Value` pairs. Returns `undefined` when\n* nothing but the language was given, so the common call keeps rendering the three-argument form.\n*/\nfunction headlineOptionsLiteral(method, options) {\n\tconst pairs = [];\n\tif (options.startSel !== void 0) {\n\t\tcheckMarker(method, \"startSel\", options.startSel);\n\t\tpairs.push(`StartSel=${options.startSel}`);\n\t}\n\tif (options.stopSel !== void 0) {\n\t\tcheckMarker(method, \"stopSel\", options.stopSel);\n\t\tpairs.push(`StopSel=${options.stopSel}`);\n\t}\n\tif (options.maxWords !== void 0) {\n\t\tcheckWordCount(method, \"maxWords\", options.maxWords);\n\t\tpairs.push(`MaxWords=${options.maxWords}`);\n\t}\n\tif (options.minWords !== void 0) {\n\t\tcheckWordCount(method, \"minWords\", options.minWords);\n\t\tif (options.maxWords !== void 0 && options.minWords >= options.maxWords) throw invalid(method, \"minWords\", options.minWords, `minWords (${options.minWords}) must be below maxWords (${options.maxWords}).`, \"Postgres requires MinWords strictly below MaxWords. Lower minWords, or raise maxWords.\");\n\t\tpairs.push(`MinWords=${options.minWords}`);\n\t}\n\tif (options.highlightAll !== void 0) {\n\t\tif (typeof options.highlightAll !== \"boolean\") throw invalid(method, \"highlightAll\", options.highlightAll, `highlightAll must be a boolean, received ${JSON.stringify(options.highlightAll)}.`, \"Pass true to mark up the whole document, or false to extract fragments.\");\n\t\tpairs.push(`HighlightAll=${options.highlightAll}`);\n\t}\n\treturn pairs.length === 0 ? void 0 : LiteralExpr.of(pairs.join(\", \"));\n}\n//#endregion\n//#region src/core/query-operations.ts\nconst TEXT_REF = { codecId: PG_TEXT_CODEC_ID };\nconst languageOf = (options) => options.language ?? \"english\";\nfunction postgresQueryOperations() {\n\treturn {\n\t\tilike: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, pattern) => buildOperation({\n\t\t\t\tmethod: \"ilike\",\n\t\t\t\targs: [toExpr(self), toExpr(pattern, TEXT_REF)],\n\t\t\t\treturns: {\n\t\t\t\t\tcodecId: PG_BOOL_CODEC_ID,\n\t\t\t\t\tnullable: false\n\t\t\t\t},\n\t\t\t\tlowering: {\n\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\tstrategy: \"infix\",\n\t\t\t\t\ttemplate: \"{{self}} ILIKE {{arg0}}\"\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\tfullTextMatches: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, query, options = {}) => buildOperation({\n\t\t\t\tmethod: \"fullTextMatches\",\n\t\t\t\targs: [\n\t\t\t\t\ttoExpr(self),\n\t\t\t\t\ttoExpr(query, TEXT_REF),\n\t\t\t\t\tlanguageLiteral(\"fullTextMatches\", languageOf(options))\n\t\t\t\t],\n\t\t\t\treturns: {\n\t\t\t\t\tcodecId: PG_BOOL_CODEC_ID,\n\t\t\t\t\tnullable: false\n\t\t\t\t},\n\t\t\t\tlowering: {\n\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\tstrategy: \"function\",\n\t\t\t\t\ttemplate: \"to_tsvector({{arg1}}, {{self}}) @@ websearch_to_tsquery({{arg1}}, {{arg0}})\"\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\tfullTextRank: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, query, options = {}) => {\n\t\t\t\tconst fn = options.coverDensity === true ? \"ts_rank_cd\" : \"ts_rank\";\n\t\t\t\tconst normalization = options.normalization === void 0 ? void 0 : normalizationLiteral(\"fullTextRank\", options.normalization);\n\t\t\t\tconst vectorAndQuery = \"to_tsvector({{arg1}}, {{self}}), websearch_to_tsquery({{arg1}}, {{arg0}})\";\n\t\t\t\treturn buildOperation({\n\t\t\t\t\tmethod: \"fullTextRank\",\n\t\t\t\t\targs: [\n\t\t\t\t\t\ttoExpr(self),\n\t\t\t\t\t\ttoExpr(query, TEXT_REF),\n\t\t\t\t\t\tlanguageLiteral(\"fullTextRank\", languageOf(options)),\n\t\t\t\t\t\t...normalization === void 0 ? [] : [normalization]\n\t\t\t\t\t],\n\t\t\t\t\treturns: {\n\t\t\t\t\t\tcodecId: PG_FLOAT4_CODEC_ID,\n\t\t\t\t\t\tnullable: false\n\t\t\t\t\t},\n\t\t\t\t\tlowering: {\n\t\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\t\tstrategy: \"function\",\n\t\t\t\t\t\ttemplate: `${fn}(${vectorAndQuery}${normalization === void 0 ? \"\" : \", {{arg2}}\"})`\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tfullTextHeadline: {\n\t\t\tself: { traits: [\"textual\"] },\n\t\t\timpl: (self, query, options = {}) => {\n\t\t\t\tconst headlineOptions = headlineOptionsLiteral(\"fullTextHeadline\", options);\n\t\t\t\tconst base = \"ts_headline({{arg1}}, {{self}}, websearch_to_tsquery({{arg1}}, {{arg0}})\";\n\t\t\t\treturn buildOperation({\n\t\t\t\t\tmethod: \"fullTextHeadline\",\n\t\t\t\t\targs: [\n\t\t\t\t\t\ttoExpr(self),\n\t\t\t\t\t\ttoExpr(query, TEXT_REF),\n\t\t\t\t\t\tlanguageLiteral(\"fullTextHeadline\", languageOf(options)),\n\t\t\t\t\t\t...headlineOptions === void 0 ? [] : [headlineOptions]\n\t\t\t\t\t],\n\t\t\t\t\treturns: {\n\t\t\t\t\t\tcodecId: PG_TEXT_CODEC_ID,\n\t\t\t\t\t\tnullable: false\n\t\t\t\t\t},\n\t\t\t\t\tlowering: {\n\t\t\t\t\t\ttargetFamily: \"sql\",\n\t\t\t\t\t\tstrategy: \"function\",\n\t\t\t\t\t\ttemplate: `${base}${headlineOptions === void 0 ? \"\" : \", {{arg2}}\"})`\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n}\n//#endregion\n//#region src/exports/runtime.ts\n/**\n* Target-postgres deliberately does NOT import `SqlRuntimeTargetDescriptor` from `@internal/sql-runtime`. The target package is a control-plane residence and must not pull the SQL execution-plane package into its dependency closure. The runtime descriptor here is shaped to satisfy the framework's `RuntimeTargetDescriptor` plus the structural `SqlStaticContributions` (`codecs:` returning a descriptor list) that\n* `@internal/sql-runtime` consumers narrow to at composition time.\n*\n* The target itself contributes no codecs — postgres-specific codecs ship from the postgres adapter and from extension packs (pgvector, arktype-json, etc.).\n*/\nconst postgresRuntimeTargetDescriptor = {\n\t...postgresTargetDescriptorMetaRuntime,\n\tcodecs: () => [],\n\tlistDecoder: () => decodePostgresListText,\n\tqueryOperations: () => postgresQueryOperations(),\n\tcreate() {\n\t\treturn {\n\t\t\tfamilyId: \"sql\",\n\t\t\ttargetId: \"postgres\"\n\t\t};\n\t}\n};\n//#endregion\nexport { INSTANT_NOW_GENERATOR_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, PostgresContractSerializer, PostgresContractView, decodePostgresListText, postgresRuntimeTargetDescriptor as default, instantNow, plainDateTimeNow };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,SAAS,QAAQ,QAAQ,UAAU,UAAU,KAAK,KAAK;CACtD,OAAO,cAAc,4BAA4B,GAAG,OAAO,IAAI,OAAO;EACrE,KAAK;EACL;EACA,MAAM;GACL,QAAQ;GACR;GACA;EACD;CACD,CAAC;AACF;AACA,SAAS,gBAAgB,QAAQ,UAAU;CAC1C,IAAI,CAAC,yBAAyB,QAAQ,GAAG,MAAM,QAAQ,QAAQ,YAAY,UAAU,IAAI,SAAS,qEAAqE,gBAAgB,+BAA+B,KAAK,IAAI,EAAE,EAAE;CACnO,OAAO,YAAY,GAAG,QAAQ;AAC/B;AACA,SAAS,qBAAqB,QAAQ,eAAe;CACpD,IAAI,CAAC,OAAO,UAAU,aAAa,KAAK,gBAAgB,KAAK,gBAAgB,IAAI,MAAM,QAAQ,QAAQ,iBAAiB,eAAe,+DAA+D,cAAc,IAAI,0FAA0F;CAClT,OAAO,YAAY,GAAG,aAAa;AACpC;AACA,SAAS,eAAe,QAAQ,UAAU,OAAO;CAChD,IAAI,CAAC,OAAO,UAAU,KAAK,KAAK,QAAQ,GAAG,MAAM,QAAQ,QAAQ,UAAU,OAAO,GAAG,SAAS,wCAAwC,MAAM,IAAI,4CAA4C;AAC7L;;AAEA,MAAM,SAAS;AACf,SAAS,YAAY,QAAQ,UAAU,OAAO;CAC7C,IAAI,CAAC,OAAO,KAAK,KAAK,GAAG,MAAM,QAAQ,QAAQ,UAAU,OAAO,GAAG,SAAS,mEAAmE,KAAK,UAAU,KAAK,EAAE,IAAI,yOAAyO;AACnZ;;;;;AAKA,SAAS,uBAAuB,QAAQ,SA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ACR,MAAM;MACL,OAAO,IAAI;MACX,OAAO,OAAO,QAAQ;MACtB,gBAAgB,oBAAoB,WAAW,OAAO,CAAC;MACvD,GAAG,oBAAoB,KAAK,IAAI,CAAC,IAAI,CAAC,eAAe;KACtD;KACA,SAAS;MACR,SAAS;MACT,UAAU;KACX;KACA,UAAU;MACT,cAAc;MACd,UAAU;MACV,UAAU,GAAG,OAAO,oBAAoB,KAAK,IAAI,KAAK,aAAa;KACpE;IACD,CAAC;GACF;EACD;CACD;AACD;;;;;;;AASA,MAAM,kCAAkC;CACvC,GAAG;CACH,cAAc,CAAC;CACf,mBAAmB;CACnB,uBAAuB,wBAAwB;CAC/C,SAAS;EACR,OAAO;GACN,UAAU;GACV,UAAU;EACX;CACD;AACD"}
@@ -1,3 +1,3 @@
1
1
  import { a as validateEnumValueLength, i as quoteQualifiedName, n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-6j9YTLpr-BCyCBPBg.mjs";
2
- import { a as renderFullTextIndexExpression, r as isFullTextIndexableCodec, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-B9_t3ep--DaX5ZABJ.mjs";
2
+ import { a as renderFullTextIndexExpression, r as isFullTextIndexableCodec, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-Bi8KwBsX-lEgZQZrL.mjs";
3
3
  export { DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, escapeLiteral, isFullTextIndexableCodec, qualifyName, quoteIdentifier, quoteQualifiedName, renderFullTextIndexExpression, validateEnumValueLength };
@@ -1,6 +1,6 @@
1
- import { r as codecDescriptors } from "./codecs-7isLDrZp-DmbSAn6K.mjs";
1
+ import { r as codecDescriptors } from "./codecs-C7OoUG-w-BvO1qMT0.mjs";
2
2
  import { r as quoteIdentifier } from "./sql-utils-6j9YTLpr-BCyCBPBg.mjs";
3
- //#region ../../../3-targets/3-targets/postgres/dist/text-search-languages-B9_t3ep-.mjs
3
+ //#region ../../../3-targets/3-targets/postgres/dist/text-search-languages-Bi8KwBsX.mjs
4
4
  /**
5
5
  * The index expression that covers `fullTextMatches`, `fullTextRank` and
6
6
  * `fullTextHeadline` on a column. Postgres uses an expression index only when the
@@ -67,4 +67,4 @@ function isFullTextSearchLanguage(language) {
67
67
  //#endregion
68
68
  export { renderFullTextIndexExpression as a, isFullTextSearchLanguage as i, POSTGRES_TEXT_SEARCH_LANGUAGES as n, isFullTextIndexableCodec as r, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE as t };
69
69
 
70
- //# sourceMappingURL=text-search-languages-B9_t3ep--DaX5ZABJ.mjs.map
70
+ //# sourceMappingURL=text-search-languages-Bi8KwBsX-lEgZQZrL.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-search-languages-B9_t3ep--DaX5ZABJ.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/text-search-languages-B9_t3ep-.mjs"],"sourcesContent":["import { t as codecDescriptors } from \"./codecs-7isLDrZp.mjs\";\nimport { r as quoteIdentifier } from \"./sql-utils-6j9YTLpr.mjs\";\n//#region src/core/full-text-index-expression.ts\n/**\n* The index expression that covers `fullTextMatches`, `fullTextRank` and\n* `fullTextHeadline` on a column. Postgres uses an expression index only when the\n* indexed expression is the same `to_tsvector` over the same configuration literal and\n* the same column as the query, so both the `@@fullTextIndex` attribute and the\n* TypeScript helper render it here rather than each spelling it out.\n*/\nfunction renderFullTextIndexExpression(language, columnName) {\n\treturn `to_tsvector('${language}', ${quoteIdentifier(columnName)})`;\n}\n/** Widens a descriptor's trait tuple, so membership is a plain string test. */\nfunction traitsOf(descriptor) {\n\treturn descriptor.traits;\n}\nconst TEXTUAL_CODEC_IDS = new Set(codecDescriptors.filter((descriptor) => traitsOf(descriptor).includes(\"textual\")).map((descriptor) => descriptor.codecId));\n/**\n* Whether a column stored through this codec can be indexed for full-text search.\n* Read from the codec descriptors themselves, so both authoring surfaces accept\n* exactly the columns the `textual` operations dispatch on.\n*/\nfunction isFullTextIndexableCodec(codecId) {\n\treturn TEXTUAL_CODEC_IDS.has(codecId);\n}\n//#endregion\n//#region src/core/text-search-languages.ts\n/**\n* The text-search configurations a stock PostgreSQL server ships with. The language reaches SQL as\n* an inline literal rather than a bound parameter, so only names on this list may be used.\n*/\nconst POSTGRES_TEXT_SEARCH_LANGUAGES = [\n\t\"simple\",\n\t\"arabic\",\n\t\"armenian\",\n\t\"basque\",\n\t\"catalan\",\n\t\"danish\",\n\t\"dutch\",\n\t\"english\",\n\t\"finnish\",\n\t\"french\",\n\t\"german\",\n\t\"greek\",\n\t\"hindi\",\n\t\"hungarian\",\n\t\"indonesian\",\n\t\"irish\",\n\t\"italian\",\n\t\"lithuanian\",\n\t\"nepali\",\n\t\"norwegian\",\n\t\"portuguese\",\n\t\"romanian\",\n\t\"russian\",\n\t\"serbian\",\n\t\"spanish\",\n\t\"swedish\",\n\t\"tamil\",\n\t\"turkish\",\n\t\"yiddish\"\n];\nconst DEFAULT_FULL_TEXT_SEARCH_LANGUAGE = \"english\";\nconst KNOWN_LANGUAGES = new Set(POSTGRES_TEXT_SEARCH_LANGUAGES);\nfunction isFullTextSearchLanguage(language) {\n\treturn KNOWN_LANGUAGES.has(language);\n}\n//#endregion\nexport { renderFullTextIndexExpression as a, isFullTextIndexableCodec as i, POSTGRES_TEXT_SEARCH_LANGUAGES as n, isFullTextSearchLanguage as r, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE as t };\n\n//# sourceMappingURL=text-search-languages-B9_t3ep-.mjs.map"],"mappings":";;;;;;;;;;AAUA,SAAS,8BAA8B,UAAU,YAAY;CAC5D,OAAO,gBAAgB,SAAS,KAAK,gBAAgB,UAAU,EAAE;AAClE;;AAEA,SAAS,SAAS,YAAY;CAC7B,OAAO,WAAW;AACnB;AACA,MAAM,oBAAoB,IAAI,IAAI,iBAAiB,QAAQ,eAAe,SAAS,UAAU,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,KAAK,eAAe,WAAW,OAAO,CAAC;;;;;;AAM3J,SAAS,yBAAyB,SAAS;CAC1C,OAAO,kBAAkB,IAAI,OAAO;AACrC;;;;;AAOA,MAAM,iCAAiC;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AACA,MAAM,oCAAoC;AAC1C,MAAM,kBAAkB,IAAI,IAAI,8BAA8B;AAC9D,SAAS,yBAAyB,UAAU;CAC3C,OAAO,gBAAgB,IAAI,QAAQ;AACpC"}
1
+ {"version":3,"file":"text-search-languages-Bi8KwBsX-lEgZQZrL.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/text-search-languages-Bi8KwBsX.mjs"],"sourcesContent":["import { t as codecDescriptors } from \"./codecs-C7OoUG-w.mjs\";\nimport { r as quoteIdentifier } from \"./sql-utils-6j9YTLpr.mjs\";\n//#region src/core/full-text-index-expression.ts\n/**\n* The index expression that covers `fullTextMatches`, `fullTextRank` and\n* `fullTextHeadline` on a column. Postgres uses an expression index only when the\n* indexed expression is the same `to_tsvector` over the same configuration literal and\n* the same column as the query, so both the `@@fullTextIndex` attribute and the\n* TypeScript helper render it here rather than each spelling it out.\n*/\nfunction renderFullTextIndexExpression(language, columnName) {\n\treturn `to_tsvector('${language}', ${quoteIdentifier(columnName)})`;\n}\n/** Widens a descriptor's trait tuple, so membership is a plain string test. */\nfunction traitsOf(descriptor) {\n\treturn descriptor.traits;\n}\nconst TEXTUAL_CODEC_IDS = new Set(codecDescriptors.filter((descriptor) => traitsOf(descriptor).includes(\"textual\")).map((descriptor) => descriptor.codecId));\n/**\n* Whether a column stored through this codec can be indexed for full-text search.\n* Read from the codec descriptors themselves, so both authoring surfaces accept\n* exactly the columns the `textual` operations dispatch on.\n*/\nfunction isFullTextIndexableCodec(codecId) {\n\treturn TEXTUAL_CODEC_IDS.has(codecId);\n}\n//#endregion\n//#region src/core/text-search-languages.ts\n/**\n* The text-search configurations a stock PostgreSQL server ships with. The language reaches SQL as\n* an inline literal rather than a bound parameter, so only names on this list may be used.\n*/\nconst POSTGRES_TEXT_SEARCH_LANGUAGES = [\n\t\"simple\",\n\t\"arabic\",\n\t\"armenian\",\n\t\"basque\",\n\t\"catalan\",\n\t\"danish\",\n\t\"dutch\",\n\t\"english\",\n\t\"finnish\",\n\t\"french\",\n\t\"german\",\n\t\"greek\",\n\t\"hindi\",\n\t\"hungarian\",\n\t\"indonesian\",\n\t\"irish\",\n\t\"italian\",\n\t\"lithuanian\",\n\t\"nepali\",\n\t\"norwegian\",\n\t\"portuguese\",\n\t\"romanian\",\n\t\"russian\",\n\t\"serbian\",\n\t\"spanish\",\n\t\"swedish\",\n\t\"tamil\",\n\t\"turkish\",\n\t\"yiddish\"\n];\nconst DEFAULT_FULL_TEXT_SEARCH_LANGUAGE = \"english\";\nconst KNOWN_LANGUAGES = new Set(POSTGRES_TEXT_SEARCH_LANGUAGES);\nfunction isFullTextSearchLanguage(language) {\n\treturn KNOWN_LANGUAGES.has(language);\n}\n//#endregion\nexport { renderFullTextIndexExpression as a, isFullTextIndexableCodec as i, POSTGRES_TEXT_SEARCH_LANGUAGES as n, isFullTextSearchLanguage as r, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE as t };\n\n//# sourceMappingURL=text-search-languages-Bi8KwBsX.mjs.map"],"mappings":";;;;;;;;;;AAUA,SAAS,8BAA8B,UAAU,YAAY;CAC5D,OAAO,gBAAgB,SAAS,KAAK,gBAAgB,UAAU,EAAE;AAClE;;AAEA,SAAS,SAAS,YAAY;CAC7B,OAAO,WAAW;AACnB;AACA,MAAM,oBAAoB,IAAI,IAAI,iBAAiB,QAAQ,eAAe,SAAS,UAAU,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,KAAK,eAAe,WAAW,OAAO,CAAC;;;;;;AAM3J,SAAS,yBAAyB,SAAS;CAC1C,OAAO,kBAAkB,IAAI,OAAO;AACrC;;;;;AAOA,MAAM,iCAAiC;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AACA,MAAM,oCAAoC;AAC1C,MAAM,kBAAkB,IAAI,IAAI,8BAA8B;AAC9D,SAAS,yBAAyB,UAAU;CAC3C,OAAO,gBAAgB,IAAI,QAAQ;AACpC"}
@@ -0,0 +1 @@
1
+ import "./types-xNFZRd6Q-BsnQDaBx.mjs";
@@ -1,10 +1,10 @@
1
- import { i as PostgresCodecDescriptorRegistry, n as AnyPostgresCodecDescriptor } from "./codec-descriptor-Bec_zukr-BfvtUqhm.mjs";
2
- import "./codec-descriptor-Bg-_412t.mjs";
1
+ import { i as PostgresCodecDescriptorRegistry, n as AnyPostgresCodecDescriptor } from "./codec-descriptor-DUUGoeyI-WGLGXEoI.mjs";
2
+ import "./codec-descriptor-Cf1qfOwo.mjs";
3
3
  import "./types-B4IkFolc.mjs";
4
4
  import { BinaryExpr as BinaryExpr$1, ColumnRef as ColumnRef$1, DefaultValueExpr, Direction, LoweredStatement, ParamRef, SelectAst as SelectAst$1 } from "@prisma/orm-family-sql/relational-core/ast";
5
5
  import { CodecRegistry } from "@prisma/orm-framework/components/codec";
6
6
  import { StorageColumn as StorageColumn$1, StorageTable as StorageTable$1 } from "@prisma/orm-family-sql/contract/types";
7
- //#region ../../../3-targets/6-adapters/postgres/dist/types-CkryN1AS.d.mts
7
+ //#region ../../../3-targets/6-adapters/postgres/dist/types-xNFZRd6Q.d.mts
8
8
  //#region src/core/types.d.ts
9
9
  type PostgresCodecRegistry = CodecRegistry & PostgresCodecDescriptorRegistry;
10
10
  interface PostgresAdapterOptions {
@@ -24,4 +24,4 @@ interface OrderClause {
24
24
  type PostgresLoweredStatement = LoweredStatement;
25
25
  //#endregion
26
26
  export { OrderClause as a, PostgresCodecRegistry as c, StorageColumn$1 as d, StorageTable$1 as f, Expr as i, PostgresLoweredStatement as l, ColumnRef$1 as n, ParamRef as o, Direction as r, PostgresAdapterOptions as s, BinaryExpr$1 as t, SelectAst$1 as u };
27
- //# sourceMappingURL=types-CkryN1AS-CZtzRJFZ.d.mts.map
27
+ //# sourceMappingURL=types-xNFZRd6Q-BsnQDaBx.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-xNFZRd6Q-BsnQDaBx.d.mts","names":[],"sources":["../../../../3-targets/6-adapters/postgres/dist/types-xNFZRd6Q.d.mts"],"mappings":";;;;;;;;KAMK,wBAAwB,gBAAgB;UACnC;WACC;;;;;;WAMA,4BAA4B;;KAElC,OAAO,cAAY,WAAW;UACzB;WACC,MAAM;WACN,KAAK;;KAEX,2BAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/orm-target-postgres",
3
- "version": "8.0.0-rc.11-dev.42",
3
+ "version": "8.0.0-rc.11-dev.43",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -9,9 +9,9 @@
9
9
  "dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@prisma/orm-family-sql": "8.0.0-rc.11-dev.42",
13
- "@prisma/orm-framework": "8.0.0-rc.11-dev.42",
14
- "@prisma/orm-toolchain": "8.0.0-rc.11-dev.42",
12
+ "@prisma/orm-family-sql": "8.0.0-rc.11-dev.43",
13
+ "@prisma/orm-framework": "8.0.0-rc.11-dev.43",
14
+ "@prisma/orm-toolchain": "8.0.0-rc.11-dev.43",
15
15
  "@standard-schema/spec": "^1.1.0",
16
16
  "@types/node": "26.1.2",
17
17
  "@types/pg": "8.20.4",
@@ -22,11 +22,11 @@
22
22
  "postgres-array": "2.0.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@internal/adapter-postgres": "8.0.0-rc.11-dev.42",
26
- "@internal/driver-postgres": "8.0.0-rc.11-dev.42",
27
- "@internal/target-postgres": "8.0.0-rc.11-dev.42",
28
- "@repo/tsconfig": "8.0.0-rc.11-dev.42",
29
- "@repo/tsdown": "8.0.0-rc.11-dev.42",
25
+ "@internal/adapter-postgres": "8.0.0-rc.11-dev.43",
26
+ "@internal/driver-postgres": "8.0.0-rc.11-dev.43",
27
+ "@internal/target-postgres": "8.0.0-rc.11-dev.43",
28
+ "@repo/tsconfig": "8.0.0-rc.11-dev.43",
29
+ "@repo/tsdown": "8.0.0-rc.11-dev.43",
30
30
  "tsdown": "0.22.14",
31
31
  "typescript": "5.9.3",
32
32
  "vitest": "5.0.0-rc.2"
@@ -59,6 +59,7 @@
59
59
  "./target/contract-free": "./dist/target__contract-free.mjs",
60
60
  "./target/control": "./dist/target__control.mjs",
61
61
  "./target/data-transform": "./dist/target__data-transform.mjs",
62
+ "./target/data-types": "./dist/target__data-types.mjs",
62
63
  "./target/ddl": "./dist/target__ddl.mjs",
63
64
  "./target/default-normalizer": "./dist/target__default-normalizer.mjs",
64
65
  "./target/diff-database-schema": "./dist/target__diff-database-schema.mjs",
@@ -1 +0,0 @@
1
- {"version":3,"file":"codec-descriptor-Bec_zukr-BfvtUqhm.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/codec-descriptor-Bec_zukr.d.mts"],"mappings":";;;;cAGc;UACJ,mCAAmC;WAClC,uBAAuB;EAChC,cAAc,KAAK;EACnB,YAAY,YAAY,gBAAgB,KAAK,WAAW;;uBAEnC,wBAAwB,kBAAkB,oBAAoB,cAAc;WACxF;qBACU,WAAW,QAAQ;qBACnB,eAAe,YAAY,gBAAgB,QAAQ,IAAI;YAChE,oBAAoB,YAAY,gBAAgB,QAAQ,IAAI;EACtE,cAAc,KAAK;EACnB,YAAY,YAAY,gBAAgB,KAAK,WAAW;UAChD;;KAEL,iBAAiB,UAAU,sBAAsB,UAAU,sBAAsB,KAAK;UACjF,qBAAqB;WACpB,aAAa,QAAQ;WACrB,iBAAiB,YAAY,gBAAgB,QAAQ,MAAM;WAC3D,uBAAuB,YAAY,gBAAgB,QAAQ,MAAM;;KAEvE,+BAA+B,UAAU,sBAAsB,KAAK,SAAS,gBAAgB,iBAAiB,OAAO,KAAK;iBAC9G,cAAc,UAAU,oBAAoB,YAAY,GAAG,SAAS,qBAAqB,iBAAiB,MAAM,+BAA+B;iBAC/I,2BAA2B,6BAA6B,8BAA8B,aAAa,cAAc;iBACjH,0BAA0B,iBAAiB,SAAS;UAC3D;EACR,cAAc,kBAAkB;EAChC,UAAU,iBAAiB;;iBAEZ,qCAAqC,aAAa,yBAAyB"}
@@ -1 +0,0 @@
1
- import "./codec-descriptor-Bec_zukr-BfvtUqhm.mjs";
@@ -1 +0,0 @@
1
- {"version":3,"file":"codec-descriptor-LT7BpQta-BaDM8UQQ.mjs","names":["#descriptors"],"sources":["../../../../3-targets/3-targets/postgres/dist/codec-descriptor-LT7BpQta.mjs"],"sourcesContent":["import { CaseExpr, ColumnRef, DerivedTableSource, FunctionSource, JsonArrayAggExpr, LiteralExpr, NativeJsonValueProjection, NullCheckExpr, OrderByItem, ProjectionItem, SelectAst, SubqueryExpr } from \"@internal/sql-relational-core/ast\";\nimport { CodecDescriptorImpl, validateCodecTypeParams } from \"@internal/framework-components/codec\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { structuredError } from \"@internal/utils/structured-error\";\n//#region src/core/codec-descriptor.ts\nconst POSTGRES_CODEC_DESCRIPTOR_KIND = \"postgres-codec\";\nconst ARRAY_INPUT_ALIAS = \"array_input\";\nconst ARRAY_ELEMENT_ALIAS = \"array_element\";\nconst ARRAY_VALUE_COLUMN = \"value\";\nconst ARRAY_ORDINALITY_COLUMN = \"ordinality\";\nvar PostgresCodecDescriptor = class extends CodecDescriptorImpl {\n\tdescriptorKind = POSTGRES_CODEC_DESCRIPTOR_KIND;\n\tjsonArrayProjection(expression, params) {\n\t\tconst boundArray = ColumnRef.of(ARRAY_INPUT_ALIAS, ARRAY_VALUE_COLUMN);\n\t\tconst element = ColumnRef.of(ARRAY_ELEMENT_ALIAS, ARRAY_VALUE_COLUMN);\n\t\tconst ordinality = ColumnRef.of(ARRAY_ELEMENT_ALIAS, ARRAY_ORDINALITY_COLUMN);\n\t\tconst projectedElement = CaseExpr.of([{\n\t\t\tcondition: NullCheckExpr.isNull(element),\n\t\t\tvalue: LiteralExpr.of(null)\n\t\t}], this.jsonProjection(element, params));\n\t\tconst aggregate = JsonArrayAggExpr.of(new NativeJsonValueProjection(projectedElement), \"emptyArray\", [OrderByItem.asc(ordinality)]);\n\t\tconst aggregateQuery = SelectAst.from(FunctionSource.of(\"unnest\", [boundArray], {\n\t\t\talias: ARRAY_ELEMENT_ALIAS,\n\t\t\tcolumnAliases: [ARRAY_VALUE_COLUMN, ARRAY_ORDINALITY_COLUMN]\n\t\t}).withOrdinality()).withProjection([ProjectionItem.of(ARRAY_VALUE_COLUMN, aggregate)]);\n\t\tconst arrayResult = CaseExpr.of([{\n\t\t\tcondition: NullCheckExpr.isNull(boundArray),\n\t\t\tvalue: LiteralExpr.of(null)\n\t\t}], SubqueryExpr.of(aggregateQuery));\n\t\tconst inputBinding = SelectAst.noFrom().withProjection([ProjectionItem.of(ARRAY_VALUE_COLUMN, expression)]);\n\t\treturn SubqueryExpr.of(SelectAst.from(DerivedTableSource.as(ARRAY_INPUT_ALIAS, inputBinding)).withProjection([ProjectionItem.of(ARRAY_VALUE_COLUMN, arrayResult)]));\n\t}\n\tnativeTypeFor(ref) {\n\t\treturn this.nativeType(this.validateParams(ref));\n\t}\n\tprojectJson(expression, ref) {\n\t\tconst params = this.validateParams(ref);\n\t\treturn ref.many === true ? this.jsonArrayProjection(expression, params) : this.jsonProjection(expression, params);\n\t}\n\tvalidateParams(ref) {\n\t\treturn blindCast(validateCodecTypeParams(this, ref));\n\t}\n};\nvar PostgresCodecDescriptorAdapter = class extends PostgresCodecDescriptor {\n\tdescriptor;\n\toptions;\n\tcodecId;\n\ttraits;\n\ttargetTypes;\n\tparamsSchema;\n\trenderOutputType;\n\trenderInputType;\n\trenderValueLiteral;\n\tfactory;\n\tconstructor(descriptor, options) {\n\t\tsuper();\n\t\tthis.descriptor = descriptor;\n\t\tthis.options = options;\n\t\tthis.codecId = descriptor.codecId;\n\t\tthis.traits = descriptor.traits;\n\t\tthis.targetTypes = descriptor.targetTypes;\n\t\tthis.paramsSchema = descriptor.paramsSchema;\n\t\tthis.factory = (params) => descriptor.factory(params);\n\t\tconst renderOutputType = descriptor.renderOutputType;\n\t\tif (renderOutputType !== void 0) this.renderOutputType = (params) => renderOutputType.call(descriptor, params);\n\t\tconst renderInputType = descriptor.renderInputType;\n\t\tif (renderInputType !== void 0) this.renderInputType = (params) => renderInputType.call(descriptor, params);\n\t\tconst renderValueLiteral = descriptor.renderValueLiteral;\n\t\tif (renderValueLiteral !== void 0) this.renderValueLiteral = (value, side) => renderValueLiteral.call(descriptor, value, side);\n\t}\n\tget isParameterized() {\n\t\treturn this.descriptor.isParameterized;\n\t}\n\tnativeType(params) {\n\t\treturn this.options.nativeType(params);\n\t}\n\tjsonProjection(expression, params) {\n\t\treturn this.options.jsonProjection(expression, params);\n\t}\n\tjsonArrayProjection(expression, params) {\n\t\treturn this.options.jsonArrayProjection === void 0 ? super.jsonArrayProjection(expression, params) : this.options.jsonArrayProjection(expression, params);\n\t}\n};\nfunction postgresCodec(descriptor, options) {\n\treturn blindCast(new PostgresCodecDescriptorAdapter(descriptor, options));\n}\nfunction definePostgresCodecs(descriptors) {\n\treturn descriptors;\n}\nfunction isPostgresCodecDescriptor(value) {\n\treturn typeof value === \"object\" && value !== null && \"descriptorKind\" in value && value.descriptorKind === POSTGRES_CODEC_DESCRIPTOR_KIND && \"codecId\" in value && typeof value.codecId === \"string\" && \"traits\" in value && Array.isArray(value.traits) && \"targetTypes\" in value && Array.isArray(value.targetTypes) && value.targetTypes.every((targetType) => typeof targetType === \"string\") && \"paramsSchema\" in value && isObjectLike(value.paramsSchema) && \"~standard\" in value.paramsSchema && isObjectLike(value.paramsSchema[\"~standard\"]) && \"validate\" in value.paramsSchema[\"~standard\"] && typeof value.paramsSchema[\"~standard\"].validate === \"function\" && \"isParameterized\" in value && typeof value.isParameterized === \"boolean\" && \"factory\" in value && typeof value.factory === \"function\" && \"nativeTypeFor\" in value && typeof value.nativeTypeFor === \"function\" && \"projectJson\" in value && typeof value.projectJson === \"function\";\n}\nfunction isObjectLike(value) {\n\treturn typeof value === \"object\" && value !== null || typeof value === \"function\";\n}\nvar PostgresCodecDescriptorRegistryImpl = class {\n\t#descriptors;\n\tconstructor(descriptors) {\n\t\tthis.#descriptors = descriptors;\n\t\tObject.freeze(this);\n\t}\n\tdescriptorFor(codecId) {\n\t\treturn this.#descriptors.get(codecId);\n\t}\n\t*values() {\n\t\tyield* this.#descriptors.values();\n\t}\n};\nfunction buildPostgresCodecDescriptorRegistry(descriptors) {\n\tconst byId = /* @__PURE__ */ new Map();\n\tfor (const descriptor of descriptors) {\n\t\tif (!isPostgresCodecDescriptor(descriptor)) {\n\t\t\tconst codecId = candidateCodecId(descriptor);\n\t\t\tthrow structuredError(\"RUNTIME.CODEC_DESCRIPTOR_INVALID\", `Codec descriptor '${codecId}' is not a valid PostgreSQL codec descriptor.`, {\n\t\t\t\twhy: \"PostgreSQL codec registries require the postgres-codec discriminant and complete target descriptor methods.\",\n\t\t\t\tfix: \"Extend PostgresCodecDescriptor or adapt a generic descriptor with postgresCodec().\",\n\t\t\t\tmeta: { codecId }\n\t\t\t});\n\t\t}\n\t\tif (byId.has(descriptor.codecId)) throw structuredError(\"RUNTIME.DUPLICATE_CODEC\", `Duplicate PostgreSQL codec descriptor id '${descriptor.codecId}'.`, {\n\t\t\twhy: \"Each codecId must resolve to exactly one PostgreSQL descriptor during registry composition.\",\n\t\t\tfix: \"Remove the duplicate target, adapter, or extension contribution.\",\n\t\t\tmeta: {\n\t\t\t\tcodecId: descriptor.codecId,\n\t\t\t\ttarget: \"postgres\"\n\t\t\t}\n\t\t});\n\t\tbyId.set(descriptor.codecId, descriptor);\n\t}\n\treturn new PostgresCodecDescriptorRegistryImpl(byId);\n}\nfunction candidateCodecId(value) {\n\treturn typeof value === \"object\" && value !== null && \"codecId\" in value && typeof value.codecId === \"string\" ? value.codecId : \"<unknown>\";\n}\n//#endregion\nexport { postgresCodec as a, isPostgresCodecDescriptor as i, buildPostgresCodecDescriptorRegistry as n, definePostgresCodecs as r, PostgresCodecDescriptor as t };\n\n//# sourceMappingURL=codec-descriptor-LT7BpQta.mjs.map"],"mappings":";;;;;AAKA,MAAM,iCAAiC;AACvC,MAAM,oBAAoB;AAC1B,MAAM,sBAAsB;AAC5B,MAAM,qBAAqB;AAC3B,MAAM,0BAA0B;AAChC,IAAI,0BAA0B,cAAc,oBAAoB;CAC/D,iBAAiB;CACjB,oBAAoB,YAAY,QAAQ;EACvC,MAAM,aAAa,UAAU,GAAG,mBAAmB,kBAAkB;EACrE,MAAM,UAAU,UAAU,GAAG,qBAAqB,kBAAkB;EACpE,MAAM,aAAa,UAAU,GAAG,qBAAqB,uBAAuB;EAC5E,MAAM,mBAAmB,SAAS,GAAG,CAAC;GACrC,WAAW,cAAc,OAAO,OAAO;GACvC,OAAO,YAAY,GAAG,IAAI;EAC3B,CAAC,GAAG,KAAK,eAAe,SAAS,MAAM,CAAC;EACxC,MAAM,YAAY,iBAAiB,GAAG,IAAI,0BAA0B,gBAAgB,GAAG,cAAc,CAAC,YAAY,IAAI,UAAU,CAAC,CAAC;EAClI,MAAM,iBAAiB,UAAU,KAAK,eAAe,GAAG,UAAU,CAAC,UAAU,GAAG;GAC/E,OAAO;GACP,eAAe,CAAC,oBAAoB,uBAAuB;EAC5D,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,eAAe,GAAG,oBAAoB,SAAS,CAAC,CAAC;EACtF,MAAM,cAAc,SAAS,GAAG,CAAC;GAChC,WAAW,cAAc,OAAO,UAAU;GAC1C,OAAO,YAAY,GAAG,IAAI;EAC3B,CAAC,GAAG,aAAa,GAAG,cAAc,CAAC;EACnC,MAAM,eAAe,UAAU,OAAO,CAAC,CAAC,e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