@prisma/orm-target-postgres 8.0.0-rc.14-dev.11 → 8.0.0-rc.14-dev.13

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 (94) hide show
  1. package/dist/{adapter-Bb_FFDea-Bnp9ew_B.mjs → adapter-Bb_FFDea-DyyfToJz.mjs} +2 -2
  2. package/dist/{adapter-Bb_FFDea-Bnp9ew_B.mjs.map → adapter-Bb_FFDea-DyyfToJz.mjs.map} +1 -1
  3. package/dist/adapter.mjs +2 -2
  4. package/dist/adapter__adapter.mjs +1 -1
  5. package/dist/adapter__control.mjs +3 -3
  6. package/dist/adapter__runtime.mjs +2 -2
  7. package/dist/{authoring-2oKPEpBv-DfCFpeuD.mjs → authoring-DULm2ZZP-DgykBF-F.mjs} +4 -4
  8. package/dist/{authoring-2oKPEpBv-DfCFpeuD.mjs.map → authoring-DULm2ZZP-DgykBF-F.mjs.map} +1 -1
  9. package/dist/{contract-free-B2-ZWT2L.mjs → contract-free-C0GQe4X_.mjs} +3 -3
  10. package/dist/{contract-free-B2-ZWT2L.mjs.map → contract-free-C0GQe4X_.mjs.map} +1 -1
  11. package/dist/{control-D5Vb1l8F.mjs → control-BMhsfqMy.mjs} +13 -25
  12. package/dist/control-BMhsfqMy.mjs.map +1 -0
  13. package/dist/{control-CUzQZfhu.d.mts → control-D7_yfEfH.d.mts} +5 -2
  14. package/dist/{control-CUzQZfhu.d.mts.map → control-D7_yfEfH.d.mts.map} +1 -1
  15. package/dist/{control-adapter-C6kz--Q4-CAryb7mj.mjs → control-adapter-C6kz--Q4-BBli0l1k.mjs} +4 -4
  16. package/dist/{control-adapter-C6kz--Q4-CAryb7mj.mjs.map → control-adapter-C6kz--Q4-BBli0l1k.mjs.map} +1 -1
  17. package/dist/{control-policy-API5I4jr-ivEvCf_e.mjs → control-policy-CThlWQ8k-m3CT6KpR.mjs} +28 -15
  18. package/dist/control-policy-CThlWQ8k-m3CT6KpR.mjs.map +1 -0
  19. package/dist/{ddl-BEslwyjE-CzNPjhh1.mjs → ddl-C6M0Hkbe-BSSauy2X.mjs} +3 -3
  20. package/dist/{ddl-BEslwyjE-CzNPjhh1.mjs.map → ddl-C6M0Hkbe-BSSauy2X.mjs.map} +1 -1
  21. package/dist/{descriptor-meta-B1rbY3IE-I1ec-I6j.mjs → descriptor-meta-JJJwM3Gl-BcH0pYOV.mjs} +4 -4
  22. package/dist/{descriptor-meta-B1rbY3IE-I1ec-I6j.mjs.map → descriptor-meta-JJJwM3Gl-BcH0pYOV.mjs.map} +1 -1
  23. package/dist/{diff-database-schema-MymRFpdQ-CyY82tmS.mjs → diff-database-schema-Bp0uC68P-NxeVJERq.mjs} +7 -7
  24. package/dist/{diff-database-schema-MymRFpdQ-CyY82tmS.mjs.map → diff-database-schema-Bp0uC68P-NxeVJERq.mjs.map} +1 -1
  25. package/dist/{infer-psl-contract-CsDvYcvN-CMQR2WNf.mjs → infer-psl-contract-ChPangpl-CxL4__yw.mjs} +5 -5
  26. package/dist/{infer-psl-contract-CsDvYcvN-CMQR2WNf.mjs.map → infer-psl-contract-ChPangpl-CxL4__yw.mjs.map} +1 -1
  27. package/dist/{issue-planner-C4iR-Ik-.d.mts → issue-planner-WWpJ3gOQ.d.mts} +2 -2
  28. package/dist/{issue-planner-C4iR-Ik-.d.mts.map → issue-planner-WWpJ3gOQ.d.mts.map} +1 -1
  29. package/dist/{migration-BTiY0PPC.d.mts → migration-DwqTcQ5d.d.mts} +3 -3
  30. package/dist/{migration-BTiY0PPC.d.mts.map → migration-DwqTcQ5d.d.mts.map} +1 -1
  31. package/dist/migration-PTHAY9Cv.mjs.map +1 -1
  32. package/dist/{op-factory-call-VLJFI-b_-Du23HNYc.d.mts → op-factory-call-CmhDgfov-BjHdIpND.d.mts} +24 -7
  33. package/dist/op-factory-call-CmhDgfov-BjHdIpND.d.mts.map +1 -0
  34. package/dist/{op-factory-call-uRJcYmJG-Bpyq2pCt.mjs → op-factory-call-DYkz28kP-4BmpSB4B.mjs} +81 -18
  35. package/dist/op-factory-call-DYkz28kP-4BmpSB4B.mjs.map +1 -0
  36. package/dist/op-factory-call-DbjizP4b.d.mts +1 -0
  37. package/dist/{planner-Bp89yaJS-4TV82o0Y.mjs → planner-B_ILQa75-CoVpbzCr.mjs} +32 -214
  38. package/dist/planner-B_ILQa75-CoVpbzCr.mjs.map +1 -0
  39. package/dist/{planner-SLaWpf7q.d.mts → planner-fD25Vk53.d.mts} +2 -41
  40. package/dist/{planner-SLaWpf7q.d.mts.map → planner-fD25Vk53.d.mts.map} +1 -1
  41. package/dist/{planner-produced-postgres-migration-D7vODJo4-BoaNLGvs.mjs → planner-produced-postgres-migration-BQFrdLuE-CeyZeWPJ.mjs} +3 -3
  42. package/dist/{planner-produced-postgres-migration-D7vODJo4-BoaNLGvs.mjs.map → planner-produced-postgres-migration-BQFrdLuE-CeyZeWPJ.mjs.map} +1 -1
  43. package/dist/{planner-produced-postgres-migration-CoOcn-b9-8kOq82_P.d.mts → planner-produced-postgres-migration-CMGC3vS6-CGdYLZFB.d.mts} +3 -3
  44. package/dist/planner-produced-postgres-migration-CMGC3vS6-CGdYLZFB.d.mts.map +1 -0
  45. package/dist/planner-produced-postgres-migration-DJFPEI7l.d.mts +1 -0
  46. package/dist/{planner-sql-checks-ZMXeCK6W-D1VMBywZ.mjs → planner-sql-checks-Bxz8yvg8-Bj6jGClB.mjs} +3 -3
  47. package/dist/{planner-sql-checks-ZMXeCK6W-D1VMBywZ.mjs.map → planner-sql-checks-Bxz8yvg8-Bj6jGClB.mjs.map} +1 -1
  48. package/dist/{postgres-contract-view-CUWYe586-CHykrpRs.mjs → postgres-contract-view-BEp5ikai-BmYXd1MR.mjs} +4 -4
  49. package/dist/{postgres-contract-view-CUWYe586-CHykrpRs.mjs.map → postgres-contract-view-BEp5ikai-BmYXd1MR.mjs.map} +1 -1
  50. package/dist/postgres-migration-DWtr5s00-CSlA4I1U.mjs +569 -0
  51. package/dist/postgres-migration-DWtr5s00-CSlA4I1U.mjs.map +1 -0
  52. package/dist/{postgres-migration-B03W06rR-DTB0R3cj.d.mts → postgres-migration-vpMSrXLQ-CJ72Zey3.d.mts} +19 -3
  53. package/dist/postgres-migration-vpMSrXLQ-CJ72Zey3.d.mts.map +1 -0
  54. package/dist/{postgres-schema-yugFGBdS-5cY1PCmb.mjs → postgres-schema-C8slJGZo-CFGUyJPt.mjs} +3 -3
  55. package/dist/{postgres-schema-yugFGBdS-5cY1PCmb.mjs.map → postgres-schema-C8slJGZo-CFGUyJPt.mjs.map} +1 -1
  56. package/dist/{prisma7-binding-D8_eGy5l.mjs → prisma7-binding-Cajs2zo2.mjs} +5 -5
  57. package/dist/{prisma7-binding-D8_eGy5l.mjs.map → prisma7-binding-Cajs2zo2.mjs.map} +1 -1
  58. package/dist/{resolve-ddl-schema-euaYYSHi-DM7kyWEw.mjs → resolve-ddl-schema-Bq4m2dD9-DrlUipYU.mjs} +3 -3
  59. package/dist/{resolve-ddl-schema-euaYYSHi-DM7kyWEw.mjs.map → resolve-ddl-schema-Bq4m2dD9-DrlUipYU.mjs.map} +1 -1
  60. package/dist/target.d.mts +10 -10
  61. package/dist/target.mjs +17 -17
  62. package/dist/target__contract-free.mjs +3 -3
  63. package/dist/target__control.d.mts +1 -1
  64. package/dist/target__control.mjs +3 -2
  65. package/dist/target__diff-database-schema.mjs +1 -1
  66. package/dist/target__issue-planner.d.mts +1 -1
  67. package/dist/target__issue-planner.mjs +1 -1
  68. package/dist/target__migration.d.mts +2 -2
  69. package/dist/target__migration.mjs +2 -2
  70. package/dist/target__op-factory-call.d.mts +3 -3
  71. package/dist/target__op-factory-call.mjs +2 -2
  72. package/dist/target__pack.mjs +1 -1
  73. package/dist/target__planner-produced-postgres-migration.d.mts +2 -2
  74. package/dist/target__planner-produced-postgres-migration.mjs +1 -1
  75. package/dist/target__planner-sql-checks.mjs +1 -1
  76. package/dist/target__planner.d.mts +1 -1
  77. package/dist/target__planner.mjs +2 -2
  78. package/dist/target__prisma7-binding.mjs +1 -1
  79. package/dist/target__runtime.mjs +2 -2
  80. package/dist/target__runtime.mjs.map +1 -1
  81. package/dist/target__schema-ir-annotations.mjs +1 -1
  82. package/dist/target__types.mjs +1 -1
  83. package/package.json +9 -9
  84. package/dist/control-D5Vb1l8F.mjs.map +0 -1
  85. package/dist/control-policy-API5I4jr-ivEvCf_e.mjs.map +0 -1
  86. package/dist/op-factory-call-Bi1XxJEv.d.mts +0 -1
  87. package/dist/op-factory-call-VLJFI-b_-Du23HNYc.d.mts.map +0 -1
  88. package/dist/op-factory-call-uRJcYmJG-Bpyq2pCt.mjs.map +0 -1
  89. package/dist/planner-Bp89yaJS-4TV82o0Y.mjs.map +0 -1
  90. package/dist/planner-produced-postgres-migration-Bi_Otmtx.d.mts +0 -1
  91. package/dist/planner-produced-postgres-migration-CoOcn-b9-8kOq82_P.d.mts.map +0 -1
  92. package/dist/postgres-migration-B03W06rR-DTB0R3cj.d.mts.map +0 -1
  93. package/dist/postgres-migration-DMTY4p1--KjAAFSJ_.mjs +0 -223
  94. package/dist/postgres-migration-DMTY4p1--KjAAFSJ_.mjs.map +0 -1
package/dist/target.mjs CHANGED
@@ -8,38 +8,38 @@ import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pg
8
8
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
9
9
  import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codecs-DMPbfU3s.mjs";
10
10
  import { a as validateEnumValueLength, i as quoteQualifiedName, n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-Bh-mnsSY-D6hnFPrP.mjs";
11
- import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, l as PostgresTableSource, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-yugFGBdS-5cY1PCmb.mjs";
11
+ import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, l as PostgresTableSource, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-C8slJGZo-CFGUyJPt.mjs";
12
12
  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";
13
- 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-BEslwyjE-CzNPjhh1.mjs";
14
- import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-B2-ZWT2L.mjs";
15
- import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-Cb7nWBUa-DXchlOUk.mjs";
13
+ 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-C6M0Hkbe-BSSauy2X.mjs";
14
+ import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-C0GQe4X_.mjs";
16
15
  import { n as renderFullTextIndexExpression, t as isFullTextIndexableCodec } from "./full-text-index-expression-l0hAieif-BU7rr9GS.mjs";
17
16
  import { n as computeContentHash, t as POLICY_OPERATION_PREDICATES } from "./canonicalize-CrN3u_xM-D4MrOqcB.mjs";
18
17
  import { t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-RO0HiUDm-CeJ7P8gS.mjs";
19
- import { a as instantNowControlDescriptor, i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-2oKPEpBv-DfCFpeuD.mjs";
18
+ import { a as instantNowControlDescriptor, i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-DULm2ZZP-DgykBF-F.mjs";
20
19
  import { t as postgresRenderCheckExpressions } from "./check-expressions-DLCs-SXx-itMQrUsX.mjs";
21
20
  import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode, t as PostgresNativeEnumSchemaNode } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
22
21
  import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
23
- import { t as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-euaYYSHi-DM7kyWEw.mjs";
22
+ import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-Cb7nWBUa-DXchlOUk.mjs";
23
+ import { t as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-Bq4m2dD9-DrlUipYU.mjs";
24
24
  import { n as normalizeSchemaNativeType, t as introspectedNativeType } from "./native-type-normalizer-CW6g9Fut-C5lMRRjS.mjs";
25
- import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-ZMXeCK6W-D1VMBywZ.mjs";
25
+ import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-Bxz8yvg8-Bj6jGClB.mjs";
26
26
  import { i as renderDefaultLiteral, n as isPostgresDateTimeDataType, r as postgresDateTimeDdlText, t as buildColumnTypeSql } from "./planner-ddl-builders-DSpQVbIm-Y4SbsU-O.mjs";
27
- import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, I 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-uRJcYmJG-Bpyq2pCt.mjs";
27
+ import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, L as createExtension, M as RenameTableCall, N as SetDefaultCall, O as RawSqlCall, P as SetNotNullCall, 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 RenameConstraintCall, 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-DYkz28kP-4BmpSB4B.mjs";
28
28
  import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-BmHn5C6U-BYBbUAyR.mjs";
29
29
  import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs";
30
- import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-API5I4jr-ivEvCf_e.mjs";
31
- import { n as buildPostgresPlanDiff, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-MymRFpdQ-CyY82tmS.mjs";
32
- import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-CUWYe586-CHykrpRs.mjs";
30
+ import { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-CThlWQ8k-m3CT6KpR.mjs";
31
+ import { n as buildPostgresPlanDiff, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-Bp0uC68P-NxeVJERq.mjs";
32
+ import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-BEp5ikai-BmYXd1MR.mjs";
33
33
  import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
34
- import { t as PostgresMigration } from "./postgres-migration-DMTY4p1--KjAAFSJ_.mjs";
34
+ import { o as postgresRenderDefault, t as PostgresMigration } from "./postgres-migration-DWtr5s00-CSlA4I1U.mjs";
35
35
  import { t as renderOps } from "./render-ops-D2vJApKB-B281fzmn.mjs";
36
36
  import { t as renderCallsToTypeScript } from "./render-typescript-Dqp1Spgn-B128r1qw.mjs";
37
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-D7vODJo4-BoaNLGvs.mjs";
38
- import { t as createPostgresMigrationPlanner } from "./planner-Bp89yaJS-4TV82o0Y.mjs";
37
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-BQFrdLuE-CeyZeWPJ.mjs";
38
+ import { t as createPostgresMigrationPlanner } from "./planner-B_ILQa75-CoVpbzCr.mjs";
39
39
  import { t as postgresDataTypeEntries } from "./data-type-entries-BDSHvsdE-Bbe1cdbR.mjs";
40
- import { n as postgresRenderDefault, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-D5Vb1l8F.mjs";
40
+ import { n as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-BMhsfqMy.mjs";
41
41
  import { a as plaintoTsquery, i as phrasetoTsquery, o as toTsquery, s as websearchToTsquery } from "./full-text-parsers-96VfzkHS-C8YGYKhj.mjs";
42
42
  import { t as tsquery } from "./full-text-RAVq4j8W.mjs";
43
43
  import { a as foreignKey, c as primaryKey, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as unique } from "./migration-PTHAY9Cv.mjs";
44
- import { t as prisma7PostgresBinding } from "./prisma7-binding-D8_eGy5l.mjs";
45
- 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, NUMERIC_PRECISION_RANGE, NUMERIC_SCALE_RANGE, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, POLICY_OPERATION_PREDICATES, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, 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, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, introspectedNativeType, isFullTextIndexableCodec, isPgEnumParams, isPostgresCodecDescriptor, isPostgresDateTimeDataType, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBit, pgBitColumn, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgDate, pgDateCanonical, 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, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetz, pgTimetzCanonical, pgTimetzColumn, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, plaintoTsquery, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresDateTimeDdlText, postgresError, postgresNativeAuthoringTypes, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, postgresScalarAuthoringTypes, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexExpression, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery };
44
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-Cajs2zo2.mjs";
45
+ 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, NUMERIC_PRECISION_RANGE, NUMERIC_SCALE_RANGE, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, POLICY_OPERATION_PREDICATES, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetNotNullCall, TypeScriptRenderablePostgresMigration, addColumnAction, alterTable, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildExpectedFormatType, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, instantNow, instantNowControlDescriptor, int4, int8, introspectedNativeType, isFullTextIndexableCodec, isPgEnumParams, isPostgresCodecDescriptor, isPostgresDateTimeDataType, isPostgresSchema, jsonb, lit, noNullValuesAst, normalizeSchemaNativeType, parsePostgresDefault, parsePostgresListText, pgBit, pgBitColumn, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgDate, pgDateCanonical, 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, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetz, pgTimetzCanonical, pgTimetzColumn, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plainDateTimeNow, plainDateTimeNowControlDescriptor, plaintoTsquery, planIssues, policyInputFromSerialized, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresDateTimeDdlText, postgresError, postgresNativeAuthoringTypes, postgresRenderCheckExpressions, postgresRenderDefault, postgresResolveDefault, postgresScalarAuthoringTypes, primaryKey, prisma7PostgresBinding, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, renderCallsToTypeScript, renderDefaultLiteral, renderFullTextIndexExpression, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery };
@@ -1,4 +1,4 @@
1
- import { l as PostgresTableSource } from "./postgres-schema-yugFGBdS-5cY1PCmb.mjs";
2
- 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-BEslwyjE-CzNPjhh1.mjs";
3
- import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-B2-ZWT2L.mjs";
1
+ import { l as PostgresTableSource } from "./postgres-schema-C8slJGZo-CFGUyJPt.mjs";
2
+ 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-C6M0Hkbe-BSSauy2X.mjs";
3
+ import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-C0GQe4X_.mjs";
4
4
  export { PostgresTableSource, addColumnAction, alterTable, buildControlTableBootstrapQueries, buildSignMarkerBootstrapQueries, columnDefaultAst, columnExistsAst, columnNullabilityAst, columnTypeAst, constraintExistsAst, createSchema, createTable, dropDefaultAction, extensionExistsAst, indexExistsAst, int4, int8, jsonb, noNullValuesAst, pgTable, rlsEnabledAst, rlsPolicyExistsAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass };
@@ -1,4 +1,4 @@
1
1
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-BcrLExnx-hTa7qY7a.mjs";
2
2
  import { i as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./plain-date-time-now-generator-BmOTu5Au-BPhXjp4T.mjs";
3
- import { i as postgresTargetDescriptor, n as postgresRenderDefault, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-CUzQZfhu.mjs";
3
+ import { i as postgresTargetDescriptor, n as postgresRenderDefault, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-D7_yfEfH.mjs";
4
4
  export { INSTANT_NOW_GENERATOR_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, decodePostgresListText, postgresTargetDescriptor as default, instantNowControlDescriptor, parsePostgresListText, plainDateTimeNowControlDescriptor, postgresNativeAuthoringTypes, postgresRenderDefault, postgresScalarAuthoringTypes };
@@ -1,4 +1,5 @@
1
1
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
2
- import { a as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-2oKPEpBv-DfCFpeuD.mjs";
3
- import { i as postgresTargetDescriptor, n as postgresRenderDefault, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-D5Vb1l8F.mjs";
2
+ import { a as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-DULm2ZZP-DgykBF-F.mjs";
3
+ import { o as postgresRenderDefault } from "./postgres-migration-DWtr5s00-CSlA4I1U.mjs";
4
+ import { n as postgresScalarAuthoringTypes, r as postgresTargetDescriptor, t as postgresNativeAuthoringTypes } from "./control-BMhsfqMy.mjs";
4
5
  export { INSTANT_NOW_GENERATOR_ID, PLAIN_DATE_TIME_NOW_GENERATOR_ID, decodePostgresListText, postgresTargetDescriptor as default, instantNowControlDescriptor, parsePostgresListText, plainDateTimeNowControlDescriptor, postgresNativeAuthoringTypes, postgresRenderDefault, postgresScalarAuthoringTypes };
@@ -1,2 +1,2 @@
1
- import { n as buildPostgresPlanDiff } from "./diff-database-schema-MymRFpdQ-CyY82tmS.mjs";
1
+ import { n as buildPostgresPlanDiff } from "./diff-database-schema-Bp0uC68P-NxeVJERq.mjs";
2
2
  export { buildPostgresPlanDiff };
@@ -1,2 +1,2 @@
1
- import { n as planIssues, t as coalesceSubtreeIssues } from "./issue-planner-C4iR-Ik-.mjs";
1
+ import { n as planIssues, t as coalesceSubtreeIssues } from "./issue-planner-WWpJ3gOQ.mjs";
2
2
  export { coalesceSubtreeIssues, planIssues };
@@ -1,2 +1,2 @@
1
- import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-API5I4jr-ivEvCf_e.mjs";
1
+ import { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-CThlWQ8k-m3CT6KpR.mjs";
2
2
  export { coalesceSubtreeIssues, planIssues };
@@ -1,4 +1,4 @@
1
1
  import { n as DataTransformOptions, r as dataTransform, t as DataTransformClosure } from "./data-transform-Ck5FbyNO-BNE7QlAo.mjs";
2
- import { t as PostgresMigration } from "./postgres-migration-B03W06rR-DTB0R3cj.mjs";
3
- import { a as fn, c as placeholder, d as unique, i as createExtension, l as primaryKey, n as checkExpression, o as foreignKey, r as col, s as lit, t as MigrationCLI, u as rawSql } from "./migration-BTiY0PPC.mjs";
2
+ import { t as PostgresMigration } from "./postgres-migration-vpMSrXLQ-CJ72Zey3.mjs";
3
+ import { a as fn, c as placeholder, d as unique, i as createExtension, l as primaryKey, n as checkExpression, o as foreignKey, r as col, s as lit, t as MigrationCLI, u as rawSql } from "./migration-DwqTcQ5d.mjs";
4
4
  export { type DataTransformClosure, type DataTransformOptions, PostgresMigration as Migration, MigrationCLI, checkExpression, col, createExtension, dataTransform, fn, foreignKey, lit, placeholder, primaryKey, rawSql, unique };
@@ -1,5 +1,5 @@
1
- import { I as createExtension } from "./op-factory-call-uRJcYmJG-Bpyq2pCt.mjs";
1
+ import { L as createExtension } from "./op-factory-call-DYkz28kP-4BmpSB4B.mjs";
2
2
  import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
3
- import { t as PostgresMigration } from "./postgres-migration-DMTY4p1--KjAAFSJ_.mjs";
3
+ import { t as PostgresMigration } from "./postgres-migration-DWtr5s00-CSlA4I1U.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,3 +1,3 @@
1
- import { C as DropIndexCall, D as DropTableCall, E as DropPostgresRlsPolicyCall, F as RenamePostgresRlsPolicyCall, I as SetDefaultCall, L as SetNotNullCall, M as RawSqlCall, N as RenameCheckConstraintCall, O as EnableRowLevelSecurityCall, P as RenameIndexCall, S as DropDefaultCall, T as DropNotNullCall, _ as DataTransformCall, a as AddNotNullColumnWithTempDefaultCall, b as DropColumnCall, c as AlterColumnTypeCall, d as CreateIndexCall, g as CreateTableCall, h as CreateSchemaCall, i as AddNativeEnumValueCall, m as CreatePostgresRlsPolicyCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreateNativeEnumTypeCall, r as AddForeignKeyCall, s as AddUniqueCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DisableRowLevelSecurityCall, w as DropNativeEnumTypeCall, x as DropConstraintCall, y as DropCheckConstraintCall } from "./op-factory-call-VLJFI-b_-Du23HNYc.mjs";
2
- import "./op-factory-call-Bi1XxJEv.mjs";
3
- 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
+ import { C as DropIndexCall, D as DropTableCall, E as DropPostgresRlsPolicyCall, F as RenameIndexCall, I as RenamePostgresRlsPolicyCall, L as RenameTableCall, M as RawSqlCall, O as EnableRowLevelSecurityCall, P as RenameConstraintCall, R as SetDefaultCall, S as DropDefaultCall, T as DropNotNullCall, _ as DataTransformCall, a as AddNotNullColumnWithTempDefaultCall, b as DropColumnCall, c as AlterColumnTypeCall, d as CreateIndexCall, g as CreateTableCall, h as CreateSchemaCall, i as AddNativeEnumValueCall, m as CreatePostgresRlsPolicyCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreateNativeEnumTypeCall, r as AddForeignKeyCall, s as AddUniqueCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DisableRowLevelSecurityCall, w as DropNativeEnumTypeCall, x as DropConstraintCall, y as DropCheckConstraintCall, z as SetNotNullCall } from "./op-factory-call-CmhDgfov-BjHdIpND.mjs";
2
+ import "./op-factory-call-DbjizP4b.mjs";
3
+ 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, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SetDefaultCall, SetNotNullCall };
@@ -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-uRJcYmJG-Bpyq2pCt.mjs";
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
+ import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, M as RenameTableCall, N as SetDefaultCall, O as RawSqlCall, P as SetNotNullCall, 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 RenameConstraintCall, 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-DYkz28kP-4BmpSB4B.mjs";
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, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SetDefaultCall, SetNotNullCall };
@@ -1,2 +1,2 @@
1
- import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-B1rbY3IE-I1ec-I6j.mjs";
1
+ import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-JJJwM3Gl-BcH0pYOV.mjs";
2
2
  export { postgresTargetDescriptorMeta as default };
@@ -1,3 +1,3 @@
1
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-CoOcn-b9-8kOq82_P.mjs";
2
- import "./planner-produced-postgres-migration-Bi_Otmtx.mjs";
1
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-CMGC3vS6-CGdYLZFB.mjs";
2
+ import "./planner-produced-postgres-migration-DJFPEI7l.mjs";
3
3
  export { TypeScriptRenderablePostgresMigration };
@@ -1,2 +1,2 @@
1
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-D7vODJo4-BoaNLGvs.mjs";
1
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-BQFrdLuE-CeyZeWPJ.mjs";
2
2
  export { TypeScriptRenderablePostgresMigration };
@@ -1,2 +1,2 @@
1
- import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-ZMXeCK6W-D1VMBywZ.mjs";
1
+ import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-Bxz8yvg8-Bj6jGClB.mjs";
2
2
  export { buildExpectedFormatType, qualifyTableName };
@@ -1,2 +1,2 @@
1
- import { n as createPostgresMigrationPlanner, t as contractToPostgresDatabaseSchemaNode } from "./planner-SLaWpf7q.mjs";
1
+ import { n as createPostgresMigrationPlanner, t as contractToPostgresDatabaseSchemaNode } from "./planner-fD25Vk53.mjs";
2
2
  export { contractToPostgresDatabaseSchemaNode, createPostgresMigrationPlanner };
@@ -1,3 +1,3 @@
1
- import { r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-MymRFpdQ-CyY82tmS.mjs";
2
- import { t as createPostgresMigrationPlanner } from "./planner-Bp89yaJS-4TV82o0Y.mjs";
1
+ import { r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-Bp0uC68P-NxeVJERq.mjs";
2
+ import { t as createPostgresMigrationPlanner } from "./planner-B_ILQa75-CoVpbzCr.mjs";
3
3
  export { contractToPostgresDatabaseSchemaNode, createPostgresMigrationPlanner };
@@ -1,2 +1,2 @@
1
- import { t as prisma7PostgresBinding } from "./prisma7-binding-D8_eGy5l.mjs";
1
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-Cajs2zo2.mjs";
2
2
  export { prisma7PostgresBinding };
@@ -1,8 +1,8 @@
1
1
  import { S as PG_TEXT_CODEC_ID, c as PG_FLOAT4_CODEC_ID, j as PG_TSQUERY_CODEC_ID, n as PG_BOOL_CODEC_ID } from "./codec-ids-Cb0yO-IS--e0P2rfI.mjs";
2
2
  import { t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
3
- import { i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-2oKPEpBv-DfCFpeuD.mjs";
3
+ import { i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-DULm2ZZP-DgykBF-F.mjs";
4
4
  import { t as postgresTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs";
5
- import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-CUWYe586-CHykrpRs.mjs";
5
+ import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-BEp5ikai-BmYXd1MR.mjs";
6
6
  import { a as plaintoTsquery, i as phrasetoTsquery, n as languageLiteral, o as toTsquery, r as normalizationLiteral, s as websearchToTsquery, t as headlineOptionsLiteral } from "./full-text-parsers-96VfzkHS-C8YGYKhj.mjs";
7
7
  import { buildOperation, toExpr } from "@prisma/orm-family-sql/relational-core/expression";
8
8
  //#region ../../../3-targets/3-targets/postgres/dist/runtime.mjs
@@ -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, j as PG_TSQUERY_CODEC_ID, n as PG_BOOL_CODEC_ID } from \"./codec-ids-Cb0yO-IS.mjs\";\nimport { t as decodePostgresListText } from \"./list-decoder-DXee1orj.mjs\";\nimport { f as INSTANT_NOW_GENERATOR_ID, l as PLAIN_DATE_TIME_NOW_GENERATOR_ID, p as instantNow, u as plainDateTimeNow } from \"./authoring-2oKPEpBv.mjs\";\nimport \"./text-search-languages-RO0HiUDm.mjs\";\nimport { t as postgresTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-UwYdV8fD.mjs\";\nimport { n as PostgresContractSerializer, t as PostgresContractView } from \"./postgres-contract-view-CUWYe586.mjs\";\nimport { a as headlineOptionsLiteral, i as websearchToTsquery, n as plaintoTsquery, o as languageLiteral, r as toTsquery, s as normalizationLiteral, t as phrasetoTsquery } from \"./full-text-parsers-96VfzkHS.mjs\";\nimport { buildOperation, toExpr } from \"@internal/sql-relational-core/expression\";\n//#region src/core/query-operations.ts\nconst TEXT_REF = { codecId: PG_TEXT_CODEC_ID };\nconst TSQUERY_REF = { codecId: PG_TSQUERY_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\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, TSQUERY_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\ttemplate: \"to_tsvector({{arg1}}, {{self}}) @@ {{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}}), {{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, TSQUERY_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\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}}, {{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, TSQUERY_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\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\twebsearchToTsquery: { impl: websearchToTsquery },\n\t\ttoTsquery: { impl: toTsquery },\n\t\tplaintoTsquery: { impl: plaintoTsquery },\n\t\tphrasetoTsquery: { impl: phrasetoTsquery }\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":";;;;;;;;AASA,MAAM,WAAW,EAAE,SAAS,iBAAiB;AAC7C,MAAM,cAAc,EAAE,SAAS,oBAAoB;AACnD,MAAM,cAAc,YAAY,QAAQ,YAAY;AACpD,SAAS,0BAA0B;CAClC,OAAO;EACN,OAAO;GACN,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,YAAY,eAAe;IACvC,QAAQ;IACR,MAAM,CAAC,OAAO,IAAI,GAAG,OAAO,SAAS,QAAQ,CAAC;IAC9C,SAAS;KACR,SAAS;KACT,UAAU;IACX;IACA,UAAU;KACT,cAAc;KACd,UAAU;IACX;GACD,CAAC;EACF;EACA,iBAAiB;GAChB,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,OAAO,UAAU,CAAC,MAAM,eAAe;IACnD,QAAQ;IACR,MAAM;KACL,OAAO,IAAI;KACX,OAAO,OAAO,WAAW;KACzB,gBAAgB,mBAAmB,WAAW,OAAO,CAAC;IACvD;IACA,SAAS;KACR,SAAS;KACT,UAAU;IACX;IACA,UAAU;KACT,cAAc;KACd,UAAU;IACX;GACD,CAAC;EACF;EACA,cAAc;GACb,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,OAAO,UAAU,CAAC,MAAM;IACpC,MAAM,KAAK,QAAQ,iBAAiB,OAAO,eAAe;IAC1D,MAAM,gBAAgB,QAAQ,kBAAkB,KAAK,IAAI,KAAK,IAAI,qBAAqB,gBAAgB,QAAQ,aAAa;IAC5H,MAAM,iBAAiB;IACvB,OAAO,eAAe;KACrB,QAAQ;KACR,MAAM;MACL,OAAO,IAAI;MACX,OAAO,OAAO,WAAW;MACzB,gBAAgB,gBAAgB,WAAW,OAAO,CAAC;MACnD,GAAG,kBAAkB,KAAK,IAAI,CAAC,IAAI,CAAC,aAAa;KAClD;KACA,SAAS;MACR,SAAS;MACT,UAAU;KACX;KACA,UAAU;MACT,cAAc;MACd,UAAU,GAAG,GAAG,GAAG,iBAAiB,kBAAkB,KAAK,IAAI,KAAK,aAAa;KAClF;IACD,CAAC;GACF;EACD;EACA,kBAAkB;GACjB,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,OAAO,UAAU,CAAC,MAAM;IACpC,MAAM,kBAAkB,uBAAuB,oBAAoB,OAAO;IAC1E,MAAM,OAAO;IACb,OAAO,eAAe;KACrB,QAAQ;KACR,MAAM;MACL,OAAO,IAAI;MACX,OAAO,OAAO,WAAW;MACzB,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,GAAG,OAAO,oBAAoB,KAAK,IAAI,KAAK,aAAa;KACpE;IACD,CAAC;GACF;EACD;EACA,oBAAoB,EAAE,MAAM,mBAAmB;EAC/C,WAAW,EAAE,MAAM,UAAU;EAC7B,gBAAgB,EAAE,MAAM,eAAe;EACvC,iBAAiB,EAAE,MAAM,gBAAgB;CAC1C;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
+ {"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, j as PG_TSQUERY_CODEC_ID, n as PG_BOOL_CODEC_ID } from \"./codec-ids-Cb0yO-IS.mjs\";\nimport { t as decodePostgresListText } from \"./list-decoder-DXee1orj.mjs\";\nimport { f as INSTANT_NOW_GENERATOR_ID, l as PLAIN_DATE_TIME_NOW_GENERATOR_ID, p as instantNow, u as plainDateTimeNow } from \"./authoring-DULm2ZZP.mjs\";\nimport \"./text-search-languages-RO0HiUDm.mjs\";\nimport { t as postgresTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-UwYdV8fD.mjs\";\nimport { n as PostgresContractSerializer, t as PostgresContractView } from \"./postgres-contract-view-BEp5ikai.mjs\";\nimport { a as headlineOptionsLiteral, i as websearchToTsquery, n as plaintoTsquery, o as languageLiteral, r as toTsquery, s as normalizationLiteral, t as phrasetoTsquery } from \"./full-text-parsers-96VfzkHS.mjs\";\nimport { buildOperation, toExpr } from \"@internal/sql-relational-core/expression\";\n//#region src/core/query-operations.ts\nconst TEXT_REF = { codecId: PG_TEXT_CODEC_ID };\nconst TSQUERY_REF = { codecId: PG_TSQUERY_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\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, TSQUERY_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\ttemplate: \"to_tsvector({{arg1}}, {{self}}) @@ {{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}}), {{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, TSQUERY_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\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}}, {{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, TSQUERY_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\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\twebsearchToTsquery: { impl: websearchToTsquery },\n\t\ttoTsquery: { impl: toTsquery },\n\t\tplaintoTsquery: { impl: plaintoTsquery },\n\t\tphrasetoTsquery: { impl: phrasetoTsquery }\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":";;;;;;;;AASA,MAAM,WAAW,EAAE,SAAS,iBAAiB;AAC7C,MAAM,cAAc,EAAE,SAAS,oBAAoB;AACnD,MAAM,cAAc,YAAY,QAAQ,YAAY;AACpD,SAAS,0BAA0B;CAClC,OAAO;EACN,OAAO;GACN,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,YAAY,eAAe;IACvC,QAAQ;IACR,MAAM,CAAC,OAAO,IAAI,GAAG,OAAO,SAAS,QAAQ,CAAC;IAC9C,SAAS;KACR,SAAS;KACT,UAAU;IACX;IACA,UAAU;KACT,cAAc;KACd,UAAU;IACX;GACD,CAAC;EACF;EACA,iBAAiB;GAChB,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,OAAO,UAAU,CAAC,MAAM,eAAe;IACnD,QAAQ;IACR,MAAM;KACL,OAAO,IAAI;KACX,OAAO,OAAO,WAAW;KACzB,gBAAgB,mBAAmB,WAAW,OAAO,CAAC;IACvD;IACA,SAAS;KACR,SAAS;KACT,UAAU;IACX;IACA,UAAU;KACT,cAAc;KACd,UAAU;IACX;GACD,CAAC;EACF;EACA,cAAc;GACb,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,OAAO,UAAU,CAAC,MAAM;IACpC,MAAM,KAAK,QAAQ,iBAAiB,OAAO,eAAe;IAC1D,MAAM,gBAAgB,QAAQ,kBAAkB,KAAK,IAAI,KAAK,IAAI,qBAAqB,gBAAgB,QAAQ,aAAa;IAC5H,MAAM,iBAAiB;IACvB,OAAO,eAAe;KACrB,QAAQ;KACR,MAAM;MACL,OAAO,IAAI;MACX,OAAO,OAAO,WAAW;MACzB,gBAAgB,gBAAgB,WAAW,OAAO,CAAC;MACnD,GAAG,kBAAkB,KAAK,IAAI,CAAC,IAAI,CAAC,aAAa;KAClD;KACA,SAAS;MACR,SAAS;MACT,UAAU;KACX;KACA,UAAU;MACT,cAAc;MACd,UAAU,GAAG,GAAG,GAAG,iBAAiB,kBAAkB,KAAK,IAAI,KAAK,aAAa;KAClF;IACD,CAAC;GACF;EACD;EACA,kBAAkB;GACjB,MAAM,EAAE,QAAQ,CAAC,SAAS,EAAE;GAC5B,OAAO,MAAM,OAAO,UAAU,CAAC,MAAM;IACpC,MAAM,kBAAkB,uBAAuB,oBAAoB,OAAO;IAC1E,MAAM,OAAO;IACb,OAAO,eAAe;KACrB,QAAQ;KACR,MAAM;MACL,OAAO,IAAI;MACX,OAAO,OAAO,WAAW;MACzB,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,GAAG,OAAO,oBAAoB,KAAK,IAAI,KAAK,aAAa;KACpE;IACD,CAAC;GACF;EACD;EACA,oBAAoB,EAAE,MAAM,mBAAmB;EAC/C,WAAW,EAAE,MAAM,UAAU;EAC7B,gBAAgB,EAAE,MAAM,eAAe;EACvC,iBAAiB,EAAE,MAAM,gBAAgB;CAC1C;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,2 +1,2 @@
1
- import { t as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-euaYYSHi-DM7kyWEw.mjs";
1
+ import { t as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-Bq4m2dD9-DrlUipYU.mjs";
2
2
  export { resolveDdlSchemaForNamespaceStorage };
@@ -1,5 +1,5 @@
1
1
  import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
2
- import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-yugFGBdS-5cY1PCmb.mjs";
2
+ import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-C8slJGZo-CFGUyJPt.mjs";
3
3
  import { t as postgresRenderCheckExpressions } from "./check-expressions-DLCs-SXx-itMQrUsX.mjs";
4
4
  import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode, t as PostgresNativeEnumSchemaNode } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
5
5
  import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/orm-target-postgres",
3
- "version": "8.0.0-rc.14-dev.11",
3
+ "version": "8.0.0-rc.14-dev.13",
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.14-dev.11",
13
- "@prisma/orm-framework": "8.0.0-rc.14-dev.11",
14
- "@prisma/orm-toolchain": "8.0.0-rc.14-dev.11",
12
+ "@prisma/orm-family-sql": "8.0.0-rc.14-dev.13",
13
+ "@prisma/orm-framework": "8.0.0-rc.14-dev.13",
14
+ "@prisma/orm-toolchain": "8.0.0-rc.14-dev.13",
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.14-dev.11",
26
- "@internal/driver-postgres": "8.0.0-rc.14-dev.11",
27
- "@internal/target-postgres": "8.0.0-rc.14-dev.11",
28
- "@repo/tsconfig": "8.0.0-rc.14-dev.11",
29
- "@repo/tsdown": "8.0.0-rc.14-dev.11",
25
+ "@internal/adapter-postgres": "8.0.0-rc.14-dev.13",
26
+ "@internal/driver-postgres": "8.0.0-rc.14-dev.13",
27
+ "@internal/target-postgres": "8.0.0-rc.14-dev.13",
28
+ "@repo/tsconfig": "8.0.0-rc.14-dev.13",
29
+ "@repo/tsdown": "8.0.0-rc.14-dev.13",
30
30
  "tsdown": "0.22.14",
31
31
  "typescript": "5.9.3",
32
32
  "vitest": "5.0.0-rc.2"