@prisma/orm-target-postgres 8.0.0-rc.22-dev.12 → 8.0.0-rc.22-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 (60) hide show
  1. package/dist/{adapter-CeOgqN2C.d.mts → adapter-Cqm8mgie.d.mts} +11 -11
  2. package/dist/{adapter-CeOgqN2C.d.mts.map → adapter-Cqm8mgie.d.mts.map} +1 -1
  3. package/dist/adapter.d.mts +3 -3
  4. package/dist/adapter.mjs +2 -2
  5. package/dist/adapter__adapter.d.mts +1 -1
  6. package/dist/adapter__column-types.d.mts +2 -2
  7. package/dist/adapter__column-types.mjs +2 -2
  8. package/dist/{aggregates-0EfVySBb.d.mts → aggregates-C2c48ORM.d.mts} +11 -11
  9. package/dist/{aggregates-0EfVySBb.d.mts.map → aggregates-C2c48ORM.d.mts.map} +1 -1
  10. package/dist/{authoring-BLKmfwFy-DRwqGgGY.mjs → authoring-BPha5ZXb-DDzFeAur.mjs} +336 -141
  11. package/dist/authoring-BPha5ZXb-DDzFeAur.mjs.map +1 -0
  12. package/dist/{column-types-0CjA9Eri.d.mts → column-types-DBCLQW1w.d.mts} +6 -6
  13. package/dist/column-types-DBCLQW1w.d.mts.map +1 -0
  14. package/dist/{column-types-B11Mxo9V.mjs → column-types-DpzI37Cl.mjs} +4 -4
  15. package/dist/column-types-DpzI37Cl.mjs.map +1 -0
  16. package/dist/{control-B9PSgbQT.d.mts → control-B3mLvrSy.d.mts} +460 -164
  17. package/dist/control-B3mLvrSy.d.mts.map +1 -0
  18. package/dist/{descriptor-meta-DDydgB82-Cvv8FtTL.mjs → descriptor-meta-isjjnUyM-B-Cvh2Xe.mjs} +5 -5
  19. package/dist/descriptor-meta-isjjnUyM-B-Cvh2Xe.mjs.map +1 -0
  20. package/dist/{infer-psl-contract-Bn0Qzy4d-D9RlEL5y.mjs → infer-psl-contract-GekjNl5K-C4ELCIth.mjs} +3 -3
  21. package/dist/{infer-psl-contract-Bn0Qzy4d-D9RlEL5y.mjs.map → infer-psl-contract-GekjNl5K-C4ELCIth.mjs.map} +1 -1
  22. package/dist/migration-Be_iuIpn.mjs.map +1 -1
  23. package/dist/{pack-CDKbvMvB.d.mts → pack-DDHu-CxO.d.mts} +373 -92
  24. package/dist/pack-DDHu-CxO.d.mts.map +1 -0
  25. package/dist/{planner-BsSEbzfm-BrBEb_M1.mjs → planner-CKWtXyFH-BzpDX4M9.mjs} +4 -4
  26. package/dist/{planner-BsSEbzfm-BrBEb_M1.mjs.map → planner-CKWtXyFH-BzpDX4M9.mjs.map} +1 -1
  27. package/dist/{planner-produced-postgres-migration-bn60skNP-CKjpb3S_.mjs → planner-produced-postgres-migration-Dv5BSpUH-0NOLwcM4.mjs} +3 -3
  28. package/dist/{planner-produced-postgres-migration-bn60skNP-CKjpb3S_.mjs.map → planner-produced-postgres-migration-Dv5BSpUH-0NOLwcM4.mjs.map} +1 -1
  29. package/dist/{postgres-contract-view-pS-iTnm--BIKbQbBd.mjs → postgres-contract-view-BAuuUjGY-1XcthN9K.mjs} +3 -3
  30. package/dist/{postgres-contract-view-pS-iTnm--BIKbQbBd.mjs.map → postgres-contract-view-BAuuUjGY-1XcthN9K.mjs.map} +1 -1
  31. package/dist/{postgres-migration-CVWCygKt-DEXT0FE_.mjs → postgres-migration-uFrgXH6E-DCGpBoJ_.mjs} +3 -3
  32. package/dist/{postgres-migration-CVWCygKt-DEXT0FE_.mjs.map → postgres-migration-uFrgXH6E-DCGpBoJ_.mjs.map} +1 -1
  33. package/dist/{prisma7-binding-BexVc6RM.mjs → prisma7-binding-D1A_OJe2.mjs} +4 -4
  34. package/dist/prisma7-binding-D1A_OJe2.mjs.map +1 -0
  35. package/dist/{prisma7-binding-B3uUGwg2.d.mts → prisma7-binding-ZpDLZt_D.d.mts} +373 -92
  36. package/dist/prisma7-binding-ZpDLZt_D.d.mts.map +1 -0
  37. package/dist/target.d.mts +5 -5
  38. package/dist/target.mjs +7 -7
  39. package/dist/target__aggregates.d.mts +1 -1
  40. package/dist/target__control.d.mts +2 -2
  41. package/dist/target__control.mjs +17 -10
  42. package/dist/target__control.mjs.map +1 -1
  43. package/dist/target__migration.mjs +1 -1
  44. package/dist/target__pack.d.mts +1 -1
  45. package/dist/target__pack.mjs +1 -1
  46. package/dist/target__planner-produced-postgres-migration.mjs +1 -1
  47. package/dist/target__planner.mjs +1 -1
  48. package/dist/target__prisma7-binding.d.mts +1 -1
  49. package/dist/target__prisma7-binding.mjs +1 -1
  50. package/dist/target__runtime.mjs +1 -1
  51. package/dist/target__runtime.mjs.map +1 -1
  52. package/package.json +10 -10
  53. package/dist/authoring-BLKmfwFy-DRwqGgGY.mjs.map +0 -1
  54. package/dist/column-types-0CjA9Eri.d.mts.map +0 -1
  55. package/dist/column-types-B11Mxo9V.mjs.map +0 -1
  56. package/dist/control-B9PSgbQT.d.mts.map +0 -1
  57. package/dist/descriptor-meta-DDydgB82-Cvv8FtTL.mjs.map +0 -1
  58. package/dist/pack-CDKbvMvB.d.mts.map +0 -1
  59. package/dist/prisma7-binding-B3uUGwg2.d.mts.map +0 -1
  60. package/dist/prisma7-binding-BexVc6RM.mjs.map +0 -1
package/dist/target.d.mts CHANGED
@@ -18,13 +18,13 @@ import "./ddl-B8nQZTWN.mjs";
18
18
  import "./codec-ids-JTQCwgBI.mjs";
19
19
  import { a as FullTextIndexCandidate, c as FullTextSearchLanguage, d as fullTextIndexProblems, f as weightGroupsOf, i as FullTextFieldsInput, n as FULL_TEXT_INDEX_TYPE, o as FullTextIndexDefinition, r as FullTextColumnCodecs, s as FullTextIndexProblem, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, u as describeFullTextIndexProblem } from "./full-text-index-definition-D5iBWLss-BEpqiucV.mjs";
20
20
  import { a as quoteQualifiedName, i as quoteIdentifier, n as inlineLiteral, o as renderFullTextIndexDocument, r as qualifyName, s as validateEnumValueLength, t as escapeLiteral } from "./sql-utils-Bq4nuPvy.mjs";
21
- import { t as postgresAggregateDescriptors } from "./aggregates-0EfVySBb.mjs";
21
+ import { t as postgresAggregateDescriptors } from "./aggregates-C2c48ORM.mjs";
22
22
  import { a as Numeric, c as TimestampString, d as VarBit, f as Varchar, i as JsonValue$1, l as TimestamptzString, n as Char, o as ParameterizedOutputTypesForTypeParams, r as CodecTypes, s as TimeString, t as Bit, u as Timetz } from "./codec-types-xyW4TiJD-CRDK7QcS.mjs";
23
23
  import "./codec-types-FPJG3oQH.mjs";
24
24
  import { A as jsonb, B as textArray, C as createTable, D as indexExistsAst, E as extensionInSchemaAst, F as sequenceNameAvailableAst, H as timestamptzJsDate, I as tableExistsAst, L as tableIsEmptyAst, M as pgTable, N as rlsEnabledAst, O as int4, P as rlsPolicyExistsAst, R as tablePrimaryKeyAst, S as createSchema, T as extensionExistsAst, U as toRegclass, V as timestamptz, _ as columnDefaultSequenceAst, a as IndexExistsCheckBuilder, b as columnTypeAst, c as TableExistsCheckBuilder, d as addConstraintAction, f as alterColumnTypeAction, g as columnDefaultAst, h as buildSignMarkerBootstrapQueries, i as ExtensionExistsCheckBuilder, j as noNullValuesAst, k as int8, l as TablePrimaryKeyCheckBuilder, m as buildControlTableBootstrapQueries, n as ColumnExistsCheckBuilder, o as RlsEnabledCheckBuilder, p as alterTable, r as ConstraintExistsCheckBuilder, s as RlsPolicyExistsCheckBuilder, t as ColumnDefaultCheckBuilder, u as addColumnAction, v as columnExistsAst, w as dropDefaultAction, x as constraintExistsAst, y as columnNullabilityAst, z as text } from "./contract-free-DcaYH2c5.mjs";
25
25
  import { t as PostgresPlanTargetDetails } from "./planner-target-details-HkP4RrRO-D6VtK0jY.mjs";
26
26
  import { n as postgresNowGenerators, t as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-C7om6MxZ-B9S-CnE_.mjs";
27
- import { n as postgresScalarAndNativeTypeConstructors, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-B9PSgbQT.mjs";
27
+ import { n as postgresScalarTypes, t as postgresExplicitTypes } from "./control-B3mLvrSy.mjs";
28
28
  import { i as dataTransform, r as DataTransformOptions, t as DataTransformClosure } from "./data-transform-nGy9rz87-CE3DGlgn.mjs";
29
29
  import "./data-transform-nqkqNIb8.mjs";
30
30
  import { A as pgText, B as pgTsquery, C as pgJsonbEnumRefusal, D as pgNumericParams, E as pgNumeric, F as pgTimestampStoredText, G as postgresDataTypeEntries, H as pgVarbit, I as pgTimestamptz, J as qualifiedEnumName, K as postgresDataTypes, L as pgTimestamptzStoredText, M as pgTime, N as pgTimeStoredText, O as pgOid, P as pgTimestamp, R as pgTimetz, S as pgJsonb, T as pgMoneyStoredText, U as pgVarchar, V as pgUuid, W as pgXml, _ as pgInt2, a as pgBitLengthParams, b as pgInterval, c as pgChar, d as pgDateStoredText, f as pgEnum, g as pgInet, h as pgFloat8, i as pgBit, j as pgTextArray, k as pgPrecisionParams, l as pgCharacterLengthParams, m as pgFloat4, n as isPgOid, o as pgBool, p as pgEnumParams, q as postgresTextDataTypes, r as moneyTextOfCents, s as pgBytea, t as createPostgresBuiltinDataTypeLookup, u as pgDate, v as pgInt4, w as pgMoney, x as pgJson, y as pgInt8, z as pgTimetzStoredText } from "./data-types-Ct7TIZq3.mjs";
@@ -45,7 +45,7 @@ import { a as fn, c as placeholder, d as sql, f as unique, i as createExtension,
45
45
  import { n as IntrospectedTypeText, r as introspectedTypeText, t as CatalogColumnType } from "./native-type-normalizer-BaGa9eeb.mjs";
46
46
  import "./op-factory-call-DO-2Ul_8.mjs";
47
47
  import "./operation-types-DExfW5kG.mjs";
48
- import "./pack-CDKbvMvB.mjs";
48
+ import "./pack-DDHu-CxO.mjs";
49
49
  import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-DgUtdqVh-DEhVIDmO.mjs";
50
50
  import { n as createPostgresMigrationPlanner, t as contractToPostgresDatabaseSchemaNode } from "./planner-Cw5KV0_B.mjs";
51
51
  import { t as buildColumnTypeSql } from "./planner-ddl-builders-CPM3y7cQ.mjs";
@@ -53,9 +53,9 @@ import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./pla
53
53
  import "./planner-produced-postgres-migration-CoX6OBqo.mjs";
54
54
  import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-ceCNOGFf.mjs";
55
55
  import "./planner-sql-checks-rEjFx_Jv.mjs";
56
- import { t as prisma7PostgresBinding } from "./prisma7-binding-B3uUGwg2.mjs";
56
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-ZpDLZt_D.mjs";
57
57
  import { t as renderOps } from "./render-ops-Bl84i7ut.mjs";
58
58
  import { t as renderCallsToTypeScript } from "./render-typescript-BysdXYpH.mjs";
59
59
  import { n as PostgresListDecoder, r as PostgresRuntimeTargetInstance, t as PostgresContractSerializer } from "./runtime-COkNK8R6.mjs";
60
60
  import { t as resolveDdlSchemaForNamespaceStorage } from "./schema-ir-annotations-BygaWBiC.mjs";
61
- export { type AdaptedPostgresCodecDescriptor, AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, type AlterTableActionVisitor, type AnyAlterTableAction, type AnyPostgresCodecDescriptor, type AnyPostgresDdlNode, Bit, type CatalogColumnType, Char, CodecTypes, type ColumnDefaultCheckBuilder, type ColumnExistsCheckBuilder, type ColumnTypeCheck, type ConstraintExistsCheckBuilder, type ContentHashParts, CreateExtensionCall, CreateIndexCall, type CreateIndexElements, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, type DataTransformClosure, type DataTransformOptions, type DdlIndexElements, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, type ExtensionExistsCheckBuilder, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, type FullTextColumnCodecs, FullTextDocument, type FullTextDocumentColumn, type FullTextDocumentGroups, type FullTextFieldsInput, type FullTextHeadlineOptions, type FullTextIndexCandidate, type FullTextIndexDefinition, type FullTextIndexProblem, type FullTextIndexReference, type FullTextMatchesOptions, type FullTextRankOptions, type FullTextSearchLanguage, type IndexExistsCheckBuilder, type IntrospectedTypeText, type JsonValue$1 as JsonValue, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, Numeric, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_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_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_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, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, ParameterizedOutputTypesForTypeParams, 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, PgIntervalStringCodec, PgIntervalStringDescriptor, type PgJsonDescriptor, type PgJsonbDescriptor, type PgMoneyDescriptor, type PgNumericDescriptor, type PgOidDescriptor, type PgTextDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, type PgTimetzDescriptor, type PgUnboundedIntDescriptor, type PgUuidDescriptor, type PgVarbitDescriptor, type PgVarcharDescriptor, type PgXmlDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, type PostgresCodecDescriptorRegistry, type PostgresCodecOptions, type PostgresCodecRegistry, type PostgresColumnDefault, type PostgresContract, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, type PostgresDatabaseSchemaNodeInput, PostgresDdlNode, type PostgresDdlVisitor, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, type PostgresExtensionInput, PostgresExtensionSchemaNode, type PostgresExtensionSchemaNodeInput, type PostgresFullTextMethods, PostgresListDecoder, PostgresNamespaceSchemaNode, type PostgresNamespaceSchemaNodeInput, PostgresNativeEnum, type PostgresNativeEnumInput, PostgresNativeEnumSchemaNode, type PostgresNativeEnumSchemaNodeInput, type PostgresPlanTargetDetails, PostgresPolicySchemaNode, type PostgresPolicySchemaNodeInput, type PostgresReportedDefault, PostgresRlsEnablement, type PostgresRlsEnablementInput, PostgresRlsPolicy, type PostgresRlsPolicyInput, PostgresRole, type PostgresRoleInput, PostgresRoleSchemaNode, type PostgresRoleSchemaNodeInput, PostgresRuntimeTargetInstance, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, type PostgresTableSchemaNodeInput, PostgresTableSource, type PostgresTsqueryArgument, PostgresUnboundSchema, type QueryOperationTypes, type QueryOperationTypesForCodecs, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, type RenderedRlsPolicyLiteral, ReplaceStoredValueCall, type RlsEnabledCheckBuilder, type RlsPolicyExistsCheckBuilder, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SerializedRlsPolicy, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, type TableExistsCheckBuilder, type TablePrimaryKeyCheckBuilder, type TextArgument, TimeString, TimestampString, TimestamptzString, Timetz, type TsqueryArgument, type TsqueryExpression, type TsqueryParser, type TsqueryParserOptions, type TsqueryTag, TypeScriptRenderablePostgresMigration, VarBit, Varchar, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresNativeAuthoringTypes, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarAndNativeTypeConstructors, postgresScalarAuthoringTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
61
+ export { type AdaptedPostgresCodecDescriptor, AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, type AlterTableActionVisitor, type AnyAlterTableAction, type AnyPostgresCodecDescriptor, type AnyPostgresDdlNode, Bit, type CatalogColumnType, Char, CodecTypes, type ColumnDefaultCheckBuilder, type ColumnExistsCheckBuilder, type ColumnTypeCheck, type ConstraintExistsCheckBuilder, type ContentHashParts, CreateExtensionCall, CreateIndexCall, type CreateIndexElements, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, type DataTransformClosure, type DataTransformOptions, type DdlIndexElements, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, type ExtensionExistsCheckBuilder, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, type FullTextColumnCodecs, FullTextDocument, type FullTextDocumentColumn, type FullTextDocumentGroups, type FullTextFieldsInput, type FullTextHeadlineOptions, type FullTextIndexCandidate, type FullTextIndexDefinition, type FullTextIndexProblem, type FullTextIndexReference, type FullTextMatchesOptions, type FullTextRankOptions, type FullTextSearchLanguage, type IndexExistsCheckBuilder, type IntrospectedTypeText, type JsonValue$1 as JsonValue, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, Numeric, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_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_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_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, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, ParameterizedOutputTypesForTypeParams, 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, PgIntervalStringCodec, PgIntervalStringDescriptor, type PgJsonDescriptor, type PgJsonbDescriptor, type PgMoneyDescriptor, type PgNumericDescriptor, type PgOidDescriptor, type PgTextDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, type PgTimetzDescriptor, type PgUnboundedIntDescriptor, type PgUuidDescriptor, type PgVarbitDescriptor, type PgVarcharDescriptor, type PgXmlDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, type PostgresCodecDescriptorRegistry, type PostgresCodecOptions, type PostgresCodecRegistry, type PostgresColumnDefault, type PostgresContract, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, type PostgresDatabaseSchemaNodeInput, PostgresDdlNode, type PostgresDdlVisitor, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, type PostgresExtensionInput, PostgresExtensionSchemaNode, type PostgresExtensionSchemaNodeInput, type PostgresFullTextMethods, PostgresListDecoder, PostgresNamespaceSchemaNode, type PostgresNamespaceSchemaNodeInput, PostgresNativeEnum, type PostgresNativeEnumInput, PostgresNativeEnumSchemaNode, type PostgresNativeEnumSchemaNodeInput, type PostgresPlanTargetDetails, PostgresPolicySchemaNode, type PostgresPolicySchemaNodeInput, type PostgresReportedDefault, PostgresRlsEnablement, type PostgresRlsEnablementInput, PostgresRlsPolicy, type PostgresRlsPolicyInput, PostgresRole, type PostgresRoleInput, PostgresRoleSchemaNode, type PostgresRoleSchemaNodeInput, PostgresRuntimeTargetInstance, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, type PostgresTableSchemaNodeInput, PostgresTableSource, type PostgresTsqueryArgument, PostgresUnboundSchema, type QueryOperationTypes, type QueryOperationTypesForCodecs, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, type RenderedRlsPolicyLiteral, ReplaceStoredValueCall, type RlsEnabledCheckBuilder, type RlsPolicyExistsCheckBuilder, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SerializedRlsPolicy, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, type TableExistsCheckBuilder, type TablePrimaryKeyCheckBuilder, type TextArgument, TimeString, TimestampString, TimestamptzString, Timetz, type TsqueryArgument, type TsqueryExpression, type TsqueryParser, type TsqueryParserOptions, type TsqueryTag, TypeScriptRenderablePostgresMigration, VarBit, Varchar, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresExplicitTypes, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
package/dist/target.mjs CHANGED
@@ -15,7 +15,7 @@ import { A as extensionInSchemaAst, F as noNullValuesAst, G as tableIsEmptyAst,
15
15
  import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-DmNEp1_Y.mjs";
16
16
  import { i as policyRoleList, n as POLICY_OPERATION_PREDICATES, r as computeContentHash, t as POLICY_COMMAND_SQL } from "./canonicalize-RdxoUHao-FTTkizfe.mjs";
17
17
  import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-DeZiroEE-BACV_wuh.mjs";
18
- import { c as postgresScalarAndNativeTypeConstructors, l as postgresScalarAuthoringTypes, s as postgresNativeAuthoringTypes } from "./authoring-BLKmfwFy-DRwqGgGY.mjs";
18
+ import { c as postgresScalarTypes, o as postgresExplicitTypes } from "./authoring-BPha5ZXb-DDzFeAur.mjs";
19
19
  import { t as postgresRenderCheckExpressions } from "./check-expressions-DL9WtMO5-CUcbN2JG.mjs";
20
20
  import { a as postgresNowGenerators, i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-BMMGy0vy-BEbt_79F.mjs";
21
21
  import { t as postgresDataTypeEntries } from "./data-type-entries-dmLDRSOf-BJADXpXD.mjs";
@@ -30,18 +30,18 @@ import { t as buildColumnTypeSql } from "./planner-ddl-builders-B1gra_GO-gl5gnaq
30
30
  import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-CAnifzzT-D1ncWy3d.mjs";
31
31
  import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-K52VpMX0-CateWffI.mjs";
32
32
  import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-D_vOsC7_-CtLt0OwZ.mjs";
33
- import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-pS-iTnm--BIKbQbBd.mjs";
33
+ import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-BAuuUjGY-1XcthN9K.mjs";
34
34
  import { t as dataTransform } from "./data-transform-h9agBu_c-RlC5A7aY.mjs";
35
- import { t as PostgresMigration } from "./postgres-migration-CVWCygKt-DEXT0FE_.mjs";
35
+ import { t as PostgresMigration } from "./postgres-migration-uFrgXH6E-DCGpBoJ_.mjs";
36
36
  import { t as renderOps } from "./render-ops-BKDfKgOJ-DmoHztdY.mjs";
37
37
  import { t as renderCallsToTypeScript } from "./render-typescript-Dqp1Spgn-B4mJhuVr.mjs";
38
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-bn60skNP-CKjpb3S_.mjs";
39
- import { t as createPostgresMigrationPlanner } from "./planner-BsSEbzfm-BrBEb_M1.mjs";
38
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-Dv5BSpUH-0NOLwcM4.mjs";
39
+ import { t as createPostgresMigrationPlanner } from "./planner-CKWtXyFH-BzpDX4M9.mjs";
40
40
  import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-BkBKBRE3.mjs";
41
41
  import { c as toTsquery, l as websearchToTsquery, n as fullTextDocument, o as phrasetoTsquery, s as plaintoTsquery, t as FullTextDocument } from "./full-text-parsers-DIfNR9AQ-tVmTju-Y.mjs";
42
42
  import { t as tsquery } from "./full-text-B9mXDcsJ.mjs";
43
43
  import { a as foreignKey, c as primaryKey, d as unique, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as sql } from "./migration-Be_iuIpn.mjs";
44
44
  import { t as introspectedTypeText } from "./native-type-normalizer-DEN9YgA5.mjs";
45
45
  import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-BbUY9oVy.mjs";
46
- import { t as prisma7PostgresBinding } from "./prisma7-binding-BexVc6RM.mjs";
47
- export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, FullTextDocument, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_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_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_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, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, PgIntervalStringCodec, PgIntervalStringDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, PostgresExtensionSchemaNode, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, ReplaceStoredValueCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, TypeScriptRenderablePostgresMigration, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresNativeAuthoringTypes, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarAndNativeTypeConstructors, postgresScalarAuthoringTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
46
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-D1A_OJe2.mjs";
47
+ export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, FullTextDocument, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_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_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_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, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, PgIntervalStringCodec, PgIntervalStringDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, PostgresExtensionSchemaNode, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, ReplaceStoredValueCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, TypeScriptRenderablePostgresMigration, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresExplicitTypes, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
@@ -1,2 +1,2 @@
1
- import { t as postgresAggregateDescriptors } from "./aggregates-0EfVySBb.mjs";
1
+ import { t as postgresAggregateDescriptors } from "./aggregates-C2c48ORM.mjs";
2
2
  export { postgresAggregateDescriptors };
@@ -1,4 +1,4 @@
1
1
  import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-BcrLExnx-DlCwavhu.mjs";
2
2
  import { t as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-C7om6MxZ-B9S-CnE_.mjs";
3
- import { i as postgresTargetDescriptor, n as postgresScalarAndNativeTypeConstructors, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-B9PSgbQT.mjs";
4
- export { decodePostgresListText, postgresTargetDescriptor as default, parsePostgresListText, postgresNativeAuthoringTypes, postgresNowGeneratorControlDescriptors, postgresScalarAndNativeTypeConstructors, postgresScalarAuthoringTypes };
3
+ import { n as postgresScalarTypes, r as postgresTargetDescriptor, t as postgresExplicitTypes } from "./control-B3mLvrSy.mjs";
4
+ export { decodePostgresListText, postgresTargetDescriptor as default, parsePostgresListText, postgresExplicitTypes, postgresNowGeneratorControlDescriptors, postgresScalarTypes };
@@ -7,20 +7,20 @@ import { c as decodePostgresListText, u as parsePostgresListText } from "./codec
7
7
  import { s as fullTextIndexDefinitionOf } from "./full-text-index-definition-MfjtL-x7-ImaTAFMs.mjs";
8
8
  import { c as PostgresRole, i as PostgresRlsEnablement, o as PostgresRlsPolicy, t as PostgresExtension } from "./postgres-schema-BBWgs4fX-DWdYxNi8.mjs";
9
9
  import { r as computeContentHash } from "./canonicalize-RdxoUHao-FTTkizfe.mjs";
10
- import { c as postgresScalarAndNativeTypeConstructors, l as postgresScalarAuthoringTypes, s as postgresNativeAuthoringTypes, t as POLICY_BLOCK_KEYWORDS } from "./authoring-BLKmfwFy-DRwqGgGY.mjs";
10
+ import { c as postgresScalarTypes, o as postgresExplicitTypes, t as POLICY_BLOCK_KEYWORDS } from "./authoring-BPha5ZXb-DDzFeAur.mjs";
11
11
  import { t as postgresRenderCheckExpressions } from "./check-expressions-DL9WtMO5-CUcbN2JG.mjs";
12
12
  import { i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-BMMGy0vy-BEbt_79F.mjs";
13
- import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-DDydgB82-Cvv8FtTL.mjs";
13
+ import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-isjjnUyM-B-Cvh2Xe.mjs";
14
14
  import { a as postgresDiffSubjectEntityKind, o as postgresDiffSubjectGranularity } from "./postgres-table-schema-node-nY6II-Uv-Bj-lgmSi.mjs";
15
15
  import { t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-DuljIQWp-D6Q5JyEs.mjs";
16
16
  import { i as qualifyTableName } from "./planner-sql-checks-RKQqd_b5-CesTHuGH.mjs";
17
17
  import { Q as holdingStoredValue, U as SCHEMA_OBJECTS_SQL, Z as dropCheckConstraintId, at as schemaObjectsSummary, it as schemaContentsOf, rt as schemaBlockingObjects } from "./op-factory-call-DQW9c0ec-C3qv_STE.mjs";
18
18
  import { r as diffPostgresSchema } from "./diff-database-schema-D_vOsC7_-CtLt0OwZ.mjs";
19
- import { t as PostgresContractSerializer } from "./postgres-contract-view-pS-iTnm--BIKbQbBd.mjs";
20
- import { o as postgresContractToSchema } from "./postgres-migration-CVWCygKt-DEXT0FE_.mjs";
21
- import { n as postgresMarkedRemoval, r as postgresStoredValueCallClasses, t as createPostgresMigrationPlanner } from "./planner-BsSEbzfm-BrBEb_M1.mjs";
19
+ import { t as PostgresContractSerializer } from "./postgres-contract-view-BAuuUjGY-1XcthN9K.mjs";
20
+ import { o as postgresContractToSchema } from "./postgres-migration-uFrgXH6E-DCGpBoJ_.mjs";
21
+ import { n as postgresMarkedRemoval, r as postgresStoredValueCallClasses, t as createPostgresMigrationPlanner } from "./planner-CKWtXyFH-BzpDX4M9.mjs";
22
22
  import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-BkBKBRE3.mjs";
23
- import { _ as positionalArg, a as buildFullTextIndexAttribute, c as buildModelConstraintAttribute, f as inferPostgresPslContract, g as parseDefaultAttributeString, i as buildExtensionBlock, l as buildNativeEnumBlock, n as buildAttribute, o as buildIndexAttribute, p as namedArg, r as buildCheckAttribute, s as buildMapAttribute, t as SYNTHETIC_SPAN, v as typeArgument } from "./infer-psl-contract-Bn0Qzy4d-D9RlEL5y.mjs";
23
+ import { _ as positionalArg, a as buildFullTextIndexAttribute, c as buildModelConstraintAttribute, f as inferPostgresPslContract, g as parseDefaultAttributeString, i as buildExtensionBlock, l as buildNativeEnumBlock, n as buildAttribute, o as buildIndexAttribute, p as namedArg, r as buildCheckAttribute, s as buildMapAttribute, t as SYNTHETIC_SPAN, v as typeArgument } from "./infer-psl-contract-GekjNl5K-C4ELCIth.mjs";
24
24
  import { dataTypeParams, requiredParamKeys, validateCodecTypeParams } from "@prisma/orm-framework/components/codec";
25
25
  import { blindCast } from "@prisma/orm-framework/utils/casts";
26
26
  import { InternalError } from "@prisma/orm-framework/utils/internal-error";
@@ -32,7 +32,7 @@ import { setFallbackTemporal } from "@prisma/orm-framework/type-implementations/
32
32
  import { APP_SPACE_ID, failedPostcheckWhy, failedPrecheckWhy, schemaCheckWhy, withDatabaseUnchanged, withFailingSpace } from "@prisma/orm-framework/components/control";
33
33
  import { assertDefined, invariant } from "@prisma/orm-framework/utils/assertions";
34
34
  import { CHECK_KINDS, composeCheckWirePrefix, computeCheckContentHash, computeIndexContentHash, formatWireName, parseNaming, parseWireName } from "@prisma/orm-family-sql/schema-ir/naming";
35
- import { authoringTypeConstructorArguments, findAuthoringTypeConstructorCall, getAuthoringTypeConstructor, writeTypedLiteral, writtenTypeArguments } from "@prisma/orm-framework/components/authoring";
35
+ import { authoringTypeConstructorArguments, findAuthoringTypeConstructorCall, getAuthoringTypeConstructor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, writeTypedLiteral, writtenTypeArguments } from "@prisma/orm-framework/components/authoring";
36
36
  import { NAME_THE_PSL_SOURCE_LOSES, isPslIdentifier } from "@prisma/orm-framework/psl-parser";
37
37
  import { printSqlExpressionLiteral, sqlTextsReadBack } from "@prisma/orm-family-sql/contract/sql-expression";
38
38
  import { generatorCallsFor, inferredTypeConstructors, mapDefault, writtenTypeChoiceCall } from "@prisma/orm-family-sql/family/psl-build";
@@ -1451,11 +1451,18 @@ function inferredConstructorCall(column, inferredConstructors) {
1451
1451
  args
1452
1452
  };
1453
1453
  }
1454
+ /** `namespace` without its deprecated type constructors, which print never writes (ADR 257). */
1455
+ function withoutDeprecatedConstructors(namespace) {
1456
+ const kept = {};
1457
+ for (const [name, member] of Object.entries(namespace)) if (!isAuthoringTypeDescriptor(member)) kept[name] = withoutDeprecatedConstructors(member);
1458
+ else if (!isAuthoringTypeConstructorDescriptor(member) || member.deprecated === void 0) kept[name] = member;
1459
+ return kept;
1460
+ }
1454
1461
  /**
1455
1462
  * The PSL type position for a storage column: a call to a type constructor the configured stack
1456
1463
  * contributes that produces exactly the column's codec, native type and type parameters. The
1457
1464
  * constructor `contract infer` writes for the column's data type comes first; otherwise
1458
- * the first one in the stack that produces them, such as `TimestamptzTemporal` or
1465
+ * the first one in the stack that produces them and is not deprecated, such as `TimestamptzTemporal` or
1459
1466
  * `pgvector.Vector(3)`. Where a type choice call becomes that call exactly, the type choice is
1460
1467
  * written instead, by name with only the arguments that differ from its defaults: `DateTime` for
1461
1468
  * `TimestamptzJsDate(3)`, `DateTime(as: temporal)` for `TimestamptzTemporal` (ADR 279). An enum-typed column takes the
@@ -1481,7 +1488,7 @@ function buildColumnType(input) {
1481
1488
  kind: "enum",
1482
1489
  typeName: domainEnumName
1483
1490
  };
1484
- const call = inferredConstructorCall(column, inferredConstructors) ?? findAuthoringTypeConstructorCall(authoringTypes, column);
1491
+ const call = inferredConstructorCall(column, inferredConstructors) ?? findAuthoringTypeConstructorCall(withoutDeprecatedConstructors(authoringTypes), column);
1485
1492
  if (call !== void 0) {
1486
1493
  const convenience = writtenTypeChoiceCall({
1487
1494
  authoringTypes,
@@ -2703,6 +2710,6 @@ function createPostgresTargetDescriptor() {
2703
2710
  }
2704
2711
  const postgresTargetDescriptor = createPostgresTargetDescriptor();
2705
2712
  //#endregion
2706
- export { decodePostgresListText, postgresTargetDescriptor as default, parsePostgresListText, postgresNativeAuthoringTypes, postgresNowGeneratorControlDescriptors, postgresScalarAndNativeTypeConstructors, postgresScalarAuthoringTypes };
2713
+ export { decodePostgresListText, postgresTargetDescriptor as default, parsePostgresListText, postgresExplicitTypes, postgresNowGeneratorControlDescriptors, postgresScalarTypes };
2707
2714
 
2708
2715
  //# sourceMappingURL=target__control.mjs.map