@prisma-next/target-sqlite 0.15.0-dev.20 → 0.15.0-dev.22
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/{codec-ids-BfPkjMmk.d.mts → codec-ids-Dof8fZfe.d.mts} +1 -2
- package/dist/codec-ids-Dof8fZfe.d.mts.map +1 -0
- package/dist/codec-ids.d.mts +1 -1
- package/dist/{codec-types-izdPhp_9.d.mts → codec-types-CcFkbJ3o.d.mts} +3 -4
- package/dist/codec-types-CcFkbJ3o.d.mts.map +1 -0
- package/dist/codec-types.d.mts +2 -2
- package/dist/{codecs-BGeJavlQ.d.mts → codecs-DGgo--O0.d.mts} +2 -3
- package/dist/codecs-DGgo--O0.d.mts.map +1 -0
- package/dist/codecs.d.mts +1 -1
- package/dist/contract-free.d.mts +1 -2
- package/dist/contract-free.d.mts.map +1 -1
- package/dist/control-tables.d.mts.map +1 -1
- package/dist/control.d.mts +0 -1
- package/dist/control.d.mts.map +1 -1
- package/dist/ddl.d.mts +1 -1
- package/dist/default-normalizer.d.mts +0 -1
- package/dist/default-normalizer.d.mts.map +1 -1
- package/dist/migration.d.mts +2 -3
- package/dist/migration.d.mts.map +1 -1
- package/dist/native-type-normalizer.d.mts.map +1 -1
- package/dist/{nodes-VzaaeUTb.d.mts → nodes-COZjF41I.d.mts} +1 -2
- package/dist/nodes-COZjF41I.d.mts.map +1 -0
- package/dist/op-factory-call.d.mts +1 -2
- package/dist/op-factory-call.d.mts.map +1 -1
- package/dist/pack.d.mts +1 -2
- package/dist/pack.d.mts.map +1 -1
- package/dist/{planner-produced-sqlite-migration-DKopa0rd.d.mts → planner-produced-sqlite-migration-CnY_5meM.d.mts} +2 -3
- package/dist/planner-produced-sqlite-migration-CnY_5meM.d.mts.map +1 -0
- package/dist/planner-produced-sqlite-migration.d.mts +1 -1
- package/dist/planner-target-details-xR6UfIcz.d.mts.map +1 -1
- package/dist/planner.d.mts +1 -2
- package/dist/planner.d.mts.map +1 -1
- package/dist/render-ops.d.mts +0 -1
- package/dist/render-ops.d.mts.map +1 -1
- package/dist/runtime.d.mts +1 -2
- package/dist/runtime.d.mts.map +1 -1
- package/dist/{shared-CaiRyjA0.d.mts → shared-DLUM4Ae2.d.mts} +1 -2
- package/dist/shared-DLUM4Ae2.d.mts.map +1 -0
- package/dist/sql-utils.d.mts.map +1 -1
- package/dist/{sqlite-contract-view-J32K82Gi.d.mts → sqlite-contract-view-CMgE0L4W.d.mts} +4 -3
- package/dist/sqlite-contract-view-CMgE0L4W.d.mts.map +1 -0
- package/dist/{sqlite-migration-Dzz9p0Gw.d.mts → sqlite-migration-BVy-x-dP.d.mts} +3 -4
- package/dist/sqlite-migration-BVy-x-dP.d.mts.map +1 -0
- package/package.json +19 -19
- package/dist/codec-ids-BfPkjMmk.d.mts.map +0 -1
- package/dist/codec-types-izdPhp_9.d.mts.map +0 -1
- package/dist/codecs-BGeJavlQ.d.mts.map +0 -1
- package/dist/nodes-VzaaeUTb.d.mts.map +0 -1
- package/dist/planner-produced-sqlite-migration-DKopa0rd.d.mts.map +0 -1
- package/dist/shared-CaiRyjA0.d.mts.map +0 -1
- package/dist/sqlite-contract-view-J32K82Gi.d.mts.map +0 -1
- package/dist/sqlite-migration-Dzz9p0Gw.d.mts.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma-next/sql-relational-core/ast";
|
|
2
|
-
|
|
3
2
|
//#region src/core/codec-ids.d.ts
|
|
4
3
|
declare const SQLITE_TEXT_CODEC_ID: "sqlite/text@1";
|
|
5
4
|
declare const SQLITE_INTEGER_CODEC_ID: "sqlite/integer@1";
|
|
@@ -10,4 +9,4 @@ declare const SQLITE_JSON_CODEC_ID: "sqlite/json@1";
|
|
|
10
9
|
declare const SQLITE_BIGINT_CODEC_ID: "sqlite/bigint@1";
|
|
11
10
|
//#endregion
|
|
12
11
|
export { SQLITE_JSON_CODEC_ID as a, SQL_CHAR_CODEC_ID as c, SQL_VARCHAR_CODEC_ID as d, SQLITE_INTEGER_CODEC_ID as i, SQL_FLOAT_CODEC_ID as l, SQLITE_BLOB_CODEC_ID as n, SQLITE_REAL_CODEC_ID as o, SQLITE_DATETIME_CODEC_ID as r, SQLITE_TEXT_CODEC_ID as s, SQLITE_BIGINT_CODEC_ID as t, SQL_INT_CODEC_ID as u };
|
|
13
|
-
//# sourceMappingURL=codec-ids-
|
|
12
|
+
//# sourceMappingURL=codec-ids-Dof8fZfe.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-Dof8fZfe.d.mts","names":[],"sources":["../src/core/codec-ids.ts"],"mappings":";;cAMa;cACA;cACA;cACA;cACA;cACA;cACA"}
|
package/dist/codec-ids.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SQLITE_JSON_CODEC_ID, c as SQL_CHAR_CODEC_ID, d as SQL_VARCHAR_CODEC_ID, i as SQLITE_INTEGER_CODEC_ID, l as SQL_FLOAT_CODEC_ID, n as SQLITE_BLOB_CODEC_ID, o as SQLITE_REAL_CODEC_ID, r as SQLITE_DATETIME_CODEC_ID, s as SQLITE_TEXT_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, u as SQL_INT_CODEC_ID } from "./codec-ids-
|
|
1
|
+
import { a as SQLITE_JSON_CODEC_ID, c as SQL_CHAR_CODEC_ID, d as SQL_VARCHAR_CODEC_ID, i as SQLITE_INTEGER_CODEC_ID, l as SQL_FLOAT_CODEC_ID, n as SQLITE_BLOB_CODEC_ID, o as SQLITE_REAL_CODEC_ID, r as SQLITE_DATETIME_CODEC_ID, s as SQLITE_TEXT_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, u as SQL_INT_CODEC_ID } from "./codec-ids-Dof8fZfe.mjs";
|
|
2
2
|
export { SQLITE_BIGINT_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 };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, i as SqliteDatetimeDescriptor, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, r as SqliteBlobDescriptor, s as SqliteRealDescriptor } from "./codecs-
|
|
1
|
+
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, i as SqliteDatetimeDescriptor, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, r as SqliteBlobDescriptor, s as SqliteRealDescriptor } from "./codecs-DGgo--O0.mjs";
|
|
2
2
|
import { ExtractCodecTypes } from "@prisma-next/sql-relational-core/ast";
|
|
3
|
-
|
|
4
3
|
//#region src/exports/codec-types.d.ts
|
|
5
4
|
declare const codecDescriptorMap: {
|
|
6
5
|
readonly char: import("@prisma-next/sql-relational-core/ast").SqlCharDescriptor;
|
|
@@ -15,8 +14,8 @@ declare const codecDescriptorMap: {
|
|
|
15
14
|
readonly json: SqliteJsonDescriptor;
|
|
16
15
|
readonly bigint: SqliteBigintDescriptor;
|
|
17
16
|
};
|
|
18
|
-
type Resolve<T> = { readonly [K in keyof T]: { readonly [P in keyof T[K]]: T[K][P] } };
|
|
17
|
+
type Resolve<T> = { readonly [K in keyof T]: { readonly [P in keyof T[K]]: T[K][P]; }; };
|
|
19
18
|
type CodecTypes = Resolve<ExtractCodecTypes<typeof codecDescriptorMap>>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { CodecTypes as t };
|
|
22
|
-
//# sourceMappingURL=codec-types-
|
|
21
|
+
//# sourceMappingURL=codec-types-CcFkbJ3o.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-CcFkbJ3o.d.mts","names":[],"sources":["../src/exports/codec-types.ts"],"mappings":";;;cAwBM;;;;;iBAAA;;;;;;;;KAcD,QAAQ,iBAAiB,WAAW,gBAAgB,WAAW,EAAE,KAAK,EAAE,GAAG;KAEpE,aAAa,QAAQ,yBAAyB"}
|
package/dist/codec-types.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { g as JsonValue } from "./codecs-
|
|
2
|
-
import { t as CodecTypes } from "./codec-types-
|
|
1
|
+
import { g as JsonValue } from "./codecs-DGgo--O0.mjs";
|
|
2
|
+
import { t as CodecTypes } from "./codec-types-CcFkbJ3o.mjs";
|
|
3
3
|
export { CodecTypes, type JsonValue };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { a as SQLITE_JSON_CODEC_ID, i as SQLITE_INTEGER_CODEC_ID, n as SQLITE_BLOB_CODEC_ID, o as SQLITE_REAL_CODEC_ID, r as SQLITE_DATETIME_CODEC_ID, s as SQLITE_TEXT_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID } from "./codec-ids-
|
|
1
|
+
import { a as SQLITE_JSON_CODEC_ID, i as SQLITE_INTEGER_CODEC_ID, n as SQLITE_BLOB_CODEC_ID, o as SQLITE_REAL_CODEC_ID, r as SQLITE_DATETIME_CODEC_ID, s as SQLITE_TEXT_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID } from "./codec-ids-Dof8fZfe.mjs";
|
|
2
2
|
import { CodecCallContext, CodecDescriptorImpl, CodecImpl, CodecInstanceContext } from "@prisma-next/framework-components/codec";
|
|
3
3
|
import { JsonValue } from "@prisma-next/contract/types";
|
|
4
4
|
import { CodecDescriptorRegistry } from "@prisma-next/sql-relational-core/query-lane-context";
|
|
5
|
-
|
|
6
5
|
//#region src/core/codec-helpers.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* 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.
|
|
@@ -121,4 +120,4 @@ declare const sqliteBigintColumn: () => import("@prisma-next/framework-component
|
|
|
121
120
|
declare const sqliteCodecRegistry: CodecDescriptorRegistry;
|
|
122
121
|
//#endregion
|
|
123
122
|
export { SqliteIntegerDescriptor as a, SqliteTextDescriptor as c, sqliteDatetimeColumn as d, sqliteIntegerColumn as f, JsonValue$1 as g, sqliteTextColumn as h, SqliteDatetimeDescriptor as i, sqliteBigintColumn as l, sqliteRealColumn as m, SqliteBigintDescriptor as n, SqliteJsonDescriptor as o, sqliteJsonColumn as p, SqliteBlobDescriptor as r, SqliteRealDescriptor as s, sqliteCodecRegistry as t, sqliteBlobColumn as u };
|
|
124
|
-
//# sourceMappingURL=codecs-
|
|
123
|
+
//# sourceMappingURL=codecs-DGgo--O0.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-DGgo--O0.d.mts","names":[],"sources":["../src/core/codec-helpers.ts","../src/core/codecs.ts","../src/core/registry.ts"],"mappings":";;;;;;;;KAIY;YAKI,cAAc;aACjB;;;cC+BA,wBAAwB,iBAC5B;EAKD,OAAO,eAAe,MAAM,mBAAmB;EAG/C,OAAO,cAAc,MAAM,mBAAmB;EAGpD,WAAW,gBAAgB;EAG3B,WAAW,MAAM;;cAKN,6BAA6B;WACtB;WACA;WACA;WACA,8CAAY;EACrB,YAAY,KAAK,yBAAyB;;cAOxC,0EAAgB,WAAA;cAMhB,2BAA2B,iBAC/B;EAKD,OAAO,eAAe,MAAM,mBAAmB;EAG/C,OAAO,cAAc,MAAM,mBAAmB;EAGpD,WAAW,gBAAgB;EAG3B,WAAW,MAAM;;cAKN,gCAAgC;WACzB;WACA;WACA;WACA,8CAAY;EACrB,YAAY,KAAK,yBAAyB;;cAOxC,6EAAmB,WAAA;cAMnB,wBAAwB,iBAC5B;EAKD,OAAO,eAAe,MAAM,mBAAmB;EAG/C,OAAO,cAAc,MAAM,mBAAmB;EA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@
|
|
|
1
|
-
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, d as sqliteDatetimeColumn, f as sqliteIntegerColumn, g as JsonValue, h as sqliteTextColumn, i as SqliteDatetimeDescriptor, l as sqliteBigintColumn, m as sqliteRealColumn, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, p as sqliteJsonColumn, r as SqliteBlobDescriptor, s as SqliteRealDescriptor, t as sqliteCodecRegistry, u as sqliteBlobColumn } from "./codecs-
|
|
1
|
+
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, d as sqliteDatetimeColumn, f as sqliteIntegerColumn, g as JsonValue, h as sqliteTextColumn, i as SqliteDatetimeDescriptor, l as sqliteBigintColumn, m as sqliteRealColumn, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, p as sqliteJsonColumn, r as SqliteBlobDescriptor, s as SqliteRealDescriptor, t as sqliteCodecRegistry, u as sqliteBlobColumn } from "./codecs-DGgo--O0.mjs";
|
|
2
2
|
export { type JsonValue, type SqliteBigintDescriptor, type SqliteBlobDescriptor, type SqliteDatetimeDescriptor, type SqliteIntegerDescriptor, type SqliteJsonDescriptor, type SqliteRealDescriptor, type SqliteTextDescriptor, sqliteBigintColumn, sqliteBlobColumn, sqliteCodecRegistry, sqliteDatetimeColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteRealColumn, sqliteTextColumn };
|
package/dist/contract-free.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as SqliteCreateTable } from "./nodes-
|
|
1
|
+
import { n as SqliteCreateTable } from "./nodes-COZjF41I.mjs";
|
|
2
2
|
import { DdlColumn, DdlNode, DdlTableConstraint, SelectAst } from "@prisma-next/sql-relational-core/ast";
|
|
3
3
|
import { ColumnDescriptor, ColumnSchema, TableHandle } from "@prisma-next/sql-relational-core/contract-free";
|
|
4
|
-
|
|
5
4
|
//#region src/contract-free/checks.d.ts
|
|
6
5
|
interface ColumnExistsCheckBuilder {
|
|
7
6
|
columnAbsent(): SelectAst;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-free.d.mts","names":[],"sources":["../src/contract-free/checks.ts","../src/contract-free/columns.ts","../src/contract-free/control-bootstrap.ts","../src/contract-free/ddl.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"contract-free.d.mts","names":[],"sources":["../src/contract-free/checks.ts","../src/contract-free/columns.ts","../src/contract-free/control-bootstrap.ts","../src/contract-free/ddl.ts"],"mappings":";;;;UAIiB;EACf,gBAAgB;EAChB,iBAAiB;;;;;;;;iBASH,gBAAgB,eAAe,iBAAiB;UAa/C;EACf,eAAe;EACf,gBAAgB;;;;;;;iBAQF,eAAe,oBAAoB;UAclC;EACf,eAAe;EACf,gBAAgB;;;;;;;iBAQF,eAAe,oBAAoB;;;KChD9C;WAAqB;;cAOb,OAAQ,OAAO,YAAU;cACzB,UAAW,OAAO,YAAU;cAC5B,WAAY,OAAO,YAAU;cAC7B,WAAY,OAAO,YAAU;;;;;;;;;;;;;iBAc1B,YAAY,eAAe,cACzC,cACA,SAAS,SACR,YAAY;;;iBCMC,4CAA4C;iBAI5C,8CAA8C;;;;;;;;;;;;;;;;;iBClC9C,YAAY;WACjB;WACA;WACA;WACA,kBAAkB;WAClB,uBAAuB;IAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-tables.d.mts","names":[],"sources":["../src/core/control-tables.ts"],"mappings":";cAAa
|
|
1
|
+
{"version":3,"file":"control-tables.d.mts","names":[],"sources":["../src/core/control-tables.ts"],"mappings":";cAAa;cACA;;;;;cAMA,qBAAqB"}
|
package/dist/control.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz.mjs";
|
|
2
2
|
import { SqlNamespaceBase, SqlNamespaceEntries, SqlNamespaceInput, StorageTable } from "@prisma-next/sql-contract/types";
|
|
3
3
|
import { SqlControlTargetDescriptor } from "@prisma-next/family-sql/control";
|
|
4
|
-
|
|
5
4
|
//#region src/core/control-target.d.ts
|
|
6
5
|
declare const sqliteControlTargetDescriptor: SqlControlTargetDescriptor<'sqlite', SqlitePlanTargetDetails>;
|
|
7
6
|
//#endregion
|
package/dist/control.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.mts","names":[],"sources":["../src/core/control-target.ts","../src/core/sqlite-unbound-database.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"control.d.mts","names":[],"sources":["../src/core/control-target.ts","../src/core/sqlite-unbound-database.ts"],"mappings":";;;;cAyBM,+BAA+B,qCAAqC;;;KCX9D;WACD;WACA,SAAS;;;;;;;cAUP,uBAAuB;WACjB;WAER;WACA,SAAS;cAEN,OAAO;MAyBf,SAAS,SAAS,eAAe;EAIrC;EAIA,aAAa;;;;;;;;;;;;;;;;;;;cAsBF,8BAA8B;kBACzB,UAAU;UAEnB;;;;;;;;;;;;iBAgCO,sBACd,OAAO,oBACN,iBAAiB"}
|
package/dist/ddl.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as SqliteDdlVisitor, n as SqliteCreateTable, r as SqliteDdlNode, t as AnySqliteDdlNode } from "./nodes-
|
|
1
|
+
import { i as SqliteDdlVisitor, n as SqliteCreateTable, r as SqliteDdlNode, t as AnySqliteDdlNode } from "./nodes-COZjF41I.mjs";
|
|
2
2
|
export { type AnySqliteDdlNode, SqliteCreateTable, SqliteDdlNode, type SqliteDdlVisitor };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-normalizer.d.mts","names":[],"sources":["../src/core/default-normalizer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"default-normalizer.d.mts","names":[],"sources":["../src/core/default-normalizer.ts"],"mappings":";;iBA0CgB,mBACd,oBACA,sBACC"}
|
package/dist/migration.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as Op } from "./shared-
|
|
2
|
-
import { t as SqliteMigration } from "./sqlite-migration-
|
|
1
|
+
import { t as Op } from "./shared-DLUM4Ae2.mjs";
|
|
2
|
+
import { t as SqliteMigration } from "./sqlite-migration-BVy-x-dP.mjs";
|
|
3
3
|
import { placeholder } from "@prisma-next/errors/migration";
|
|
4
4
|
import { col, fn, foreignKey, lit, primaryKey, unique } from "@prisma-next/sql-relational-core/contract-free";
|
|
5
5
|
import { MigrationCLI } from "@prisma-next/cli/migration-cli";
|
|
6
|
-
|
|
7
6
|
//#region src/core/migrations/operations/data-transform.d.ts
|
|
8
7
|
interface DataTransformOptions {
|
|
9
8
|
/** Stable id used in the ledger / for runner idempotency tracking. */
|
package/dist/migration.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration.d.mts","names":[],"sources":["../src/core/migrations/operations/data-transform.ts","../src/core/migrations/operations/raw.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"migration.d.mts","names":[],"sources":["../src/core/migrations/operations/data-transform.ts","../src/core/migrations/operations/raw.ts"],"mappings":";;;;;;UAgBiB;;WAEN;;WAEA;;WAEA;;;;;WAKA;;;;;;;;;WASA;;iBAGK,cAAc,MAAM,uBAAuB;;;;;;;;;;iBC9B3C,OAAO,IAAI,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-type-normalizer.d.mts","names":[],"sources":["../src/core/native-type-normalizer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"native-type-normalizer.d.mts","names":[],"sources":["../src/core/native-type-normalizer.ts"],"mappings":";;;;;;;iBAMgB,0BAA0B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DdlColumn, DdlNode, DdlTableConstraint } from "@prisma-next/sql-relational-core/ast";
|
|
2
|
-
|
|
3
2
|
//#region src/core/ddl/nodes.d.ts
|
|
4
3
|
interface SqliteDdlVisitor<R> {
|
|
5
4
|
createTable(node: SqliteCreateTable): R;
|
|
@@ -26,4 +25,4 @@ declare class SqliteCreateTable extends SqliteDdlNode {
|
|
|
26
25
|
type AnySqliteDdlNode = SqliteCreateTable;
|
|
27
26
|
//#endregion
|
|
28
27
|
export { SqliteDdlVisitor as i, SqliteCreateTable as n, SqliteDdlNode as r, AnySqliteDdlNode as t };
|
|
29
|
-
//# sourceMappingURL=nodes-
|
|
28
|
+
//# sourceMappingURL=nodes-COZjF41I.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodes-COZjF41I.d.mts","names":[],"sources":["../src/core/ddl/nodes.ts"],"mappings":";;UAMiB,iBAAiB;EAChC,YAAY,MAAM,oBAAoB;;uBAGlB,sBAAsB;WACjC,OAAO,GAAG,SAAS,iBAAiB,KAAK;;cAavC,0BAA0B;WAC5B;WACA;WACA;WACA;WACA,SAAS,cAAc;WACvB,aAAa,cAAc;cAExB;aACD;aACA;aACA;aACA,kBAAkB;aAClB,uBAAuB;;EAWzB,OAAO,GAAG,SAAS,iBAAiB,KAAK;;KAKxC,mBAAmB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz.mjs";
|
|
2
|
-
import { i as SqliteTableSpec, n as SqliteColumnSpec, r as SqliteIndexSpec } from "./shared-
|
|
2
|
+
import { i as SqliteTableSpec, n as SqliteColumnSpec, r as SqliteIndexSpec } from "./shared-DLUM4Ae2.mjs";
|
|
3
3
|
import { DdlColumn, DdlTableConstraint } from "@prisma-next/sql-relational-core/ast";
|
|
4
4
|
import { MigrationOperationClass, SqlMigrationPlanOperation } from "@prisma-next/family-sql/control";
|
|
5
5
|
import { OpFactoryCall } from "@prisma-next/framework-components/control";
|
|
6
6
|
import { ImportRequirement, TsExpression } from "@prisma-next/ts-render";
|
|
7
7
|
import { ExecuteRequestLowerer, Lowerer } from "@prisma-next/family-sql/control-adapter";
|
|
8
|
-
|
|
9
8
|
//#region src/core/migrations/op-factory-call.d.ts
|
|
10
9
|
type Op = SqlMigrationPlanOperation<SqlitePlanTargetDetails>;
|
|
11
10
|
declare abstract class SqliteOpFactoryCallNode extends TsExpression implements OpFactoryCall {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"op-factory-call.d.mts","names":[],"sources":["../src/core/migrations/op-factory-call.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"op-factory-call.d.mts","names":[],"sources":["../src/core/migrations/op-factory-call.ts"],"mappings":";;;;;;;;KAoCK,KAAK,0BAA0B;uBAIrB,gCAAgC,wBAAwB;oBACnD;oBACA,gBAAgB;oBAChB;WACT,KAAK,UAAU,UAAU,KAAK,QAAQ;EAE/C,+BAA+B;YAIrB;;cA4EC,wBAAwB;WAC1B;WACA;WACA;WACA,kBAAkB;WAClB,sBAAsB;WACtB;cAGP,mBACA,kBAAkB,aAClB,uBAAuB;EAUnB,KAAK,UAAU,wBAAwB,QAAQ;EAkCrD;EAcS,+BAA+B;;cAe7B,sBAAsB;WACxB;WACA;WACA;WACA;cAEG;EAON,KAAK,UAAU,wBAAwB,QAAQ;EAuBrD;EAIS,+BAA+B;;cAK7B,0BAA0B;WAC5B;WACA,gBAAgB;WAChB;WACA,eAAe;WACf;WACA,kBAAkB;WAClB;WACA;aAAgC;aAA8B;;WAC9D;cAEG;IACV;IACA,eAAe;IACf;IACA,kBAAkB;IAClB;IACA;eAAgC;eAA8B;;IAC9D,gBAAgB;;EAcZ,KAAK,UAAU,wBAAwB,QAAQ;EAoBrD;EAaS,+BAA+B;;cAS7B,sBAAsB;WACxB;WACA;WACA;WACA;WACA,QAAQ;WACR;cAEG,mBAAmB,QAAQ;EASjC,KAAK,UAAU,wBAAwB,QAAQ;EA0BrD;EAIS,+BAA+B;;cAK7B,uBAAuB;WACzB;WACA;WACA;WACA;WACA;cAEG,mBAAmB;EAQzB,KAAK,UAAU,wBAAwB,QAAQ;EAyCrD;EAIS,+BAA+B;;cAS7B,wBAAwB;WAC1B;WACA;WACA;WACA;WACA;WACA;cAEG,mBAAmB,mBAAmB;EAS5C,KAAK,UAAU,wBAAwB,QAAQ;EA6BrD;EAIS,+BAA+B;;cAK7B,sBAAsB;WACxB;WACA;WACA;WACA;WACA;cAEG,mBAAmB;EAQzB,KAAK,UAAU,wBAAwB,QAAQ;EAwBrD;EAIS,+BAA+B;;;;;;;;;;;;;;cAqB7B,0BAA0B;WAC5B;WACA;WACA;WACA;WACA;WACA;cAEG,YAAY,eAAe,mBAAmB;EAS1D,KAAK,WAAW,UAAU;EAI1B;EAaS,+BAA+B;;;;;;;;;;;cAqB7B,mBAAmB;WACrB;WACA,gBAAgB;WAChB;WACA,IAAI;cAED,IAAI;EAQhB,KAAK,WAAW,UAAU;EAI1B;;KASU,sBACR,kBACA,gBACA,oBACA,gBACA,iBACA,kBACA,gBACA,oBACA"}
|
package/dist/pack.d.mts
CHANGED
package/dist/pack.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack.d.mts","names":[],"sources":["../src/core/descriptor-meta.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pack.d.mts","names":[],"sources":["../src/core/descriptor-meta.ts"],"mappings":";;cAKM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAA;;cAQO,mCAAmC;WACrC,eAAe"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz.mjs";
|
|
2
|
-
import { t as SqliteMigration } from "./sqlite-migration-
|
|
2
|
+
import { t as SqliteMigration } from "./sqlite-migration-BVy-x-dP.mjs";
|
|
3
3
|
import { SqlMigrationPlanOperation } from "@prisma-next/family-sql/control";
|
|
4
4
|
import { MigrationPlanWithAuthoringSurface, OpFactoryCall } from "@prisma-next/framework-components/control";
|
|
5
5
|
import { MigrationMeta } from "@prisma-next/migration-tools/migration";
|
|
6
6
|
import { ExecuteRequestLowerer } from "@prisma-next/family-sql/control-adapter";
|
|
7
|
-
|
|
8
7
|
//#region src/core/migrations/planner-produced-sqlite-migration.d.ts
|
|
9
8
|
type Op = SqlMigrationPlanOperation<SqlitePlanTargetDetails>;
|
|
10
9
|
interface SqliteMigrationDestinationInfo {
|
|
@@ -27,4 +26,4 @@ declare class TypeScriptRenderableSqliteMigration extends SqliteMigration implem
|
|
|
27
26
|
}
|
|
28
27
|
//#endregion
|
|
29
28
|
export { TypeScriptRenderableSqliteMigration as n, SqliteMigrationDestinationInfo as t };
|
|
30
|
-
//# sourceMappingURL=planner-produced-sqlite-migration-
|
|
29
|
+
//# sourceMappingURL=planner-produced-sqlite-migration-CnY_5meM.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planner-produced-sqlite-migration-CnY_5meM.d.mts","names":[],"sources":["../src/core/migrations/planner-produced-sqlite-migration.ts"],"mappings":";;;;;;;KAYK,KAAK,0BAA0B;UAEnB;WACN;WACA;;cAGE,4CACH,2BACG;;cAUT,gBAAgB,iBAChB,MAAM,eACN,iBACA,cAAc,gCACd,UAAU;MAUC,wBAAwB,KAAK,QAAQ;EAKzC,YAAY;MAIR,eAAe;;;;;;MASxB;EAIJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TypeScriptRenderableSqliteMigration, t as SqliteMigrationDestinationInfo } from "./planner-produced-sqlite-migration-
|
|
1
|
+
import { n as TypeScriptRenderableSqliteMigration, t as SqliteMigrationDestinationInfo } from "./planner-produced-sqlite-migration-CnY_5meM.mjs";
|
|
2
2
|
export { type SqliteMigrationDestinationInfo, TypeScriptRenderableSqliteMigration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planner-target-details-xR6UfIcz.d.mts","names":[],"sources":["../src/core/migrations/planner-target-details.ts"],"mappings":";KAEY
|
|
1
|
+
{"version":3,"file":"planner-target-details-xR6UfIcz.d.mts","names":[],"sources":["../src/core/migrations/planner-target-details.ts"],"mappings":";KAEY;UAMK;WACN;WACA,YAAY;WACZ;WACA;;iBASK,mBACd,YAAY,gBACZ,cACA,iBACC"}
|
package/dist/planner.d.mts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz.mjs";
|
|
2
|
-
import { n as TypeScriptRenderableSqliteMigration } from "./planner-produced-sqlite-migration-
|
|
2
|
+
import { n as TypeScriptRenderableSqliteMigration } from "./planner-produced-sqlite-migration-CnY_5meM.mjs";
|
|
3
3
|
import { MigrationOperationPolicy, SqlMigrationPlanner, SqlPlannerFailureResult } from "@prisma-next/family-sql/control";
|
|
4
4
|
import { MigrationPlanner, MigrationScaffoldContext, SchemaOwnership } from "@prisma-next/framework-components/control";
|
|
5
5
|
import { Contract } from "@prisma-next/contract/types";
|
|
6
6
|
import { ExecuteRequestLowerer } from "@prisma-next/family-sql/control-adapter";
|
|
7
7
|
import { TargetBoundComponentDescriptor } from "@prisma-next/framework-components/components";
|
|
8
|
-
|
|
9
8
|
//#region src/core/migrations/planner.d.ts
|
|
10
9
|
declare function createSqliteMigrationPlanner(lowerer: ExecuteRequestLowerer): SqliteMigrationPlanner;
|
|
11
10
|
type SqlitePlanResult = {
|
package/dist/planner.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planner.d.mts","names":[],"sources":["../src/core/migrations/planner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"planner.d.mts","names":[],"sources":["../src/core/migrations/planner.ts"],"mappings":";;;;;;;;iBAgCgB,6BACd,SAAS,wBACR;KAIS;WACG;WAA0B,MAAM;IAC3C;;;;;;;;;;;;;;;;;cAkBS,kCACA,oBAAoB,0BAA0B;;cAI7C,SAAS;EAIrB,KAAK;aACM;aACA;aACA,QAAQ;;;;;;;;;;;aAWR,cAAc;aACd,qBAAqB,cAAc;;;;;;aAMnC;;;;;aAKA,YAAY;MACnB;EAIJ,eACE,SAAS,0BACT,kBACC;UAaK;UA0DA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0CA"}
|
package/dist/render-ops.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz.
|
|
|
2
2
|
import { SqlMigrationPlanOperation } from "@prisma-next/family-sql/control";
|
|
3
3
|
import { OpFactoryCall } from "@prisma-next/framework-components/control";
|
|
4
4
|
import { ExecuteRequestLowerer } from "@prisma-next/family-sql/control-adapter";
|
|
5
|
-
|
|
6
5
|
//#region src/core/migrations/render-ops.d.ts
|
|
7
6
|
type Op = SqlMigrationPlanOperation<SqlitePlanTargetDetails>;
|
|
8
7
|
declare function renderOps(calls: readonly OpFactoryCall[], lowerer?: ExecuteRequestLowerer): (Op | Promise<Op>)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-ops.d.mts","names":[],"sources":["../src/core/migrations/render-ops.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"render-ops.d.mts","names":[],"sources":["../src/core/migrations/render-ops.ts"],"mappings":";;;;;KAUK,KAAK,0BAA0B;iBAcpB,UACd,gBAAgB,iBAChB,UAAU,yBACR,KAAK,QAAQ"}
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SqliteContractView } from "./sqlite-contract-view-
|
|
1
|
+
import { t as SqliteContractView } from "./sqlite-contract-view-CMgE0L4W.mjs";
|
|
2
2
|
import { SqlNamespaceInput, SqlStorage } from "@prisma-next/sql-contract/types";
|
|
3
3
|
import { Namespace } from "@prisma-next/framework-components/ir";
|
|
4
4
|
import { SqlContractSerializerBase } from "@prisma-next/family-sql/ir";
|
|
@@ -6,7 +6,6 @@ import { Contract } from "@prisma-next/contract/types";
|
|
|
6
6
|
import { RuntimeTargetInstance } from "@prisma-next/framework-components/execution";
|
|
7
7
|
import { SqlRuntimeTargetDescriptor } from "@prisma-next/sql-runtime";
|
|
8
8
|
import { JsonObject } from "@prisma-next/utils/json";
|
|
9
|
-
|
|
10
9
|
//#region src/core/runtime-target.d.ts
|
|
11
10
|
interface SqliteRuntimeTargetInstance extends RuntimeTargetInstance<'sql', 'sqlite'> {}
|
|
12
11
|
declare const sqliteRuntimeTargetDescriptor: SqlRuntimeTargetDescriptor<'sqlite', SqliteRuntimeTargetInstance>;
|
package/dist/runtime.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/core/runtime-target.ts","../src/core/sqlite-contract-serializer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/core/runtime-target.ts","../src/core/sqlite-contract-serializer.ts"],"mappings":";;;;;;;;;UAIiB,oCAAoC;cAE/C,+BAA+B,qCAEnC;;;;;;;;;cCMW,iCAAiC,0BAA0B,SAAS;;YAK5D,yBACjB,cACA,KAAK,0BACJ,YAAY;EAQN,kBAAkB,UAAU,SAAS,cAAc"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz.mjs";
|
|
2
2
|
import { ReferentialAction } from "@prisma-next/sql-contract/types";
|
|
3
3
|
import { SqlMigrationPlanOperation } from "@prisma-next/family-sql/control";
|
|
4
|
-
|
|
5
4
|
//#region src/core/migrations/operations/shared.d.ts
|
|
6
5
|
type Op = SqlMigrationPlanOperation<SqlitePlanTargetDetails>;
|
|
7
6
|
/**
|
|
@@ -65,4 +64,4 @@ interface SqliteIndexSpec {
|
|
|
65
64
|
}
|
|
66
65
|
//#endregion
|
|
67
66
|
export { SqliteTableSpec as i, SqliteColumnSpec as n, SqliteIndexSpec as r, Op as t };
|
|
68
|
-
//# sourceMappingURL=shared-
|
|
67
|
+
//# sourceMappingURL=shared-DLUM4Ae2.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-DLUM4Ae2.d.mts","names":[],"sources":["../src/core/migrations/operations/shared.ts"],"mappings":";;;;KAUY,KAAK,0BAA0B;;;;;;;;;;;;;;;;;UA0B1B;WACN;WACA;WACA;WACA;WACA;;UAGM;WACN;;UAGM;WACN;WACA;;UAGM;WACN;WACA;aACE;aACA;;WAEF;WACA,WAAW;WACX,WAAW;;;;;;UAOL;WACN,kBAAkB;WAClB,aAAa;WACb,mBAAmB;WACnB,uBAAuB;;;;;;;UAQjB;WACN;WACA"}
|
package/dist/sql-utils.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-utils.d.mts","names":[],"sources":["../src/core/sql-utils.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"sql-utils.d.mts","names":[],"sources":["../src/core/sql-utils.ts"],"mappings":";;;;;;;;;;;;cAYa,uBAAuB;WAGhB;WACA;cAFhB,iBACgB,eACA;;iBAOJ,gBAAgB;iBAchB,cAAc"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SqlStorage } from "@prisma-next/sql-contract/types";
|
|
2
2
|
import { SqlSingleNamespaceView } from "@prisma-next/sql-contract/contract-view";
|
|
3
3
|
import { Contract } from "@prisma-next/contract/types";
|
|
4
|
-
|
|
5
4
|
//#region src/core/sqlite-contract-view.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* A SQLite contract view: the deserialized contract intersected with by-name
|
|
@@ -21,9 +20,11 @@ import { Contract } from "@prisma-next/contract/types";
|
|
|
21
20
|
*/
|
|
22
21
|
type SqliteContractView<TContract extends Contract<SqlStorage> = Contract<SqlStorage>> = SqlSingleNamespaceView<TContract>;
|
|
23
22
|
declare const SqliteContractView: {
|
|
24
|
-
/** Wrap an already-deserialized SQLite contract in a view. */
|
|
23
|
+
/** Wrap an already-deserialized SQLite contract in a view. */
|
|
24
|
+
from<TContract extends Contract<SqlStorage>>(contract: TContract): SqliteContractView<TContract>;
|
|
25
|
+
/** Deserialize a SQLite contract JSON envelope and wrap it in a view. */
|
|
25
26
|
fromJson<TContract extends Contract<SqlStorage> = Contract<SqlStorage<string>>>(json: unknown): SqliteContractView<TContract>;
|
|
26
27
|
};
|
|
27
28
|
//#endregion
|
|
28
29
|
export { SqliteContractView as t };
|
|
29
|
-
//# sourceMappingURL=sqlite-contract-view-
|
|
30
|
+
//# sourceMappingURL=sqlite-contract-view-CMgE0L4W.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-contract-view-CMgE0L4W.d.mts","names":[],"sources":["../src/core/sqlite-contract-view.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;KAwBY,mBAAmB,kBAAkB,SAAS,cAAc,SAAS,eAC/E,uBAAuB;cAEZ;;OAEN,kBAAkB,SAAS,aAAW,UAAY,YAAY,mBAAmB;;WAK7E,kBAAkB,SAAS,cAAW,SAAA,qBAAA,gBAE5C,mBAAmB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as SqlitePlanTargetDetails } from "./planner-target-details-xR6UfIcz.mjs";
|
|
2
|
-
import { i as SqliteTableSpec, n as SqliteColumnSpec, r as SqliteIndexSpec } from "./shared-
|
|
3
|
-
import { t as SqliteContractView } from "./sqlite-contract-view-
|
|
2
|
+
import { i as SqliteTableSpec, n as SqliteColumnSpec, r as SqliteIndexSpec } from "./shared-DLUM4Ae2.mjs";
|
|
3
|
+
import { t as SqliteContractView } from "./sqlite-contract-view-CMgE0L4W.mjs";
|
|
4
4
|
import { DdlColumn, DdlTableConstraint } from "@prisma-next/sql-relational-core/ast";
|
|
5
5
|
import { SqlStorage } from "@prisma-next/sql-contract/types";
|
|
6
6
|
import { MigrationOperationClass, SqlMigrationPlanOperation } from "@prisma-next/family-sql/control";
|
|
@@ -8,7 +8,6 @@ import { ControlStack } from "@prisma-next/framework-components/control";
|
|
|
8
8
|
import { Migration } from "@prisma-next/family-sql/migration";
|
|
9
9
|
import { Contract } from "@prisma-next/contract/types";
|
|
10
10
|
import { SqlControlAdapter } from "@prisma-next/family-sql/control-adapter";
|
|
11
|
-
|
|
12
11
|
//#region src/core/migrations/sqlite-migration.d.ts
|
|
13
12
|
type Op = SqlMigrationPlanOperation<SqlitePlanTargetDetails>;
|
|
14
13
|
/**
|
|
@@ -101,4 +100,4 @@ declare abstract class SqliteMigration<Start extends Contract<SqlStorage> = Cont
|
|
|
101
100
|
}
|
|
102
101
|
//#endregion
|
|
103
102
|
export { SqliteMigration as t };
|
|
104
|
-
//# sourceMappingURL=sqlite-migration-
|
|
103
|
+
//# sourceMappingURL=sqlite-migration-BVy-x-dP.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-migration-BVy-x-dP.d.mts","names":[],"sources":["../src/core/migrations/sqlite-migration.ts"],"mappings":";;;;;;;;;;;KA0BK,KAAK,0BAA0B;;;;;;;;;;;;;;;;;;;;;;uBAuBd,gBACpB,cAAc,SAAS,cAAc,SAAS,aAC9C,YAAY,SAAS,cAAc,SAAS,qBACpC,UAAa,mCAAmC,OAAO;;WACtD;;;;;;;qBAQU,gBAAgB;cAWvB,QAAQ;;;;;;UAeZ;;;;;;MAYJ,eAAe,mBAAmB;;;;;MAQlC,iBAAiB,mBAAmB;YAI9B,YAAY;aACX;aACA;aACA,kBAAkB;aAClB,uBAAuB;MAC9B,QAAQ;YAMF,UAAU;aAAoB;MAAkB,QAAQ;YAIxD,UAAU;aACT;aACA,QAAQ;MACf,QAAQ;YAMF,WAAW;aAAoB;aAAwB;MAAmB,QAAQ;YAMlF,YAAY;aACX;aACA;aACA;MACP,QAAQ;YAMF,UAAU;aAAoB;aAAwB;MAAkB,QAAQ;YAMhF,cAAc;aACb;aACA,eAAe;aACf;aACA,kBAAkB;aAClB;aACA;eAAgC;eAA8B;;aAC9D,gBAAgB;MACvB,QAAQ"}
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/target-sqlite",
|
|
3
|
-
"version": "0.15.0-dev.
|
|
3
|
+
"version": "0.15.0-dev.22",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@prisma-next/cli": "0.15.0-dev.
|
|
9
|
-
"@prisma-next/contract": "0.15.0-dev.
|
|
10
|
-
"@prisma-next/errors": "0.15.0-dev.
|
|
11
|
-
"@prisma-next/family-sql": "0.15.0-dev.
|
|
12
|
-
"@prisma-next/framework-components": "0.15.0-dev.
|
|
13
|
-
"@prisma-next/migration-tools": "0.15.0-dev.
|
|
14
|
-
"@prisma-next/sql-contract": "0.15.0-dev.
|
|
15
|
-
"@prisma-next/sql-errors": "0.15.0-dev.
|
|
16
|
-
"@prisma-next/sql-relational-core": "0.15.0-dev.
|
|
17
|
-
"@prisma-next/sql-runtime": "0.15.0-dev.
|
|
18
|
-
"@prisma-next/sql-schema-ir": "0.15.0-dev.
|
|
19
|
-
"@prisma-next/ts-render": "0.15.0-dev.
|
|
20
|
-
"@prisma-next/utils": "0.15.0-dev.
|
|
8
|
+
"@prisma-next/cli": "0.15.0-dev.22",
|
|
9
|
+
"@prisma-next/contract": "0.15.0-dev.22",
|
|
10
|
+
"@prisma-next/errors": "0.15.0-dev.22",
|
|
11
|
+
"@prisma-next/family-sql": "0.15.0-dev.22",
|
|
12
|
+
"@prisma-next/framework-components": "0.15.0-dev.22",
|
|
13
|
+
"@prisma-next/migration-tools": "0.15.0-dev.22",
|
|
14
|
+
"@prisma-next/sql-contract": "0.15.0-dev.22",
|
|
15
|
+
"@prisma-next/sql-errors": "0.15.0-dev.22",
|
|
16
|
+
"@prisma-next/sql-relational-core": "0.15.0-dev.22",
|
|
17
|
+
"@prisma-next/sql-runtime": "0.15.0-dev.22",
|
|
18
|
+
"@prisma-next/sql-schema-ir": "0.15.0-dev.22",
|
|
19
|
+
"@prisma-next/ts-render": "0.15.0-dev.22",
|
|
20
|
+
"@prisma-next/utils": "0.15.0-dev.22",
|
|
21
21
|
"@standard-schema/spec": "1.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@prisma-next/driver-sqlite": "0.15.0-dev.
|
|
25
|
-
"@prisma-next/test-utils": "0.15.0-dev.
|
|
26
|
-
"@prisma-next/tsconfig": "0.15.0-dev.
|
|
27
|
-
"@prisma-next/tsdown": "0.15.0-dev.
|
|
28
|
-
"tsdown": "0.22.
|
|
24
|
+
"@prisma-next/driver-sqlite": "0.15.0-dev.22",
|
|
25
|
+
"@prisma-next/test-utils": "0.15.0-dev.22",
|
|
26
|
+
"@prisma-next/tsconfig": "0.15.0-dev.22",
|
|
27
|
+
"@prisma-next/tsdown": "0.15.0-dev.22",
|
|
28
|
+
"tsdown": "0.22.8",
|
|
29
29
|
"typescript": "5.9.3",
|
|
30
30
|
"vitest": "4.1.10"
|
|
31
31
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codec-ids-BfPkjMmk.d.mts","names":[],"sources":["../src/core/codec-ids.ts"],"mappings":";;;cAMa,oBAAA;AAAA,cACA,uBAAA;AAAA,cACA,oBAAA;AAAA,cACA,oBAAA;AAAA,cACA,wBAAA;AAAA,cACA,oBAAA;AAAA,cACA,sBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codec-types-izdPhp_9.d.mts","names":[],"sources":["../src/exports/codec-types.ts"],"mappings":";;;;cAwBM,kBAAA;EAAA;;;;iBAYI,oBAAA;EAAA;;;;;;;KAEL,OAAA,6BAAoC,CAAA,0BAA2B,CAAA,CAAE,CAAA,IAAK,CAAA,CAAE,CAAA,EAAG,CAAA;AAAA,KAEpE,UAAA,GAAa,OAAA,CAAQ,iBAAA,QAAyB,kBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codecs-BGeJavlQ.d.mts","names":[],"sources":["../src/core/codec-helpers.ts","../src/core/codecs.ts","../src/core/registry.ts"],"mappings":";;;;;;;;;KA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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nodes-VzaaeUTb.d.mts","names":[],"sources":["../src/core/ddl/nodes.ts"],"mappings":";;;UAMiB,gBAAA;EACf,WAAA,CAAY,IAAA,EAAM,iBAAA,GAAoB,CAAC;AAAA;AAAA,uBAGnB,aAAA,SAAsB,OAAA;EAAA,SACjC,MAAA,IAAU,OAAA,EAAS,gBAAA,CAAiB,CAAA,IAAK,CAAA;AAAA;AAAA,cAavC,iBAAA,SAA0B,aAAA;EAAA,SAC5B,IAAA;EAAA,SACA,KAAA;EAAA,SACA,MAAA;EAAA,SACA,WAAA;EAAA,SACA,OAAA,EAAS,aAAA,CAAc,SAAA;EAAA,SACvB,WAAA,EAAa,aAAA,CAAc,kBAAA;cAExB,OAAA;IAAA,SACD,KAAA;IAAA,SACA,MAAA;IAAA,SACA,WAAA;IAAA,SACA,OAAA,WAAkB,SAAA;IAAA,SAClB,WAAA,YAAuB,kBAAA;EAAA;EAWzB,MAAA,IAAU,OAAA,EAAS,gBAAA,CAAiB,CAAA,IAAK,CAAA;AAAA;AAAA,KAKxC,gBAAA,GAAmB,iBAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planner-produced-sqlite-migration-DKopa0rd.d.mts","names":[],"sources":["../src/core/migrations/planner-produced-sqlite-migration.ts"],"mappings":";;;;;;;;KAYK,EAAA,GAAK,yBAAyB,CAAC,uBAAA;AAAA,UAEnB,8BAAA;EAAA,SACN,WAAA;EAAA,SACA,WAAW;AAAA;AAAA,cAGT,mCAAA,SACH,eAAA,YACG,iCAAA;EAAA;cAUT,KAAA,WAAgB,aAAA,IAChB,IAAA,EAAM,aAAA,EACN,OAAA,UACA,WAAA,GAAc,8BAAA,EACd,OAAA,GAAU,qBAAA;EAAA,IAUC,UAAA,cAAwB,EAAA,GAAK,OAAA,CAAQ,EAAA;EAKzC,QAAA,IAAY,aAAA;EAAA,IAIR,WAAA,IAAe,8BAAA;EAtCR;AAGtB;;;;EAHsB,IA+ChB,OAAA;EAIJ,gBAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared-CaiRyjA0.d.mts","names":[],"sources":["../src/core/migrations/operations/shared.ts"],"mappings":";;;;;KAUY,EAAA,GAAK,yBAAyB,CAAC,uBAAA;AAA3C;;;;AAAkE;AA0BlE;;;;;;;;;;AAKwC;AA/BxC,UA0BiB,gBAAA;EAAA,SACN,IAAA;EAAA,SACA,OAAA;EAAA,SACA,UAAA;EAAA,SACA,QAAA;EAAA,SACA,6BAAA;AAAA;AAAA,UAGM,oBAAA;EAAA,SACN,OAAO;AAAA;AAAA,UAGD,gBAAA;EAAA,SACN,OAAA;EAAA,SACA,IAAI;AAAA;AAAA,UAGE,oBAAA;EAAA,SACN,OAAA;EAAA,SACA,UAAA;IAAA,SACE,KAAA;IAAA,SACA,OAAA;EAAA;EAAA,SAEF,IAAA;EAAA,SACA,QAAA,GAAW,iBAAA;EAAA,SACX,QAAA,GAAW,iBAAiB;AAAA;AAAA;AAOvC;;;AAPuC,UAOtB,eAAA;EAAA,SACN,OAAA,WAAkB,gBAAA;EAAA,SAClB,UAAA,GAAa,oBAAA;EAAA,SACb,OAAA,YAAmB,gBAAA;EAAA,SACnB,WAAA,YAAuB,oBAAA;AAAA;;;;;;UAQjB,eAAA;EAAA,SACN,IAAA;EAAA,SACA,OAAO;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sqlite-contract-view-J32K82Gi.d.mts","names":[],"sources":["../src/core/sqlite-contract-view.ts"],"mappings":";;;;;;;AAwBA;;;;;;;;;;;;;;KAAY,kBAAA,mBAAqC,QAAA,CAAS,UAAA,IAAc,QAAA,CAAS,UAAA,KAC/E,sBAAA,CAAuB,SAAA;AAAA,cAEZ,kBAAA;EAFX,qFAIuB,QAAA,CAAS,UAAA,GAAW,QAAA,EAAY,SAAA,GAAY,kBAAA,CAAmB,SAAA,GAJtD;6B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