@prisma/orm-target-postgres 8.0.0-rc.14-dev.14 → 8.0.0-rc.14-dev.16
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-WLK_P3mT.d.mts → adapter-DmDLDsVW.d.mts} +2 -2
- package/dist/{adapter-WLK_P3mT.d.mts.map → adapter-DmDLDsVW.d.mts.map} +1 -1
- package/dist/{adapter-Bb_FFDea-DyyfToJz.mjs → adapter-zLXT8Yxm-BX8ynGWu.mjs} +3 -3
- package/dist/{adapter-Bb_FFDea-DyyfToJz.mjs.map → adapter-zLXT8Yxm-BX8ynGWu.mjs.map} +1 -1
- package/dist/adapter.d.mts +6 -6
- package/dist/adapter.mjs +2 -2
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +1 -1
- 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 +1 -1
- 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/{check-expressions-D4R7JhiZ-q-dFPGT2.d.mts → check-expressions-CBIgoKhV-D7oTR8lp.d.mts} +8 -6
- package/dist/check-expressions-CBIgoKhV-D7oTR8lp.d.mts.map +1 -0
- package/dist/{check-expressions-DLCs-SXx-itMQrUsX.mjs → check-expressions-DJNIFTHB-C86_fR5c.mjs} +9 -7
- package/dist/check-expressions-DJNIFTHB-C86_fR5c.mjs.map +1 -0
- package/dist/{control-BMhsfqMy.mjs → control-9MzjJLOE.mjs} +14 -12
- package/dist/control-9MzjJLOE.mjs.map +1 -0
- package/dist/{control-DoIm71dz.d.mts → control-CoZVI8XA.d.mts} +2 -2
- package/dist/{control-DoIm71dz.d.mts.map → control-CoZVI8XA.d.mts.map} +1 -1
- package/dist/{control-adapter-C6kz--Q4-BBli0l1k.mjs → control-adapter-DlHDFQw4-Awa40s5_.mjs} +3 -2
- package/dist/{control-adapter-C6kz--Q4-BBli0l1k.mjs.map → control-adapter-DlHDFQw4-Awa40s5_.mjs.map} +1 -1
- package/dist/{control-policy-CThlWQ8k-m3CT6KpR.mjs → control-policy-B_b8ZqDi-zNYBao6-.mjs} +5 -5
- package/dist/control-policy-B_b8ZqDi-zNYBao6-.mjs.map +1 -0
- package/dist/{descriptor-meta-JJJwM3Gl-BcH0pYOV.mjs → descriptor-meta-DDMTgiok-DuHh-HnB.mjs} +3 -3
- package/dist/{descriptor-meta-JJJwM3Gl-BcH0pYOV.mjs.map → descriptor-meta-DDMTgiok-DuHh-HnB.mjs.map} +1 -1
- package/dist/{diff-database-schema-Bp0uC68P-NxeVJERq.mjs → diff-database-schema-Cd6igMdS-CD3R7EC4.mjs} +3 -3
- package/dist/{diff-database-schema-Bp0uC68P-NxeVJERq.mjs.map → diff-database-schema-Cd6igMdS-CD3R7EC4.mjs.map} +1 -1
- package/dist/{infer-psl-contract-ChPangpl-CxL4__yw.mjs → infer-psl-contract-seu9C4tb-zycCE7Sk.mjs} +3 -3
- package/dist/{infer-psl-contract-ChPangpl-CxL4__yw.mjs.map → infer-psl-contract-seu9C4tb-zycCE7Sk.mjs.map} +1 -1
- package/dist/migration-PTHAY9Cv.mjs.map +1 -1
- package/dist/{pack-DO2bXv9P.d.mts → pack-CzisXlzc.d.mts} +2 -2
- package/dist/{pack-DO2bXv9P.d.mts.map → pack-CzisXlzc.d.mts.map} +1 -1
- package/dist/{planner-B_ILQa75-CoVpbzCr.mjs → planner-CbuWXI6E-CrlrOSd3.mjs} +6 -6
- package/dist/{planner-B_ILQa75-CoVpbzCr.mjs.map → planner-CbuWXI6E-CrlrOSd3.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-BQFrdLuE-CeyZeWPJ.mjs → planner-produced-postgres-migration-C3-L3nmn-BnqXdB_l.mjs} +3 -3
- package/dist/{planner-produced-postgres-migration-BQFrdLuE-CeyZeWPJ.mjs.map → planner-produced-postgres-migration-C3-L3nmn-BnqXdB_l.mjs.map} +1 -1
- package/dist/{postgres-migration-DWtr5s00-CSlA4I1U.mjs → postgres-migration-4qSv6qtX-Cj41qUBf.mjs} +4 -4
- package/dist/{postgres-migration-DWtr5s00-CSlA4I1U.mjs.map → postgres-migration-4qSv6qtX-Cj41qUBf.mjs.map} +1 -1
- package/dist/{prisma7-binding-Cajs2zo2.mjs → prisma7-binding-DOj123CN.mjs} +3 -3
- package/dist/{prisma7-binding-Cajs2zo2.mjs.map → prisma7-binding-DOj123CN.mjs.map} +1 -1
- package/dist/{prisma7-binding-c5vWJV6k.d.mts → prisma7-binding-Dbsmn8B0.d.mts} +2 -2
- package/dist/{prisma7-binding-c5vWJV6k.d.mts.map → prisma7-binding-Dbsmn8B0.d.mts.map} +1 -1
- package/dist/{runtime-Bm1hGqOh.d.mts → runtime-4QFzvcCp.d.mts} +2 -2
- package/dist/{runtime-Bm1hGqOh.d.mts.map → runtime-4QFzvcCp.d.mts.map} +1 -1
- package/dist/{sql-renderer-CfXWPuXU.d.mts → sql-renderer-Bd07vbru.d.mts} +2 -2
- package/dist/{sql-renderer-CfXWPuXU.d.mts.map → sql-renderer-Bd07vbru.d.mts.map} +1 -1
- package/dist/target.d.mts +4 -4
- package/dist/target.mjs +8 -8
- package/dist/target__control.mjs +2 -2
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.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.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__types.d.mts +2 -2
- package/dist/target__types.mjs +1 -1
- package/dist/{types-BPubHbiE-SaR3Cngi.d.mts → types-BPubHbiE-BzhJ05fG.d.mts} +2 -2
- package/dist/{types-BPubHbiE-SaR3Cngi.d.mts.map → types-BPubHbiE-BzhJ05fG.d.mts.map} +1 -1
- package/dist/types-CUt2h1U-.d.mts +2 -0
- package/dist/{types-DpIAC6Ui.d.mts → types-D799eppJ.d.mts} +2 -2
- package/dist/{types-DpIAC6Ui.d.mts.map → types-D799eppJ.d.mts.map} +1 -1
- package/package.json +9 -9
- package/dist/check-expressions-D4R7JhiZ-q-dFPGT2.d.mts.map +0 -1
- package/dist/check-expressions-DLCs-SXx-itMQrUsX.mjs.map +0 -1
- package/dist/control-BMhsfqMy.mjs.map +0 -1
- package/dist/control-policy-CThlWQ8k-m3CT6KpR.mjs.map +0 -1
- package/dist/types-DvEixgWS.d.mts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prisma7-binding-
|
|
1
|
+
{"version":3,"file":"prisma7-binding-Dbsmn8B0.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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-Buv2X8ai.mjs";
|
|
2
|
-
import { c as PostgresLoweredStatement } from "./types-BPubHbiE-
|
|
2
|
+
import { c as PostgresLoweredStatement } from "./types-BPubHbiE-BzhJ05fG.mjs";
|
|
3
3
|
import { Adapter, AnyQueryAst } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
4
|
import { SqlRuntimeAdapterDescriptor } from "@prisma/orm-family-sql/runtime";
|
|
5
5
|
import { RuntimeAdapterInstance } from "@prisma/orm-framework/components/execution";
|
|
@@ -9,4 +9,4 @@ interface SqlRuntimeAdapter extends RuntimeAdapterInstance<'sql', 'postgres'>, A
|
|
|
9
9
|
declare const postgresRuntimeAdapterDescriptor: SqlRuntimeAdapterDescriptor<'postgres', SqlRuntimeAdapter>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { postgresRuntimeAdapterDescriptor as n, SqlRuntimeAdapter as t };
|
|
12
|
-
//# sourceMappingURL=runtime-
|
|
12
|
+
//# sourceMappingURL=runtime-4QFzvcCp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-
|
|
1
|
+
{"version":3,"file":"runtime-4QFzvcCp.d.mts","names":[],"sources":["../../../../3-targets/6-adapters/postgres/dist/runtime.d.mts"],"mappings":";;;;;;;UAKU,0BAA0B,2CAA2C,QAAQ,aAAa,kBAAkB;cACxG,kCAAkC,wCAAwC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-Buv2X8ai.mjs";
|
|
2
2
|
import { i as PostgresCodecDescriptorRegistry } from "./codec-descriptor-HYqjI24K-CTO3gTEs.mjs";
|
|
3
3
|
import "./codec-descriptor-D8_e5hpo.mjs";
|
|
4
|
-
import "./types-BPubHbiE-
|
|
4
|
+
import "./types-BPubHbiE-BzhJ05fG.mjs";
|
|
5
5
|
import { AnyQueryAst, LoweredParam } from "@prisma/orm-family-sql/relational-core/ast";
|
|
6
6
|
//#region ../../../3-targets/6-adapters/postgres/dist/sql-renderer.d.mts
|
|
7
7
|
//#region src/core/sql-renderer.d.ts
|
|
@@ -16,4 +16,4 @@ declare function renderLoweredSql(ast: AnyQueryAst, contract: PostgresContract,
|
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
18
18
|
export { renderLoweredSql as t };
|
|
19
|
-
//# sourceMappingURL=sql-renderer-
|
|
19
|
+
//# sourceMappingURL=sql-renderer-Bd07vbru.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-renderer-
|
|
1
|
+
{"version":3,"file":"sql-renderer-Bd07vbru.d.mts","names":[],"sources":["../../../../3-targets/6-adapters/postgres/dist/sql-renderer.d.mts"],"mappings":";;;;;;;;;;;;iBASiB,iBAAiB,KAAK,aAAa,UAAU,kBAAkB,yBAAyB;WAC9F;WACA,iBAAiB"}
|
package/dist/target.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ import { t as PostgresSchemaNodeKind } from "./schema-node-kinds-C52Bb1ve-OVH80T
|
|
|
4
4
|
import { t as PostgresColumnDefault } from "./types-ue6jkJyF-BQJzjx1P.mjs";
|
|
5
5
|
import { t as PostgresTableSource } from "./table-source-ikHOZmhD-DriY1Lcr.mjs";
|
|
6
6
|
import { a as PostgresRlsEnablementInput, c as PostgresSchema, d as postgresCreateNamespace, i as PostgresRlsEnablement, l as PostgresUnboundSchema, n as PostgresNativeEnum, o as PostgresRole, r as PostgresNativeEnumInput, s as PostgresRoleInput, t as PostgresContract, u as isPostgresSchema } from "./postgres-schema-Xsjt3RKO-Buv2X8ai.mjs";
|
|
7
|
-
import { i as postgresRenderCheckExpressions, n as PostgresCheckExpressionInput, r as PostgresCheckKind, t as PostgresCheckExpressionCandidate } from "./check-expressions-
|
|
8
|
-
import { n as policyInputFromSerialized, t as SerializedRlsPolicy } from "./types-
|
|
7
|
+
import { i as postgresRenderCheckExpressions, n as PostgresCheckExpressionInput, r as PostgresCheckKind, t as PostgresCheckExpressionCandidate } from "./check-expressions-CBIgoKhV-D7oTR8lp.mjs";
|
|
8
|
+
import { n as policyInputFromSerialized, t as SerializedRlsPolicy } from "./types-D799eppJ.mjs";
|
|
9
9
|
import { a as PostgresCodecOptions, c as isPostgresCodecDescriptor, i as PostgresCodecDescriptorRegistry, l as postgresCodec, n as AnyPostgresCodecDescriptor, o as buildPostgresCodecDescriptorRegistry, r as PostgresCodecDescriptor, s as definePostgresCodecs, t as AdaptedPostgresCodecDescriptor } from "./codec-descriptor-HYqjI24K-CTO3gTEs.mjs";
|
|
10
10
|
import "./codec-descriptor-D8_e5hpo.mjs";
|
|
11
11
|
import { A as PG_TIME_TEMPORAL_CODEC_ID, B as SQL_VARCHAR_CODEC_ID, C as PG_TIMESTAMPTZ_DATE_CODEC_ID, D as PG_TIMESTAMP_TEMPORAL_CODEC_ID, E as PG_TIMESTAMP_STRING_CODEC_ID, F as PG_VARCHAR_CODEC_ID, I as SQL_CHAR_CODEC_ID, L as SQL_FLOAT_CODEC_ID, M as PG_UNBOUNDED_INT_CODEC_ID, N as PG_UUID_CODEC_ID, O as PG_TIMETZ_CODEC_ID, P as PG_VARBIT_CODEC_ID, R as SQL_INT_CODEC_ID, S as PG_TEXT_CODEC_ID, T as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, _ as PG_INT_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_NUMERIC_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, i as PG_CHAR_CODEC_ID, j as PG_TSQUERY_CODEC_ID, k as PG_TIME_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_JSONB_CODEC_ID, w as PG_TIMESTAMPTZ_STRING_CODEC_ID, x as PG_TEXT_ARRAY_CODEC_ID, y as PG_JSON_CODEC_ID, z as SQL_TEXT_CODEC_ID } from "./codec-ids-jWpRZjZo-BKIzyx-J.mjs";
|
|
@@ -41,7 +41,7 @@ import { t as PostgresMigration } from "./postgres-migration-vpMSrXLQ-CJ72Zey3.m
|
|
|
41
41
|
import { a as fn, c as placeholder, d as unique, i as createExtension, l as primaryKey, n as checkExpression, o as foreignKey, r as col, s as lit, t as MigrationCLI, u as rawSql } from "./migration-DwqTcQ5d.mjs";
|
|
42
42
|
import "./op-factory-call-DbjizP4b.mjs";
|
|
43
43
|
import { a as TsqueryArgument, i as QueryOperationTypes, n as FullTextMatchesOptions, r as FullTextRankOptions, t as FullTextHeadlineOptions } from "./operation-types-Cj4S6KNP.mjs";
|
|
44
|
-
import "./pack-
|
|
44
|
+
import "./pack-CzisXlzc.mjs";
|
|
45
45
|
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-CMGC3vS6-CGdYLZFB.mjs";
|
|
46
46
|
import { n as createPostgresMigrationPlanner, t as contractToPostgresDatabaseSchemaNode } from "./planner-fD25Vk53.mjs";
|
|
47
47
|
import { i as renderDefaultLiteral, n as isPostgresDateTimeDataType, r as postgresDateTimeDdlText, t as buildColumnTypeSql } from "./planner-ddl-builders-DYLyFXrj.mjs";
|
|
@@ -49,7 +49,7 @@ import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./pla
|
|
|
49
49
|
import "./planner-produced-postgres-migration-DJFPEI7l.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-Dbsmn8B0.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
|
@@ -16,7 +16,7 @@ import { n as renderFullTextIndexExpression, t as isFullTextIndexableCodec } fro
|
|
|
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
18
|
import { a as instantNowControlDescriptor, i as instantNow, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, o as plainDateTimeNow, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-DULm2ZZP-DgykBF-F.mjs";
|
|
19
|
-
import { t as postgresRenderCheckExpressions } from "./check-expressions-
|
|
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
22
|
import { n as postgresResolveDefault, t as parsePostgresDefault } from "./default-normalizer-Cb7nWBUa-DXchlOUk.mjs";
|
|
@@ -27,19 +27,19 @@ import { i as renderDefaultLiteral, n as isPostgresDateTimeDataType, r as postgr
|
|
|
27
27
|
import { A as RenameIndexCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, L as createExtension, M as RenameTableCall, N as SetDefaultCall, O as RawSqlCall, P as SetNotNullCall, S as DropIndexCall, T as DropPostgresRlsPolicyCall, _ as DisableRowLevelSecurityCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddNativeEnumValueCall, j as RenamePostgresRlsPolicyCall, k as RenameConstraintCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddNotNullColumnWithTempDefaultCall, p as CreatePostgresRlsPolicyCall, r as AddForeignKeyCall, s as AddPrimaryKeyCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall } from "./op-factory-call-DYkz28kP-4BmpSB4B.mjs";
|
|
28
28
|
import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-BmHn5C6U-BYBbUAyR.mjs";
|
|
29
29
|
import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs";
|
|
30
|
-
import { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-
|
|
31
|
-
import { n as buildPostgresPlanDiff, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-
|
|
30
|
+
import { c as planIssues, t as coalesceSubtreeIssues } from "./control-policy-B_b8ZqDi-zNYBao6-.mjs";
|
|
31
|
+
import { n as buildPostgresPlanDiff, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-Cd6igMdS-CD3R7EC4.mjs";
|
|
32
32
|
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-BEp5ikai-BmYXd1MR.mjs";
|
|
33
33
|
import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
|
|
34
|
-
import { o as postgresRenderDefault, t as PostgresMigration } from "./postgres-migration-
|
|
34
|
+
import { o as postgresRenderDefault, t as PostgresMigration } from "./postgres-migration-4qSv6qtX-Cj41qUBf.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-
|
|
37
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-C3-L3nmn-BnqXdB_l.mjs";
|
|
38
|
+
import { t as createPostgresMigrationPlanner } from "./planner-CbuWXI6E-CrlrOSd3.mjs";
|
|
39
39
|
import { t as postgresDataTypeEntries } from "./data-type-entries-BDSHvsdE-Bbe1cdbR.mjs";
|
|
40
|
-
import { n as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-
|
|
40
|
+
import { n as postgresScalarAuthoringTypes, t as postgresNativeAuthoringTypes } from "./control-9MzjJLOE.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-DOj123CN.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__control.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-DXee1orj-K3y-hxiI.mjs";
|
|
2
2
|
import { a as instantNowControlDescriptor, n as PLAIN_DATE_TIME_NOW_GENERATOR_ID, s as plainDateTimeNowControlDescriptor, t as INSTANT_NOW_GENERATOR_ID } from "./authoring-DULm2ZZP-DgykBF-F.mjs";
|
|
3
|
-
import { o as postgresRenderDefault } from "./postgres-migration-
|
|
4
|
-
import { n as postgresScalarAuthoringTypes, r as postgresTargetDescriptor, t as postgresNativeAuthoringTypes } from "./control-
|
|
3
|
+
import { o as postgresRenderDefault } from "./postgres-migration-4qSv6qtX-Cj41qUBf.mjs";
|
|
4
|
+
import { n as postgresScalarAuthoringTypes, r as postgresTargetDescriptor, t as postgresNativeAuthoringTypes } from "./control-9MzjJLOE.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 { n as buildPostgresPlanDiff } from "./diff-database-schema-
|
|
1
|
+
import { n as buildPostgresPlanDiff } from "./diff-database-schema-Cd6igMdS-CD3R7EC4.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-B_b8ZqDi-zNYBao6-.mjs";
|
|
2
2
|
export { coalesceSubtreeIssues, planIssues };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L as createExtension } from "./op-factory-call-DYkz28kP-4BmpSB4B.mjs";
|
|
2
2
|
import { t as dataTransform } from "./data-transform-Bo32KRbq-BLn1_UG-.mjs";
|
|
3
|
-
import { t as PostgresMigration } from "./postgres-migration-
|
|
3
|
+
import { t as PostgresMigration } from "./postgres-migration-4qSv6qtX-Cj41qUBf.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 };
|
package/dist/target__pack.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as postgresTargetDescriptorMeta } from "./pack-
|
|
1
|
+
import { t as postgresTargetDescriptorMeta } from "./pack-CzisXlzc.mjs";
|
|
2
2
|
export { postgresTargetDescriptorMeta as default };
|
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-DDMTgiok-DuHh-HnB.mjs";
|
|
2
2
|
export { postgresTargetDescriptorMeta as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-
|
|
1
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-C3-L3nmn-BnqXdB_l.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-Cd6igMdS-CD3R7EC4.mjs";
|
|
2
|
+
import { t as createPostgresMigrationPlanner } from "./planner-CbuWXI6E-CrlrOSd3.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-Dbsmn8B0.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-DOj123CN.mjs";
|
|
2
2
|
export { prisma7PostgresBinding };
|
package/dist/target__types.d.mts
CHANGED
|
@@ -3,6 +3,6 @@ import { a as PostgresNativeEnumSchemaNode, c as PostgresPolicySchemaNodeInput,
|
|
|
3
3
|
import { t as PostgresSchemaNodeKind } from "./schema-node-kinds-C52Bb1ve-OVH80Tx2.mjs";
|
|
4
4
|
import { t as PostgresColumnDefault } from "./types-ue6jkJyF-BQJzjx1P.mjs";
|
|
5
5
|
import { a as PostgresRlsEnablementInput, c as PostgresSchema, d as postgresCreateNamespace, i as PostgresRlsEnablement, l as PostgresUnboundSchema, n as PostgresNativeEnum, o as PostgresRole, r as PostgresNativeEnumInput, s as PostgresRoleInput, t as PostgresContract, u as isPostgresSchema } from "./postgres-schema-Xsjt3RKO-Buv2X8ai.mjs";
|
|
6
|
-
import { i as postgresRenderCheckExpressions, n as PostgresCheckExpressionInput, r as PostgresCheckKind, t as PostgresCheckExpressionCandidate } from "./check-expressions-
|
|
7
|
-
import { n as policyInputFromSerialized, t as SerializedRlsPolicy } from "./types-
|
|
6
|
+
import { i as postgresRenderCheckExpressions, n as PostgresCheckExpressionInput, r as PostgresCheckKind, t as PostgresCheckExpressionCandidate } from "./check-expressions-CBIgoKhV-D7oTR8lp.mjs";
|
|
7
|
+
import { n as policyInputFromSerialized, t as SerializedRlsPolicy } from "./types-D799eppJ.mjs";
|
|
8
8
|
export { type PostgresCheckExpressionCandidate, type PostgresCheckExpressionInput, type PostgresCheckKind, type PostgresColumnDefault, type PostgresContract, PostgresDatabaseSchemaNode, type PostgresDatabaseSchemaNodeInput, PostgresNamespaceSchemaNode, type PostgresNamespaceSchemaNodeInput, PostgresNativeEnum, type PostgresNativeEnumInput, PostgresNativeEnumSchemaNode, type PostgresNativeEnumSchemaNodeInput, PostgresPolicySchemaNode, type PostgresPolicySchemaNodeInput, PostgresRlsEnablement, type PostgresRlsEnablementInput, PostgresRlsPolicy, type PostgresRlsPolicyInput, PostgresRole, type PostgresRoleInput, PostgresRoleSchemaNode, type PostgresRoleSchemaNodeInput, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, type PostgresTableSchemaNodeInput, PostgresUnboundSchema, type RenderedRlsPolicyLiteral, type RlsPolicyOperation, type SerializedRlsPolicy, isPostgresSchema, policyInputFromSerialized, postgresCreateNamespace, postgresRenderCheckExpressions };
|
package/dist/target__types.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
|
|
2
2
|
import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-C8slJGZo-CFGUyJPt.mjs";
|
|
3
|
-
import { t as postgresRenderCheckExpressions } from "./check-expressions-
|
|
3
|
+
import { t as postgresRenderCheckExpressions } from "./check-expressions-DJNIFTHB-C86_fR5c.mjs";
|
|
4
4
|
import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode, t as PostgresNativeEnumSchemaNode } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
|
|
5
5
|
import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
|
|
6
6
|
export { PostgresDatabaseSchemaNode, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresUnboundSchema, isPostgresSchema, policyInputFromSerialized, postgresCreateNamespace, postgresRenderCheckExpressions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./types-
|
|
1
|
+
import "./types-D799eppJ.mjs";
|
|
2
2
|
import { n as AnyPostgresCodecDescriptor } from "./codec-descriptor-HYqjI24K-CTO3gTEs.mjs";
|
|
3
3
|
import "./codec-descriptor-D8_e5hpo.mjs";
|
|
4
4
|
import { BinaryExpr as BinaryExpr$1, ColumnRef as ColumnRef$1, DefaultValueExpr, Direction, LoweredStatement, ParamRef, SelectAst as SelectAst$1 } from "@prisma/orm-family-sql/relational-core/ast";
|
|
@@ -22,4 +22,4 @@ interface OrderClause {
|
|
|
22
22
|
type PostgresLoweredStatement = LoweredStatement;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { OrderClause as a, PostgresLoweredStatement as c, StorageTable$1 as d, Expr as i, SelectAst$1 as l, ColumnRef$1 as n, ParamRef as o, Direction as r, PostgresAdapterOptions as s, BinaryExpr$1 as t, StorageColumn$1 as u };
|
|
25
|
-
//# sourceMappingURL=types-BPubHbiE-
|
|
25
|
+
//# sourceMappingURL=types-BPubHbiE-BzhJ05fG.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-BPubHbiE-
|
|
1
|
+
{"version":3,"file":"types-BPubHbiE-BzhJ05fG.d.mts","names":[],"sources":["../../../../3-targets/6-adapters/postgres/dist/types-BPubHbiE.d.mts"],"mappings":";;;;;;;UAKU;WACC;;;;;;WAMA,4BAA4B;;KAElC,OAAO,cAAY,WAAW;UACzB;WACC,MAAM;WACN,KAAK;;KAEX,2BAA2B"}
|
|
@@ -3,7 +3,7 @@ import "./postgres-database-schema-node-Cv8usVNX-BP4GzjSf.mjs";
|
|
|
3
3
|
import "./schema-node-kinds-C52Bb1ve-OVH80Tx2.mjs";
|
|
4
4
|
import "./types-ue6jkJyF-BQJzjx1P.mjs";
|
|
5
5
|
import "./postgres-schema-Xsjt3RKO-Buv2X8ai.mjs";
|
|
6
|
-
import "./check-expressions-
|
|
6
|
+
import "./check-expressions-CBIgoKhV-D7oTR8lp.mjs";
|
|
7
7
|
//#region ../../../3-targets/3-targets/postgres/dist/types.d.mts
|
|
8
8
|
//#region src/core/serialized-rls-policy.d.ts
|
|
9
9
|
/**
|
|
@@ -30,4 +30,4 @@ type SerializedRlsPolicy = {
|
|
|
30
30
|
declare function policyInputFromSerialized(flat: SerializedRlsPolicy): PostgresRlsPolicyInput;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { policyInputFromSerialized as n, SerializedRlsPolicy as t };
|
|
33
|
-
//# sourceMappingURL=types-
|
|
33
|
+
//# sourceMappingURL=types-D799eppJ.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-D799eppJ.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/types.d.mts"],"mappings":";;;;;;;;;;;;;KAYK;WACM;WACA;WACA;WACA;WACA,WAAW;WACX;WACA;WACA;WACA;;;;;;;iBAOM,0BAA0B,MAAM,sBAAsB"}
|
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.16",
|
|
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.16",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.14-dev.16",
|
|
14
|
+
"@prisma/orm-toolchain": "8.0.0-rc.14-dev.16",
|
|
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.16",
|
|
26
|
+
"@internal/driver-postgres": "8.0.0-rc.14-dev.16",
|
|
27
|
+
"@internal/target-postgres": "8.0.0-rc.14-dev.16",
|
|
28
|
+
"@repo/tsconfig": "8.0.0-rc.14-dev.16",
|
|
29
|
+
"@repo/tsdown": "8.0.0-rc.14-dev.16",
|
|
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":"check-expressions-D4R7JhiZ-q-dFPGT2.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/check-expressions-D4R7JhiZ.d.mts"],"mappings":";;;;;;;;;KAQK,oBAAoB;;;;;;;UAOf;WACC;WACA;WACA;WACA;;;;;;;;UAQD;WACC,MAAM;;WAEN;;WAEA;;;;;;;;;;;;;;;iBAeM,+BAA+B,OAAO,wCAAwC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-expressions-DLCs-SXx-itMQrUsX.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/check-expressions-DLCs-SXx.mjs"],"sourcesContent":["import { r as quoteIdentifier, t as escapeLiteral } from \"./sql-utils-Bh-mnsSY.mjs\";\nimport { invariant } from \"@internal/utils/assertions\";\n//#region src/core/check-expressions.ts\n/**\n* Renders the checks a Postgres column needs, as opaque predicate text.\n*\n* A domain enum has no type-level enforcement, so membership is a\n* predicate: `IN` for a scalar, and `<@` containment for an array — an array\n* column cannot use `IN` at all (`operator does not exist: text[] = text`),\n* and containment additionally rejects NULL elements. Every list column also\n* gets an element-non-null check, which no Postgres column type can express.\n*\n* Array containment casts both operands to `numeric[]` for numeric members or\n* `text[]` for string members, so different storage types share an operator\n* without comparing numbers as text. The scalar `IN` form needs no cast.\n*/\nfunction postgresRenderCheckExpressions(input) {\n\tconst candidates = [];\n\tconst column = quoteIdentifier(input.columnName);\n\tif (input.memberValues !== void 0) {\n\t\tinvariant(input.memberValues.length > 0, `check for \"${input.tableName}\".\"${input.columnName}\": empty member set; both authoring surfaces reject a member-less enum before rendering`);\n\t\tconst members = input.memberValues.map((value) => {\n\t\t\tif (typeof value === \"string\") return `'${escapeLiteral(value)}'`;\n\t\t\tinvariant(Number.isFinite(value), `check for \"${input.tableName}\".\"${input.columnName}\": non-finite numeric member`);\n\t\t\treturn String(value);\n\t\t}).join(\", \");\n\t\tconst arrayType = input.memberValues.every((value) => typeof value === \"number\") ? \"numeric[]\" : \"text[]\";\n\t\tcandidates.push({\n\t\t\tkind: \"membership\",\n\t\t\tcolumnName: input.columnName,\n\t\t\texpression: input.many ? `${column}::${arrayType} <@ ARRAY[${members}]::${arrayType}` : `${column} IN (${members})`\n\t\t});\n\t}\n\tif (input.many) candidates.push({\n\t\tkind: \"elementNotNull\",\n\t\tcolumnName: input.columnName,\n\t\texpression: `array_position(${column}, NULL) IS NULL`\n\t});\n\treturn candidates;\n}\n//#endregion\nexport { postgresRenderCheckExpressions as t };\n\n//# sourceMappingURL=check-expressions-DLCs-SXx.mjs.map"],"mappings":";;;;;;;;;;;;;;;;AAgBA,SAAS,+BAA+B,OAAO;CAC9C,MAAM,aAAa,CAAC;CACpB,MAAM,SAAS,gBAAgB,MAAM,UAAU;CAC/C,IAAI,MAAM,iBAAiB,KAAK,GAAG;EAClC,UAAU,MAAM,aAAa,SAAS,GAAG,cAAc,MAAM,UAAU,KAAK,MAAM,WAAW,wFAAwF;EACrL,MAAM,UAAU,MAAM,aAAa,KAAK,UAAU;GACjD,IAAI,OAAO,UAAU,UAAU,OAAO,IAAI,cAAc,KAAK,EAAE;GAC/D,UAAU,OAAO,SAAS,KAAK,GAAG,cAAc,MAAM,UAAU,KAAK,MAAM,WAAW,6BAA6B;GACnH,OAAO,OAAO,KAAK;EACpB,CAAC,CAAC,CAAC,KAAK,IAAI;EACZ,MAAM,YAAY,MAAM,aAAa,OAAO,UAAU,OAAO,UAAU,QAAQ,IAAI,cAAc;EACjG,WAAW,KAAK;GACf,MAAM;GACN,YAAY,MAAM;GAClB,YAAY,MAAM,OAAO,GAAG,OAAO,IAAI,UAAU,YAAY,QAAQ,KAAK,cAAc,GAAG,OAAO,OAAO,QAAQ;EAClH,CAAC;CACF;CACA,IAAI,MAAM,MAAM,WAAW,KAAK;EAC/B,MAAM;EACN,YAAY,MAAM;EAClB,YAAY,kBAAkB,OAAO;CACtC,CAAC;CACD,OAAO;AACR"}
|