@prisma/orm-target-sqlite 8.0.0-rc.11-dev.41 → 8.0.0-rc.11-dev.43
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-DEYUC-KO-DO_abhIq.d.mts → adapter-DEYUC-KO-CidoiIE8.d.mts} +4 -4
- package/dist/{adapter-DEYUC-KO-DO_abhIq.d.mts.map → adapter-DEYUC-KO-CidoiIE8.d.mts.map} +1 -1
- package/dist/{adapter-_MnQpUc6-Bp3SyJYD.mjs → adapter-_MnQpUc6-BE7Ek23z.mjs} +4 -4
- package/dist/{adapter-_MnQpUc6-Bp3SyJYD.mjs.map → adapter-_MnQpUc6-BE7Ek23z.mjs.map} +1 -1
- package/dist/adapter-rEr8Kd-s.d.mts +2 -0
- package/dist/adapter.d.mts +10 -10
- package/dist/adapter.mjs +1 -1
- package/dist/adapter__adapter.d.mts +3 -3
- package/dist/adapter__adapter.mjs +1 -1
- package/dist/adapter__codec-types.d.mts +3 -3
- package/dist/adapter__control.d.mts +1 -1
- package/dist/adapter__control.mjs +17 -6
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +3 -3
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.d.mts +2 -2
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +2 -2
- package/dist/{aggregates-DWyPO7t6.mjs → aggregates-CATLYJxc.mjs} +2 -2
- package/dist/{aggregates-DWyPO7t6.mjs.map → aggregates-CATLYJxc.mjs.map} +1 -1
- package/dist/codec-descriptor-4BIWMlhf-CjIjnr76.d.mts +1 -0
- package/dist/{codec-descriptor-BcgD9f3L-yDi5nh_k.d.mts → codec-descriptor-BNC9tDro-BPWBITSr.d.mts} +8 -6
- package/dist/codec-descriptor-BNC9tDro-BPWBITSr.d.mts.map +1 -0
- package/dist/codec-descriptor-ae4jEMJI.d.mts +2 -0
- package/dist/{codec-descriptor-B9ru99aI-DTkdKFU5.mjs → codec-descriptor-iBsfn3Ib-Chscaqnm.mjs} +5 -3
- package/dist/codec-descriptor-iBsfn3Ib-Chscaqnm.mjs.map +1 -0
- package/dist/codec-types-BDASdd7Z.d.mts +1 -0
- package/dist/codec-types-BP_jt4cV.d.mts +2 -0
- package/dist/{codec-types-D7uWRvQ1-DPnvquS8.d.mts → codec-types-BmdALTGe-CH015gsn.d.mts} +5 -5
- package/dist/{codec-types-D7uWRvQ1-DPnvquS8.d.mts.map → codec-types-BmdALTGe-CH015gsn.d.mts.map} +1 -1
- package/dist/codecs-CZ668gc7.d.mts +1 -0
- package/dist/{codecs-BDdR6FbY.mjs → codecs-DpMoJnXK.mjs} +47 -31
- package/dist/codecs-DpMoJnXK.mjs.map +1 -0
- package/dist/{codecs-BQWqLgCl-CdB8t7HI.d.mts → codecs-Ke2zEuU2-B8ego8w-.d.mts} +15 -7
- package/dist/codecs-Ke2zEuU2-B8ego8w-.d.mts.map +1 -0
- package/dist/{control-CLirKz11.d.mts → control-BUqfJUxo.d.mts} +4 -4
- package/dist/{control-CLirKz11.d.mts.map → control-BUqfJUxo.d.mts.map} +1 -1
- package/dist/data-types-BOA80gRp-DV5kY9es.mjs +50 -0
- package/dist/data-types-BOA80gRp-DV5kY9es.mjs.map +1 -0
- package/dist/data-types-D3cyzV-O.d.mts +19 -0
- package/dist/data-types-D3cyzV-O.d.mts.map +1 -0
- package/dist/data-types-c3xcs6Mr.mjs +68 -0
- package/dist/data-types-c3xcs6Mr.mjs.map +1 -0
- package/dist/{descriptor-meta-CHbTkdOW-Bv1fskyU.mjs → descriptor-meta-CqCH7n4c-CZhs8PR9.mjs} +6 -4
- package/dist/descriptor-meta-CqCH7n4c-CZhs8PR9.mjs.map +1 -0
- package/dist/{pack-CgUQkxKM.d.mts → pack-EwbBcB-c.d.mts} +2 -2
- package/dist/{pack-CgUQkxKM.d.mts.map → pack-EwbBcB-c.d.mts.map} +1 -1
- package/dist/{runtime-C5J9fusd.d.mts → runtime-DxqV7w29.d.mts} +2 -2
- package/dist/{runtime-C5J9fusd.d.mts.map → runtime-DxqV7w29.d.mts.map} +1 -1
- package/dist/sql-renderer-BoOq3nw3.d.mts +1 -0
- package/dist/target.d.mts +9 -8
- package/dist/target.mjs +6 -4
- package/dist/target__aggregates.mjs +1 -1
- package/dist/target__codec-descriptor.d.mts +2 -2
- package/dist/target__codec-descriptor.mjs +1 -1
- package/dist/target__codec-types.d.mts +3 -3
- package/dist/target__codecs.d.mts +2 -2
- package/dist/target__codecs.mjs +1 -1
- package/dist/target__data-types.d.mts +2 -0
- package/dist/target__data-types.mjs +3 -0
- package/dist/target__pack.d.mts +1 -1
- package/dist/types-Bom9kmaX.d.mts +1 -0
- package/dist/{types-C5FSREvo-CwUlKK34.d.mts → types-C5FSREvo-D12bNrqS.d.mts} +3 -3
- package/dist/{types-C5FSREvo-CwUlKK34.d.mts.map → types-C5FSREvo-D12bNrqS.d.mts.map} +1 -1
- package/package.json +10 -9
- package/dist/adapter-D7zw14p5.d.mts +0 -2
- package/dist/codec-descriptor-B9ru99aI-DTkdKFU5.mjs.map +0 -1
- package/dist/codec-descriptor-BcgD9f3L-yDi5nh_k.d.mts.map +0 -1
- package/dist/codec-descriptor-rFuZ9DzY-CKRIRxah.d.mts +0 -1
- package/dist/codec-descriptor-vwfD3BMy.d.mts +0 -2
- package/dist/codec-types-B-TDcvQc.d.mts +0 -1
- package/dist/codec-types-CS0bD1kX.d.mts +0 -2
- package/dist/codecs-BDdR6FbY.mjs.map +0 -1
- package/dist/codecs-BQWqLgCl-CdB8t7HI.d.mts.map +0 -1
- package/dist/codecs-BTv6fRXv.d.mts +0 -1
- package/dist/descriptor-meta-CHbTkdOW-Bv1fskyU.mjs.map +0 -1
- package/dist/sql-renderer-KX6hn_tg.d.mts +0 -1
- package/dist/types-B7e2QVEx.d.mts +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as SqliteCodecDescriptorRegistry, r as SqliteCodecDescriptor } from "./codec-descriptor-
|
|
1
|
+
import { i as SqliteCodecDescriptorRegistry, r as SqliteCodecDescriptor } from "./codec-descriptor-BNC9tDro-BPWBITSr.mjs";
|
|
2
2
|
import { a as SQLITE_INTEGER_CODEC_ID, c as SQLITE_TEXT_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, n as SQLITE_BIGINT_NUMBER_CODEC_ID, o as SQLITE_JSON_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_REAL_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID } from "./codec-ids-CzeDyMWW-BZAcI50I.mjs";
|
|
3
3
|
import { ProjectionExpr } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
4
|
import { CodecCallContext, CodecImpl, CodecInstanceContext } from "@prisma/orm-framework/components/codec";
|
|
5
5
|
import { JsonValue } from "@prisma/orm-framework/contract/types";
|
|
6
6
|
import { CodecDescriptorRegistry } from "@prisma/orm-family-sql/relational-core/query-lane-context";
|
|
7
|
-
//#region ../../../3-targets/3-targets/sqlite/dist/codecs-
|
|
7
|
+
//#region ../../../3-targets/3-targets/sqlite/dist/codecs-Ke2zEuU2.d.mts
|
|
8
8
|
//#region src/core/codec-helpers.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* Local `JsonValue` alias for the SQLite target. Codec implementations live in `codecs.ts` (TML-2357); this module retains only the JSON-shape alias the surrounding adapter and tests still import.
|
|
@@ -43,6 +43,7 @@ declare class SqliteTextCodec extends CodecImpl<typeof SQLITE_TEXT_CODEC_ID, rea
|
|
|
43
43
|
}
|
|
44
44
|
declare class SqliteTextDescriptor extends SqliteCodecDescriptor<void> {
|
|
45
45
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
46
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
46
47
|
readonly codecId: "sqlite/text@1";
|
|
47
48
|
readonly traits: readonly ["equality", "order", "textual"];
|
|
48
49
|
readonly targetTypes: readonly ["text"];
|
|
@@ -58,6 +59,7 @@ declare class SqliteIntegerCodec extends CodecImpl<typeof SQLITE_INTEGER_CODEC_I
|
|
|
58
59
|
}
|
|
59
60
|
declare class SqliteIntegerDescriptor extends SqliteCodecDescriptor<void> {
|
|
60
61
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
62
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
61
63
|
readonly codecId: "sqlite/integer@1";
|
|
62
64
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
63
65
|
readonly targetTypes: readonly ["integer"];
|
|
@@ -73,6 +75,7 @@ declare class SqliteRealCodec extends CodecImpl<typeof SQLITE_REAL_CODEC_ID, rea
|
|
|
73
75
|
}
|
|
74
76
|
declare class SqliteRealDescriptor extends SqliteCodecDescriptor<void> {
|
|
75
77
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
78
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
76
79
|
readonly codecId: "sqlite/real@1";
|
|
77
80
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
78
81
|
readonly targetTypes: readonly ["real"];
|
|
@@ -88,6 +91,7 @@ declare class SqliteBlobCodec extends CodecImpl<typeof SQLITE_BLOB_CODEC_ID, rea
|
|
|
88
91
|
}
|
|
89
92
|
declare class SqliteBlobDescriptor extends SqliteCodecDescriptor<void> {
|
|
90
93
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
94
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
91
95
|
readonly codecId: "sqlite/blob@1";
|
|
92
96
|
readonly traits: readonly ["equality"];
|
|
93
97
|
readonly targetTypes: readonly ["blob"];
|
|
@@ -104,6 +108,7 @@ declare class SqliteDatetimeCodec extends CodecImpl<typeof SQLITE_DATETIME_CODEC
|
|
|
104
108
|
}
|
|
105
109
|
declare class SqliteDatetimeDescriptor extends SqliteCodecDescriptor<void> {
|
|
106
110
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
111
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
107
112
|
readonly codecId: "sqlite/datetime@1";
|
|
108
113
|
readonly traits: readonly ["equality", "order"];
|
|
109
114
|
readonly targetTypes: readonly ["text"];
|
|
@@ -119,6 +124,7 @@ declare class SqliteJsonCodec extends CodecImpl<typeof SQLITE_JSON_CODEC_ID, rea
|
|
|
119
124
|
}
|
|
120
125
|
declare class SqliteJsonDescriptor extends SqliteCodecDescriptor<void> {
|
|
121
126
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
127
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
122
128
|
readonly codecId: "sqlite/json@1";
|
|
123
129
|
readonly traits: readonly ["equality"];
|
|
124
130
|
readonly targetTypes: readonly ["text"];
|
|
@@ -142,6 +148,7 @@ declare class SqliteBigintCodec extends CodecImpl<typeof SQLITE_BIGINT_CODEC_ID,
|
|
|
142
148
|
}
|
|
143
149
|
declare class SqliteBigintDescriptor extends SqliteCodecDescriptor<void> {
|
|
144
150
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
151
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
145
152
|
readonly codecId: "sqlite/bigint@1";
|
|
146
153
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
147
154
|
readonly targetTypes: readonly ["integer"];
|
|
@@ -153,10 +160,10 @@ declare const sqliteBigintColumn: () => import("@prisma/orm-framework/components
|
|
|
153
160
|
* A SQLite INTEGER decoded as a JS `number`, for columns whose values stay
|
|
154
161
|
* within the safe integer range ±(2^53 − 1). Both directions guard rather than
|
|
155
162
|
* round: decode (wire and JSON) and encode throw a structured error on
|
|
156
|
-
* out-of-range or non-integral input. The canonical JSON is
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
163
|
+
* out-of-range or non-integral input. The canonical JSON is the decimal text
|
|
164
|
+
* `sqlite/bigint` carries, which every codec of that data type shares. The
|
|
165
|
+
* descriptor claims no target type, so `integer` in type position keeps its
|
|
166
|
+
* current codecs.
|
|
160
167
|
*/
|
|
161
168
|
declare class SqliteBigintNumberCodec extends CodecImpl<typeof SQLITE_BIGINT_NUMBER_CODEC_ID, readonly ['equality', 'order', 'numeric'], number | bigint | string, number> {
|
|
162
169
|
encode(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
@@ -171,6 +178,7 @@ declare class SqliteBigintNumberCodec extends CodecImpl<typeof SQLITE_BIGINT_NUM
|
|
|
171
178
|
}
|
|
172
179
|
declare class SqliteBigintNumberDescriptor extends SqliteCodecDescriptor<void> {
|
|
173
180
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
181
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
174
182
|
readonly codecId: "sqlite/bigintnumber@1";
|
|
175
183
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
176
184
|
readonly targetTypes: readonly [];
|
|
@@ -190,4 +198,4 @@ declare const sqliteCodecRegistry: CodecDescriptorRegistry;
|
|
|
190
198
|
declare const sqliteCodecDescriptorRegistry: SqliteCodecDescriptorRegistry;
|
|
191
199
|
//#endregion
|
|
192
200
|
export { sqliteIntegerColumn as _, SqliteDatetimeDescriptor as a, sqliteTextColumn as b, SqliteRealDescriptor as c, sqliteBigintColumn as d, sqliteBigintNumberColumn as f, sqliteDatetimeColumn as g, sqliteCodecRegistry as h, SqliteBlobDescriptor as i, SqliteTextDescriptor as l, sqliteCodecDescriptorRegistry as m, SqliteBigintDescriptor as n, SqliteIntegerDescriptor as o, sqliteBlobColumn as p, SqliteBigintNumberDescriptor as r, SqliteJsonDescriptor as s, JsonValue$1 as t, jsonDocumentRetag as u, sqliteJsonColumn as v, sqliteRealColumn as y };
|
|
193
|
-
//# sourceMappingURL=codecs-
|
|
201
|
+
//# sourceMappingURL=codecs-Ke2zEuU2-B8ego8w-.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-Ke2zEuU2-B8ego8w-.d.mts","names":[],"sources":["../../../../3-targets/3-targets/sqlite/dist/codecs-Ke2zEuU2.d.mts"],"mappings":";;;;;;;;;;;KAUK;YACO,cAAc;aACb;;;;;;;;;;;;;;;;;;;;;;;cAuBC,oBAAoB,YAAY,mBAAmB;cACnD,wBAAwB,iBAAiB;EACrD,OAAO,eAAe,MAAM,mBAAmB;EAC/C,OAAO,cAAc,MAAM,mBAAmB;EAC9C,WAAW,gBAAgB;EAC3B,WAAW,MAAM;;cAEL,6BAA6B;YAC/B,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,YAAY,KAAK,yBAAyB;;cAE9B,uEAAuE,WAAW;cAClF,2BAA2B,iBAAiB;EACxD,OAAO,eAAe,MAAM,mBAAmB;EAC/C,OAAO,cAAc,MAAM,mBAAmB;EAC9C,WAAW,gBAAgB;EAC3B,WAAW,MAAM;;cAEL,gCAAgC;YAClC,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,YAAY,KAAK,yBAAyB;;cAE9B,0EAA0E,WAAW;cACrF,wBAAwB,iBAAiB;EACrD,OAAO,eAAe,MAAM,mBAAmB;EAC/C,OAAO,cAAc,MAAM,mBAAmB;EAC9C,WAAW,gBAAgB;EAC3B,WAAW,MAAM;;cAEL,6BAA6B;YAC/B,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,YAAY,KAAK,yBAAyB;;cAE9B,uEAAuE,WAAW;cAClF,wBAAwB,iBAAiB,6CAA6C,YAAY;EAC9G,OAAO,OAAO,YAAY,MAAM,mBAAmB,QAAQ;EAC3D,OAAO,MAAM,YAAY,MAAM,mBAAmB,QAAQ;EAC1D,WAAW,OAAO,aAAa;EAC/B,WAAW,MAAM,YAAY;;cAEjB,6BAA6B;YAC/B,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,YAAY,KAAK,yBAAyB;;cAE9B,uEAAuE,WAAW;cAClF,4BAA4B,iBAAiB,kEAAkE;UACnH;EACR,OAAO,OAAO,MAAM,MAAM,mBAAmB;EAC7C,OAAO,cAAc,MAAM,mBAAmB,QAAQ;EACtD,WAAW,OAAO,OAAO;EACzB,WAAW,MAAM,YAAY;;cAEjB,iCAAiC;YACnC,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,YAAY,KAAK,yBAAyB;;cAE9B,2EAA2E,WAAW;cACtF,wBAAwB,iBAAiB,sDAAsD,WAAW;EACtH,OAAO,OAAO,WAAW,MAAM,mBAAmB;EAClD,OAAO,eAAe,WAAW,MAAM,mBAAmB,QAAQ;EAClE,WAAW,OAAO,YAAY;EAC9B,WAAW,MAAM,YAAY;;cAEjB,6BAA6B;YAC/B,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,YAAY,KAAK,yBAAyB;;cAE9B,uEAAuE,WAAW;cAClF,0BAA0B,iBAAiB;EACvD,OAAO,eAAe,MAAM,mBAAmB;;;;;;;;;EAS/C,OAAO,gCAAgC,MAAM,mBAAmB;EAChE,WAAW,gBAAgB;EAC3B,WAAW,MAAM;;cAEL,+BAA+B;YACjC,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,YAAY,KAAK,yBAAyB;;cAE9B,yEAAyE,WAAW;;;;;;;;;;cAUpF,gCAAgC,iBAAiB;EAC7D,OAAO,eAAe,MAAM,mBAAmB;;;;;;EAM/C,OAAO,gCAAgC,MAAM,mBAAmB;EAChE,WAAW,gBAAgB;EAC3B,WAAW,MAAM;;cAEL,qCAAqC;YACvC,eAAe,YAAY,iBAAiB;WAC7C,yDAAyD;WACzD;WACA;WACA;WACA,8CAA8C;EACvD,mBAAmB,OAAO;EAC1B,YAAY,KAAK,yBAAyB;;cAE9B,+EAA+E,WAAW;;;;;;;;cAQ1F,qBAAqB;cACrB,+BAA+B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as AnySqliteCodecDescriptor } from "./codec-descriptor-
|
|
2
|
-
import "./codec-descriptor-
|
|
3
|
-
import { n as SqliteCodecRegistry } from "./types-C5FSREvo-
|
|
1
|
+
import { n as AnySqliteCodecDescriptor } from "./codec-descriptor-BNC9tDro-BPWBITSr.mjs";
|
|
2
|
+
import "./codec-descriptor-ae4jEMJI.mjs";
|
|
3
|
+
import { n as SqliteCodecRegistry } from "./types-C5FSREvo-D12bNrqS.mjs";
|
|
4
4
|
import { r as SqliteDdlNode } from "./nodes-D8EC1yCx-rpfpuJ4T.mjs";
|
|
5
5
|
import "./ddl-CfSqNT0M.mjs";
|
|
6
6
|
import { t as parseSqliteDefault } from "./default-normalizer-B9V7TY5u.mjs";
|
|
@@ -114,4 +114,4 @@ declare class SqliteControlAdapter implements SqlControlAdapter<'sqlite'> {
|
|
|
114
114
|
declare const sqliteAdapterDescriptor: SqlControlAdapterDescriptor<'sqlite'>;
|
|
115
115
|
//#endregion
|
|
116
116
|
export { sqliteAdapterDescriptor as i, createSqliteBuiltinCodecLookup as n, createSqliteCodecRegistryWithBuiltins as r, SqliteControlAdapter as t };
|
|
117
|
-
//# sourceMappingURL=control-
|
|
117
|
+
//# sourceMappingURL=control-BUqfJUxo.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-BUqfJUxo.d.mts","names":[],"sources":["../../../../3-targets/6-adapters/sqlite/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;iBAciB,sCAAsC,4BAA4B,6BAA6B;;;;;;iBAM/F,kCAAkC;;;cAGrC,gCAAgC;WACnC;WACA;mBACQ;EACjB,YAAY,eAAe;WAClB,yBAAyB;WACzB,4BAA4B;EACrC,yCAAyC;EACzC,uCAAuC;;;;;;;;;EASvC,MAAM,KAAK,cAAc,eAAe,SAAS,0BAA0B;;;;;;;;EAQ3E,sBAAsB,KAAK,cAAc,eAAe,UAAU,0BAA0B,QAAQ;;;;;;EAMpG,WAAW,QAAQ,oCAAoC,gBAAgB,QAAQ;EAC/E,wBAAwB,QAAQ,oCAAoC,gBAAgB,QAAQ;;;;;;EAM5F,eAAe,QAAQ,qCAAqC,QAAQ,oBAAoB;UAChF;;;;;;EAMR,WAAW,QAAQ,oCAAoC,iBAAiB,iBAAiB;UACjF;;;;;;EAMR,aAAa,QAAQ,oCAAoC,eAAe;aAC7D;aACA;aACA;MACP;EACJ,WAAW,QAAQ,oCAAoC,eAAe;aAC3D;aACA;aACA;MACP;;;;;EAKJ,aAAa,QAAQ,oCAAoC,eAAe,sBAAsB;aACnF;aACA;aACA;MACP;;;;;EAKJ,iBAAiB,QAAQ,oCAAoC,eAAe;aACjE;aACA;aACA;aACA;aACA;aACA;MACP;UACI;EACR,WAAW,QAAQ,oCAAoC,sBAAsB,QAAQ;;;;cAIzE,yBAAyB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { numeralText } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
+
import { dataType } from "@prisma/orm-framework/components/codec";
|
|
3
|
+
import { structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
4
|
+
//#region ../../../3-targets/3-targets/sqlite/dist/data-types-BOA80gRp.mjs
|
|
5
|
+
const unchanged = (value) => value;
|
|
6
|
+
function wrongShape(value, expected) {
|
|
7
|
+
throw structuredError("CONTRACT.CAST_REFUSED", `Expected ${expected}, got ${JSON.stringify(value)}.`, {
|
|
8
|
+
why: "A cast reads the canonical form of the type it takes values of.",
|
|
9
|
+
fix: "Hand the cast a value in the shape its source type stores."
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
const asNumeralText = (value) => typeof value === "number" ? numeralText(value) : wrongShape(value, "a number");
|
|
13
|
+
/**
|
|
14
|
+
* A number as `real` stores it. A magnitude past what a double holds is refused rather than
|
|
15
|
+
* rounded, for the reason the target's other numeric casts give.
|
|
16
|
+
*/
|
|
17
|
+
const asReal = (value) => {
|
|
18
|
+
if (typeof value === "number") return value;
|
|
19
|
+
if (typeof value !== "string") return wrongShape(value, "a number or digit text");
|
|
20
|
+
const converted = Number(value);
|
|
21
|
+
if (Number.isFinite(converted)) return converted;
|
|
22
|
+
throw structuredError("CONTRACT.CAST_REFUSED", `${value} is out of range: no double holds a number that large.`, {
|
|
23
|
+
why: "A real stores a double, which holds magnitudes up to about 1.8e308.",
|
|
24
|
+
fix: "Use a number a double holds."
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const sqliteText = dataType("sqlite/text", {});
|
|
28
|
+
const sqliteJson = dataType("sqlite/json", {});
|
|
29
|
+
const sqliteInteger = dataType("sqlite/integer", {});
|
|
30
|
+
const sqliteDatetime = dataType("sqlite/datetime", { casts: { [sqliteText.id]: unchanged } });
|
|
31
|
+
const sqliteBlob = dataType("sqlite/blob", { casts: { [sqliteText.id]: unchanged } });
|
|
32
|
+
const sqliteBigint = dataType("sqlite/bigint", { casts: { [sqliteInteger.id]: asNumeralText } });
|
|
33
|
+
const sqliteReal = dataType("sqlite/real", { casts: {
|
|
34
|
+
[sqliteInteger.id]: asReal,
|
|
35
|
+
[sqliteBigint.id]: asReal
|
|
36
|
+
} });
|
|
37
|
+
/** Every data type this target registers. */
|
|
38
|
+
const sqliteDataTypes = [
|
|
39
|
+
sqliteText,
|
|
40
|
+
sqliteJson,
|
|
41
|
+
sqliteInteger,
|
|
42
|
+
sqliteDatetime,
|
|
43
|
+
sqliteBlob,
|
|
44
|
+
sqliteBigint,
|
|
45
|
+
sqliteReal
|
|
46
|
+
];
|
|
47
|
+
//#endregion
|
|
48
|
+
export { sqliteInteger as a, sqliteText as c, sqliteDatetime as i, sqliteBlob as n, sqliteJson as o, sqliteDataTypes as r, sqliteReal as s, sqliteBigint as t };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=data-types-BOA80gRp-DV5kY9es.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-types-BOA80gRp-DV5kY9es.mjs","names":[],"sources":["../../../../3-targets/3-targets/sqlite/dist/data-types-BOA80gRp.mjs"],"sourcesContent":["import { numeralText } from \"@internal/sql-relational-core/ast\";\nimport { dataType } from \"@internal/framework-components/codec\";\nimport { structuredError } from \"@internal/utils/structured-error\";\n//#region src/core/data-types.ts\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}\nconst asNumeralText = (value) => typeof value === \"number\" ? numeralText(value) : wrongShape(value, \"a number\");\n/**\n* A number as `real` stores it. A magnitude past what a double holds is refused rather than\n* rounded, for the reason the target's other numeric casts give.\n*/\nconst asReal = (value) => {\n\tif (typeof value === \"number\") return value;\n\tif (typeof value !== \"string\") return wrongShape(value, \"a number or digit text\");\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: \"A real stores a double, which holds magnitudes up to about 1.8e308.\",\n\t\tfix: \"Use a number a double holds.\"\n\t});\n};\nconst sqliteText = dataType(\"sqlite/text\", {});\nconst sqliteJson = dataType(\"sqlite/json\", {});\nconst sqliteInteger = dataType(\"sqlite/integer\", {});\nconst sqliteDatetime = dataType(\"sqlite/datetime\", { casts: { [sqliteText.id]: unchanged } });\nconst sqliteBlob = dataType(\"sqlite/blob\", { casts: { [sqliteText.id]: unchanged } });\nconst sqliteBigint = dataType(\"sqlite/bigint\", { casts: { [sqliteInteger.id]: asNumeralText } });\nconst sqliteReal = dataType(\"sqlite/real\", { casts: {\n\t[sqliteInteger.id]: asReal,\n\t[sqliteBigint.id]: asReal\n} });\n/** Every data type this target registers. */\nconst sqliteDataTypes = [\n\tsqliteText,\n\tsqliteJson,\n\tsqliteInteger,\n\tsqliteDatetime,\n\tsqliteBlob,\n\tsqliteBigint,\n\tsqliteReal\n];\n//#endregion\nexport { sqliteInteger as a, sqliteText as c, sqliteDatetime as i, sqliteBlob as n, sqliteJson as o, sqliteDataTypes as r, sqliteReal as s, sqliteBigint as t };\n\n//# sourceMappingURL=data-types-BOA80gRp.mjs.map"],"mappings":";;;;AAIA,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;AACA,MAAM,iBAAiB,UAAU,OAAO,UAAU,WAAW,YAAY,KAAK,IAAI,WAAW,OAAO,UAAU;;;;;AAK9G,MAAM,UAAU,UAAU;CACzB,IAAI,OAAO,UAAU,UAAU,OAAO;CACtC,IAAI,OAAO,UAAU,UAAU,OAAO,WAAW,OAAO,wBAAwB;CAChF,MAAM,YAAY,OAAO,KAAK;CAC9B,IAAI,OAAO,SAAS,SAAS,GAAG,OAAO;CACvC,MAAM,gBAAgB,yBAAyB,GAAG,MAAM,yDAAyD;EAChH,KAAK;EACL,KAAK;CACN,CAAC;AACF;AACA,MAAM,aAAa,SAAS,eAAe,CAAC,CAAC;AAC7C,MAAM,aAAa,SAAS,eAAe,CAAC,CAAC;AAC7C,MAAM,gBAAgB,SAAS,kBAAkB,CAAC,CAAC;AACnD,MAAM,iBAAiB,SAAS,mBAAmB,EAAE,OAAO,GAAG,WAAW,KAAK,UAAU,EAAE,CAAC;AAC5F,MAAM,aAAa,SAAS,eAAe,EAAE,OAAO,GAAG,WAAW,KAAK,UAAU,EAAE,CAAC;AACpF,MAAM,eAAe,SAAS,iBAAiB,EAAE,OAAO,GAAG,cAAc,KAAK,cAAc,EAAE,CAAC;AAC/F,MAAM,aAAa,SAAS,eAAe,EAAE,OAAO;EAClD,cAAc,KAAK;EACnB,aAAa,KAAK;AACpB,EAAE,CAAC;;AAEH,MAAM,kBAAkB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;AACD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataType } from "@prisma/orm-framework/components/codec";
|
|
2
|
+
import { AuthoringDataTypeEntry } from "@prisma/orm-framework/components/authoring";
|
|
3
|
+
//#region ../../../3-targets/3-targets/sqlite/dist/data-types.d.mts
|
|
4
|
+
//#region src/core/data-type-entries.d.ts
|
|
5
|
+
declare function sqliteDataTypeEntries(): Readonly<Record<string, AuthoringDataTypeEntry>>;
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/core/data-types.d.ts
|
|
8
|
+
declare const sqliteText: DataType;
|
|
9
|
+
declare const sqliteJson: DataType;
|
|
10
|
+
declare const sqliteInteger: DataType;
|
|
11
|
+
declare const sqliteDatetime: DataType;
|
|
12
|
+
declare const sqliteBlob: DataType;
|
|
13
|
+
declare const sqliteBigint: DataType;
|
|
14
|
+
declare const sqliteReal: DataType;
|
|
15
|
+
/** Every data type this target registers. */
|
|
16
|
+
declare const sqliteDataTypes: readonly DataType[];
|
|
17
|
+
//#endregion
|
|
18
|
+
export { sqliteDatetime as a, sqliteReal as c, sqliteDataTypes as i, sqliteText as l, sqliteBlob as n, sqliteInteger as o, sqliteDataTypeEntries as r, sqliteJson as s, sqliteBigint as t };
|
|
19
|
+
//# sourceMappingURL=data-types-D3cyzV-O.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-types-D3cyzV-O.d.mts","names":[],"sources":["../../../../3-targets/3-targets/sqlite/dist/data-types.d.mts"],"mappings":";;;;iBAGiB,yBAAyB,SAAS,eAAe;;;cAGpD,YAAY;cACZ,YAAY;cACZ,eAAe;cACf,gBAAgB;cAChB,YAAY;cACZ,cAAc;cACd,YAAY;;cAEZ,0BAA0B"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { a as sqliteInteger, c as sqliteText, o as sqliteJson, s as sqliteReal, t as sqliteBigint } from "./data-types-BOA80gRp-DV5kY9es.mjs";
|
|
2
|
+
import { createNumberClassifier, numeralText, parseJsonBody, printJsonBody, signedRange } from "@prisma/orm-family-sql/relational-core/ast";
|
|
3
|
+
//#region ../../../3-targets/3-targets/sqlite/dist/data-types.mjs
|
|
4
|
+
const SAFE_INTEGER = BigInt(Number.MAX_SAFE_INTEGER);
|
|
5
|
+
/**
|
|
6
|
+
* A whole number within the range a double holds exactly is an `integer`, a wider one up to 64 bits
|
|
7
|
+
* is a `bigint`, and a number with a fraction is a `real`. Anything else — a whole number past 64
|
|
8
|
+
* bits, or one of the three words — has no SQLite type, so it is refused.
|
|
9
|
+
*/
|
|
10
|
+
const classifySqliteNumber = createNumberClassifier({
|
|
11
|
+
integers: [{
|
|
12
|
+
type: sqliteInteger.id,
|
|
13
|
+
form: "number",
|
|
14
|
+
min: -SAFE_INTEGER,
|
|
15
|
+
max: SAFE_INTEGER
|
|
16
|
+
}, {
|
|
17
|
+
type: sqliteBigint.id,
|
|
18
|
+
form: "text",
|
|
19
|
+
...signedRange(64)
|
|
20
|
+
}],
|
|
21
|
+
fraction: {
|
|
22
|
+
type: sqliteReal.id,
|
|
23
|
+
form: "number"
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
function printNumber(value) {
|
|
27
|
+
return typeof value === "number" ? numeralText(value) : String(value);
|
|
28
|
+
}
|
|
29
|
+
function sqliteDataTypeEntries() {
|
|
30
|
+
return {
|
|
31
|
+
[sqliteText.id]: {
|
|
32
|
+
written: {
|
|
33
|
+
kind: "plain",
|
|
34
|
+
syntax: "string",
|
|
35
|
+
parse: (text) => text
|
|
36
|
+
},
|
|
37
|
+
print: (value) => String(value),
|
|
38
|
+
documentation: "Text."
|
|
39
|
+
},
|
|
40
|
+
[sqliteReal.id]: {
|
|
41
|
+
written: {
|
|
42
|
+
kind: "plain",
|
|
43
|
+
syntax: "number",
|
|
44
|
+
types: [
|
|
45
|
+
sqliteInteger.id,
|
|
46
|
+
sqliteBigint.id,
|
|
47
|
+
sqliteReal.id
|
|
48
|
+
],
|
|
49
|
+
classify: classifySqliteNumber
|
|
50
|
+
},
|
|
51
|
+
print: printNumber,
|
|
52
|
+
documentation: "A number, whose type comes from its own size and precision."
|
|
53
|
+
},
|
|
54
|
+
[sqliteJson.id]: {
|
|
55
|
+
written: {
|
|
56
|
+
kind: "tag",
|
|
57
|
+
tag: "json",
|
|
58
|
+
parse: parseJsonBody
|
|
59
|
+
},
|
|
60
|
+
print: printJsonBody,
|
|
61
|
+
documentation: "Reads the body as a JSON document and stores it as the default value."
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { sqliteDataTypeEntries as t };
|
|
67
|
+
|
|
68
|
+
//# sourceMappingURL=data-types-c3xcs6Mr.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-types-c3xcs6Mr.mjs","names":[],"sources":["../../../../3-targets/3-targets/sqlite/dist/data-types.mjs"],"sourcesContent":["import { a as sqliteInteger, c as sqliteText, i as sqliteDatetime, n as sqliteBlob, o as sqliteJson, r as sqliteDataTypes, s as sqliteReal, t as sqliteBigint } from \"./data-types-BOA80gRp.mjs\";\nimport { createNumberClassifier, numeralText, parseJsonBody, printJsonBody, signedRange } from \"@internal/sql-relational-core/ast\";\n//#region src/core/data-type-entries.ts\nconst SAFE_INTEGER = BigInt(Number.MAX_SAFE_INTEGER);\n/**\n* A whole number within the range a double holds exactly is an `integer`, a wider one up to 64 bits\n* is a `bigint`, and a number with a fraction is a `real`. Anything else — a whole number past 64\n* bits, or one of the three words — has no SQLite type, so it is refused.\n*/\nconst classifySqliteNumber = createNumberClassifier({\n\tintegers: [{\n\t\ttype: sqliteInteger.id,\n\t\tform: \"number\",\n\t\tmin: -SAFE_INTEGER,\n\t\tmax: SAFE_INTEGER\n\t}, {\n\t\ttype: sqliteBigint.id,\n\t\tform: \"text\",\n\t\t...signedRange(64)\n\t}],\n\tfraction: {\n\t\ttype: sqliteReal.id,\n\t\tform: \"number\"\n\t}\n});\nfunction printNumber(value) {\n\treturn typeof value === \"number\" ? numeralText(value) : String(value);\n}\nfunction sqliteDataTypeEntries() {\n\treturn {\n\t\t[sqliteText.id]: {\n\t\t\twritten: {\n\t\t\t\tkind: \"plain\",\n\t\t\t\tsyntax: \"string\",\n\t\t\t\tparse: (text) => text\n\t\t\t},\n\t\t\tprint: (value) => String(value),\n\t\t\tdocumentation: \"Text.\"\n\t\t},\n\t\t[sqliteReal.id]: {\n\t\t\twritten: {\n\t\t\t\tkind: \"plain\",\n\t\t\t\tsyntax: \"number\",\n\t\t\t\ttypes: [\n\t\t\t\t\tsqliteInteger.id,\n\t\t\t\t\tsqliteBigint.id,\n\t\t\t\t\tsqliteReal.id\n\t\t\t\t],\n\t\t\t\tclassify: classifySqliteNumber\n\t\t\t},\n\t\t\tprint: printNumber,\n\t\t\tdocumentation: \"A number, whose type comes from its own size and precision.\"\n\t\t},\n\t\t[sqliteJson.id]: {\n\t\t\twritten: {\n\t\t\t\tkind: \"tag\",\n\t\t\t\ttag: \"json\",\n\t\t\t\tparse: parseJsonBody\n\t\t\t},\n\t\t\tprint: printJsonBody,\n\t\t\tdocumentation: \"Reads the body as a JSON document and stores it as the default value.\"\n\t\t}\n\t};\n}\n//#endregion\nexport { sqliteBigint, sqliteBlob, sqliteDataTypeEntries, sqliteDataTypes, sqliteDatetime, sqliteInteger, sqliteJson, sqliteReal, sqliteText };\n\n//# sourceMappingURL=data-types.mjs.map"],"mappings":";;;AAGA,MAAM,eAAe,OAAO,OAAO,gBAAgB;;;;;;AAMnD,MAAM,uBAAuB,uBAAuB;CACnD,UAAU,CAAC;EACV,MAAM,cAAc;EACpB,MAAM;EACN,KAAK,CAAC;EACN,KAAK;CACN,GAAG;EACF,MAAM,aAAa;EACnB,MAAM;EACN,GAAG,YAAY,EAAE;CAClB,CAAC;CACD,UAAU;EACT,MAAM,WAAW;EACjB,MAAM;CACP;AACD,CAAC;AACD,SAAS,YAAY,OAAO;CAC3B,OAAO,OAAO,UAAU,WAAW,YAAY,KAAK,IAAI,OAAO,KAAK;AACrE;AACA,SAAS,wBAAwB;CAChC,OAAO;GACL,WAAW,KAAK;GAChB,SAAS;IACR,MAAM;IACN,QAAQ;IACR,QAAQ,SAAS;GAClB;GACA,QAAQ,UAAU,OAAO,KAAK;GAC9B,eAAe;EAChB;GACC,WAAW,KAAK;GAChB,SAAS;IACR,MAAM;IACN,QAAQ;IACR,OAAO;KACN,cAAc;KACd,aAAa;KACb,WAAW;IACZ;IACA,UAAU;GACX;GACA,OAAO;GACP,eAAe;EAChB;GACC,WAAW,KAAK;GAChB,SAAS;IACR,MAAM;IACN,KAAK;IACL,OAAO;GACR;GACA,OAAO;GACP,eAAe;EAChB;CACD;AACD"}
|
package/dist/{descriptor-meta-CHbTkdOW-Bv1fskyU.mjs → descriptor-meta-CqCH7n4c-CZhs8PR9.mjs}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { t as sqliteAggregateDescriptors } from "./aggregates-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { t as sqliteAggregateDescriptors } from "./aggregates-CATLYJxc.mjs";
|
|
2
|
+
import { r as sqliteDataTypes } from "./data-types-BOA80gRp-DV5kY9es.mjs";
|
|
3
|
+
import { o as sqliteCodecRegistry } from "./codecs-DpMoJnXK.mjs";
|
|
4
|
+
//#region ../../../3-targets/6-adapters/sqlite/dist/descriptor-meta-CqCH7n4c.mjs
|
|
4
5
|
const sqliteAdapterDescriptorMeta = {
|
|
5
6
|
kind: "adapter",
|
|
6
7
|
familyId: "sql",
|
|
@@ -18,6 +19,7 @@ const sqliteAdapterDescriptorMeta = {
|
|
|
18
19
|
insertOnConflictSkip: true,
|
|
19
20
|
insertOnConflictWithoutTarget: true
|
|
20
21
|
} },
|
|
22
|
+
dataTypes: sqliteDataTypes,
|
|
21
23
|
types: {
|
|
22
24
|
aggregateDescriptors: sqliteAggregateDescriptors,
|
|
23
25
|
codecTypes: {
|
|
@@ -33,4 +35,4 @@ const sqliteAdapterDescriptorMeta = {
|
|
|
33
35
|
//#endregion
|
|
34
36
|
export { sqliteAdapterDescriptorMeta as t };
|
|
35
37
|
|
|
36
|
-
//# sourceMappingURL=descriptor-meta-
|
|
38
|
+
//# sourceMappingURL=descriptor-meta-CqCH7n4c-CZhs8PR9.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptor-meta-CqCH7n4c-CZhs8PR9.mjs","names":[],"sources":["../../../../3-targets/6-adapters/sqlite/dist/descriptor-meta-CqCH7n4c.mjs"],"sourcesContent":["import { sqliteCodecRegistry } from \"@internal/target-sqlite/codecs\";\nimport { sqliteDataTypes } from \"@internal/target-sqlite/data-types\";\nimport { sqliteAggregateDescriptors } from \"@internal/target-sqlite/aggregates\";\nconst sqliteAdapterDescriptorMeta = {\n\tkind: \"adapter\",\n\tfamilyId: \"sql\",\n\ttargetId: \"sqlite\",\n\tid: \"sqlite\",\n\tversion: \"0.0.1\",\n\tcapabilities: { sql: {\n\t\torderBy: true,\n\t\tlimit: true,\n\t\tlateral: false,\n\t\tjsonAgg: true,\n\t\treturning: true,\n\t\tforeignKeys: true,\n\t\tenums: false,\n\t\tinsertOnConflictSkip: true,\n\t\tinsertOnConflictWithoutTarget: true\n\t} },\n\tdataTypes: sqliteDataTypes,\n\ttypes: {\n\t\taggregateDescriptors: sqliteAggregateDescriptors,\n\t\tcodecTypes: {\n\t\t\tcodecDescriptors: Array.from(sqliteCodecRegistry.values()).filter((d) => d.renderOutputType === void 0),\n\t\t\timport: {\n\t\t\t\tpackage: \"@internal/adapter-sqlite/codec-types\",\n\t\t\t\tnamed: \"CodecTypes\",\n\t\t\t\talias: \"SqliteTypes\"\n\t\t\t}\n\t\t}\n\t}\n};\n//#endregion\nexport { sqliteAdapterDescriptorMeta as t };\n\n//# sourceMappingURL=descriptor-meta-CqCH7n4c.mjs.map"],"mappings":";;;;AAGA,MAAM,8BAA8B;CACnC,MAAM;CACN,UAAU;CACV,UAAU;CACV,IAAI;CACJ,SAAS;CACT,cAAc,EAAE,KAAK;EACpB,SAAS;EACT,OAAO;EACP,SAAS;EACT,SAAS;EACT,WAAW;EACX,aAAa;EACb,OAAO;EACP,sBAAsB;EACtB,+BAA+B;CAChC,EAAE;CACF,WAAW;CACX,OAAO;EACN,sBAAsB;EACtB,YAAY;GACX,kBAAkB,MAAM,KAAK,oBAAoB,OAAO,CAAC,CAAC,CAAC,QAAQ,MAAM,EAAE,qBAAqB,KAAK,CAAC;GACtG,QAAQ;IACP,SAAS;IACT,OAAO;IACP,OAAO;GACR;EACD;CACD;AACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as CodecTypes } from "./codec-types-
|
|
1
|
+
import { t as CodecTypes } from "./codec-types-BmdALTGe-CH015gsn.mjs";
|
|
2
2
|
//#region ../../../3-targets/3-targets/sqlite/dist/pack.d.mts
|
|
3
3
|
//#region src/core/descriptor-meta.d.ts
|
|
4
4
|
declare const sqliteTargetDescriptorMetaBase: {
|
|
@@ -103,4 +103,4 @@ declare const sqliteTargetDescriptorMeta: typeof sqliteTargetDescriptorMetaBase
|
|
|
103
103
|
};
|
|
104
104
|
//#endregion
|
|
105
105
|
export { sqliteTargetDescriptorMeta as t };
|
|
106
|
-
//# sourceMappingURL=pack-
|
|
106
|
+
//# sourceMappingURL=pack-EwbBcB-c.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack-
|
|
1
|
+
{"version":3,"file":"pack-EwbBcB-c.d.mts","names":[],"sources":["../../../../3-targets/3-targets/sqlite/dist/pack.d.mts"],"mappings":";;;cAEc;WACH;WACA;WACA;aACE;eACE;iBACE;iBACA;iBACA;mBACE;mBACA;;;;aAIN;eACE;iBACE;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;;;;;WAQd;WACA;WACA;WACA;WACA;WACA;WACA,eAAe;;cAEZ,mCAAmC;WACtC,eAAe"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createSqliteAdapterWithCodecRegistry } from "./adapter-DEYUC-KO-
|
|
1
|
+
import { n as createSqliteAdapterWithCodecRegistry } from "./adapter-DEYUC-KO-CidoiIE8.mjs";
|
|
2
2
|
import { SqlRuntimeAdapterDescriptor } from "@prisma/orm-family-sql/runtime";
|
|
3
3
|
import { RuntimeAdapterInstance } from "@prisma/orm-framework/components/execution";
|
|
4
4
|
//#region ../../../3-targets/6-adapters/sqlite/dist/runtime.d.mts
|
|
@@ -7,4 +7,4 @@ type SqliteRuntimeAdapterInstance = RuntimeAdapterInstance<'sql', 'sqlite'> & Re
|
|
|
7
7
|
declare const sqliteRuntimeAdapterDescriptor: SqlRuntimeAdapterDescriptor<'sqlite', SqliteRuntimeAdapterInstance>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { sqliteRuntimeAdapterDescriptor as n, SqliteRuntimeAdapterInstance as t };
|
|
10
|
-
//# sourceMappingURL=runtime-
|
|
10
|
+
//# sourceMappingURL=runtime-DxqV7w29.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-
|
|
1
|
+
{"version":3,"file":"runtime-DxqV7w29.d.mts","names":[],"sources":["../../../../3-targets/6-adapters/sqlite/dist/runtime.d.mts"],"mappings":";;;;;KAIK,+BAA+B,0CAA0C,kBAAkB;cAClF,gCAAgC,sCAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./adapter-DEYUC-KO-CidoiIE8.mjs";
|
package/dist/target.d.mts
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { a as SqliteCodecOptions, c as isSqliteCodecDescriptor, i as SqliteCodecDescriptorRegistry, l as sqliteCodec, n as AnySqliteCodecDescriptor, o as buildSqliteCodecDescriptorRegistry, r as SqliteCodecDescriptor, s as defineSqliteCodecs, t as AdaptedSqliteCodecDescriptor } from "./codec-descriptor-
|
|
2
|
-
import "./codec-descriptor-
|
|
1
|
+
import { a as SqliteCodecOptions, c as isSqliteCodecDescriptor, i as SqliteCodecDescriptorRegistry, l as sqliteCodec, n as AnySqliteCodecDescriptor, o as buildSqliteCodecDescriptorRegistry, r as SqliteCodecDescriptor, s as defineSqliteCodecs, t as AdaptedSqliteCodecDescriptor } from "./codec-descriptor-BNC9tDro-BPWBITSr.mjs";
|
|
2
|
+
import "./codec-descriptor-ae4jEMJI.mjs";
|
|
3
3
|
import { i as SqliteDdlVisitor, n as SqliteCreateTable, r as SqliteDdlNode, t as AnySqliteDdlNode } from "./nodes-D8EC1yCx-rpfpuJ4T.mjs";
|
|
4
4
|
import "./ddl-CfSqNT0M.mjs";
|
|
5
5
|
import { a as SQLITE_INTEGER_CODEC_ID, c as SQLITE_TEXT_CODEC_ID, d as SQL_INT_CODEC_ID, f as SQL_VARCHAR_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, l as SQL_CHAR_CODEC_ID, n as SQLITE_BIGINT_NUMBER_CODEC_ID, o as SQLITE_JSON_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_REAL_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, u as SQL_FLOAT_CODEC_ID } from "./codec-ids-CzeDyMWW-BZAcI50I.mjs";
|
|
6
|
-
import { _ as sqliteIntegerColumn, a as SqliteDatetimeDescriptor, b as sqliteTextColumn, c as SqliteRealDescriptor, d as sqliteBigintColumn, f as sqliteBigintNumberColumn, g as sqliteDatetimeColumn, h as sqliteCodecRegistry, i as SqliteBlobDescriptor, l as SqliteTextDescriptor, m as sqliteCodecDescriptorRegistry, n as SqliteBigintDescriptor, o as SqliteIntegerDescriptor, p as sqliteBlobColumn, r as SqliteBigintNumberDescriptor, s as SqliteJsonDescriptor, t as JsonValue$1, u as jsonDocumentRetag, v as sqliteJsonColumn, y as sqliteRealColumn } from "./codecs-
|
|
7
|
-
import { t as CodecTypes } from "./codec-types-
|
|
8
|
-
import "./codec-types-
|
|
6
|
+
import { _ as sqliteIntegerColumn, a as SqliteDatetimeDescriptor, b as sqliteTextColumn, c as SqliteRealDescriptor, d as sqliteBigintColumn, f as sqliteBigintNumberColumn, g as sqliteDatetimeColumn, h as sqliteCodecRegistry, i as SqliteBlobDescriptor, l as SqliteTextDescriptor, m as sqliteCodecDescriptorRegistry, n as SqliteBigintDescriptor, o as SqliteIntegerDescriptor, p as sqliteBlobColumn, r as SqliteBigintNumberDescriptor, s as SqliteJsonDescriptor, t as JsonValue$1, u as jsonDocumentRetag, v as sqliteJsonColumn, y as sqliteRealColumn } from "./codecs-Ke2zEuU2-B8ego8w-.mjs";
|
|
7
|
+
import { t as CodecTypes } from "./codec-types-BmdALTGe-CH015gsn.mjs";
|
|
8
|
+
import "./codec-types-BP_jt4cV.mjs";
|
|
9
9
|
import { n as quoteIdentifier, t as escapeLiteral } from "./sql-utils-0SJZOd7Q.mjs";
|
|
10
10
|
import { t as parseSqliteDefault } from "./default-normalizer-B9V7TY5u.mjs";
|
|
11
11
|
import { t as normalizeSqliteNativeType } from "./native-type-normalizer-CO2wKGL6.mjs";
|
|
12
12
|
import { t as sqliteAggregateDescriptors } from "./aggregates-BGuKJwfI.mjs";
|
|
13
13
|
import "./codec-ids-7WqtUuda.mjs";
|
|
14
|
-
import "./codecs-
|
|
14
|
+
import "./codecs-CZ668gc7.mjs";
|
|
15
15
|
import { a as buildSignMarkerBootstrapQueries, c as datetime, d as jsonText, f as sqliteTable, i as buildControlTableBootstrapQueries, l as indexExistsAst, m as text, n as IndexExistsCheckBuilder, o as columnExistsAst, p as tableExistsAst, r as TableExistsCheckBuilder, s as createTable, t as ColumnExistsCheckBuilder, u as integer } from "./contract-free-CCLAXZV2.mjs";
|
|
16
16
|
import { n as buildTargetDetails, t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz-CMahymzq.mjs";
|
|
17
17
|
import { r as sqliteCreateNamespace, t as SqliteUnboundDatabase } from "./control--wMueaTg.mjs";
|
|
18
18
|
import { n as LEDGER_TABLE_NAME, r as MARKER_TABLE_NAME, t as CONTROL_TABLE_NAMES } from "./control-tables-Dua-YcJL.mjs";
|
|
19
|
+
import { a as sqliteDatetime, c as sqliteReal, i as sqliteDataTypes, l as sqliteText, n as sqliteBlob, o as sqliteInteger, r as sqliteDataTypeEntries, s as sqliteJson, t as sqliteBigint } from "./data-types-D3cyzV-O.mjs";
|
|
19
20
|
import { t as SqliteContractView } from "./sqlite-contract-view-BpNMaU2m-COMDaGaq.mjs";
|
|
20
21
|
import { t as SqliteMigration } from "./sqlite-migration-o23JHwzY-CwNJcqwl.mjs";
|
|
21
22
|
import { a as fn, c as placeholder, d as unique, i as dataTransform, l as primaryKey, n as MigrationCLI, o as foreignKey, r as col, s as lit, t as DataTransformOptions, u as rawSql } from "./migration-uylRe5MP.mjs";
|
|
22
23
|
import { a as DropColumnCall, c as RawSqlCall, i as DataTransformCall, l as RecreateTableCall, n as CreateIndexCall, o as DropIndexCall, r as CreateTableCall, s as DropTableCall, t as AddColumnCall, u as SqliteOpFactoryCall } from "./op-factory-call-DoHN7Q7L.mjs";
|
|
23
|
-
import "./pack-
|
|
24
|
+
import "./pack-EwbBcB-c.mjs";
|
|
24
25
|
import { n as TypeScriptRenderableSqliteMigration, t as SqliteMigrationDestinationInfo } from "./planner-produced-sqlite-migration-BuJysRxx-CaDUbNVx.mjs";
|
|
25
26
|
import { n as SqlitePlanResult, r as createSqliteMigrationPlanner, t as SqliteMigrationPlanner } from "./planner-Bxdi7jZF.mjs";
|
|
26
27
|
import "./planner-produced-sqlite-migration-uySoqJO-.mjs";
|
|
27
28
|
import { t as renderOps } from "./render-ops-B10yqmdG.mjs";
|
|
28
29
|
import { n as SqliteRuntimeTargetInstance, t as SqliteContractSerializer } from "./runtime-B99c4n56.mjs";
|
|
29
|
-
export { type AdaptedSqliteCodecDescriptor, AddColumnCall, type AnySqliteCodecDescriptor, type AnySqliteDdlNode, CONTROL_TABLE_NAMES, CodecTypes, type ColumnExistsCheckBuilder, CreateIndexCall, CreateTableCall, DataTransformCall, type DataTransformOptions, DropColumnCall, DropIndexCall, DropTableCall, type IndexExistsCheckBuilder, type JsonValue$1 as JsonValue, LEDGER_TABLE_NAME, MARKER_TABLE_NAME, SqliteMigration as Migration, MigrationCLI, RawSqlCall, RecreateTableCall, SQLITE_BIGINT_CODEC_ID, SQLITE_BIGINT_NUMBER_CODEC_ID, SQLITE_BLOB_CODEC_ID, SQLITE_DATETIME_CODEC_ID, SQLITE_INTEGER_CODEC_ID, SQLITE_JSON_CODEC_ID, SQLITE_REAL_CODEC_ID, SQLITE_TEXT_CODEC_ID, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SqliteBigintDescriptor, type SqliteBigintNumberDescriptor, type SqliteBlobDescriptor, SqliteCodecDescriptor, type SqliteCodecDescriptorRegistry, type SqliteCodecOptions, SqliteContractSerializer, SqliteContractView, SqliteCreateTable, type SqliteDatetimeDescriptor, SqliteDdlNode, type SqliteDdlVisitor, type SqliteIntegerDescriptor, type SqliteJsonDescriptor, type SqliteMigrationDestinationInfo, SqliteMigrationPlanner, type SqliteOpFactoryCall, type SqlitePlanResult, type SqlitePlanTargetDetails, type SqliteRealDescriptor, type SqliteRuntimeTargetInstance, type SqliteTextDescriptor, SqliteUnboundDatabase, type TableExistsCheckBuilder, TypeScriptRenderableSqliteMigration, buildControlTableBootstrapQueries, buildSignMarkerBootstrapQueries, buildSqliteCodecDescriptorRegistry, buildTargetDetails, col, columnExistsAst, createSqliteMigrationPlanner, createTable, dataTransform, datetime, defineSqliteCodecs, escapeLiteral, fn, foreignKey, indexExistsAst, integer, isSqliteCodecDescriptor, jsonDocumentRetag, jsonText, lit, normalizeSqliteNativeType, parseSqliteDefault, placeholder, primaryKey, quoteIdentifier, rawSql, renderOps, sqliteAggregateDescriptors, sqliteBigintColumn, sqliteBigintNumberColumn, sqliteBlobColumn, sqliteCodec, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteCreateNamespace, sqliteDatetimeColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteRealColumn, sqliteTable, sqliteTextColumn, tableExistsAst, text, unique };
|
|
30
|
+
export { type AdaptedSqliteCodecDescriptor, AddColumnCall, type AnySqliteCodecDescriptor, type AnySqliteDdlNode, CONTROL_TABLE_NAMES, CodecTypes, type ColumnExistsCheckBuilder, CreateIndexCall, CreateTableCall, DataTransformCall, type DataTransformOptions, DropColumnCall, DropIndexCall, DropTableCall, type IndexExistsCheckBuilder, type JsonValue$1 as JsonValue, LEDGER_TABLE_NAME, MARKER_TABLE_NAME, SqliteMigration as Migration, MigrationCLI, RawSqlCall, RecreateTableCall, SQLITE_BIGINT_CODEC_ID, SQLITE_BIGINT_NUMBER_CODEC_ID, SQLITE_BLOB_CODEC_ID, SQLITE_DATETIME_CODEC_ID, SQLITE_INTEGER_CODEC_ID, SQLITE_JSON_CODEC_ID, SQLITE_REAL_CODEC_ID, SQLITE_TEXT_CODEC_ID, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SqliteBigintDescriptor, type SqliteBigintNumberDescriptor, type SqliteBlobDescriptor, SqliteCodecDescriptor, type SqliteCodecDescriptorRegistry, type SqliteCodecOptions, SqliteContractSerializer, SqliteContractView, SqliteCreateTable, type SqliteDatetimeDescriptor, SqliteDdlNode, type SqliteDdlVisitor, type SqliteIntegerDescriptor, type SqliteJsonDescriptor, type SqliteMigrationDestinationInfo, SqliteMigrationPlanner, type SqliteOpFactoryCall, type SqlitePlanResult, type SqlitePlanTargetDetails, type SqliteRealDescriptor, type SqliteRuntimeTargetInstance, type SqliteTextDescriptor, SqliteUnboundDatabase, type TableExistsCheckBuilder, TypeScriptRenderableSqliteMigration, buildControlTableBootstrapQueries, buildSignMarkerBootstrapQueries, buildSqliteCodecDescriptorRegistry, buildTargetDetails, col, columnExistsAst, createSqliteMigrationPlanner, createTable, dataTransform, datetime, defineSqliteCodecs, escapeLiteral, fn, foreignKey, indexExistsAst, integer, isSqliteCodecDescriptor, jsonDocumentRetag, jsonText, lit, normalizeSqliteNativeType, parseSqliteDefault, placeholder, primaryKey, quoteIdentifier, rawSql, renderOps, sqliteAggregateDescriptors, sqliteBigint, sqliteBigintColumn, sqliteBigintNumberColumn, sqliteBlob, sqliteBlobColumn, sqliteCodec, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteCreateNamespace, sqliteDataTypeEntries, sqliteDataTypes, sqliteDatetime, sqliteDatetimeColumn, sqliteInteger, sqliteIntegerColumn, sqliteJson, sqliteJsonColumn, sqliteReal, sqliteRealColumn, sqliteTable, sqliteText, sqliteTextColumn, tableExistsAst, text, unique };
|
package/dist/target.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { a as SQLITE_INTEGER_CODEC_ID, c as SQLITE_TEXT_CODEC_ID, d as SQL_INT_CODEC_ID, f as SQL_VARCHAR_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, l as SQL_CHAR_CODEC_ID, n as SQLITE_BIGINT_NUMBER_CODEC_ID, o as SQLITE_JSON_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_REAL_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, u as SQL_FLOAT_CODEC_ID } from "./codec-ids-KMliSCRp-BhTbmbGr.mjs";
|
|
2
|
-
import { t as sqliteAggregateDescriptors } from "./aggregates-
|
|
3
|
-
import { a as sqliteCodec, i as isSqliteCodecDescriptor, n as buildSqliteCodecDescriptorRegistry, r as defineSqliteCodecs, t as SqliteCodecDescriptor } from "./codec-descriptor-
|
|
4
|
-
import { a as
|
|
2
|
+
import { t as sqliteAggregateDescriptors } from "./aggregates-CATLYJxc.mjs";
|
|
3
|
+
import { a as sqliteCodec, i as isSqliteCodecDescriptor, n as buildSqliteCodecDescriptorRegistry, r as defineSqliteCodecs, t as SqliteCodecDescriptor } from "./codec-descriptor-iBsfn3Ib-Chscaqnm.mjs";
|
|
4
|
+
import { a as sqliteInteger, c as sqliteText, i as sqliteDatetime, n as sqliteBlob, o as sqliteJson, r as sqliteDataTypes, s as sqliteReal, t as sqliteBigint } from "./data-types-BOA80gRp-DV5kY9es.mjs";
|
|
5
|
+
import { a as sqliteCodecDescriptorRegistry, c as sqliteIntegerColumn, d as sqliteTextColumn, i as sqliteBlobColumn, l as sqliteJsonColumn, n as sqliteBigintColumn, o as sqliteCodecRegistry, r as sqliteBigintNumberColumn, s as sqliteDatetimeColumn, t as jsonDocumentRetag, u as sqliteRealColumn } from "./codecs-DpMoJnXK.mjs";
|
|
5
6
|
import { n as SqliteDdlNode, t as SqliteCreateTable } from "./nodes-DUZSdX86-BBEEaxXY.mjs";
|
|
6
7
|
import { i as tableExistsAst, n as createTable, r as indexExistsAst, t as columnExistsAst } from "./ddl-CXduXyOT-nlDP6DGx.mjs";
|
|
7
8
|
import { a as jsonText, i as integer, n as buildSignMarkerBootstrapQueries, o as sqliteTable, r as datetime, s as text, t as buildControlTableBootstrapQueries } from "./contract-free-D5cZrgNl.mjs";
|
|
@@ -15,6 +16,7 @@ import { i as sqliteCreateNamespace, n as SqliteContractView, r as SqliteUnbound
|
|
|
15
16
|
import { t as SqliteMigration } from "./sqlite-migration-6k1ntnGk-B5TeEP_r.mjs";
|
|
16
17
|
import { t as TypeScriptRenderableSqliteMigration } from "./planner-produced-sqlite-migration-rE9Hfch8-DPGrVAy9.mjs";
|
|
17
18
|
import { n as createSqliteMigrationPlanner, t as SqliteMigrationPlanner } from "./planner-Btyty0VZ-CwoZV9Kx.mjs";
|
|
19
|
+
import { t as sqliteDataTypeEntries } from "./data-types-c3xcs6Mr.mjs";
|
|
18
20
|
import { a as foreignKey, c as primaryKey, i as fn, l as rawSql, n as col, o as lit, r as dataTransform, s as placeholder, t as MigrationCLI, u as unique } from "./migration-CPXuprRF.mjs";
|
|
19
21
|
import { t as normalizeSqliteNativeType } from "./native-type-normalizer-GpQMEyN5.mjs";
|
|
20
|
-
export { AddColumnCall, CONTROL_TABLE_NAMES, CreateIndexCall, CreateTableCall, DataTransformCall, DropColumnCall, DropIndexCall, DropTableCall, LEDGER_TABLE_NAME, MARKER_TABLE_NAME, SqliteMigration as Migration, MigrationCLI, RawSqlCall, RecreateTableCall, SQLITE_BIGINT_CODEC_ID, SQLITE_BIGINT_NUMBER_CODEC_ID, SQLITE_BLOB_CODEC_ID, SQLITE_DATETIME_CODEC_ID, SQLITE_INTEGER_CODEC_ID, SQLITE_JSON_CODEC_ID, SQLITE_REAL_CODEC_ID, SQLITE_TEXT_CODEC_ID, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SqliteCodecDescriptor, SqliteContractSerializer, SqliteContractView, SqliteCreateTable, SqliteDdlNode, SqliteMigrationPlanner, SqliteUnboundDatabase, TypeScriptRenderableSqliteMigration, buildControlTableBootstrapQueries, buildSignMarkerBootstrapQueries, buildSqliteCodecDescriptorRegistry, buildTargetDetails, col, columnExistsAst, createSqliteMigrationPlanner, createTable, dataTransform, datetime, defineSqliteCodecs, escapeLiteral, fn, foreignKey, indexExistsAst, integer, isSqliteCodecDescriptor, jsonDocumentRetag, jsonText, lit, normalizeSqliteNativeType, parseSqliteDefault, placeholder, primaryKey, quoteIdentifier, rawSql, renderOps, sqliteAggregateDescriptors, sqliteBigintColumn, sqliteBigintNumberColumn, sqliteBlobColumn, sqliteCodec, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteCreateNamespace, sqliteDatetimeColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteRealColumn, sqliteTable, sqliteTextColumn, tableExistsAst, text, unique };
|
|
22
|
+
export { AddColumnCall, CONTROL_TABLE_NAMES, CreateIndexCall, CreateTableCall, DataTransformCall, DropColumnCall, DropIndexCall, DropTableCall, LEDGER_TABLE_NAME, MARKER_TABLE_NAME, SqliteMigration as Migration, MigrationCLI, RawSqlCall, RecreateTableCall, SQLITE_BIGINT_CODEC_ID, SQLITE_BIGINT_NUMBER_CODEC_ID, SQLITE_BLOB_CODEC_ID, SQLITE_DATETIME_CODEC_ID, SQLITE_INTEGER_CODEC_ID, SQLITE_JSON_CODEC_ID, SQLITE_REAL_CODEC_ID, SQLITE_TEXT_CODEC_ID, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SqliteCodecDescriptor, SqliteContractSerializer, SqliteContractView, SqliteCreateTable, SqliteDdlNode, SqliteMigrationPlanner, SqliteUnboundDatabase, TypeScriptRenderableSqliteMigration, buildControlTableBootstrapQueries, buildSignMarkerBootstrapQueries, buildSqliteCodecDescriptorRegistry, buildTargetDetails, col, columnExistsAst, createSqliteMigrationPlanner, createTable, dataTransform, datetime, defineSqliteCodecs, escapeLiteral, fn, foreignKey, indexExistsAst, integer, isSqliteCodecDescriptor, jsonDocumentRetag, jsonText, lit, normalizeSqliteNativeType, parseSqliteDefault, placeholder, primaryKey, quoteIdentifier, rawSql, renderOps, sqliteAggregateDescriptors, sqliteBigint, sqliteBigintColumn, sqliteBigintNumberColumn, sqliteBlob, sqliteBlobColumn, sqliteCodec, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteCreateNamespace, sqliteDataTypeEntries, sqliteDataTypes, sqliteDatetime, sqliteDatetimeColumn, sqliteInteger, sqliteIntegerColumn, sqliteJson, sqliteJsonColumn, sqliteReal, sqliteRealColumn, sqliteTable, sqliteText, sqliteTextColumn, tableExistsAst, text, unique };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as sqliteAggregateDescriptors } from "./aggregates-
|
|
1
|
+
import { t as sqliteAggregateDescriptors } from "./aggregates-CATLYJxc.mjs";
|
|
2
2
|
export { sqliteAggregateDescriptors };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SqliteCodecOptions, c as isSqliteCodecDescriptor, i as SqliteCodecDescriptorRegistry, l as sqliteCodec, n as AnySqliteCodecDescriptor, o as buildSqliteCodecDescriptorRegistry, r as SqliteCodecDescriptor, s as defineSqliteCodecs, t as AdaptedSqliteCodecDescriptor } from "./codec-descriptor-
|
|
2
|
-
import "./codec-descriptor-
|
|
1
|
+
import { a as SqliteCodecOptions, c as isSqliteCodecDescriptor, i as SqliteCodecDescriptorRegistry, l as sqliteCodec, n as AnySqliteCodecDescriptor, o as buildSqliteCodecDescriptorRegistry, r as SqliteCodecDescriptor, s as defineSqliteCodecs, t as AdaptedSqliteCodecDescriptor } from "./codec-descriptor-BNC9tDro-BPWBITSr.mjs";
|
|
2
|
+
import "./codec-descriptor-ae4jEMJI.mjs";
|
|
3
3
|
export { type AdaptedSqliteCodecDescriptor, type AnySqliteCodecDescriptor, SqliteCodecDescriptor, type SqliteCodecDescriptorRegistry, type SqliteCodecOptions, buildSqliteCodecDescriptorRegistry, defineSqliteCodecs, isSqliteCodecDescriptor, sqliteCodec };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as sqliteCodec, i as isSqliteCodecDescriptor, n as buildSqliteCodecDescriptorRegistry, r as defineSqliteCodecs, t as SqliteCodecDescriptor } from "./codec-descriptor-
|
|
1
|
+
import { a as sqliteCodec, i as isSqliteCodecDescriptor, n as buildSqliteCodecDescriptorRegistry, r as defineSqliteCodecs, t as SqliteCodecDescriptor } from "./codec-descriptor-iBsfn3Ib-Chscaqnm.mjs";
|
|
2
2
|
export { SqliteCodecDescriptor, buildSqliteCodecDescriptorRegistry, defineSqliteCodecs, isSqliteCodecDescriptor, sqliteCodec };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as JsonValue$1 } from "./codecs-
|
|
2
|
-
import { t as CodecTypes } from "./codec-types-
|
|
3
|
-
import "./codec-types-
|
|
1
|
+
import { t as JsonValue$1 } from "./codecs-Ke2zEuU2-B8ego8w-.mjs";
|
|
2
|
+
import { t as CodecTypes } from "./codec-types-BmdALTGe-CH015gsn.mjs";
|
|
3
|
+
import "./codec-types-BP_jt4cV.mjs";
|
|
4
4
|
export { CodecTypes, type JsonValue$1 as JsonValue };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as sqliteIntegerColumn, a as SqliteDatetimeDescriptor, b as sqliteTextColumn, c as SqliteRealDescriptor, d as sqliteBigintColumn, f as sqliteBigintNumberColumn, g as sqliteDatetimeColumn, h as sqliteCodecRegistry, i as SqliteBlobDescriptor, l as SqliteTextDescriptor, m as sqliteCodecDescriptorRegistry, n as SqliteBigintDescriptor, o as SqliteIntegerDescriptor, p as sqliteBlobColumn, r as SqliteBigintNumberDescriptor, s as SqliteJsonDescriptor, t as JsonValue$1, u as jsonDocumentRetag, v as sqliteJsonColumn, y as sqliteRealColumn } from "./codecs-
|
|
2
|
-
import "./codecs-
|
|
1
|
+
import { _ as sqliteIntegerColumn, a as SqliteDatetimeDescriptor, b as sqliteTextColumn, c as SqliteRealDescriptor, d as sqliteBigintColumn, f as sqliteBigintNumberColumn, g as sqliteDatetimeColumn, h as sqliteCodecRegistry, i as SqliteBlobDescriptor, l as SqliteTextDescriptor, m as sqliteCodecDescriptorRegistry, n as SqliteBigintDescriptor, o as SqliteIntegerDescriptor, p as sqliteBlobColumn, r as SqliteBigintNumberDescriptor, s as SqliteJsonDescriptor, t as JsonValue$1, u as jsonDocumentRetag, v as sqliteJsonColumn, y as sqliteRealColumn } from "./codecs-Ke2zEuU2-B8ego8w-.mjs";
|
|
2
|
+
import "./codecs-CZ668gc7.mjs";
|
|
3
3
|
export { type JsonValue$1 as JsonValue, type SqliteBigintDescriptor, type SqliteBigintNumberDescriptor, type SqliteBlobDescriptor, type SqliteDatetimeDescriptor, type SqliteIntegerDescriptor, type SqliteJsonDescriptor, type SqliteRealDescriptor, type SqliteTextDescriptor, jsonDocumentRetag, sqliteBigintColumn, sqliteBigintNumberColumn, sqliteBlobColumn, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteDatetimeColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteRealColumn, sqliteTextColumn };
|
package/dist/target__codecs.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as sqliteCodecDescriptorRegistry, c as sqliteIntegerColumn, d as sqliteTextColumn, i as sqliteBlobColumn, l as sqliteJsonColumn, n as sqliteBigintColumn, o as sqliteCodecRegistry, r as sqliteBigintNumberColumn, s as sqliteDatetimeColumn, t as jsonDocumentRetag, u as sqliteRealColumn } from "./codecs-
|
|
1
|
+
import { a as sqliteCodecDescriptorRegistry, c as sqliteIntegerColumn, d as sqliteTextColumn, i as sqliteBlobColumn, l as sqliteJsonColumn, n as sqliteBigintColumn, o as sqliteCodecRegistry, r as sqliteBigintNumberColumn, s as sqliteDatetimeColumn, t as jsonDocumentRetag, u as sqliteRealColumn } from "./codecs-DpMoJnXK.mjs";
|
|
2
2
|
export { jsonDocumentRetag, sqliteBigintColumn, sqliteBigintNumberColumn, sqliteBlobColumn, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteDatetimeColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteRealColumn, sqliteTextColumn };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as sqliteDatetime, c as sqliteReal, i as sqliteDataTypes, l as sqliteText, n as sqliteBlob, o as sqliteInteger, r as sqliteDataTypeEntries, s as sqliteJson, t as sqliteBigint } from "./data-types-D3cyzV-O.mjs";
|
|
2
|
+
export { sqliteBigint, sqliteBlob, sqliteDataTypeEntries, sqliteDataTypes, sqliteDatetime, sqliteInteger, sqliteJson, sqliteReal, sqliteText };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as sqliteInteger, c as sqliteText, i as sqliteDatetime, n as sqliteBlob, o as sqliteJson, r as sqliteDataTypes, s as sqliteReal, t as sqliteBigint } from "./data-types-BOA80gRp-DV5kY9es.mjs";
|
|
2
|
+
import { t as sqliteDataTypeEntries } from "./data-types-c3xcs6Mr.mjs";
|
|
3
|
+
export { sqliteBigint, sqliteBlob, sqliteDataTypeEntries, sqliteDataTypes, sqliteDatetime, sqliteInteger, sqliteJson, sqliteReal, sqliteText };
|
package/dist/target__pack.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as sqliteTargetDescriptorMeta } from "./pack-
|
|
1
|
+
import { t as sqliteTargetDescriptorMeta } from "./pack-EwbBcB-c.mjs";
|
|
2
2
|
export { sqliteTargetDescriptorMeta as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./types-C5FSREvo-D12bNrqS.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as SqliteCodecDescriptorRegistry, n as AnySqliteCodecDescriptor } from "./codec-descriptor-
|
|
2
|
-
import "./codec-descriptor-
|
|
1
|
+
import { i as SqliteCodecDescriptorRegistry, n as AnySqliteCodecDescriptor } from "./codec-descriptor-BNC9tDro-BPWBITSr.mjs";
|
|
2
|
+
import "./codec-descriptor-ae4jEMJI.mjs";
|
|
3
3
|
import { LoweredStatement } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
4
|
import { CodecRegistry } from "@prisma/orm-framework/components/codec";
|
|
5
5
|
import { SqlStorage } from "@prisma/orm-family-sql/contract/types";
|
|
@@ -22,4 +22,4 @@ type SqliteContract = Contract<SqlStorage> & {
|
|
|
22
22
|
type SqliteLoweredStatement = LoweredStatement;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { SqliteLoweredStatement as i, SqliteCodecRegistry as n, SqliteContract as r, SqliteAdapterOptions as t };
|
|
25
|
-
//# sourceMappingURL=types-C5FSREvo-
|
|
25
|
+
//# sourceMappingURL=types-C5FSREvo-D12bNrqS.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-C5FSREvo-
|
|
1
|
+
{"version":3,"file":"types-C5FSREvo-D12bNrqS.d.mts","names":[],"sources":["../../../../3-targets/6-adapters/sqlite/dist/types-C5FSREvo.d.mts"],"mappings":";;;;;;;;KAMK,sBAAsB,gBAAgB;UACjC;WACC;;;;;;WAMA,4BAA4B;;KAElC,iBAAiB,SAAS;WACpB;;KAEN,yBAAyB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-target-sqlite",
|
|
3
|
-
"version": "8.0.0-rc.11-dev.
|
|
3
|
+
"version": "8.0.0-rc.11-dev.43",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@prisma/orm-family-sql": "8.0.0-rc.11-dev.
|
|
13
|
-
"@prisma/orm-framework": "8.0.0-rc.11-dev.
|
|
14
|
-
"@prisma/orm-toolchain": "8.0.0-rc.11-dev.
|
|
12
|
+
"@prisma/orm-family-sql": "8.0.0-rc.11-dev.43",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.11-dev.43",
|
|
14
|
+
"@prisma/orm-toolchain": "8.0.0-rc.11-dev.43",
|
|
15
15
|
"@standard-schema/spec": "1.1.0",
|
|
16
16
|
"arktype": "^2.2.2",
|
|
17
17
|
"pathe": "^2.0.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@internal/adapter-sqlite": "8.0.0-rc.11-dev.
|
|
21
|
-
"@internal/driver-sqlite": "8.0.0-rc.11-dev.
|
|
22
|
-
"@internal/target-sqlite": "8.0.0-rc.11-dev.
|
|
23
|
-
"@repo/tsconfig": "8.0.0-rc.11-dev.
|
|
24
|
-
"@repo/tsdown": "8.0.0-rc.11-dev.
|
|
20
|
+
"@internal/adapter-sqlite": "8.0.0-rc.11-dev.43",
|
|
21
|
+
"@internal/driver-sqlite": "8.0.0-rc.11-dev.43",
|
|
22
|
+
"@internal/target-sqlite": "8.0.0-rc.11-dev.43",
|
|
23
|
+
"@repo/tsconfig": "8.0.0-rc.11-dev.43",
|
|
24
|
+
"@repo/tsdown": "8.0.0-rc.11-dev.43",
|
|
25
25
|
"tsdown": "0.22.14",
|
|
26
26
|
"typescript": "5.9.3"
|
|
27
27
|
},
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"./target/contract-free": "./dist/target__contract-free.mjs",
|
|
55
55
|
"./target/control": "./dist/target__control.mjs",
|
|
56
56
|
"./target/control-tables": "./dist/target__control-tables.mjs",
|
|
57
|
+
"./target/data-types": "./dist/target__data-types.mjs",
|
|
57
58
|
"./target/ddl": "./dist/target__ddl.mjs",
|
|
58
59
|
"./target/default-normalizer": "./dist/target__default-normalizer.mjs",
|
|
59
60
|
"./target/migration": "./dist/target__migration.mjs",
|