@prisma/orm-target-postgres 8.0.0-rc.14-dev.25 → 8.0.0-rc.14-dev.27
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.
- package/dist/{adapter-CBoNuaSX-quJ3bVh-.mjs → adapter-feboP3zp-Bahi4qVo.mjs} +5 -5
- package/dist/{adapter-CBoNuaSX-quJ3bVh-.mjs.map → adapter-feboP3zp-Bahi4qVo.mjs.map} +1 -1
- package/dist/adapter.mjs +5 -5
- package/dist/adapter__adapter.mjs +1 -1
- package/dist/adapter__control.mjs +7 -7
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.mjs +4 -4
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/{authoring-O50fpw7L-B-DF5llk.mjs → authoring-BX7WXyUK-BVUoTS2O.mjs} +4 -4
- package/dist/{authoring-O50fpw7L-B-DF5llk.mjs.map → authoring-BX7WXyUK-BVUoTS2O.mjs.map} +1 -1
- package/dist/{codec-helpers-D83-1eDB-nqAEMr7N.mjs → codec-helpers-PLBCguwU-BD8nGqjd.mjs} +22 -3
- package/dist/{codec-helpers-D83-1eDB-nqAEMr7N.mjs.map → codec-helpers-PLBCguwU-BD8nGqjd.mjs.map} +1 -1
- package/dist/{codecs-DA0Y-X08-Ce0Ki78z.mjs → codecs-0cuTthSz-DK4dxeEE.mjs} +4 -4
- package/dist/{codecs-DA0Y-X08-Ce0Ki78z.mjs.map → codecs-0cuTthSz-DK4dxeEE.mjs.map} +1 -1
- package/dist/{codecs-BxXF-J7c.mjs → codecs-4MwR9yYB.mjs} +2 -2
- package/dist/{codecs-BxXF-J7c.mjs.map → codecs-4MwR9yYB.mjs.map} +1 -1
- package/dist/{control-BgOe_57Y.mjs → control-Dd31Nva0.mjs} +9 -9
- package/dist/{control-BgOe_57Y.mjs.map → control-Dd31Nva0.mjs.map} +1 -1
- package/dist/{control-adapter-Rzj1Wx4j-DLQgvRds.mjs → control-adapter-DzRjCCuc-CNJcK8FQ.mjs} +18 -15
- package/dist/{control-adapter-Rzj1Wx4j-DLQgvRds.mjs.map → control-adapter-DzRjCCuc-CNJcK8FQ.mjs.map} +1 -1
- package/dist/{control-policy-B47es-r6-Dpf_OJpK.mjs → control-policy-DHnC_3uu-8eaY0QaE.mjs} +4 -4
- package/dist/{control-policy-B47es-r6-Dpf_OJpK.mjs.map → control-policy-DHnC_3uu-8eaY0QaE.mjs.map} +1 -1
- package/dist/{data-type-entries-BDSHvsdE-Bbe1cdbR.mjs → data-type-entries-ofT74QIj-3aJ3Llba.mjs} +3 -3
- package/dist/{data-type-entries-BDSHvsdE-Bbe1cdbR.mjs.map → data-type-entries-ofT74QIj-3aJ3Llba.mjs.map} +1 -1
- package/dist/{data-types-BqeC7aZP-CwvA08pH.mjs → data-types-B-8yirZ0-Ba7BPHAy.mjs} +12 -12
- package/dist/data-types-B-8yirZ0-Ba7BPHAy.mjs.map +1 -0
- package/dist/{data-types-j4lOn5fc.d.mts → data-types-DZGKP-qZ.d.mts} +2 -2
- package/dist/data-types-DZGKP-qZ.d.mts.map +1 -0
- package/dist/{default-normalizer-Cb7nWBUa-DXchlOUk.mjs → default-normalizer-8E6ew8Nq-CMgRnBkj.mjs} +42 -8
- package/dist/default-normalizer-8E6ew8Nq-CMgRnBkj.mjs.map +1 -0
- package/dist/{descriptor-meta-BEigA5Gj-LvwrztDp.mjs → descriptor-meta-BEigA5Gj-DCtx_hNw.mjs} +5 -5
- package/dist/{descriptor-meta-BEigA5Gj-LvwrztDp.mjs.map → descriptor-meta-BEigA5Gj-DCtx_hNw.mjs.map} +1 -1
- package/dist/{descriptor-meta-Vgha3igI-C-ZKOBix.mjs → descriptor-meta-CNocPizV-CM3vRsBg.mjs} +4 -4
- package/dist/{descriptor-meta-Vgha3igI-C-ZKOBix.mjs.map → descriptor-meta-CNocPizV-CM3vRsBg.mjs.map} +1 -1
- package/dist/{diff-database-schema-Z2-9u-V4-C1vviCUx.mjs → diff-database-schema-Cybx3XZj-X5XgQc3e.mjs} +4 -4
- package/dist/{diff-database-schema-Z2-9u-V4-C1vviCUx.mjs.map → diff-database-schema-Cybx3XZj-X5XgQc3e.mjs.map} +1 -1
- package/dist/{full-text-index-expression-bhfaa-a6-BiSUCZnP.mjs → full-text-index-expression-BZRAwQ6G-Bus1rjpq.mjs} +3 -3
- package/dist/{full-text-index-expression-bhfaa-a6-BiSUCZnP.mjs.map → full-text-index-expression-BZRAwQ6G-Bus1rjpq.mjs.map} +1 -1
- package/dist/{infer-psl-contract-BYWmjVPQ-dxSvMIst.mjs → infer-psl-contract-of3HBkov-DJeZHv6R.mjs} +6 -6
- package/dist/{infer-psl-contract-BYWmjVPQ-dxSvMIst.mjs.map → infer-psl-contract-of3HBkov-DJeZHv6R.mjs.map} +1 -1
- package/dist/migration-PTHAY9Cv.mjs.map +1 -1
- package/dist/{op-factory-call-DtqbqGi7-64qu5pYr.mjs → op-factory-call-DMsjg_Mk-CNSo4lcs.mjs} +3 -3
- package/dist/{op-factory-call-DtqbqGi7-64qu5pYr.mjs.map → op-factory-call-DMsjg_Mk-CNSo4lcs.mjs.map} +1 -1
- package/dist/{planner-D7amT567-KWBCZBsy.mjs → planner-DKY41UXw-CcoVgq5N.mjs} +7 -7
- package/dist/{planner-D7amT567-KWBCZBsy.mjs.map → planner-DKY41UXw-CcoVgq5N.mjs.map} +1 -1
- package/dist/{planner-ddl-builders-rgLYDy_e-xQ-emKSW.mjs → planner-ddl-builders-BOvOAj1q-C4IJoysh.mjs} +4 -4
- package/dist/{planner-ddl-builders-rgLYDy_e-xQ-emKSW.mjs.map → planner-ddl-builders-BOvOAj1q-C4IJoysh.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-DuOGKyn7-aRCcgmMT.mjs → planner-produced-postgres-migration-CajcTGOW-DV0ivYWc.mjs} +3 -3
- package/dist/{planner-produced-postgres-migration-DuOGKyn7-aRCcgmMT.mjs.map → planner-produced-postgres-migration-CajcTGOW-DV0ivYWc.mjs.map} +1 -1
- package/dist/{postgres-contract-view-Dbc4-jvU-CboTI7kl.mjs → postgres-contract-view-BqMwLieI-1pQRelL5.mjs} +3 -3
- package/dist/{postgres-contract-view-Dbc4-jvU-CboTI7kl.mjs.map → postgres-contract-view-BqMwLieI-1pQRelL5.mjs.map} +1 -1
- package/dist/{postgres-migration-lXOxhYAy-DcSR0G2Z.mjs → postgres-migration-CMcrvJni-D7c38x5U.mjs} +8 -8
- package/dist/{postgres-migration-lXOxhYAy-DcSR0G2Z.mjs.map → postgres-migration-CMcrvJni-D7c38x5U.mjs.map} +1 -1
- package/dist/{prisma7-binding-dmAxLA0N.d.mts → prisma7-binding-C0GpQxEQ.d.mts} +5 -4
- package/dist/prisma7-binding-C0GpQxEQ.d.mts.map +1 -0
- package/dist/{prisma7-binding-DnPXVYdR.mjs → prisma7-binding-JTOc8zQB.mjs} +9 -8
- package/dist/{prisma7-binding-DnPXVYdR.mjs.map → prisma7-binding-JTOc8zQB.mjs.map} +1 -1
- package/dist/{sql-renderer-CgUgFbU4-oVM4Bnep.mjs → sql-renderer-CgUgFbU4-cg7P_Tlg.mjs} +2 -2
- package/dist/{sql-renderer-CgUgFbU4-oVM4Bnep.mjs.map → sql-renderer-CgUgFbU4-cg7P_Tlg.mjs.map} +1 -1
- package/dist/target.d.mts +2 -2
- package/dist/target.mjs +17 -17
- package/dist/target__codecs.mjs +2 -2
- package/dist/target__control.mjs +3 -3
- package/dist/target__data-types.d.mts +1 -1
- package/dist/target__data-types.mjs +2 -2
- package/dist/target__default-normalizer.mjs +1 -1
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.mjs +2 -2
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner.mjs +2 -2
- package/dist/target__prisma7-binding.d.mts +1 -1
- package/dist/target__prisma7-binding.mjs +1 -1
- package/dist/target__runtime.mjs +2 -2
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__sql-utils.mjs +1 -1
- package/package.json +9 -9
- package/dist/data-types-BqeC7aZP-CwvA08pH.mjs.map +0 -1
- package/dist/data-types-j4lOn5fc.d.mts.map +0 -1
- package/dist/default-normalizer-Cb7nWBUa-DXchlOUk.mjs.map +0 -1
- package/dist/prisma7-binding-dmAxLA0N.d.mts.map +0 -1
package/dist/target.d.mts
CHANGED
|
@@ -29,7 +29,7 @@ import { a as plainDateTimeNow, i as instantNowControlDescriptor, n as PLAIN_DAT
|
|
|
29
29
|
import { n as postgresRenderDefault, r as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-D7_yfEfH.mjs";
|
|
30
30
|
import { n as DataTransformOptions, r as dataTransform, t as DataTransformClosure } from "./data-transform-Ck5FbyNO-BNE7QlAo.mjs";
|
|
31
31
|
import "./data-transform-BSM7TQpE.mjs";
|
|
32
|
-
import { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypeEntries, N as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-
|
|
32
|
+
import { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypeEntries, N as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-DZGKP-qZ.mjs";
|
|
33
33
|
import { t as buildPostgresPlanDiff } from "./diff-database-schema-D-eMVqv1.mjs";
|
|
34
34
|
import { n as postgresError, t as errorPostgresMigrationStackMissing } from "./errors-1AjGQf6h.mjs";
|
|
35
35
|
import { a as plaintoTsquery, i as phrasetoTsquery, n as TsqueryExpression, o as toTsquery, r as TsqueryParserOptions, s as websearchToTsquery, t as TextArgument } from "./full-text-parsers-Cg9SDrnx-DA1eBg1b.mjs";
|
|
@@ -49,7 +49,7 @@ import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./pla
|
|
|
49
49
|
import "./planner-produced-postgres-migration-BMfo2BlI.mjs";
|
|
50
50
|
import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-C4DHAddq.mjs";
|
|
51
51
|
import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-CFgbRTJw.mjs";
|
|
52
|
-
import { t as prisma7PostgresBinding } from "./prisma7-binding-
|
|
52
|
+
import { t as prisma7PostgresBinding } from "./prisma7-binding-C0GpQxEQ.mjs";
|
|
53
53
|
import { t as renderOps } from "./render-ops-DPwhZt2W.mjs";
|
|
54
54
|
import { t as renderCallsToTypeScript } from "./render-typescript-6sCFvMBh.mjs";
|
|
55
55
|
import { n as PostgresListDecoder, r as PostgresRuntimeTargetInstance, t as PostgresContractSerializer } from "./runtime-DAJXp26i.mjs";
|
package/dist/target.mjs
CHANGED
|
@@ -2,44 +2,44 @@ import { A as PG_TIME_TEMPORAL_CODEC_ID, B as SQL_VARCHAR_CODEC_ID, C as PG_TIME
|
|
|
2
2
|
import { t as postgresAggregateDescriptors } from "./aggregates-B6ZQFHFE.mjs";
|
|
3
3
|
import { a as postgresCodec, i as isPostgresCodecDescriptor, n as buildPostgresCodecDescriptorRegistry, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-B61d-k4C-BdWVU6Fu.mjs";
|
|
4
4
|
import { s as postgresError, t as errorPostgresMigrationStackMissing } from "./errors-DYyzTYzE-39CV_aMo.mjs";
|
|
5
|
-
import { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-
|
|
5
|
+
import { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-B-8yirZ0-Ba7BPHAy.mjs";
|
|
6
6
|
import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
|
|
7
|
-
import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, i as PgTimestamptzDateDescriptor, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as NUMERIC_SCALE_RANGE, o as isPgEnumParams, p as pgFloatColumn, r as PgTimestamptzDateCodec, s as pgBitColumn, t as NUMERIC_PRECISION_RANGE, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-
|
|
7
|
+
import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, i as PgTimestamptzDateDescriptor, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as NUMERIC_SCALE_RANGE, o as isPgEnumParams, p as pgFloatColumn, r as PgTimestamptzDateCodec, s as pgBitColumn, t as NUMERIC_PRECISION_RANGE, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-0cuTthSz-DK4dxeEE.mjs";
|
|
8
8
|
import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
|
|
9
|
-
import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codecs-
|
|
9
|
+
import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codecs-4MwR9yYB.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
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-Bm2a7z6e-BXTXyzZv.mjs";
|
|
13
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-BQFDVert-CcDdETee.mjs";
|
|
14
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-DeK6m1dy.mjs";
|
|
15
|
-
import { n as renderFullTextIndexExpression, t as isFullTextIndexableCodec } from "./full-text-index-expression-
|
|
15
|
+
import { n as renderFullTextIndexExpression, t as isFullTextIndexableCodec } from "./full-text-index-expression-BZRAwQ6G-Bus1rjpq.mjs";
|
|
16
16
|
import { n as computeContentHash, t as POLICY_OPERATION_PREDICATES } from "./canonicalize-CrN3u_xM-D4MrOqcB.mjs";
|
|
17
17
|
import { t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-RO0HiUDm-CeJ7P8gS.mjs";
|
|
18
|
-
import { a as instantNowControlDescriptor, i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-
|
|
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-BX7WXyUK-BVUoTS2O.mjs";
|
|
19
19
|
import { t as postgresRenderCheckExpressions } from "./check-expressions-DJNIFTHB-C86_fR5c.mjs";
|
|
20
20
|
import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode, t as PostgresNativeEnumSchemaNode } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
|
|
21
21
|
import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
|
|
22
|
-
import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-
|
|
22
|
+
import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-8E6ew8Nq-CMgRnBkj.mjs";
|
|
23
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
25
|
import { n as qualifyTableName, t as buildExpectedFormatType } from "./planner-sql-checks-Bxz8yvg8-Bj6jGClB.mjs";
|
|
26
|
-
import { i as renderDefaultLiteral, n as isPostgresDateTimeDataType, r as postgresDateTimeDdlText, t as buildColumnTypeSql } from "./planner-ddl-builders-
|
|
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-
|
|
26
|
+
import { i as renderDefaultLiteral, n as isPostgresDateTimeDataType, r as postgresDateTimeDdlText, t as buildColumnTypeSql } from "./planner-ddl-builders-BOvOAj1q-C4IJoysh.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-DMsjg_Mk-CNSo4lcs.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 { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-
|
|
31
|
-
import { n as buildPostgresPlanDiff, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-
|
|
32
|
-
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-
|
|
30
|
+
import { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-DHnC_3uu-8eaY0QaE.mjs";
|
|
31
|
+
import { n as buildPostgresPlanDiff, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-Cybx3XZj-X5XgQc3e.mjs";
|
|
32
|
+
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-BqMwLieI-1pQRelL5.mjs";
|
|
33
33
|
import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
|
|
34
|
-
import { o as postgresRenderDefault, t as PostgresMigration } from "./postgres-migration-
|
|
34
|
+
import { o as postgresRenderDefault, t as PostgresMigration } from "./postgres-migration-CMcrvJni-D7c38x5U.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-
|
|
38
|
-
import { t as createPostgresMigrationPlanner } from "./planner-
|
|
39
|
-
import { t as postgresDataTypeEntries } from "./data-type-entries-
|
|
40
|
-
import { n as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-
|
|
37
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-CajcTGOW-DV0ivYWc.mjs";
|
|
38
|
+
import { t as createPostgresMigrationPlanner } from "./planner-DKY41UXw-CcoVgq5N.mjs";
|
|
39
|
+
import { t as postgresDataTypeEntries } from "./data-type-entries-ofT74QIj-3aJ3Llba.mjs";
|
|
40
|
+
import { n as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-Dd31Nva0.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-
|
|
44
|
+
import { t as prisma7PostgresBinding } from "./prisma7-binding-JTOc8zQB.mjs";
|
|
45
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 };
|
package/dist/target__codecs.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, i as PgTimestamptzDateDescriptor, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as NUMERIC_SCALE_RANGE, o as isPgEnumParams, p as pgFloatColumn, r as PgTimestamptzDateCodec, s as pgBitColumn, t as NUMERIC_PRECISION_RANGE, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-
|
|
1
|
+
import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, i as PgTimestamptzDateDescriptor, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as NUMERIC_SCALE_RANGE, o as isPgEnumParams, p as pgFloatColumn, r as PgTimestamptzDateCodec, s as pgBitColumn, t as NUMERIC_PRECISION_RANGE, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-0cuTthSz-DK4dxeEE.mjs";
|
|
2
2
|
import { n as parsePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
|
|
3
|
-
import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codecs-
|
|
3
|
+
import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codecs-4MwR9yYB.mjs";
|
|
4
4
|
export { NUMERIC_PRECISION_RANGE, NUMERIC_SCALE_RANGE, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, isPgEnumParams, parsePostgresListText, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgJsonColumn, pgJsonbColumn, pgNumericColumn, pgTextColumn, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, postgresCodecDescriptorRegistry, postgresCodecRegistry };
|
package/dist/target__control.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
|
|
2
|
-
import { a as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-
|
|
3
|
-
import { o as postgresRenderDefault } from "./postgres-migration-
|
|
4
|
-
import { n as postgresScalarAuthoringTypes, r as postgresTargetDescriptor, t as postgresNativeAuthoringTypes } from "./control-
|
|
2
|
+
import { a as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-BX7WXyUK-BVUoTS2O.mjs";
|
|
3
|
+
import { o as postgresRenderDefault } from "./postgres-migration-CMcrvJni-D7c38x5U.mjs";
|
|
4
|
+
import { n as postgresScalarAuthoringTypes, r as postgresTargetDescriptor, t as postgresNativeAuthoringTypes } from "./control-Dd31Nva0.mjs";
|
|
5
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 { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypeEntries, N as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-
|
|
1
|
+
import { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypeEntries, N as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-DZGKP-qZ.mjs";
|
|
2
2
|
export { pgBit, pgBool, pgBytea, pgChar, pgDate, pgDateCanonical, pgEnum, pgFloat4, pgFloat8, pgInet, pgInt2, pgInt4, pgInt8, pgInterval, pgJson, pgJsonb, pgNumeric, pgText, pgTextArray, pgTime, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimetz, pgTimetzCanonical, pgTsquery, pgUuid, pgVarbit, pgVarchar, postgresDataTypeEntries, postgresDataTypes };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-
|
|
2
|
-
import { t as postgresDataTypeEntries } from "./data-type-entries-
|
|
1
|
+
import { A as pgVarbit, C as pgTimestampCanonical, D as pgTimetzCanonical, E as pgTimetz, M as postgresDataTypes, O as pgTsquery, S as pgTimestamp, T as pgTimestamptzCanonical, _ as pgNumeric, a as pgDate, b as pgTime, c as pgFloat4, d as pgInt2, f as pgInt4, g as pgJsonb, h as pgJson, i as pgChar, j as pgVarchar, k as pgUuid, l as pgFloat8, m as pgInterval, n as pgBool, o as pgDateCanonical, p as pgInt8, r as pgBytea, s as pgEnum, t as pgBit, u as pgInet, v as pgText, w as pgTimestamptz, x as pgTimeCanonical, y as pgTextArray } from "./data-types-B-8yirZ0-Ba7BPHAy.mjs";
|
|
2
|
+
import { t as postgresDataTypeEntries } from "./data-type-entries-ofT74QIj-3aJ3Llba.mjs";
|
|
3
3
|
export { pgBit, pgBool, pgBytea, pgChar, pgDate, pgDateCanonical, pgEnum, pgFloat4, pgFloat8, pgInet, pgInt2, pgInt4, pgInt8, pgInterval, pgJson, pgJsonb, pgNumeric, pgText, pgTextArray, pgTime, pgTimeCanonical, pgTimestamp, pgTimestampCanonical, pgTimestamptz, pgTimestamptzCanonical, pgTimetz, pgTimetzCanonical, pgTsquery, pgUuid, pgVarbit, pgVarchar, postgresDataTypeEntries, postgresDataTypes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-
|
|
1
|
+
import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-8E6ew8Nq-CMgRnBkj.mjs";
|
|
2
2
|
export { parsePostgresDefault, postgresResolveDefault };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as buildPostgresPlanDiff } from "./diff-database-schema-
|
|
1
|
+
import { n as buildPostgresPlanDiff } from "./diff-database-schema-Cybx3XZj-X5XgQc3e.mjs";
|
|
2
2
|
export { buildPostgresPlanDiff };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-
|
|
1
|
+
import { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-DHnC_3uu-8eaY0QaE.mjs";
|
|
2
2
|
export { coalesceSubtreeIssues, planIssues };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as createExtension } from "./op-factory-call-
|
|
1
|
+
import { L as createExtension } from "./op-factory-call-DMsjg_Mk-CNSo4lcs.mjs";
|
|
2
2
|
import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
|
|
3
|
-
import { t as PostgresMigration } from "./postgres-migration-
|
|
3
|
+
import { t as PostgresMigration } from "./postgres-migration-CMcrvJni-D7c38x5U.mjs";
|
|
4
4
|
import { a as foreignKey, c as primaryKey, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as unique } from "./migration-PTHAY9Cv.mjs";
|
|
5
5
|
export { PostgresMigration as Migration, MigrationCLI, checkExpression, col, createExtension, dataTransform, fn, foreignKey, lit, placeholder, primaryKey, rawSql, unique };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, M as 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-
|
|
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-DMsjg_Mk-CNSo4lcs.mjs";
|
|
2
2
|
export { AddCheckConstraintCall, AddColumnCall, AddForeignKeyCall, AddNativeEnumValueCall, AddNotNullColumnWithTempDefaultCall, AddPrimaryKeyCall, AddUniqueCall, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DataTransformCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, RawSqlCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SetDefaultCall, SetNotNullCall };
|
package/dist/target__pack.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-
|
|
1
|
+
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-CNocPizV-CM3vRsBg.mjs";
|
|
2
2
|
export { postgresTargetDescriptorMeta as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as renderDefaultLiteral, n as isPostgresDateTimeDataType, r as postgresDateTimeDdlText, t as buildColumnTypeSql } from "./planner-ddl-builders-
|
|
1
|
+
import { i as renderDefaultLiteral, n as isPostgresDateTimeDataType, r as postgresDateTimeDdlText, t as buildColumnTypeSql } from "./planner-ddl-builders-BOvOAj1q-C4IJoysh.mjs";
|
|
2
2
|
export { buildColumnTypeSql, isPostgresDateTimeDataType, postgresDateTimeDdlText, renderDefaultLiteral };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-
|
|
1
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-CajcTGOW-DV0ivYWc.mjs";
|
|
2
2
|
export { TypeScriptRenderablePostgresMigration };
|
package/dist/target__planner.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-
|
|
2
|
-
import { t as createPostgresMigrationPlanner } from "./planner-
|
|
1
|
+
import { r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-Cybx3XZj-X5XgQc3e.mjs";
|
|
2
|
+
import { t as createPostgresMigrationPlanner } from "./planner-DKY41UXw-CcoVgq5N.mjs";
|
|
3
3
|
export { contractToPostgresDatabaseSchemaNode, createPostgresMigrationPlanner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prisma7PostgresBinding } from "./prisma7-binding-
|
|
1
|
+
import { t as prisma7PostgresBinding } from "./prisma7-binding-C0GpQxEQ.mjs";
|
|
2
2
|
export { prisma7PostgresBinding };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prisma7PostgresBinding } from "./prisma7-binding-
|
|
1
|
+
import { t as prisma7PostgresBinding } from "./prisma7-binding-JTOc8zQB.mjs";
|
|
2
2
|
export { prisma7PostgresBinding };
|
package/dist/target__runtime.mjs
CHANGED
|
@@ -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-
|
|
3
|
+
import { i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-BX7WXyUK-BVUoTS2O.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-
|
|
5
|
+
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-BqMwLieI-1pQRelL5.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-
|
|
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-BX7WXyUK.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-BqMwLieI.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;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tD;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,4 +1,4 @@
|
|
|
1
1
|
import { a as validateEnumValueLength, i as quoteQualifiedName, n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-Bh-mnsSY-D6hnFPrP.mjs";
|
|
2
|
-
import { n as renderFullTextIndexExpression, t as isFullTextIndexableCodec } from "./full-text-index-expression-
|
|
2
|
+
import { n as renderFullTextIndexExpression, t as isFullTextIndexableCodec } from "./full-text-index-expression-BZRAwQ6G-Bus1rjpq.mjs";
|
|
3
3
|
import { t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./text-search-languages-RO0HiUDm-CeJ7P8gS.mjs";
|
|
4
4
|
export { DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, escapeLiteral, isFullTextIndexableCodec, qualifyName, quoteIdentifier, quoteQualifiedName, renderFullTextIndexExpression, validateEnumValueLength };
|
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.
|
|
3
|
+
"version": "8.0.0-rc.14-dev.27",
|
|
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.
|
|
13
|
-
"@prisma/orm-framework": "8.0.0-rc.14-dev.
|
|
14
|
-
"@prisma/orm-toolchain": "8.0.0-rc.14-dev.
|
|
12
|
+
"@prisma/orm-family-sql": "8.0.0-rc.14-dev.27",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.14-dev.27",
|
|
14
|
+
"@prisma/orm-toolchain": "8.0.0-rc.14-dev.27",
|
|
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.
|
|
26
|
-
"@internal/driver-postgres": "8.0.0-rc.14-dev.
|
|
27
|
-
"@internal/target-postgres": "8.0.0-rc.14-dev.
|
|
28
|
-
"@repo/tsconfig": "8.0.0-rc.14-dev.
|
|
29
|
-
"@repo/tsdown": "8.0.0-rc.14-dev.
|
|
25
|
+
"@internal/adapter-postgres": "8.0.0-rc.14-dev.27",
|
|
26
|
+
"@internal/driver-postgres": "8.0.0-rc.14-dev.27",
|
|
27
|
+
"@internal/target-postgres": "8.0.0-rc.14-dev.27",
|
|
28
|
+
"@repo/tsconfig": "8.0.0-rc.14-dev.27",
|
|
29
|
+
"@repo/tsdown": "8.0.0-rc.14-dev.27",
|
|
30
30
|
"tsdown": "0.22.14",
|
|
31
31
|
"typescript": "5.9.3",
|
|
32
32
|
"vitest": "5.0.0-rc.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data-types-BqeC7aZP-CwvA08pH.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/data-types-BqeC7aZP.mjs"],"sourcesContent":["import { r as canonicalUuid, s as fitsFloat4, y as pgIntervalCanonical } from \"./codec-helpers-D83-1eDB.mjs\";\nimport { canonicalDateTime, integerTextCanonicalForm, numeralText } from \"@internal/sql-relational-core/ast\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { dataType, isNonFiniteText } from \"@internal/framework-components/codec\";\n//#region src/core/data-types.ts\n/** A cast between two types that store the same shape: the value is already the form this type stores. */\nconst unchanged = (value) => value;\nfunction wrongShape(value, expected) {\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `Expected ${expected}, got ${JSON.stringify(value)}.`, {\n\t\twhy: \"A cast reads the canonical form of the type it takes values of.\",\n\t\tfix: \"Hand the cast a value in the shape its source type stores.\"\n\t});\n}\n/** A whole number as the digit text `int8` and `numeric` store. */\nconst asNumeralText = (value) => typeof value === \"number\" ? numeralText(value) : wrongShape(value, \"a number\");\n/**\n* A number as the floating-point types store it: a JSON number, or one of the three words, which\n* those types keep as text. A magnitude past what a double holds is refused rather than rounded to\n* a word: the database refuses it too, and storing `Infinity` would make a written number\n* indistinguishable from a written `Infinity`.\n*/\nconst asFloat = (value) => {\n\tif (typeof value === \"number\") return value;\n\tif (typeof value !== \"string\") return wrongShape(value, \"a number or numeral text\");\n\tif (isNonFiniteText(value)) return value;\n\tconst converted = Number(value);\n\tif (Number.isFinite(converted)) return converted;\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `${value} is out of range: no double holds a number that large.`, {\n\t\twhy: \"The floating-point types store a double, which holds magnitudes up to about 1.8e308.\",\n\t\tfix: \"Use a number a double holds, or a numeric column.\"\n\t});\n};\nconst pgText = dataType(\"pg/text\", {});\nconst pgTextArray = dataType(\"pg/text-array\", {});\nconst pgEnum = dataType(\"pg/enum\", {});\nconst pgInt2 = dataType(\"pg/int2\", {});\nconst pgBool = dataType(\"pg/bool\", {});\nconst pgJson = dataType(\"pg/json\", {});\nconst pgTsquery = dataType(\"pg/tsquery\", {});\nconst pgInt4 = dataType(\"pg/int4\", { casts: { [pgInt2.id]: unchanged } });\nconst pgInt8 = dataType(\"pg/int8\", {\n\ttoCanonicalForm: integerTextCanonicalForm,\n\tcasts: {\n\t\t[pgInt2.id]: asNumeralText,\n\t\t[pgInt4.id]: asNumeralText\n\t}\n});\nconst pgNumeric = dataType(\"pg/numeric\", { casts: {\n\t[pgInt2.id]: asNumeralText,\n\t[pgInt4.id]: asNumeralText,\n\t[pgInt8.id]: unchanged\n} });\n/** `float4` stores a single-precision float, so a magnitude past about 3.4e38, or one it would round to 0, does not fit. */\nconst asFloat4 = (value) => {\n\tconst converted = asFloat(value);\n\tif (typeof converted !== \"number\" || fitsFloat4(converted)) return converted;\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `${converted} is out of range: float4 holds a nonzero magnitude from about 1.4e-45 to 3.4e38.`, {\n\t\twhy: \"float4 stores a single-precision float, which overflows past about 3.4e38 and rounds a magnitude below about 1.4e-45 to 0.\",\n\t\tfix: \"Use a number float4 holds, or a float8 or numeric column.\"\n\t});\n};\nconst floatCastsOf = (cast) => ({\n\t[pgInt2.id]: cast,\n\t[pgInt4.id]: cast,\n\t[pgInt8.id]: cast,\n\t[pgNumeric.id]: cast\n});\nconst pgFloat4 = dataType(\"pg/float4\", { casts: floatCastsOf(asFloat4) });\nconst pgFloat8 = dataType(\"pg/float8\", { casts: floatCastsOf(asFloat) });\nconst pgJsonb = dataType(\"pg/jsonb\", { casts: { [pgJson.id]: unchanged } });\nconst fromText = { [pgText.id]: unchanged };\nconst pgChar = dataType(\"pg/char\", { casts: fromText });\nconst pgVarchar = dataType(\"pg/varchar\", { casts: fromText });\n/** Text in any form PostgreSQL reads as a UUID, written the way PostgreSQL writes it, so the contract holds the value the database reports. */\nconst asUuid = (value) => {\n\tif (typeof value !== \"string\") return wrongShape(value, \"text\");\n\tconst uuid = canonicalUuid(value);\n\tif (uuid !== void 0) return uuid;\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `${JSON.stringify(value)} is not a UUID: PostgreSQL reads 32 hexadecimal digits, with a hyphen after any group of four and optionally in braces.`, {\n\t\twhy: \"A uuid column takes only text PostgreSQL reads as a UUID.\",\n\t\tfix: \"Write a UUID such as a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11.\"\n\t});\n};\nconst pgUuid = dataType(\"pg/uuid\", { casts: { [pgText.id]: asUuid } });\nconst pgInet = dataType(\"pg/inet\", { casts: fromText });\nconst pgBit = dataType(\"pg/bit\", { casts: fromText });\nconst pgVarbit = dataType(\"pg/varbit\", { casts: fromText });\nconst pgBytea = dataType(\"pg/bytea\", { casts: fromText });\nconst POSTGRES_YEAR = /^(\\d{4,6})(-.*?)( BC)?$/;\n/**\n* Text PostgreSQL prints, in ISO 8601. A year with a ` BC` suffix becomes the ISO year, one higher\n* than its negative, so 1 BC is 0000 and 44 BC is -000043. A year of five or six digits becomes a\n* signed six-digit year. 0 BC does not exist, so it stays as written and the reader refuses it.\n*/\nfunction isoFromPostgresText(text) {\n\tconst match = POSTGRES_YEAR.exec(text);\n\tif (match === null) return text;\n\tconst [, digits = \"\", rest = \"\", bc] = match;\n\tconst year = Number(digits);\n\tif (bc !== void 0) {\n\t\tif (year === 0) return text;\n\t\tconst astronomical = 1 - year;\n\t\treturn astronomical === 0 ? `0000${rest}` : `-${String(-astronomical).padStart(6, \"0\")}${rest}`;\n\t}\n\treturn digits.length > 4 ? `+${String(year).padStart(6, \"0\")}${rest}` : text;\n}\nconst INFINITIES = /* @__PURE__ */ new Set([\"infinity\", \"-infinity\"]);\n/**\n* The canonical form of a date or time type (ADR 254), from ISO 8601 or the text PostgreSQL prints.\n* `infinity` and `-infinity` are values of the types that hold them.\n*/\nfunction postgresDateTime(options, holdsInfinity) {\n\treturn (text) => holdsInfinity && INFINITIES.has(text) ? text : canonicalDateTime(isoFromPostgresText(text), options, text);\n}\n/**\n* Each range is what PostgreSQL and every codec of the type hold: PostgreSQL starts at 4714-11-24\n* BC, and the `Temporal` and `Date` codecs end at +275760-09-13.\n*/\nconst pgDateCanonical = postgresDateTime({\n\tshape: \"date\",\n\tdataTypeId: \"pg/date\",\n\trange: {\n\t\tearliest: \"-004713-11-24\",\n\t\tlatest: \"+275760-09-13\"\n\t}\n}, true);\nconst pgTimeCanonical = postgresDateTime({\n\tshape: \"time\",\n\tdataTypeId: \"pg/time\"\n}, false);\nconst pgTimetzCanonical = postgresDateTime({\n\tshape: \"timeWithOffset\",\n\tdataTypeId: \"pg/timetz\",\n\tmaxOffsetHours: 15\n}, false);\nconst pgTimestampCanonical = postgresDateTime({\n\tshape: \"dateTime\",\n\tdataTypeId: \"pg/timestamp\",\n\trange: {\n\t\tearliest: \"-004713-11-24T00:00:00\",\n\t\tlatest: \"+275760-09-13T23:59:59.999999\"\n\t}\n}, true);\nconst pgTimestamptzCanonical = postgresDateTime({\n\tshape: \"instant\",\n\tdataTypeId: \"pg/timestamptz\",\n\trange: {\n\t\tearliest: \"-004713-11-24T00:00:00Z\",\n\t\tlatest: \"+275760-09-13T00:00:00Z\"\n\t}\n}, true);\n/** The canonical-form function of a type whose values are written as text. */\nconst canonicalFromText = (canonical) => (value) => typeof value === \"string\" ? canonical(value) : wrongShape(value, \"text\");\n/** A date or time type: its canonical form, and a cast from text that gives it. */\nfunction dateTimeType(id, canonical) {\n\tconst toCanonicalForm = canonicalFromText(canonical);\n\treturn dataType(id, {\n\t\ttoCanonicalForm,\n\t\tcasts: { [pgText.id]: toCanonicalForm }\n\t});\n}\nconst pgTimetz = dateTimeType(\"pg/timetz\", pgTimetzCanonical);\nconst pgInterval = dateTimeType(\"pg/interval\", pgIntervalCanonical);\nconst pgDate = dateTimeType(\"pg/date\", pgDateCanonical);\nconst pgTime = dateTimeType(\"pg/time\", pgTimeCanonical);\nconst pgTimestamp = dateTimeType(\"pg/timestamp\", pgTimestampCanonical);\nconst pgTimestamptz = dateTimeType(\"pg/timestamptz\", pgTimestamptzCanonical);\n/** Every data type this target registers. */\nconst postgresDataTypes = [\n\tpgText,\n\tpgTextArray,\n\tpgEnum,\n\tpgInt2,\n\tpgBool,\n\tpgJson,\n\tpgTsquery,\n\tpgInt4,\n\tpgInt8,\n\tpgNumeric,\n\tpgFloat4,\n\tpgFloat8,\n\tpgJsonb,\n\tpgChar,\n\tpgVarchar,\n\tpgUuid,\n\tpgInet,\n\tpgBit,\n\tpgVarbit,\n\tpgTimetz,\n\tpgInterval,\n\tpgBytea,\n\tpgDate,\n\tpgTime,\n\tpgTimestamp,\n\tpgTimestamptz\n];\n//#endregion\nexport { pgVarbit as A, pgTimestampCanonical as C, pgTimetzCanonical as D, pgTimetz as E, postgresDataTypes as M, pgTsquery as O, pgTimestamp as S, pgTimestamptzCanonical as T, pgNumeric as _, pgDate as a, pgTime as b, pgFloat4 as c, pgInt2 as d, pgInt4 as f, pgJsonb as g, pgJson as h, pgChar as i, pgVarchar as j, pgUuid as k, pgFloat8 as l, pgInterval as m, pgBool as n, pgDateCanonical as o, pgInt8 as p, pgBytea as r, pgEnum as s, pgBit as t, pgInet as u, pgText as v, pgTimestamptz as w, pgTimeCanonical as x, pgTextArray as y };\n\n//# sourceMappingURL=data-types-BqeC7aZP.mjs.map"],"mappings":";;;;;;AAMA,MAAM,aAAa,UAAU;AAC7B,SAAS,WAAW,OAAO,UAAU;CACpC,MAAM,gBAAgB,yBAAyB,YAAY,SAAS,QAAQ,KAAK,UAAU,KAAK,EAAE,IAAI;EACrG,KAAK;EACL,KAAK;CACN,CAAC;AACF;;AAEA,MAAM,iBAAiB,UAAU,OAAO,UAAU,WAAW,YAAY,KAAK,IAAI,WAAW,OAAO,UAAU;;;;;;;AAO9G,MAAM,WAAW,UAAU;CAC1B,IAAI,OAAO,UAAU,UAAU,OAAO;CACtC,IAAI,OAAO,UAAU,UAAU,OAAO,WAAW,OAAO,0BAA0B;CAClF,IAAI,gBAAgB,KAAK,GAAG,OAAO;CACnC,MAAM,YAAY,OAAO,KAAK;CAC9B,IAAI,OAAO,SAAS,SAAS,GAAG,OAAO;CACvC,MAAM,gBAAgB,yBAAyB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
|
|
1
|
-
{"version":3,"file":"data-types-j4lOn5fc.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/data-types.d.mts"],"mappings":";;;;iBAGiB,2BAA2B,SAAS,eAAe;;;cAGtD,QAAQ;cACR,aAAa;cACb,QAAQ;cACR,QAAQ;cACR,QAAQ;cACR,QAAQ;cACR,WAAW;cACX,QAAQ;cACR,QAAQ;cACR,WAAW;cACX,UAAU;cACV,UAAU;cACV,SAAS;cACT,QAAQ;cACR,WAAW;cACX,QAAQ;cACR,QAAQ;cACR,OAAO;cACP,UAAU;cACV,SAAS;;;;;cAKT,kBAAkB;cAClB,kBAAkB;cAClB,oBAAoB;cACpB,uBAAuB;cACvB,yBAAyB;cACzB,UAAU;cACV,YAAY;cACZ,QAAQ;cACR,QAAQ;cACR,aAAa;cACb,eAAe;;cAEf,4BAA4B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default-normalizer-Cb7nWBUa-DXchlOUk.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/default-normalizer-Cb7nWBUa.mjs"],"sourcesContent":["import { r as canonicalUuid } from \"./codec-helpers-D83-1eDB.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/core/default-normalizer.ts\n/**\n* Pre-compiled regex patterns for performance.\n* These are compiled once at module load time rather than on each function call.\n*/\nconst NEXTVAL_PATTERN = /^nextval\\s*\\(/i;\nconst NOW_FUNCTION_PATTERN = /^(now\\s*\\(\\s*\\)|CURRENT_TIMESTAMP)$/i;\nconst CLOCK_TIMESTAMP_PATTERN = /^clock_timestamp\\s*\\(\\s*\\)$/i;\nconst TIMESTAMP_CAST_SUFFIX = /::timestamp(?:tz|\\s+(?:with|without)\\s+time\\s+zone)?$/i;\nconst TEXT_CAST_SUFFIX = /::text$/i;\nconst NOW_LITERAL_PATTERN = /^'now'$/i;\nconst UUID_PATTERN = /^gen_random_uuid\\s*\\(\\s*\\)$/i;\nconst UUID_OSSP_PATTERN = /^uuid_generate_v4\\s*\\(\\s*\\)$/i;\nconst NULL_PATTERN = /^NULL(?:::.+)?$/i;\nconst TRUE_PATTERN = /^true$/i;\nconst FALSE_PATTERN = /^false$/i;\n/**\n* A decimal numeral with an optional sign and an optional exponent. Postgres prints a `real` or\n* `double precision` default in exponent notation once its magnitude is large or small enough:\n* `'1e+20'::real`, `'1e-320'::double precision`.\n*/\nconst NUMERAL = String.raw`[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?`;\nconst NUMERIC_PATTERN = new RegExp(`^${NUMERAL}$`);\n/**\n* A type modifier: `(3)`, `(65,30)`, or a numeric type's negative scale, `(5,-2)`, which PostgreSQL\n* 15 and later accept.\n*/\nconst TYPE_MODIFIER = String.raw`\\(\\d+(?:,\\s*-?\\d+)?\\)`;\n/**\n* A cast target type: a builtin of one or more words, where any word may carry a modifier\n* (`timestamp(3) without time zone`, `numeric(65,30)`), or a quoted identifier (`\"AuditAction\"`);\n* either may be qualified by a possibly quoted schema (`audit.\"AuditAction\"`, `\"my schema\".t`).\n*/\nconst TYPE_NAME = String.raw`(?:(?:\"(?:[^\"]|\"\")+\"|\\w+)\\.)?(?:\"(?:[^\"]|\"\")+\"|\\w+(?:${TYPE_MODIFIER})?(?:\\s+\\w+(?:${TYPE_MODIFIER})?)*)`;\nconst QUOTED_LITERAL_PATTERN = new RegExp(`^'((?:[^']|'')*)'(?:::(${TYPE_NAME}))?$`);\nconst NUMBER_LITERAL_PATTERN = new RegExp(`^(${NUMERAL})(?:::(${TYPE_NAME}))?$`);\nconst PARENTHESISED_CAST_PATTERN = new RegExp(String.raw`^\\((.+)\\)::(${TYPE_NAME})$`, \"s\");\nconst INTEGER_PATTERN = /^-?\\d+$/;\nconst INTEGER_TYPE_PATTERN = /^(?:smallint|integer|bigint|int2|int4|int8)$/i;\nconst NUMBER_TYPE_PATTERN = new RegExp(`^(?:smallint|integer|bigint|int2|int4|int8|real|double precision|float4|float8|numeric|decimal)(?:${TYPE_MODIFIER})?$`, \"i\");\nconst DECIMAL_TEXT_TYPE_PATTERN = new RegExp(`^(?:bigint|int8|numeric|decimal)(?:${TYPE_MODIFIER})?$`, \"i\");\n/**\n* Matches a Postgres array literal default of the form `'{...}'::elemtype[]`.\n* The literal body is captured in group 1; the cast (including `[]`) is optional.\n* Examples: `'{}'::text[]`, `'{1,2}'::integer[]`, `'{}'`\n*/\nconst ARRAY_LITERAL_PATTERN = /^'(\\{.*\\})'(?:::.+\\[\\])?$/;\n/** `box` is the one core type whose array elements are delimited by `;`, not `,`. */\nconst SEMICOLON_DELIMITED_ELEMENT_TYPE_PATTERN = /^box$/i;\n/**\n* Matches the constructor spelling Postgres reports for a default written as\n* `ARRAY[...]`: `ARRAY['a'::text, 'b'::text]`, `ARRAY[1, 2]`, `ARRAY[]::text[]`.\n* The element list is captured in group 1; the outer cast is optional.\n*/\nconst ARRAY_CONSTRUCTOR_PATTERN = new RegExp(String.raw`^ARRAY\\[(.*?)\\](?:::${TYPE_NAME}\\[\\])?$`, \"is\");\nconst OUTER_ARRAY_CAST_PATTERN = new RegExp(String.raw`^\\((.+)\\)::${TYPE_NAME}\\[\\]$`, \"s\");\n/**\n* Returns the canonical expression for a timestamp default function, or undefined\n* if the expression is not a recognized timestamp default.\n*\n* Keeps now()/CURRENT_TIMESTAMP and clock_timestamp() distinct:\n* - now(), CURRENT_TIMESTAMP, ('now'::text)::timestamp... → 'now()'\n* - clock_timestamp(), clock_timestamp()::timestamptz → 'clock_timestamp()'\n*\n* These are semantically different in Postgres: now() returns the transaction\n* start time (constant within a transaction), while clock_timestamp() returns\n* the actual wall-clock time (can differ across rows in a single INSERT).\n*/\nfunction canonicalizeTimestampDefault(expr) {\n\tif (NOW_FUNCTION_PATTERN.test(expr)) return \"now()\";\n\tif (CLOCK_TIMESTAMP_PATTERN.test(expr)) return \"clock_timestamp()\";\n\tif (!TIMESTAMP_CAST_SUFFIX.test(expr)) return void 0;\n\tlet inner = expr.replace(TIMESTAMP_CAST_SUFFIX, \"\").trim();\n\tif (inner.startsWith(\"(\") && inner.endsWith(\")\")) inner = inner.slice(1, -1).trim();\n\tif (NOW_FUNCTION_PATTERN.test(inner)) return \"now()\";\n\tif (CLOCK_TIMESTAMP_PATTERN.test(inner)) return \"clock_timestamp()\";\n\tinner = inner.replace(TEXT_CAST_SUFFIX, \"\").trim();\n\tif (NOW_LITERAL_PATTERN.test(inner)) return \"now()\";\n}\n/**\n* A numeral cast to a number type. A cast to an integer type rounds a fraction, so that numeral is\n* not the value.\n*/\nfunction castNumber(numeral, castType) {\n\tif (castType === void 0) return {\n\t\tkind: \"number\",\n\t\tnumeral\n\t};\n\tif (!NUMBER_TYPE_PATTERN.test(castType)) return void 0;\n\tif (INTEGER_TYPE_PATTERN.test(castType) && !INTEGER_PATTERN.test(numeral)) return void 0;\n\treturn {\n\t\tkind: \"number\",\n\t\tnumeral\n\t};\n}\n/**\n* Reads a literal by its cast type: `'-1'::integer` and `(1)::bigint` are numbers, `'a'::text` is a\n* string. A parenthesised cast is read only from number to number: `('now'::text)::date` is\n* evaluated on insert. Anything else, such as an operator or a function call, is not a literal.\n*/\nfunction readLiteralToken(expression) {\n\tconst quoted = QUOTED_LITERAL_PATTERN.exec(expression);\n\tif (quoted?.[1] !== void 0) {\n\t\tconst text = quoted[1].replace(/''/g, \"'\");\n\t\tconst castType = quoted[2];\n\t\treturn castType !== void 0 && NUMBER_TYPE_PATTERN.test(castType) && NUMERIC_PATTERN.test(text) ? castNumber(text, castType) : {\n\t\t\tkind: \"string\",\n\t\t\ttext\n\t\t};\n\t}\n\tconst number = NUMBER_LITERAL_PATTERN.exec(expression);\n\tif (number?.[1] !== void 0) return castNumber(number[1], number[2]);\n\tconst parenthesised = PARENTHESISED_CAST_PATTERN.exec(expression);\n\tif (parenthesised?.[1] === void 0 || parenthesised[2] === void 0) return void 0;\n\tconst inner = readLiteralToken(parenthesised[1].trim());\n\treturn inner?.kind === \"number\" ? castNumber(inner.numeral, parenthesised[2]) : void 0;\n}\n/**\n* `int8` and `numeric` defaults are decimal text, the JSON form of their codecs, so no digit is\n* lost to a JavaScript number. A column that is not a number type stores the numeral as text.\n*/\nfunction numberValue(numeral, nativeType) {\n\tif (nativeType !== void 0 && DECIMAL_TEXT_TYPE_PATTERN.test(nativeType)) return numeral;\n\tif (nativeType !== void 0 && !NUMBER_TYPE_PATTERN.test(nativeType)) return numeral;\n\tconst parsed = Number(numeral);\n\treturn Number.isFinite(parsed) ? parsed : void 0;\n}\n/**\n* Splits a Postgres array literal body (without the enclosing braces) into its\n* element tokens, honouring quoting. A comma only separates elements when it is\n* outside double quotes; inside a quoted element a doubled quote (`\"\"`) or a\n* backslash-escaped quote (`\\\"`) is a literal quote, and a backslash escapes the\n* next character. Returns undefined if the body is malformed (e.g. an unbalanced\n* quote), nests an array, which puts a brace outside quotes, or escapes a character outside\n* quotes with a backslash, which Postgres never prints.\n*/\nfunction splitArrayElements(inner) {\n\tconst tokens = [];\n\tlet current = \"\";\n\tlet inQuotes = false;\n\tlet quoted = false;\n\tfor (let i = 0; i < inner.length; i++) {\n\t\tconst char = inner[i];\n\t\tif (inQuotes) {\n\t\t\tif (char === \"\\\\\") {\n\t\t\t\tconst next = inner[i + 1];\n\t\t\t\tif (next === void 0) return void 0;\n\t\t\t\tcurrent += next;\n\t\t\t\ti++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (char === \"\\\"\") {\n\t\t\t\tif (inner[i + 1] === \"\\\"\") {\n\t\t\t\t\tcurrent += \"\\\"\";\n\t\t\t\t\ti++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tinQuotes = false;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tcurrent += char;\n\t\t\tcontinue;\n\t\t}\n\t\tif (char === \"\\\"\") {\n\t\t\tinQuotes = true;\n\t\t\tquoted = true;\n\t\t\tcontinue;\n\t\t}\n\t\tif (char === \"{\" || char === \"}\" || char === \"\\\\\") return void 0;\n\t\tif (char === \",\") {\n\t\t\ttokens.push({\n\t\t\t\tvalue: current,\n\t\t\t\tquoted\n\t\t\t});\n\t\t\tcurrent = \"\";\n\t\t\tquoted = false;\n\t\t\tcontinue;\n\t\t}\n\t\tcurrent += char;\n\t}\n\tif (inQuotes) return void 0;\n\ttokens.push({\n\t\tvalue: current,\n\t\tquoted\n\t});\n\treturn tokens;\n}\nconst BOOLEAN_TYPE_PATTERN = /^(?:bool|boolean)$/i;\nconst BOOLEAN_TRUE_TOKEN_PATTERN = /^(?:t|true)$/i;\nconst BOOLEAN_FALSE_TOKEN_PATTERN = /^(?:f|false)$/i;\n/**\n* Reads an unquoted, non-NULL array element by the column's element type. Only text Postgres itself\n* would print is read; anything else keeps the raw expression.\n*/\n/** A text default as the column stores it: a uuid in the form PostgreSQL writes, which its codec reads. */\nfunction storedText(text, nativeType) {\n\treturn nativeType === \"uuid\" ? canonicalUuid(text) ?? text : text;\n}\nfunction unquotedElementValue(token, elementType) {\n\tif (token === \"\") return void 0;\n\tif (BOOLEAN_TYPE_PATTERN.test(elementType)) {\n\t\tif (BOOLEAN_TRUE_TOKEN_PATTERN.test(token)) return true;\n\t\tif (BOOLEAN_FALSE_TOKEN_PATTERN.test(token)) return false;\n\t\treturn;\n\t}\n\tif (NUMBER_TYPE_PATTERN.test(elementType)) return NUMERIC_PATTERN.test(token) ? numberValue(token, elementType) : void 0;\n\tif (isJsonElementType(elementType)) {\n\t\tconst document = readJsonDocument(token);\n\t\treturn document.kind === \"json\" ? document.value : void 0;\n\t}\n\treturn storedText(token, elementType);\n}\n/**\n* Parses a Postgres array literal body (`{...}`) into a JS array of primitives.\n* Returns undefined if the body cannot be reliably parsed.\n*\n* Handles:\n* - `{}` → `[]`\n* - `{elem1,elem2,...}` → `[elem1, elem2, ...]`, each unquoted element read by the element type\n* - quoted elements that contain commas, doubled/escaped quotes, and the literal\n* strings `NULL`/`true`/`false` (a quoted token is always a string)\n*/\nfunction parseArrayLiteralBody(body, elementType) {\n\tconst inner = body.slice(1, -1).trim();\n\tif (inner === \"\") return [];\n\tconst tokens = splitArrayElements(inner);\n\tif (tokens === void 0) return void 0;\n\tconst result = [];\n\tfor (const token of tokens) {\n\t\tif (token.quoted) {\n\t\t\tconst value = textElementValue(token.value, elementType);\n\t\t\tif (value === void 0) return void 0;\n\t\t\tresult.push(value);\n\t\t\tcontinue;\n\t\t}\n\t\tconst el = token.value.trim();\n\t\tif (el.toUpperCase() === \"NULL\") {\n\t\t\tif (isJsonElementType(elementType)) return void 0;\n\t\t\tresult.push(null);\n\t\t\tcontinue;\n\t\t}\n\t\tconst value = unquotedElementValue(el, elementType);\n\t\tif (value === void 0) return void 0;\n\t\tresult.push(value);\n\t}\n\treturn result;\n}\n/**\n* Splits an `ARRAY[...]` element list on the commas outside quotes and parentheses, so\n* `numeric(65,30)` and `'a,b'` stay inside one element. A doubled quote inside an element is a\n* literal quote, so it never closes one.\n*/\nfunction splitConstructorElements(body) {\n\tconst elements = [];\n\tlet current = \"\";\n\tlet quote;\n\tlet depth = 0;\n\tfor (const char of body) {\n\t\tif (quote !== void 0) {\n\t\t\tif (char === quote) quote = void 0;\n\t\t} else if (char === \"'\" || char === \"\\\"\") quote = char;\n\t\telse if (char === \"(\") depth++;\n\t\telse if (char === \")\") depth--;\n\t\telse if (char === \",\" && depth === 0) {\n\t\t\telements.push(current);\n\t\t\tcurrent = \"\";\n\t\t\tcontinue;\n\t\t}\n\t\tcurrent += char;\n\t}\n\telements.push(current);\n\treturn elements.map((element) => element.trim());\n}\n/**\n* Reads one `ARRAY[...]` element: NULL, a boolean, or a literal read by its cast type. Anything\n* else, such as a function call, means the constructor is not a literal and the caller keeps the\n* raw expression.\n*/\nfunction parseConstructorElement(element, elementType) {\n\tif (NULL_PATTERN.test(element)) return isJsonElementType(elementType) ? void 0 : null;\n\tif (TRUE_PATTERN.test(element)) return true;\n\tif (FALSE_PATTERN.test(element)) return false;\n\tconst token = readLiteralToken(element);\n\tif (token === void 0) return void 0;\n\treturn token.kind === \"number\" ? numberValue(token.numeral, elementType) : textElementValue(token.text, elementType);\n}\nfunction isJsonElementType(elementType) {\n\treturn elementType === \"json\" || elementType === \"jsonb\";\n}\n/**\n* A `json`/`jsonb` element's text is a JSON document, as it is on a scalar column of the same type.\n* Undefined keeps the raw expression: the document holds a number a JavaScript number would change.\n*/\nfunction textElementValue(text, elementType) {\n\tif (!isJsonElementType(elementType)) return storedText(text, elementType);\n\tconst document = readJsonDocument(text);\n\tif (document.kind === \"inexact\") return void 0;\n\treturn document.kind === \"json\" ? document.value : text;\n}\n/**\n* Parses JSON text. Postgres keeps every digit of a json number, so a document holding a number that\n* would not print back as the same value once read into a JavaScript number, such as\n* `12345678901234567890` or `1e400`, is `inexact`. `1.0` prints back as `1`, the same value.\n*/\nfunction readJsonDocument(text) {\n\tlet exact = true;\n\tconst reviver = (_key, value, context) => {\n\t\tif (typeof value === \"number\" && !keepsJsonNumber(value, context?.source)) exact = false;\n\t\treturn value;\n\t};\n\tlet value;\n\ttry {\n\t\tvalue = blindCast(JSON.parse(text, reviver));\n\t} catch {\n\t\treturn { kind: \"invalid\" };\n\t}\n\treturn exact ? {\n\t\tkind: \"json\",\n\t\tvalue\n\t} : { kind: \"inexact\" };\n}\nfunction keepsJsonNumber(value, source) {\n\tif (!Number.isFinite(value) || source === void 0) return false;\n\tconst written = decimalValue(source);\n\treturn written !== void 0 && written === decimalValue(String(value));\n}\nconst DECIMAL_PARTS_PATTERN = /^(-?)(\\d+)(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/;\n/** A numeral's value as `<sign><digits>e<exponent>`, with no leading or trailing zero digits. */\nfunction decimalValue(numeral) {\n\tconst parts = DECIMAL_PARTS_PATTERN.exec(numeral);\n\tif (parts === null) return void 0;\n\tconst [, sign = \"\", whole = \"\", fraction = \"\", exponent = \"0\"] = parts;\n\tconst digits = `${whole}${fraction}`.replace(/^0+/, \"\");\n\tif (digits === \"\") return \"0\";\n\tconst significant = digits.replace(/0+$/, \"\");\n\treturn `${sign}${significant}e${Number(exponent) - fraction.length + digits.length - significant.length}`;\n}\nfunction parseArrayConstructor(body, elementType) {\n\tif (body.trim() === \"\") return [];\n\tconst values = [];\n\tfor (const element of splitConstructorElements(body)) {\n\t\tconst value = parseConstructorElement(element, elementType);\n\t\tif (value === void 0) return void 0;\n\t\tvalues.push(value);\n\t}\n\treturn values;\n}\nfunction unwrapOuterArrayCasts(expression) {\n\tconst match = OUTER_ARRAY_CAST_PATTERN.exec(expression);\n\treturn match?.[1] === void 0 ? expression : unwrapOuterArrayCasts(match[1].trim());\n}\n/**\n* Parses a raw Postgres column default expression into a normalized ColumnDefault.\n* This enables semantic comparison between contract defaults and introspected schema defaults.\n*\n* Used by the migration diff layer to normalize raw database defaults during comparison,\n* keeping the introspection layer focused on faithful data capture.\n*\n* @param rawDefault - Raw default expression from information_schema.columns.column_default\n* @param nativeType - Native column type, used for type-aware parsing (array, int8, numeric, JSON)\n* @returns Normalized ColumnDefault or undefined if the expression cannot be parsed\n*/\nfunction parsePostgresDefault(rawDefault, nativeType) {\n\tconst trimmed = rawDefault.trim();\n\tconst normalizedType = nativeType?.toLowerCase();\n\tif (NEXTVAL_PATTERN.test(trimmed)) return {\n\t\tkind: \"function\",\n\t\texpression: \"autoincrement()\"\n\t};\n\tif (normalizedType?.endsWith(\"[]\")) {\n\t\tconst elementType = normalizedType.slice(0, -2);\n\t\tconst arrayMatch = trimmed.match(ARRAY_LITERAL_PATTERN);\n\t\tif (arrayMatch?.[1] !== void 0 && !SEMICOLON_DELIMITED_ELEMENT_TYPE_PATTERN.test(elementType)) {\n\t\t\tconst parsed = parseArrayLiteralBody(arrayMatch[1].replace(/''/g, \"'\"), elementType);\n\t\t\tif (parsed !== void 0) return {\n\t\t\t\tkind: \"literal\",\n\t\t\t\tvalue: parsed\n\t\t\t};\n\t\t}\n\t\tconst constructorMatch = unwrapOuterArrayCasts(trimmed).match(ARRAY_CONSTRUCTOR_PATTERN);\n\t\tif (constructorMatch?.[1] !== void 0) {\n\t\t\tconst parsed = parseArrayConstructor(constructorMatch[1], elementType);\n\t\t\tif (parsed !== void 0) return {\n\t\t\t\tkind: \"literal\",\n\t\t\t\tvalue: parsed\n\t\t\t};\n\t\t}\n\t\tif (NULL_PATTERN.test(trimmed)) return {\n\t\t\tkind: \"literal\",\n\t\t\tvalue: null\n\t\t};\n\t\treturn {\n\t\t\tkind: \"function\",\n\t\t\texpression: trimmed\n\t\t};\n\t}\n\tconst canonicalTimestamp = canonicalizeTimestampDefault(trimmed);\n\tif (canonicalTimestamp) return {\n\t\tkind: \"function\",\n\t\texpression: canonicalTimestamp\n\t};\n\tif (UUID_PATTERN.test(trimmed)) return {\n\t\tkind: \"function\",\n\t\texpression: \"gen_random_uuid()\"\n\t};\n\tif (UUID_OSSP_PATTERN.test(trimmed)) return {\n\t\tkind: \"function\",\n\t\texpression: \"gen_random_uuid()\"\n\t};\n\tif (NULL_PATTERN.test(trimmed)) return {\n\t\tkind: \"literal\",\n\t\tvalue: null\n\t};\n\tif (TRUE_PATTERN.test(trimmed)) return {\n\t\tkind: \"literal\",\n\t\tvalue: true\n\t};\n\tif (FALSE_PATTERN.test(trimmed)) return {\n\t\tkind: \"literal\",\n\t\tvalue: false\n\t};\n\tconst token = readLiteralToken(trimmed);\n\tif (token === void 0) return {\n\t\tkind: \"function\",\n\t\texpression: trimmed\n\t};\n\tif (token.kind === \"number\") {\n\t\tconst value = numberValue(token.numeral, normalizedType);\n\t\treturn value === void 0 ? void 0 : {\n\t\t\tkind: \"literal\",\n\t\t\tvalue\n\t\t};\n\t}\n\tif (normalizedType !== void 0 && isJsonElementType(normalizedType)) {\n\t\tconst document = readJsonDocument(token.text);\n\t\tif (document.kind === \"inexact\") return {\n\t\t\tkind: \"function\",\n\t\t\texpression: trimmed\n\t\t};\n\t\tif (document.kind === \"json\") return {\n\t\t\tkind: \"literal\",\n\t\t\tvalue: document.value\n\t\t};\n\t}\n\treturn {\n\t\tkind: \"literal\",\n\t\tvalue: storedText(token.text, normalizedType)\n\t};\n}\n/**\n* Normalizes a contract-declared default through {@link parsePostgresDefault}\n* — the same parser introspection uses — so a function-shaped default the\n* parser recognizes as a literal (e.g. sql`'{}'::jsonb`)\n* resolves to the same `resolvedDefault` shape a live introspected column\n* would produce. Compensates once, at `SchemaIR` construction of the\n* expected (contract-derived) side (`contractToSchemaIR`'s `resolveDefault`\n* hook), instead of at every site that later compares the two sides. A\n* literal default, or a function form the parser doesn't recognize, passes\n* through unchanged; `nextval(...)` normalizes to `autoincrement()` on both\n* sides, matching a `serial`/identity column's introspected counterpart.\n*/\nfunction postgresResolveDefault(def, resolvedNativeType) {\n\tif (def.kind !== \"function\") return def;\n\treturn parsePostgresDefault(def.expression, resolvedNativeType) ?? def;\n}\n//#endregion\nexport { postgresResolveDefault as n, parsePostgresDefault as t };\n\n//# sourceMappingURL=default-normalizer-Cb7nWBUa.mjs.map"],"mappings":";;;;;;;AAOA,MAAM,kBAAkB;AACxB,MAAM,uBAAuB;AAC7B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,mBAAmB;AACzB,MAAM,sBAAsB;AAC5B,MAAM,eAAe;AACrB,MAAM,oBAAoB;AAC1B,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,gBAAgB;;;;;;AAMtB,MAAM,UAAU,OAAO,GAAG;AAC1B,MAAM,kBAAkB,IAAI,OAAO,IAAI,QAAQ,EAAE;;;;;AAKjD,MAAM,gBAAgB,OAAO,GAAG;;;;;;AAMhC,MAAM,YAAY,OAAO,GAAG,wDAAwD,cAAc,gBAAgB,cAAc;AAChI,MAAM,yBAAyB,IAAI,OAAO,0BAA0B,UAAU,KAAK;AACnF,MAAM,yBAAyB,IAAI,OAAO,KAAK,QAAQ,SAAS,UAAU,KAAK;AAC/E,MAAM,6BAA6B,IAAI,OAAO,OAAO,GAAG,eAAe,UAAU,KAAK,GAAG;AACzF,MAAM,kBAAkB;AACxB,MAAM,uBAAuB;AAC7B,MAAM,sBAAsB,IAAI,OAAO,qGAAqG,cA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AAY,kBAAkB,KAAK;AACpE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prisma7-binding-dmAxLA0N.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/prisma7-binding.d.mts"],"mappings":";;;;;;;;;iBAQiB,0BAA0B;;;;;;;;iBAQ1B,2BAA2B,gBAAgB;;;;;;;;;;;cAW9C;WACH;aACE;aACA;aACA,yDAAyD,iBAAiB,uBAAuB;eAC/F;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;;aAEF;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;qBACE;qBACA;uBACE;uBACA;;qBAEF;uBACE;;;;;eAKR;iBACE;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA,QAAQ;uBACN;uBACA;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;;iBAQd;mBACE;mBACA;qBACE;qBACA;;;iBAGJ;mBACE;qBACE;qBACA;uBACE;uBACA;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;;;mBAGJ;qBACE;qBACA;uBACE;uBACA;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;;;;;eAKR;iBACE;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;;mBAEO;qBACE,UAAU,OAAO,oBAAoB,wDAAwD,2BAA2B;;;iBAG5H;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;;mBAEO;qBACE,UAAU,OAAO,+BAA+B;;;iBAGpD;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;;mBAEO;YACP,UAAU,OAAO,yBAAyB,wDAAwD,2BAA2B;YAC7H,eAAe,QAAQ;cACrB;;;;iBAIG;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;;mBAEO;YACP,UAAU,sCAAsC,wBAAwB,yBAAyB,wDAAwD,2BAA2B;YACpL,iBAAiB,QAAQ;cACvB;cACA;;;;;eAKC;iBACE;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;;;eAGR;iBACE;mBACE;mBACA;mBACA,qCAAqC;mBACrC,QAAQ,SAAS,sBAAsB,wDAAwD;YACtG;YACA,QAAQ;;;iBAGH;mBACE;mBACA;mBACA,qCAAqC;mBACrC;mBACA,QAAQ;qBACN;qBACA,WAAW;qBACX;qBACA;qBACA;aACR,wDAAwD;YACzD;cACE;cACA;cACA;cACA;cACA;cACA;cACA;;;;;eAKC,wBAAwB;eACxB,0BAA0B;eAC1B,+BAA+B;eAC/B,2BAA2B;;aAE7B;eACE;iBACE;mBACE;mBACA;mBACA;;;;aAIN;aACA;aACA;aACA;aACA;aACA;aACA,eAAe;;aAEf,eAAe;;WAEjB,wBAAwB;WACxB;WACA;aACE;eACE;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;;aAGJ;eACE;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;iBACE;iBACA;;;;WAIN;aACE;aACA;;WAEF;aACE;aACA;aACA;aACA;aACA;aACA;;;WAGF;WACA,mCAAmC;WACnC,6BAA6B;WAC7B,uBAAuB,YAAY;aACjC;aACA,aAAa,SAAS;;aAEtB;aACA;aACA;;aAEA;aACA,UAAU;aACV,OAAO"}
|