@prisma/orm-target-postgres 8.0.0-rc.22-dev.12 → 8.0.0-rc.22-dev.14
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-BTT7mZNb-DgNnM6Fx.mjs → adapter-BgEU4rZ4-CnjkLewL.mjs} +3 -3
- package/dist/{adapter-BTT7mZNb-DgNnM6Fx.mjs.map → adapter-BgEU4rZ4-CnjkLewL.mjs.map} +1 -1
- package/dist/{adapter-CeOgqN2C.d.mts → adapter-dMZYwONo.d.mts} +2 -2
- package/dist/{adapter-CeOgqN2C.d.mts.map → adapter-dMZYwONo.d.mts.map} +1 -1
- package/dist/adapter.d.mts +8 -8
- package/dist/adapter.mjs +4 -4
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +2 -2
- package/dist/adapter__column-types.d.mts +2 -2
- package/dist/adapter__column-types.mjs +2 -2
- package/dist/adapter__control.d.mts +1 -1
- package/dist/adapter__control.mjs +2 -2
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +2 -2
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.d.mts +1 -1
- package/dist/adapter__types.d.mts +2 -2
- package/dist/{authoring-BLKmfwFy-DRwqGgGY.mjs → authoring-BD4uEpBM-DIJiGq4e.mjs} +340 -143
- package/dist/authoring-BD4uEpBM-DIJiGq4e.mjs.map +1 -0
- package/dist/{column-types-0CjA9Eri.d.mts → column-types-DBCLQW1w.d.mts} +6 -6
- package/dist/column-types-DBCLQW1w.d.mts.map +1 -0
- package/dist/{column-types-B11Mxo9V.mjs → column-types-DpzI37Cl.mjs} +4 -4
- package/dist/column-types-DpzI37Cl.mjs.map +1 -0
- package/dist/{contract-contributions-OLP0SDpr-eaZpGsZF.mjs → contract-contributions-DpTbtESH-CxVtT7cT.mjs} +20 -8
- package/dist/contract-contributions-DpTbtESH-CxVtT7cT.mjs.map +1 -0
- package/dist/{control-2DHRXqEz.d.mts → control-C8M0RWE6.d.mts} +6 -4
- package/dist/{control-2DHRXqEz.d.mts.map → control-C8M0RWE6.d.mts.map} +1 -1
- package/dist/{control-B9PSgbQT.d.mts → control-Ci6kSDEg.d.mts} +461 -165
- package/dist/control-Ci6kSDEg.d.mts.map +1 -0
- package/dist/{control-policy-K52VpMX0-CateWffI.mjs → control-policy-BUrgZRnC-BI-Yv8NV.mjs} +18 -6
- package/dist/control-policy-BUrgZRnC-BI-Yv8NV.mjs.map +1 -0
- package/dist/{data-transform-nGy9rz87-CE3DGlgn.d.mts → data-transform-2o0tpMs8-DADYIvEZ.d.mts} +3 -3
- package/dist/{data-transform-nGy9rz87-CE3DGlgn.d.mts.map → data-transform-2o0tpMs8-DADYIvEZ.d.mts.map} +1 -1
- package/dist/data-transform-DX9I716A.d.mts +1 -0
- package/dist/{descriptor-meta-iTcMZFBI-CPsGItUl.mjs → descriptor-meta-Bj9sQhJn-CMP3p6iz.mjs} +3 -3
- package/dist/{descriptor-meta-iTcMZFBI-CPsGItUl.mjs.map → descriptor-meta-Bj9sQhJn-CMP3p6iz.mjs.map} +1 -1
- package/dist/{descriptor-meta-DDydgB82-Cvv8FtTL.mjs → descriptor-meta-DWKp5Q1s-DplRJE9N.mjs} +5 -5
- package/dist/descriptor-meta-DWKp5Q1s-DplRJE9N.mjs.map +1 -0
- package/dist/{diff-database-schema-D_vOsC7_-CtLt0OwZ.mjs → diff-database-schema-DPsDQkk4-4hkHTHE_.mjs} +10 -7
- package/dist/diff-database-schema-DPsDQkk4-4hkHTHE_.mjs.map +1 -0
- package/dist/{diff-database-schema-COp7SqEI.d.mts → diff-database-schema-rhLkiByE.d.mts} +2 -2
- package/dist/{diff-database-schema-COp7SqEI.d.mts.map → diff-database-schema-rhLkiByE.d.mts.map} +1 -1
- package/dist/{indexes-BYf6nXVv-BXwLw7fO.d.mts → indexes-ooG0J-V8-CTm1QvmZ.d.mts} +3 -3
- package/dist/{indexes-BYf6nXVv-BXwLw7fO.d.mts.map → indexes-ooG0J-V8-CTm1QvmZ.d.mts.map} +1 -1
- package/dist/{infer-psl-contract-Bn0Qzy4d-D9RlEL5y.mjs → infer-psl-contract-DR0Uie7w-CkaPSdPc.mjs} +9 -7
- package/dist/infer-psl-contract-DR0Uie7w-CkaPSdPc.mjs.map +1 -0
- package/dist/{issue-planner-CbixMGS1.d.mts → issue-planner-BlN8mK4E.d.mts} +4 -4
- package/dist/{issue-planner-CbixMGS1.d.mts.map → issue-planner-BlN8mK4E.d.mts.map} +1 -1
- package/dist/migration-Be_iuIpn.mjs.map +1 -1
- package/dist/{migration-XqRvlRWn.d.mts → migration-CCE5d6Hu.d.mts} +6 -6
- package/dist/{migration-XqRvlRWn.d.mts.map → migration-CCE5d6Hu.d.mts.map} +1 -1
- package/dist/{op-factory-call-DQW9c0ec-C3qv_STE.mjs → op-factory-call-Bgxtheqh-CsY_eFlX.mjs} +20 -10
- package/dist/op-factory-call-Bgxtheqh-CsY_eFlX.mjs.map +1 -0
- package/dist/{op-factory-call-fPC4Yzy6-B6JHyh7J.d.mts → op-factory-call-CG80t74g-D9tjd13N.d.mts} +9 -9
- package/dist/{op-factory-call-fPC4Yzy6-B6JHyh7J.d.mts.map → op-factory-call-CG80t74g-D9tjd13N.d.mts.map} +1 -1
- package/dist/op-factory-call-DRapuFEI.d.mts +1 -0
- package/dist/{pack-CDKbvMvB.d.mts → pack-BjD3oNln.d.mts} +374 -93
- package/dist/pack-BjD3oNln.d.mts.map +1 -0
- package/dist/{planner-Cw5KV0_B.d.mts → planner-CyyWVHw4.d.mts} +3 -3
- package/dist/{planner-Cw5KV0_B.d.mts.map → planner-CyyWVHw4.d.mts.map} +1 -1
- package/dist/{planner-produced-postgres-migration-bn60skNP-CKjpb3S_.mjs → planner-produced-postgres-migration-BYDwCSQf-Bjxf5uvj.mjs} +4 -4
- package/dist/{planner-produced-postgres-migration-bn60skNP-CKjpb3S_.mjs.map → planner-produced-postgres-migration-BYDwCSQf-Bjxf5uvj.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-DgUtdqVh-DEhVIDmO.d.mts → planner-produced-postgres-migration-CDkRlHah-Cknq9LDt.d.mts} +4 -4
- package/dist/planner-produced-postgres-migration-CDkRlHah-Cknq9LDt.d.mts.map +1 -0
- package/dist/planner-produced-postgres-migration-Davk_RXL.d.mts +1 -0
- package/dist/planner-target-details-boDXR2s7-CExrk6rf.d.mts +21 -0
- package/dist/planner-target-details-boDXR2s7-CExrk6rf.d.mts.map +1 -0
- package/dist/{planner-BsSEbzfm-BrBEb_M1.mjs → planner-xiEt2PZE-CRK1isjH.mjs} +41 -11
- package/dist/planner-xiEt2PZE-CRK1isjH.mjs.map +1 -0
- package/dist/{postgres-contract-view-pS-iTnm--BIKbQbBd.mjs → postgres-contract-view-yDfay91x-BBinYMBq.mjs} +3 -3
- package/dist/{postgres-contract-view-pS-iTnm--BIKbQbBd.mjs.map → postgres-contract-view-yDfay91x-BBinYMBq.mjs.map} +1 -1
- package/dist/{postgres-database-schema-node-BjmJ6_Cs-LyZ0n9oj.d.mts → postgres-database-schema-node-CqEX2NPO-Be-Vk1Iw.d.mts} +19 -6
- package/dist/postgres-database-schema-node-CqEX2NPO-Be-Vk1Iw.d.mts.map +1 -0
- package/dist/{postgres-migration-MVAsm-Co-CcN0UJd7.d.mts → postgres-migration-DUgkNwUR-B3Hr27gY.d.mts} +9 -14
- package/dist/postgres-migration-DUgkNwUR-B3Hr27gY.d.mts.map +1 -0
- package/dist/{postgres-migration-CVWCygKt-DEXT0FE_.mjs → postgres-migration-DXKKrCKw-CDLugMuf.mjs} +11 -16
- package/dist/postgres-migration-DXKKrCKw-CDLugMuf.mjs.map +1 -0
- package/dist/{postgres-role-schema-node-DuljIQWp-D6Q5JyEs.mjs → postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs} +3 -3
- package/dist/{postgres-role-schema-node-DuljIQWp-D6Q5JyEs.mjs.map → postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs.map} +1 -1
- package/dist/{postgres-table-schema-node-nY6II-Uv-Bj-lgmSi.mjs → postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs} +37 -8
- package/dist/postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs.map +1 -0
- package/dist/{prisma7-binding-BexVc6RM.mjs → prisma7-binding-BA8iSLxQ.mjs} +5 -5
- package/dist/prisma7-binding-BA8iSLxQ.mjs.map +1 -0
- package/dist/{prisma7-binding-B3uUGwg2.d.mts → prisma7-binding-VYAlkSRR.d.mts} +374 -93
- package/dist/prisma7-binding-VYAlkSRR.d.mts.map +1 -0
- package/dist/{render-ops-Bl84i7ut.d.mts → render-ops-CEwI8Iyf.d.mts} +2 -2
- package/dist/{render-ops-Bl84i7ut.d.mts.map → render-ops-CEwI8Iyf.d.mts.map} +1 -1
- package/dist/{render-ops-BKDfKgOJ-DmoHztdY.mjs → render-ops-CXUeDteo-qwmXCohY.mjs} +3 -3
- package/dist/{render-ops-BKDfKgOJ-DmoHztdY.mjs.map → render-ops-CXUeDteo-qwmXCohY.mjs.map} +1 -1
- package/dist/{resolve-ddl-schema-BZzteXH1-C57Iavtu.mjs → resolve-ddl-schema-DwoTc0nu-CvyB2Tfu.mjs} +3 -8
- package/dist/resolve-ddl-schema-DwoTc0nu-CvyB2Tfu.mjs.map +1 -0
- package/dist/{runtime-K2strEv6.d.mts → runtime-SZ0CXU1B.d.mts} +2 -2
- package/dist/{runtime-K2strEv6.d.mts.map → runtime-SZ0CXU1B.d.mts.map} +1 -1
- package/dist/schema-ir-annotations-u590Zxbh.d.mts +10 -0
- package/dist/schema-ir-annotations-u590Zxbh.d.mts.map +1 -0
- package/dist/{sql-renderer-PT6pQ66O.d.mts → sql-renderer-DAkljp6a.d.mts} +2 -2
- package/dist/{sql-renderer-PT6pQ66O.d.mts.map → sql-renderer-DAkljp6a.d.mts.map} +1 -1
- package/dist/target.d.mts +20 -20
- package/dist/target.mjs +14 -14
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +22 -15
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__data-transform.d.mts +2 -2
- package/dist/target__diff-database-schema.d.mts +1 -1
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__issue-planner.d.mts +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.d.mts +3 -3
- package/dist/target__migration.mjs +2 -2
- package/dist/target__op-factory-call.d.mts +2 -2
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.d.mts +2 -2
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-target-details.d.mts +1 -1
- package/dist/target__planner.d.mts +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__render-ops.d.mts +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/target__runtime.mjs +1 -1
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.d.mts +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__types.d.mts +2 -2
- package/dist/target__types.mjs +2 -2
- package/dist/{types-D6p1198n.d.mts → types-BbuQ92k_.d.mts} +2 -2
- package/dist/{types-D6p1198n.d.mts.map → types-BbuQ92k_.d.mts.map} +1 -1
- package/dist/types-D6WI1IFf.d.mts +2 -0
- package/dist/{types-D6lgKhE5-DVHMZPbP.d.mts → types-D6lgKhE5-DEwv-pSi.d.mts} +2 -2
- package/dist/{types-D6lgKhE5-DVHMZPbP.d.mts.map → types-D6lgKhE5-DEwv-pSi.d.mts.map} +1 -1
- package/package.json +10 -10
- package/dist/authoring-BLKmfwFy-DRwqGgGY.mjs.map +0 -1
- package/dist/column-types-0CjA9Eri.d.mts.map +0 -1
- package/dist/column-types-B11Mxo9V.mjs.map +0 -1
- package/dist/contract-contributions-OLP0SDpr-eaZpGsZF.mjs.map +0 -1
- package/dist/control-B9PSgbQT.d.mts.map +0 -1
- package/dist/control-policy-K52VpMX0-CateWffI.mjs.map +0 -1
- package/dist/data-transform-nqkqNIb8.d.mts +0 -1
- package/dist/descriptor-meta-DDydgB82-Cvv8FtTL.mjs.map +0 -1
- package/dist/diff-database-schema-D_vOsC7_-CtLt0OwZ.mjs.map +0 -1
- package/dist/infer-psl-contract-Bn0Qzy4d-D9RlEL5y.mjs.map +0 -1
- package/dist/op-factory-call-DO-2Ul_8.d.mts +0 -1
- package/dist/op-factory-call-DQW9c0ec-C3qv_STE.mjs.map +0 -1
- package/dist/pack-CDKbvMvB.d.mts.map +0 -1
- package/dist/planner-BsSEbzfm-BrBEb_M1.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-CoX6OBqo.d.mts +0 -1
- package/dist/planner-produced-postgres-migration-DgUtdqVh-DEhVIDmO.d.mts.map +0 -1
- package/dist/planner-target-details-HkP4RrRO-D6VtK0jY.d.mts +0 -12
- package/dist/planner-target-details-HkP4RrRO-D6VtK0jY.d.mts.map +0 -1
- package/dist/postgres-database-schema-node-BjmJ6_Cs-LyZ0n9oj.d.mts.map +0 -1
- package/dist/postgres-migration-CVWCygKt-DEXT0FE_.mjs.map +0 -1
- package/dist/postgres-migration-MVAsm-Co-CcN0UJd7.d.mts.map +0 -1
- package/dist/postgres-table-schema-node-nY6II-Uv-Bj-lgmSi.mjs.map +0 -1
- package/dist/prisma7-binding-B3uUGwg2.d.mts.map +0 -1
- package/dist/prisma7-binding-BexVc6RM.mjs.map +0 -1
- package/dist/resolve-ddl-schema-BZzteXH1-C57Iavtu.mjs.map +0 -1
- package/dist/schema-ir-annotations-BygaWBiC.d.mts +0 -15
- package/dist/schema-ir-annotations-BygaWBiC.d.mts.map +0 -1
- package/dist/types-oaZIR8i0.d.mts +0 -2
package/dist/{op-factory-call-fPC4Yzy6-B6JHyh7J.d.mts → op-factory-call-CG80t74g-D9tjd13N.d.mts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as PostgresRlsPolicy } from "./postgres-rls-policy-CnDxf3z9-BjpVyUnK.mjs";
|
|
2
2
|
import "./types-ue6jkJyF-D79DmBTl.mjs";
|
|
3
3
|
import { s as CreateIndexElements } from "./nodes-s0Oe37jT-Cw3BU2gL.mjs";
|
|
4
|
-
import { t as PostgresPlanTargetDetails } from "./planner-target-details-
|
|
5
|
-
import { n as DataTransformColumn } from "./data-transform-
|
|
4
|
+
import { t as PostgresPlanTargetDetails } from "./planner-target-details-boDXR2s7-CExrk6rf.mjs";
|
|
5
|
+
import { n as DataTransformColumn } from "./data-transform-2o0tpMs8-DADYIvEZ.mjs";
|
|
6
6
|
import { t as ColumnTypeCheck } from "./planner-sql-checks-Ed-WGtge-D9ByMrW4.mjs";
|
|
7
|
-
import { i as ForeignKeySpec, n as AutoincrementWidth, o as RenamableConstraintKind, r as CreateIndexExtras, t as AlterColumnTypeClass } from "./indexes-
|
|
7
|
+
import { i as ForeignKeySpec, n as AutoincrementWidth, o as RenamableConstraintKind, r as CreateIndexExtras, t as AlterColumnTypeClass } from "./indexes-ooG0J-V8-CTm1QvmZ.mjs";
|
|
8
8
|
import { DdlColumn, DdlTableConstraint } from "@prisma/orm-family-sql/relational-core/ast";
|
|
9
9
|
import { DataType } from "@prisma/orm-framework/components/codec";
|
|
10
10
|
import { EnumValueCoordinateJson, MigrationOperationClass, OpFactoryCall } from "@prisma/orm-framework/components/control";
|
|
@@ -12,7 +12,7 @@ import { JsonKeyPath, JsonPath, SqlMigrationPlanOperation, SqlSlot, StoredKeyFil
|
|
|
12
12
|
import { ImportRequirement, TsExpression } from "@prisma/orm-framework/ts-render";
|
|
13
13
|
import { JsonValue } from "@prisma/orm-framework/contract/types";
|
|
14
14
|
import { ExecuteRequestLowerer, Lowerer } from "@prisma/orm-family-sql/family/control-adapter";
|
|
15
|
-
//#region ../../../3-targets/postgres/1-target/dist/op-factory-call-
|
|
15
|
+
//#region ../../../3-targets/postgres/1-target/dist/op-factory-call-CG80t74g.d.mts
|
|
16
16
|
//#region src/core/migrations/op-factory-call.d.ts
|
|
17
17
|
type Op = SqlMigrationPlanOperation<PostgresPlanTargetDetails>;
|
|
18
18
|
declare abstract class PostgresOpFactoryCallNode extends TsExpression implements OpFactoryCall {
|
|
@@ -410,10 +410,10 @@ declare class RawSqlCall extends PostgresOpFactoryCallNode {
|
|
|
410
410
|
declare class CreateExtensionCall extends PostgresOpFactoryCallNode {
|
|
411
411
|
readonly factoryName: "createExtension";
|
|
412
412
|
readonly operationClass: "additive";
|
|
413
|
-
readonly schemaName: string;
|
|
413
|
+
readonly schemaName: string | undefined;
|
|
414
414
|
readonly extensionName: string;
|
|
415
415
|
readonly label: string;
|
|
416
|
-
constructor(schemaName: string, extensionName: string);
|
|
416
|
+
constructor(schemaName: string | undefined, extensionName: string);
|
|
417
417
|
toOp(lowerer?: ExecuteRequestLowerer): Promise<Op>;
|
|
418
418
|
renderTypeScript(): string;
|
|
419
419
|
importRequirements(): readonly ImportRequirement[];
|
|
@@ -421,10 +421,10 @@ declare class CreateExtensionCall extends PostgresOpFactoryCallNode {
|
|
|
421
421
|
declare class DropExtensionCall extends PostgresOpFactoryCallNode {
|
|
422
422
|
readonly factoryName: "dropExtension";
|
|
423
423
|
readonly operationClass: "destructive";
|
|
424
|
-
readonly schemaName: string;
|
|
424
|
+
readonly schemaName: string | undefined;
|
|
425
425
|
readonly extensionName: string;
|
|
426
426
|
readonly label: string;
|
|
427
|
-
constructor(schemaName: string, extensionName: string);
|
|
427
|
+
constructor(schemaName: string | undefined, extensionName: string);
|
|
428
428
|
toOp(lowerer?: ExecuteRequestLowerer): Promise<Op>;
|
|
429
429
|
renderTypeScript(): string;
|
|
430
430
|
importRequirements(): readonly ImportRequirement[];
|
|
@@ -721,4 +721,4 @@ declare class RenamePostgresRlsPolicyCall extends PostgresOpFactoryCallNode {
|
|
|
721
721
|
type PostgresOpFactoryCall = CreateTableCall | DropTableCall | RenameTableCall | AddColumnCall | RenameColumnCall | DropColumnCall | AlterColumnTypeCall | SetNotNullCall | DropNotNullCall | SetDefaultCall | DropDefaultCall | AddRequiredColumnToEmptyTableCall | AddColumnWithTemporaryDefaultCall | AddPrimaryKeyCall | AddForeignKeyCall | AddUniqueCall | AddCheckConstraintCall | RenameConstraintCall | DropCheckConstraintCall | CreateIndexCall | RenameIndexCall | DropIndexCall | DropConstraintCall | RawSqlCall | CreateExtensionCall | DropExtensionCall | SetExtensionSchemaCall | CreateSchemaCall | SetTableSchemaCall | RenameSchemaCall | DropSchemaCall | CreateNativeEnumTypeCall | DropNativeEnumTypeCall | AddNativeEnumValueCall | ReplaceStoredValueCall | RemoveStoredValueCall | RenameStoredKeyCall | RemoveStoredKeyCall | FillStoredKeyCall | DeleteRowsCall | CreatePostgresRlsPolicyCall | DropPostgresRlsPolicyCall | EnableRowLevelSecurityCall | DisableRowLevelSecurityCall | RenamePostgresRlsPolicyCall | DataTransformCall;
|
|
722
722
|
//#endregion
|
|
723
723
|
export { EnableRowLevelSecurityCall as A, RenameSchemaCall as B, DropExtensionCall as C, DropPostgresRlsPolicyCall as D, DropNotNullCall as E, RemoveStoredValueCall as F, SetExtensionSchemaCall as G, RenameTableCall as H, RenameColumnCall as I, SetNotNullCall as K, RenameConstraintCall as L, PostgresOpFactoryCall as M, RawSqlCall as N, DropSchemaCall as O, RemoveStoredKeyCall as P, RenameIndexCall as R, DropDefaultCall as S, DropNativeEnumTypeCall as T, ReplaceStoredValueCall as U, RenameStoredKeyCall as V, SetDefaultCall as W, DeleteRowsCall as _, AddNativeEnumValueCall as a, DropColumnCall as b, AddUniqueCall as c, CreateIndexCall as d, CreateNativeEnumTypeCall as f, DataTransformCall as g, CreateTableCall as h, AddForeignKeyCall as i, FillStoredKeyCall as j, DropTableCall as k, AlterColumnTypeCall as l, CreateSchemaCall as m, AddColumnCall as n, AddPrimaryKeyCall as o, CreatePostgresRlsPolicyCall as p, SetTableSchemaCall as q, AddColumnWithTemporaryDefaultCall as r, AddRequiredColumnToEmptyTableCall as s, AddCheckConstraintCall as t, CreateExtensionCall as u, DisableRowLevelSecurityCall as v, DropIndexCall as w, DropConstraintCall as x, DropCheckConstraintCall as y, RenamePostgresRlsPolicyCall as z };
|
|
724
|
-
//# sourceMappingURL=op-factory-call-
|
|
724
|
+
//# sourceMappingURL=op-factory-call-CG80t74g-D9tjd13N.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"op-factory-call-
|
|
1
|
+
{"version":3,"file":"op-factory-call-CG80t74g-D9tjd13N.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/op-factory-call-CG80t74g.d.mts"],"mappings":";;;;;;;;;;;;;;;;KAeK,KAAK,0BAA0B;uBACb,kCAAkC,wBAAwB;oBAC7D;oBACA,gBAAgB;oBAChB;WACT,KAAK,UAAU,UAAU,KAAK,QAAQ;;EAE/C,MAAM,UAAU,kCAAkC,KAAK,QAAQ;EAC/D,+BAA+B;YACrB;;cAEE,wBAAwB;;WAE3B;WACA;WACA;WACA;WACA,kBAAkB;WAClB,sBAAsB;WACtB;EACT,YAAY,oBAAoB,mBAAmB,kBAAkB,aAAa,uBAAuB;EACzG,KAAK,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;cAEnB,sBAAsB;WACzB;WACA;WACA;WACA;WACA;EACT,YAAY,oBAAoB;EAChC,KAAK,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;;KAG5B,sBAAsB,uBAAuB;cACpC,wBAAwB;WAC3B;WACA;WACA;WACA;;WAEA;WACA;;;;;WAKA,qBAAqB;EAC9B,YAAY,oBAAoB,sBAAsB,mBAAmB,qBAAqB;EAC9F,MAAM,UAAU,kCAAkC,KAAK,QAAQ;EAC/D,KAAK,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;cAEnB,sBAAsB;;WAEzB;WACA;WACA;WACA;WACA,QAA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K,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;cAEnB,oCAAoC;WACvC;WACA;WACA;WACA;WACA;WACA;WACA;EACT,YAAY,oBAAoB,mBAAmB,uBAAuB;EAC1E,KAAK,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;KAE5B,wBAAwB,kBAAkB,gBAAgB,kBAAkB,gBAAgB,mBAAmB,iBAAiB,sBAAsB,iBAAiB,kBAAkB,iBAAiB,kBAAkB,oCAAoC,oCAAoC,oBAAoB,oBAAoB,gBAAgB,yBAAyB,uBAAuB,0BAA0B,kBAAkB,kBAAkB,gBAAgB,qBAAqB,aAAa,sBAAsB,oBAAoB,yBAAyB,mBAAmB,qBAAqB,mBAAmB,iBAAiB,2BAA2B,yBAAyB,yBAAyB,yBAAyB,wBAAwB,sBAAsB,sBAAsB,oBAAoB,iBAAiB,8BAA8B,4BAA4B,6BAA6B,8BAA8B,8BAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./op-factory-call-CG80t74g-D9tjd13N.mjs";
|
|
@@ -32,20 +32,6 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
32
32
|
}>>;
|
|
33
33
|
readonly authoring: {
|
|
34
34
|
readonly type: {
|
|
35
|
-
readonly BigIntNumber: {
|
|
36
|
-
readonly kind: "typeConstructor";
|
|
37
|
-
readonly documentation: "A PostgreSQL 64-bit integer represented as a JavaScript number within its safe integer range.";
|
|
38
|
-
readonly output: {
|
|
39
|
-
readonly codecId: "pg/int8number@1";
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
readonly UnboundedInt: {
|
|
43
|
-
readonly kind: "typeConstructor";
|
|
44
|
-
readonly documentation: "An arbitrary-precision integer stored as PostgreSQL numeric and represented as bigint.";
|
|
45
|
-
readonly output: {
|
|
46
|
-
readonly codecId: "pg/unboundedint@1";
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
35
|
readonly pg: {
|
|
50
36
|
readonly enum: {
|
|
51
37
|
readonly kind: "typeConstructor";
|
|
@@ -195,6 +181,294 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
195
181
|
};
|
|
196
182
|
};
|
|
197
183
|
};
|
|
184
|
+
readonly SmallInt: {
|
|
185
|
+
readonly deprecated: {
|
|
186
|
+
readonly replacement: "Int2";
|
|
187
|
+
};
|
|
188
|
+
readonly kind: "typeConstructor";
|
|
189
|
+
readonly documentation: "A signed 16-bit integer stored as PostgreSQL int2 and represented as a JavaScript number.";
|
|
190
|
+
readonly output: {
|
|
191
|
+
readonly codecId: "pg/int2@1";
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly BigIntNumber: {
|
|
195
|
+
readonly deprecated: {
|
|
196
|
+
readonly replacement: "Int8Number";
|
|
197
|
+
};
|
|
198
|
+
readonly kind: "typeConstructor";
|
|
199
|
+
readonly documentation: "A signed 64-bit integer stored as PostgreSQL int8 and represented as a JavaScript number within its safe integer range.";
|
|
200
|
+
readonly output: {
|
|
201
|
+
readonly codecId: "pg/int8number@1";
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
readonly Numeric: {
|
|
205
|
+
readonly deprecated: {
|
|
206
|
+
readonly replacement: "NumericString";
|
|
207
|
+
};
|
|
208
|
+
readonly kind: "typeConstructor";
|
|
209
|
+
readonly documentation: "An exact decimal value stored as PostgreSQL numeric, with optional precision and scale, and represented as decimal text.";
|
|
210
|
+
readonly args: readonly [{
|
|
211
|
+
readonly kind: "value";
|
|
212
|
+
readonly dataType: "pg/int4";
|
|
213
|
+
readonly name: "precision";
|
|
214
|
+
readonly optional: true;
|
|
215
|
+
}, {
|
|
216
|
+
readonly kind: "value";
|
|
217
|
+
readonly dataType: "pg/int4";
|
|
218
|
+
readonly name: "scale";
|
|
219
|
+
readonly optional: true;
|
|
220
|
+
}];
|
|
221
|
+
readonly output: {
|
|
222
|
+
readonly codecId: "pg/numeric@1";
|
|
223
|
+
readonly typeParams: {
|
|
224
|
+
readonly precision: {
|
|
225
|
+
readonly kind: "arg";
|
|
226
|
+
readonly index: 0;
|
|
227
|
+
};
|
|
228
|
+
readonly scale: {
|
|
229
|
+
readonly kind: "arg";
|
|
230
|
+
readonly index: 1;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly UnboundedInt: {
|
|
236
|
+
readonly deprecated: {
|
|
237
|
+
readonly replacement: "NumericBigInt";
|
|
238
|
+
};
|
|
239
|
+
readonly kind: "typeConstructor";
|
|
240
|
+
readonly documentation: "An arbitrary-precision integer stored as PostgreSQL numeric and represented as a JavaScript bigint.";
|
|
241
|
+
readonly output: {
|
|
242
|
+
readonly codecId: "pg/unboundedint@1";
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
readonly Real: {
|
|
246
|
+
readonly deprecated: {
|
|
247
|
+
readonly replacement: "Float4";
|
|
248
|
+
};
|
|
249
|
+
readonly kind: "typeConstructor";
|
|
250
|
+
readonly documentation: "A single-precision floating-point number stored as PostgreSQL float4.";
|
|
251
|
+
readonly output: {
|
|
252
|
+
readonly codecId: "pg/float4@1";
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
readonly VarChar: {
|
|
256
|
+
readonly deprecated: {
|
|
257
|
+
readonly replacement: "Varchar";
|
|
258
|
+
};
|
|
259
|
+
readonly kind: "typeConstructor";
|
|
260
|
+
readonly documentation: "Variable-length text stored as PostgreSQL character varying, with an optional maximum character length.";
|
|
261
|
+
readonly args: readonly [{
|
|
262
|
+
readonly kind: "value";
|
|
263
|
+
readonly dataType: "pg/int4";
|
|
264
|
+
readonly name: "length";
|
|
265
|
+
readonly optional: true;
|
|
266
|
+
}];
|
|
267
|
+
readonly output: {
|
|
268
|
+
readonly codecId: "sql/varchar@1";
|
|
269
|
+
readonly typeParams: {
|
|
270
|
+
readonly length: {
|
|
271
|
+
readonly kind: "arg";
|
|
272
|
+
readonly index: 0;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
readonly VarBit: {
|
|
278
|
+
readonly deprecated: {
|
|
279
|
+
readonly replacement: "Varbit";
|
|
280
|
+
};
|
|
281
|
+
readonly kind: "typeConstructor";
|
|
282
|
+
readonly documentation: "A variable-length bit string with an optional maximum length in bits.";
|
|
283
|
+
readonly args: readonly [{
|
|
284
|
+
readonly kind: "value";
|
|
285
|
+
readonly dataType: "pg/int4";
|
|
286
|
+
readonly name: "length";
|
|
287
|
+
readonly optional: true;
|
|
288
|
+
}];
|
|
289
|
+
readonly output: {
|
|
290
|
+
readonly codecId: "pg/varbit@1";
|
|
291
|
+
readonly typeParams: {
|
|
292
|
+
readonly length: {
|
|
293
|
+
readonly kind: "arg";
|
|
294
|
+
readonly index: 0;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
readonly Int: {
|
|
300
|
+
readonly kind: "typeChoice";
|
|
301
|
+
readonly documentation: "An integer read as a JavaScript number. `storage` is int4, a 32-bit integer, or int2, a 16-bit integer.";
|
|
302
|
+
readonly args: readonly [{
|
|
303
|
+
readonly kind: "option";
|
|
304
|
+
readonly name: "storage";
|
|
305
|
+
readonly values: readonly ["int4", "int2"];
|
|
306
|
+
readonly default: "int4";
|
|
307
|
+
readonly optional: true;
|
|
308
|
+
}];
|
|
309
|
+
readonly choices: readonly [{
|
|
310
|
+
readonly when: {
|
|
311
|
+
readonly storage: "int4";
|
|
312
|
+
};
|
|
313
|
+
readonly type: "Int4";
|
|
314
|
+
}, {
|
|
315
|
+
readonly when: {
|
|
316
|
+
readonly storage: "int2";
|
|
317
|
+
};
|
|
318
|
+
readonly type: "Int2";
|
|
319
|
+
}];
|
|
320
|
+
};
|
|
321
|
+
readonly BigInt: {
|
|
322
|
+
readonly kind: "typeChoice";
|
|
323
|
+
readonly documentation: "An integer that may exceed 32 bits. `as` is what the application reads: bigint, or number within the safe integer range. `storage` is int8, a 64-bit integer, or numeric, an integer of any size, with as: bigint.";
|
|
324
|
+
readonly args: readonly [{
|
|
325
|
+
readonly kind: "option";
|
|
326
|
+
readonly name: "as";
|
|
327
|
+
readonly values: readonly ["bigint", "number"];
|
|
328
|
+
readonly default: "bigint";
|
|
329
|
+
readonly optional: true;
|
|
330
|
+
}, {
|
|
331
|
+
readonly kind: "option";
|
|
332
|
+
readonly name: "storage";
|
|
333
|
+
readonly values: readonly ["int8", "numeric"];
|
|
334
|
+
readonly default: "int8";
|
|
335
|
+
readonly optional: true;
|
|
336
|
+
}];
|
|
337
|
+
readonly choices: readonly [{
|
|
338
|
+
readonly when: {
|
|
339
|
+
readonly as: "bigint";
|
|
340
|
+
readonly storage: "int8";
|
|
341
|
+
};
|
|
342
|
+
readonly type: "Int8BigInt";
|
|
343
|
+
}, {
|
|
344
|
+
readonly when: {
|
|
345
|
+
readonly as: "number";
|
|
346
|
+
readonly storage: "int8";
|
|
347
|
+
};
|
|
348
|
+
readonly type: "Int8Number";
|
|
349
|
+
}, {
|
|
350
|
+
readonly when: {
|
|
351
|
+
readonly as: "bigint";
|
|
352
|
+
readonly storage: "numeric";
|
|
353
|
+
};
|
|
354
|
+
readonly type: "NumericBigInt";
|
|
355
|
+
}];
|
|
356
|
+
};
|
|
357
|
+
readonly Float: {
|
|
358
|
+
readonly kind: "typeChoice";
|
|
359
|
+
readonly documentation: "A floating-point number. `storage` is float8, double precision, or float4, single precision.";
|
|
360
|
+
readonly args: readonly [{
|
|
361
|
+
readonly kind: "option";
|
|
362
|
+
readonly name: "storage";
|
|
363
|
+
readonly values: readonly ["float8", "float4"];
|
|
364
|
+
readonly default: "float8";
|
|
365
|
+
readonly optional: true;
|
|
366
|
+
}];
|
|
367
|
+
readonly choices: readonly [{
|
|
368
|
+
readonly when: {
|
|
369
|
+
readonly storage: "float8";
|
|
370
|
+
};
|
|
371
|
+
readonly type: "Float8";
|
|
372
|
+
}, {
|
|
373
|
+
readonly when: {
|
|
374
|
+
readonly storage: "float4";
|
|
375
|
+
};
|
|
376
|
+
readonly type: "Float4";
|
|
377
|
+
}];
|
|
378
|
+
};
|
|
379
|
+
readonly Decimal: {
|
|
380
|
+
readonly kind: "typeChoice";
|
|
381
|
+
readonly documentation: "An exact decimal number, read as decimal text such as \"12.50\". `storage` is numeric, with optional precision and scale.";
|
|
382
|
+
readonly args: readonly [{
|
|
383
|
+
readonly kind: "option";
|
|
384
|
+
readonly name: "storage";
|
|
385
|
+
readonly values: readonly ["numeric"];
|
|
386
|
+
readonly default: "numeric";
|
|
387
|
+
readonly optional: true;
|
|
388
|
+
}, {
|
|
389
|
+
readonly kind: "value";
|
|
390
|
+
readonly dataType: "pg/int4";
|
|
391
|
+
readonly name: "precision";
|
|
392
|
+
readonly optional: true;
|
|
393
|
+
}, {
|
|
394
|
+
readonly kind: "value";
|
|
395
|
+
readonly dataType: "pg/int4";
|
|
396
|
+
readonly name: "scale";
|
|
397
|
+
readonly optional: true;
|
|
398
|
+
}];
|
|
399
|
+
readonly choices: readonly [{
|
|
400
|
+
readonly when: {
|
|
401
|
+
readonly storage: "numeric";
|
|
402
|
+
};
|
|
403
|
+
readonly type: "NumericString";
|
|
404
|
+
}];
|
|
405
|
+
};
|
|
406
|
+
readonly String: {
|
|
407
|
+
readonly kind: "typeChoice";
|
|
408
|
+
readonly documentation: "Text. `storage` is text, of any length, or varchar or char, which take an optional length.";
|
|
409
|
+
readonly args: readonly [{
|
|
410
|
+
readonly kind: "option";
|
|
411
|
+
readonly name: "storage";
|
|
412
|
+
readonly values: readonly ["text", "varchar", "char"];
|
|
413
|
+
readonly default: "text";
|
|
414
|
+
readonly optional: true;
|
|
415
|
+
}, {
|
|
416
|
+
readonly kind: "value";
|
|
417
|
+
readonly dataType: "pg/int4";
|
|
418
|
+
readonly name: "length";
|
|
419
|
+
readonly optional: true;
|
|
420
|
+
}];
|
|
421
|
+
readonly choices: readonly [{
|
|
422
|
+
readonly when: {
|
|
423
|
+
readonly storage: "text";
|
|
424
|
+
};
|
|
425
|
+
readonly type: "Text";
|
|
426
|
+
}, {
|
|
427
|
+
readonly when: {
|
|
428
|
+
readonly storage: "varchar";
|
|
429
|
+
};
|
|
430
|
+
readonly type: "Varchar";
|
|
431
|
+
}, {
|
|
432
|
+
readonly when: {
|
|
433
|
+
readonly storage: "char";
|
|
434
|
+
};
|
|
435
|
+
readonly type: "Char";
|
|
436
|
+
}];
|
|
437
|
+
};
|
|
438
|
+
readonly Boolean: {
|
|
439
|
+
readonly kind: "typeChoice";
|
|
440
|
+
readonly documentation: "A true or false value. `storage` is bool.";
|
|
441
|
+
readonly args: readonly [{
|
|
442
|
+
readonly kind: "option";
|
|
443
|
+
readonly name: "storage";
|
|
444
|
+
readonly values: readonly ["bool"];
|
|
445
|
+
readonly default: "bool";
|
|
446
|
+
readonly optional: true;
|
|
447
|
+
}];
|
|
448
|
+
readonly choices: readonly [{
|
|
449
|
+
readonly when: {
|
|
450
|
+
readonly storage: "bool";
|
|
451
|
+
};
|
|
452
|
+
readonly type: "Bool";
|
|
453
|
+
}];
|
|
454
|
+
};
|
|
455
|
+
readonly Bytes: {
|
|
456
|
+
readonly kind: "typeChoice";
|
|
457
|
+
readonly documentation: "Binary data, read as a Uint8Array. `storage` is bytea.";
|
|
458
|
+
readonly args: readonly [{
|
|
459
|
+
readonly kind: "option";
|
|
460
|
+
readonly name: "storage";
|
|
461
|
+
readonly values: readonly ["bytea"];
|
|
462
|
+
readonly default: "bytea";
|
|
463
|
+
readonly optional: true;
|
|
464
|
+
}];
|
|
465
|
+
readonly choices: readonly [{
|
|
466
|
+
readonly when: {
|
|
467
|
+
readonly storage: "bytea";
|
|
468
|
+
};
|
|
469
|
+
readonly type: "Bytea";
|
|
470
|
+
}];
|
|
471
|
+
};
|
|
198
472
|
readonly DateTime: {
|
|
199
473
|
readonly kind: "typeChoice";
|
|
200
474
|
readonly documentation: "A moment in time. `as` is what the application reads: jsDate (a JavaScript Date), temporal (Temporal.Instant) or string. `storage` is timestamptz or timestamp, a timestamp read and written as UTC.";
|
|
@@ -366,81 +640,101 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
366
640
|
readonly type: "IntervalParts";
|
|
367
641
|
}];
|
|
368
642
|
};
|
|
369
|
-
readonly
|
|
370
|
-
readonly kind: "typeConstructor";
|
|
643
|
+
readonly Int2: {
|
|
371
644
|
readonly inferred: true;
|
|
372
|
-
readonly documentation: "Variable-length text stored as PostgreSQL text.";
|
|
373
|
-
readonly output: {
|
|
374
|
-
readonly codecId: "pg/text@1";
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
readonly Boolean: {
|
|
378
645
|
readonly kind: "typeConstructor";
|
|
379
|
-
readonly
|
|
380
|
-
readonly documentation: "A true or false value stored as PostgreSQL boolean.";
|
|
646
|
+
readonly documentation: "A signed 16-bit integer stored as PostgreSQL int2 and represented as a JavaScript number.";
|
|
381
647
|
readonly output: {
|
|
382
|
-
readonly codecId: "pg/
|
|
648
|
+
readonly codecId: "pg/int2@1";
|
|
383
649
|
};
|
|
384
650
|
};
|
|
385
|
-
readonly
|
|
651
|
+
readonly Int4: {
|
|
386
652
|
readonly kind: "typeConstructor";
|
|
387
653
|
readonly inferred: true;
|
|
388
|
-
readonly documentation: "A signed 32-bit integer represented as a JavaScript number.";
|
|
654
|
+
readonly documentation: "A signed 32-bit integer stored as PostgreSQL int4 and represented as a JavaScript number.";
|
|
389
655
|
readonly output: {
|
|
390
656
|
readonly codecId: "pg/int4@1";
|
|
391
657
|
};
|
|
392
658
|
};
|
|
393
|
-
readonly
|
|
659
|
+
readonly Int8BigInt: {
|
|
394
660
|
readonly kind: "typeConstructor";
|
|
395
661
|
readonly inferred: true;
|
|
396
|
-
readonly documentation: "A signed 64-bit integer represented as a JavaScript bigint.";
|
|
662
|
+
readonly documentation: "A signed 64-bit integer stored as PostgreSQL int8 and represented as a JavaScript bigint.";
|
|
397
663
|
readonly output: {
|
|
398
664
|
readonly codecId: "pg/int8@1";
|
|
399
665
|
};
|
|
400
666
|
};
|
|
401
|
-
readonly
|
|
667
|
+
readonly Int8Number: {
|
|
402
668
|
readonly kind: "typeConstructor";
|
|
403
|
-
readonly
|
|
404
|
-
readonly documentation: "A double-precision floating-point number.";
|
|
669
|
+
readonly documentation: "A signed 64-bit integer stored as PostgreSQL int8 and represented as a JavaScript number within its safe integer range.";
|
|
405
670
|
readonly output: {
|
|
406
|
-
readonly codecId: "pg/
|
|
671
|
+
readonly codecId: "pg/int8number@1";
|
|
407
672
|
};
|
|
408
673
|
};
|
|
409
|
-
readonly
|
|
674
|
+
readonly NumericString: {
|
|
675
|
+
readonly inferred: true;
|
|
410
676
|
readonly kind: "typeConstructor";
|
|
411
|
-
readonly documentation: "An exact decimal value stored as PostgreSQL numeric.";
|
|
677
|
+
readonly documentation: "An exact decimal value stored as PostgreSQL numeric, with optional precision and scale, and represented as decimal text.";
|
|
678
|
+
readonly args: readonly [{
|
|
679
|
+
readonly kind: "value";
|
|
680
|
+
readonly dataType: "pg/int4";
|
|
681
|
+
readonly name: "precision";
|
|
682
|
+
readonly optional: true;
|
|
683
|
+
}, {
|
|
684
|
+
readonly kind: "value";
|
|
685
|
+
readonly dataType: "pg/int4";
|
|
686
|
+
readonly name: "scale";
|
|
687
|
+
readonly optional: true;
|
|
688
|
+
}];
|
|
412
689
|
readonly output: {
|
|
413
690
|
readonly codecId: "pg/numeric@1";
|
|
691
|
+
readonly typeParams: {
|
|
692
|
+
readonly precision: {
|
|
693
|
+
readonly kind: "arg";
|
|
694
|
+
readonly index: 0;
|
|
695
|
+
};
|
|
696
|
+
readonly scale: {
|
|
697
|
+
readonly kind: "arg";
|
|
698
|
+
readonly index: 1;
|
|
699
|
+
};
|
|
700
|
+
};
|
|
414
701
|
};
|
|
415
702
|
};
|
|
416
|
-
readonly
|
|
703
|
+
readonly NumericBigInt: {
|
|
417
704
|
readonly kind: "typeConstructor";
|
|
705
|
+
readonly documentation: "An arbitrary-precision integer stored as PostgreSQL numeric and represented as a JavaScript bigint.";
|
|
706
|
+
readonly output: {
|
|
707
|
+
readonly codecId: "pg/unboundedint@1";
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
readonly Float4: {
|
|
418
711
|
readonly inferred: true;
|
|
419
|
-
readonly
|
|
712
|
+
readonly kind: "typeConstructor";
|
|
713
|
+
readonly documentation: "A single-precision floating-point number stored as PostgreSQL float4.";
|
|
420
714
|
readonly output: {
|
|
421
|
-
readonly codecId: "pg/
|
|
715
|
+
readonly codecId: "pg/float4@1";
|
|
422
716
|
};
|
|
423
717
|
};
|
|
424
|
-
readonly
|
|
718
|
+
readonly Float8: {
|
|
425
719
|
readonly kind: "typeConstructor";
|
|
426
720
|
readonly inferred: true;
|
|
427
|
-
readonly documentation: "A
|
|
721
|
+
readonly documentation: "A double-precision floating-point number stored as PostgreSQL float8.";
|
|
428
722
|
readonly output: {
|
|
429
|
-
readonly codecId: "pg/
|
|
723
|
+
readonly codecId: "pg/float8@1";
|
|
430
724
|
};
|
|
431
725
|
};
|
|
432
|
-
readonly
|
|
726
|
+
readonly Text: {
|
|
433
727
|
readonly kind: "typeConstructor";
|
|
434
728
|
readonly inferred: true;
|
|
435
|
-
readonly documentation: "
|
|
729
|
+
readonly documentation: "Variable-length text stored as PostgreSQL text.";
|
|
436
730
|
readonly output: {
|
|
437
|
-
readonly codecId: "pg/
|
|
731
|
+
readonly codecId: "pg/text@1";
|
|
438
732
|
};
|
|
439
733
|
};
|
|
440
|
-
readonly
|
|
441
|
-
readonly kind: "typeConstructor";
|
|
734
|
+
readonly Varchar: {
|
|
442
735
|
readonly inferred: true;
|
|
443
|
-
readonly
|
|
736
|
+
readonly kind: "typeConstructor";
|
|
737
|
+
readonly documentation: "Variable-length text stored as PostgreSQL character varying, with an optional maximum character length.";
|
|
444
738
|
readonly args: readonly [{
|
|
445
739
|
readonly kind: "value";
|
|
446
740
|
readonly dataType: "pg/int4";
|
|
@@ -460,7 +754,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
460
754
|
readonly Char: {
|
|
461
755
|
readonly kind: "typeConstructor";
|
|
462
756
|
readonly inferred: true;
|
|
463
|
-
readonly documentation: "Fixed-length, blank-padded text with an optional character length.";
|
|
757
|
+
readonly documentation: "Fixed-length, blank-padded text stored as PostgreSQL character, with an optional character length.";
|
|
464
758
|
readonly args: readonly [{
|
|
465
759
|
readonly kind: "value";
|
|
466
760
|
readonly dataType: "pg/int4";
|
|
@@ -477,33 +771,36 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
477
771
|
};
|
|
478
772
|
};
|
|
479
773
|
};
|
|
480
|
-
readonly
|
|
774
|
+
readonly Bool: {
|
|
481
775
|
readonly kind: "typeConstructor";
|
|
482
776
|
readonly inferred: true;
|
|
483
|
-
readonly documentation: "
|
|
484
|
-
readonly args: readonly [{
|
|
485
|
-
readonly kind: "value";
|
|
486
|
-
readonly dataType: "pg/int4";
|
|
487
|
-
readonly name: "precision";
|
|
488
|
-
readonly optional: true;
|
|
489
|
-
}, {
|
|
490
|
-
readonly kind: "value";
|
|
491
|
-
readonly dataType: "pg/int4";
|
|
492
|
-
readonly name: "scale";
|
|
493
|
-
readonly optional: true;
|
|
494
|
-
}];
|
|
777
|
+
readonly documentation: "A true or false value stored as PostgreSQL bool.";
|
|
495
778
|
readonly output: {
|
|
496
|
-
readonly codecId: "pg/
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
779
|
+
readonly codecId: "pg/bool@1";
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
readonly Bytea: {
|
|
783
|
+
readonly kind: "typeConstructor";
|
|
784
|
+
readonly inferred: true;
|
|
785
|
+
readonly documentation: "Binary data stored as PostgreSQL bytea and represented as a Uint8Array.";
|
|
786
|
+
readonly output: {
|
|
787
|
+
readonly codecId: "pg/bytea@1";
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
readonly Json: {
|
|
791
|
+
readonly kind: "typeConstructor";
|
|
792
|
+
readonly inferred: true;
|
|
793
|
+
readonly documentation: "A JSON value stored as PostgreSQL json.";
|
|
794
|
+
readonly output: {
|
|
795
|
+
readonly codecId: "pg/json@1";
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
readonly Jsonb: {
|
|
799
|
+
readonly kind: "typeConstructor";
|
|
800
|
+
readonly inferred: true;
|
|
801
|
+
readonly documentation: "A JSON value stored in PostgreSQL binary jsonb format.";
|
|
802
|
+
readonly output: {
|
|
803
|
+
readonly codecId: "pg/jsonb@1";
|
|
507
804
|
};
|
|
508
805
|
};
|
|
509
806
|
readonly TimestampTemporal: {
|
|
@@ -599,22 +896,6 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
599
896
|
readonly codecId: "pg/inet@1";
|
|
600
897
|
};
|
|
601
898
|
};
|
|
602
|
-
readonly SmallInt: {
|
|
603
|
-
readonly kind: "typeConstructor";
|
|
604
|
-
readonly inferred: true;
|
|
605
|
-
readonly documentation: "A signed 16-bit integer represented as a JavaScript number.";
|
|
606
|
-
readonly output: {
|
|
607
|
-
readonly codecId: "pg/int2@1";
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
readonly Real: {
|
|
611
|
-
readonly kind: "typeConstructor";
|
|
612
|
-
readonly inferred: true;
|
|
613
|
-
readonly documentation: "A single-precision floating-point number.";
|
|
614
|
-
readonly output: {
|
|
615
|
-
readonly codecId: "pg/float4@1";
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
899
|
readonly DateTemporal: {
|
|
619
900
|
readonly kind: "typeConstructor";
|
|
620
901
|
readonly documentation: "A calendar date represented as Temporal.PlainDate.";
|
|
@@ -767,9 +1048,9 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
767
1048
|
};
|
|
768
1049
|
};
|
|
769
1050
|
};
|
|
770
|
-
readonly
|
|
771
|
-
readonly kind: "typeConstructor";
|
|
1051
|
+
readonly Varbit: {
|
|
772
1052
|
readonly inferred: true;
|
|
1053
|
+
readonly kind: "typeConstructor";
|
|
773
1054
|
readonly documentation: "A variable-length bit string with an optional maximum length in bits.";
|
|
774
1055
|
readonly args: readonly [{
|
|
775
1056
|
readonly kind: "value";
|
|
@@ -888,7 +1169,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
888
1169
|
name: string;
|
|
889
1170
|
tableName: string;
|
|
890
1171
|
namespaceId: string;
|
|
891
|
-
operation: "select" | "
|
|
1172
|
+
operation: "select" | "delete" | "insert" | "update" | "all";
|
|
892
1173
|
roles: readonly string[];
|
|
893
1174
|
permissive: boolean;
|
|
894
1175
|
prefix?: string;
|
|
@@ -1144,7 +1425,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
1144
1425
|
}, import("@prisma/orm-framework/components/components").GeneratorFunctionContribution, ...import("@prisma/orm-framework/components/components").GeneratorFunctionContribution[]];
|
|
1145
1426
|
readonly controlMutationDefaults: {
|
|
1146
1427
|
readonly defaultFunctionRegistry: Map<any, any>;
|
|
1147
|
-
readonly generatorDescriptors: readonly import("@prisma/orm-framework/components/
|
|
1428
|
+
readonly generatorDescriptors: readonly import("@prisma/orm-framework/components/control").MutationDefaultGeneratorDescriptor[];
|
|
1148
1429
|
};
|
|
1149
1430
|
readonly types: {
|
|
1150
1431
|
readonly queryOperationTypes: {
|
|
@@ -1181,4 +1462,4 @@ declare const postgresTargetDescriptorMeta: typeof postgresTargetDescriptorMetaB
|
|
|
1181
1462
|
};
|
|
1182
1463
|
//#endregion
|
|
1183
1464
|
export { postgresTargetDescriptorMeta as t };
|
|
1184
|
-
//# sourceMappingURL=pack-
|
|
1465
|
+
//# sourceMappingURL=pack-BjD3oNln.d.mts.map
|