@prisma/orm-target-mongo 8.0.0-rc.24-dev.15 → 8.0.0-rc.24-dev.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{control-BlMckWwK.mjs → control-ADZk3Q1S.mjs} +3059 -307
- package/dist/control-ADZk3Q1S.mjs.map +1 -0
- package/dist/{control-BG4g6muN.mjs → control-C9gGCopP.mjs} +2 -2
- package/dist/{control-BG4g6muN.mjs.map → control-C9gGCopP.mjs.map} +1 -1
- package/dist/{control-OiC131Dv.d.mts → control-Dc2P_CN-.d.mts} +15 -6
- package/dist/control-Dc2P_CN-.d.mts.map +1 -0
- package/dist/driver.mjs +1 -1
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__runtime.mjs +1 -1
- package/dist/driver__runtime.mjs.map +1 -1
- package/dist/{migration-DASk9QNA.d.mts → migration-D78n7EUy.d.mts} +1 -1
- package/dist/{migration-factories-C5ktmt8c-BP8k9SnZ.mjs → migration-factories-RJZq8NhE-CigCh286.mjs} +621 -13
- package/dist/migration-factories-RJZq8NhE-CigCh286.mjs.map +1 -0
- package/dist/{mongo-driver-CfJ69N8C-B5aKUbjW.mjs → mongo-driver-BV3a7kcA-BJrV90Qw.mjs} +3 -3
- package/dist/{mongo-driver-CfJ69N8C-B5aKUbjW.mjs.map → mongo-driver-BV3a7kcA-BJrV90Qw.mjs.map} +1 -1
- package/dist/{op-factory-call-BCgwbVJe-DhcJRxAb.d.mts → op-factory-call-vacb7XmE-sHhC1Hit.d.mts} +151 -5
- package/dist/op-factory-call-vacb7XmE-sHhC1Hit.d.mts.map +1 -0
- package/dist/target.d.mts +4 -4
- package/dist/target.mjs +3 -3
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +1 -1
- package/dist/target__migration.d.mts +3 -3
- package/dist/target__migration.mjs +2 -2
- package/package.json +10 -10
- package/dist/control-BlMckWwK.mjs.map +0 -1
- package/dist/control-OiC131Dv.d.mts.map +0 -1
- package/dist/migration-factories-C5ktmt8c-BP8k9SnZ.mjs.map +0 -1
- package/dist/op-factory-call-BCgwbVJe-DhcJRxAb.d.mts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MongoDriverImpl, r as mongoDriverDescriptorMeta, t as DRIVER_INFO } from "./mongo-driver-
|
|
1
|
+
import { n as MongoDriverImpl, r as mongoDriverDescriptorMeta, t as DRIVER_INFO } from "./mongo-driver-BV3a7kcA-BJrV90Qw.mjs";
|
|
2
2
|
import { MongoClient } from "mongodb";
|
|
3
3
|
import { errorRuntime } from "@prisma/orm-framework/errors/execution";
|
|
4
4
|
import { redactDatabaseUrl } from "@prisma/orm-framework/utils/redact-db-url";
|
|
@@ -42,4 +42,4 @@ const mongoControlDriverDescriptor = {
|
|
|
42
42
|
//#endregion
|
|
43
43
|
export { mongoControlDriverDescriptor as n, MongoControlDriver as t };
|
|
44
44
|
|
|
45
|
-
//# sourceMappingURL=control-
|
|
45
|
+
//# sourceMappingURL=control-C9gGCopP.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-C9gGCopP.mjs","names":[],"sources":["../../../../3-targets/mongo/3-driver/dist/control.mjs"],"sourcesContent":["import { n as mongoDriverDescriptorMeta, r as DRIVER_INFO, t as MongoDriverImpl } from \"./mongo-driver-BV3a7kcA.mjs\";\nimport { errorRuntime } from \"@internal/errors/execution\";\nimport { redactDatabaseUrl } from \"@internal/utils/redact-db-url\";\nimport { MongoClient } from \"mongodb\";\n//#region src/exports/control.ts\nvar MongoControlDriver = class extends MongoDriverImpl {\n\tfamilyId = \"mongo\";\n\ttargetId = \"mongo\";\n\tdb;\n\tconstructor(db, mongoClient) {\n\t\tsuper(db, mongoClient);\n\t\tthis.db = db;\n\t}\n\tasync databaseName() {\n\t\treturn this.db.databaseName;\n\t}\n};\nconst mongoControlDriverDescriptor = {\n\t...mongoDriverDescriptorMeta,\n\tasync create(url) {\n\t\tconst client = new MongoClient(url, {\n\t\t\tserverSelectionTimeoutMS: 5e3,\n\t\t\tconnectTimeoutMS: 5e3,\n\t\t\tdriverInfo: DRIVER_INFO\n\t\t});\n\t\ttry {\n\t\t\tawait client.connect();\n\t\t\treturn new MongoControlDriver(client.db(), client);\n\t\t} catch (error) {\n\t\t\ttry {\n\t\t\t\tawait client.close();\n\t\t\t} catch {}\n\t\t\tthrow errorRuntime(\"DRIVER.CONNECTION_FAILED\", \"Database connection failed\", {\n\t\t\t\twhy: error instanceof Error ? error.message : String(error),\n\t\t\t\tfix: \"Verify the MongoDB URL, ensure the database is reachable, and confirm credentials/permissions\",\n\t\t\t\tmeta: { ...redactDatabaseUrl(url) },\n\t\t\t\tcause: error\n\t\t\t});\n\t\t}\n\t}\n};\n//#endregion\nexport { MongoControlDriver, mongoControlDriverDescriptor as default };\n\n//# sourceMappingURL=control.mjs.map"],"mappings":";;;;;AAKA,IAAI,qBAAqB,cAAc,gBAAgB;CACtD,WAAW;CACX,WAAW;CACX;CACA,YAAY,IAAI,aAAa;EAC5B,MAAM,IAAI,WAAW;EACrB,KAAK,KAAK;CACX;CACA,MAAM,eAAe;EACpB,OAAO,KAAK,GAAG;CAChB;AACD;AACA,MAAM,+BAA+B;CACpC,GAAG;CACH,MAAM,OAAO,KAAK;EACjB,MAAM,SAAS,IAAI,YAAY,KAAK;GACnC,0BAA0B;GAC1B,kBAAkB;GAClB,YAAY;EACb,CAAC;EACD,IAAI;GACH,MAAM,OAAO,QAAQ;GACrB,OAAO,IAAI,mBAAmB,OAAO,GAAG,GAAG,MAAM;EAClD,SAAS,OAAO;GACf,IAAI;IACH,MAAM,OAAO,MAAM;GACpB,QAAQ,CAAC;GACT,MAAM,aAAa,4BAA4B,8BAA8B;IAC5E,KAAK,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;IAC1D,KAAK;IACL,MAAM,EAAE,GAAG,kBAAkB,GAAG,EAAE;IAClC,OAAO;GACR,CAAC;EACF;CACD;AACD"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as
|
|
1
|
+
import { _ as RenameFieldCall, b as UnsetFieldCall, d as FillStoredKeyCall, g as RenameCollectionCall, h as RemoveStoredValueCall, m as RemoveStoredKeyCall, o as DataTransformCall, p as OpFactoryCall$1, s as DeleteDocumentsCall, t as CastFieldCall, u as FillFieldCall, v as RenameStoredKeyCall, y as ReplaceStoredValueCall } from "./op-factory-call-vacb7XmE-sHhC1Hit.mjs";
|
|
2
2
|
import "@prisma/orm-framework/utils/structured-error";
|
|
3
3
|
import { Namespace, NamespaceBase } from "@prisma/orm-framework/components/ir";
|
|
4
4
|
import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
|
|
5
|
+
import { Result } from "@prisma/orm-framework/utils/result";
|
|
5
6
|
import { MongoCollection, MongoCollectionInput, MongoContract, MongoNamespaceEntries, MongoStorage, MongoValueSetInput } from "@prisma/orm-family-mongo/contract";
|
|
6
7
|
import { AnyMongoMigrationOperation, MongoAndExpr, MongoExistsExpr, MongoExprFilter, MongoFieldFilter, MongoFilterExpr, MongoFilterVisitor, MongoNotExpr, MongoOrExpr } from "@prisma/orm-family-mongo/query-ast/control";
|
|
7
8
|
import { MongoControlTargetDescriptor } from "@prisma/orm-family-mongo/family/control";
|
|
8
9
|
import { MigrationOperationPolicy, MigrationPlan, MigrationPlanOperation, MigrationPlanWithAuthoringSurface, MigrationPlanner, MigrationPlannerConflict, MigrationPlannerResult, MigrationRunnerExecutionChecks, MigrationRunnerFailure, MigrationRunnerPerSpaceSuccessValue, MigrationScaffoldContext, OperationContext, PlanOrigin, ResolvedMigrationStatement, SchemaDiffIssue, SchemaVerifyOptions, VerifyDatabaseSchemaResult } from "@prisma/orm-framework/components/control";
|
|
9
|
-
import { Result } from "@prisma/orm-framework/utils/result";
|
|
10
10
|
import { MongoContractSerializerBase, MongoSchemaVerifierBase } from "@prisma/orm-family-mongo/family/ir";
|
|
11
11
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
12
12
|
import { MongoSchemaIR } from "@prisma/orm-family-mongo/schema-ir";
|
|
@@ -61,6 +61,10 @@ declare function deserializeMongoOp(json: unknown): AnyMongoMigrationOperation;
|
|
|
61
61
|
declare function deserializeMongoOps(json: readonly unknown[]): AnyMongoMigrationOperation[];
|
|
62
62
|
declare function serializeMongoOps(ops: readonly AnyMongoMigrationOperation[]): string;
|
|
63
63
|
//#endregion
|
|
64
|
+
//#region src/core/migrations/mongo-rewrite-overlaps.d.ts
|
|
65
|
+
/** A call of the rewrite step of a plan. */
|
|
66
|
+
type RewriteCall = RenameFieldCall | CastFieldCall | DataTransformCall | FillFieldCall | UnsetFieldCall | RenameStoredKeyCall | RemoveStoredKeyCall | FillStoredKeyCall | ReplaceStoredValueCall | RemoveStoredValueCall | DeleteDocumentsCall;
|
|
67
|
+
//#endregion
|
|
64
68
|
//#region src/core/migrations/mongo-statement-planning.d.ts
|
|
65
69
|
/**
|
|
66
70
|
* The calls statements and removed fields add to a plan, with the schema the diff starts from:
|
|
@@ -72,7 +76,7 @@ interface StatementCalls {
|
|
|
72
76
|
/** Run first. */
|
|
73
77
|
readonly collectionRenames: readonly RenameCollectionCall[];
|
|
74
78
|
/** Run after index drops and before index creates. */
|
|
75
|
-
readonly rewrites: readonly
|
|
79
|
+
readonly rewrites: readonly RewriteCall[];
|
|
76
80
|
}
|
|
77
81
|
//#endregion
|
|
78
82
|
//#region src/core/migrations/mongo-planner.d.ts
|
|
@@ -176,6 +180,11 @@ declare class MongoMigrationRunner {
|
|
|
176
180
|
private apply;
|
|
177
181
|
private recordLedgerEntries;
|
|
178
182
|
private executeDmlOperation;
|
|
183
|
+
/**
|
|
184
|
+
* The failure when a stored value removal's precheck finds documents whose required field or key
|
|
185
|
+
* holds the value: how many, one `_id`, the query that finds them all, and how to keep them.
|
|
186
|
+
*/
|
|
187
|
+
private documentsHoldingRemovedValueRefusal;
|
|
179
188
|
/**
|
|
180
189
|
* The failure when a validator change's precheck finds documents the new validator rejects: how
|
|
181
190
|
* many, one `_id`, and the query that finds them all.
|
|
@@ -197,8 +206,8 @@ declare class MongoMigrationRunner {
|
|
|
197
206
|
* it, whether it is a time-series collection and its validator's `$jsonSchema`.
|
|
198
207
|
*/
|
|
199
208
|
private collectionInPlace;
|
|
200
|
-
/** Each
|
|
201
|
-
private
|
|
209
|
+
/** Each field or nested key the change makes required that documents matching `failing` lack or hold as `null`, with how many do; a nested key counts only in an object that the document holds. */
|
|
210
|
+
private documentsLacking;
|
|
202
211
|
/**
|
|
203
212
|
* Each field of the document with `_id`, at `input`, `$$ROOT` or the path of an embedded document:
|
|
204
213
|
* its BSON type, read with `$type`, and its value.
|
|
@@ -377,4 +386,4 @@ declare class MongoTargetUnboundDatabase extends MongoTargetDatabase {
|
|
|
377
386
|
}
|
|
378
387
|
//#endregion
|
|
379
388
|
export { deserializeMongoOps as _, MongoMigrationRunnerExecuteOptions as a, renderOps as b, MongoTargetContract as c, MongoTargetSchemaVerifier as d, MongoTargetUnboundDatabase as f, deserializeMongoOp as g, RenderMigrationMeta as h, MongoMigrationRunnerErrorCode as i, MongoTargetContractSerializer as l, PlannerProducedMongoMigration as m, MongoMigrationPlanner as n, MongoMigrationRunnerFailure as o, PlanCallsResult as p, MongoMigrationRunner as r, MongoMigrationRunnerResult as s, FilterEvaluator as t, MongoTargetDatabase as u, mongoTargetDescriptor as v, serializeMongoOps as x, renderCallsToTypeScript as y };
|
|
380
|
-
//# sourceMappingURL=control-
|
|
389
|
+
//# sourceMappingURL=control-Dc2P_CN-.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-Dc2P_CN-.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6BK,sBAAsB,KAAK;WACrB,SAAS;;;;;;;;;;;;;;cAcN,uBAAuB,6BAA6B;;;cAGpD,2BAA2B;UAC/B;EACR,SAAS,QAAQ,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YACjF,gBAAgB;aACf,UAAU;aACV,QAAQ;aACR;aACA,WAAW;eACT;YACH,uBAAuB,UAAU,oBAAoB,qBAAqB,0BAA0B;;;;;;;;;;;;;;;;;;;cAmBlG,sCAAsC,UAAU,uCAAuC;mBAClF;mBACA;mBACA;WACR;EACT,YAAY,gBAAgB,mBAAiB,MAAM,eAAe;MAC9D,wBAAwB,6BAA6B,QAAQ;EACjE,YAAY;EACZ,iBAAiB,wBAAwB;;;;iBAI1B,UAAU,OAAO,cAAc,oBAAkB,6BAA6B,QAAQ;;;UAG7F;WACC;WACA;;WAEA;;;;;;;WAOA,yBAAyB;;;;;;;;;;;;;;;;;;;iBAmBnB,wBAAwB,OAAO,cAAc,kBAAgB,MAAM;;;cAGtE,sCAAsC,4BAA4B;YACpE,wBAAwB,WAAW,gBAAgB;EAC7D,kBAAkB,UAAU,sBAAsB;;;;UAI1C;WACC;WACA,UAAU,SAAS,eAAe,SAAS;aACzC,aAAa,SAAS,eAAe;aACrC,WAAW,SAAS,eAAe;;;;;;;;;;;;;;;;;cAiBlC,4BAA4B;WAC/B;WACA;WACA,SAAS;EAClB,YAAY,OAAO;MACf,cAAc,SAAS,eAAe;;;;;EAK1C;;;;;;;EAOA,kBAAkB;;;;;;;;;;;;;;;cAeN,mCAAmC;kBAC/B,UAAU;UAClB;EACR;EACA,kBAAkB"}
|
package/dist/driver.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MongoControlDriver } from "./control-
|
|
1
|
+
import { t as MongoControlDriver } from "./control-C9gGCopP.mjs";
|
|
2
2
|
export { MongoControlDriver };
|
package/dist/driver__control.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as mongoControlDriverDescriptor, t as MongoControlDriver } from "./control-
|
|
1
|
+
import { n as mongoControlDriverDescriptor, t as MongoControlDriver } from "./control-C9gGCopP.mjs";
|
|
2
2
|
export { MongoControlDriver, mongoControlDriverDescriptor as default };
|
package/dist/driver__runtime.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MongoDriverImpl, r as mongoDriverDescriptorMeta } from "./mongo-driver-
|
|
1
|
+
import { n as MongoDriverImpl, r as mongoDriverDescriptorMeta } from "./mongo-driver-BV3a7kcA-BJrV90Qw.mjs";
|
|
2
2
|
import { structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
3
3
|
//#region ../../../3-targets/mongo/3-driver/dist/runtime.mjs
|
|
4
4
|
const notConnectedMessages = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver__runtime.mjs","names":["#disconnectedState","#delegate","#notConnectedError","#connecting","#requireDelegate"],"sources":["../../../../3-targets/mongo/3-driver/dist/runtime.mjs"],"sourcesContent":["import { n as mongoDriverDescriptorMeta, t as MongoDriverImpl } from \"./mongo-driver-
|
|
1
|
+
{"version":3,"file":"driver__runtime.mjs","names":["#disconnectedState","#delegate","#notConnectedError","#connecting","#requireDelegate"],"sources":["../../../../3-targets/mongo/3-driver/dist/runtime.mjs"],"sourcesContent":["import { n as mongoDriverDescriptorMeta, t as MongoDriverImpl } from \"./mongo-driver-BV3a7kcA.mjs\";\nimport { structuredError } from \"@internal/utils/structured-error\";\n//#region src/core/runtime/mongo-runtime-driver.ts\nconst notConnectedMessages = {\n\tunbound: \"Mongo driver not connected. Call connect(binding) before execute or run.\",\n\tclosed: \"Mongo driver is closed. Call connect(binding) to reconnect.\"\n};\nconst ALREADY_CONNECTED_MESSAGE = \"Mongo driver already connected. Call close() before reconnecting with a new binding.\";\nasync function connectedDriver(binding) {\n\tif (binding.kind === \"mongoClient\") return MongoDriverImpl.fromDb(binding.client.db(binding.dbName));\n\treturn MongoDriverImpl.fromConnection(binding.url, binding.dbName);\n}\nvar MongoUnboundDriverImpl = class {\n\tfamilyId = \"mongo\";\n\ttargetId = \"mongo\";\n\t#delegate = null;\n\t#connecting = null;\n\t#disconnectedState = \"unbound\";\n\t#notConnectedError() {\n\t\treturn structuredError(\"DRIVER.NOT_CONNECTED\", notConnectedMessages[this.#disconnectedState]);\n\t}\n\t#requireDelegate() {\n\t\tif (this.#delegate === null) throw this.#notConnectedError();\n\t\treturn this.#delegate;\n\t}\n\tasync connect(binding) {\n\t\tif (this.#delegate !== null || this.#connecting !== null) throw structuredError(\"DRIVER.ALREADY_CONNECTED\", ALREADY_CONNECTED_MESSAGE, { meta: { bindingKind: binding.kind } });\n\t\tconst connecting = connectedDriver(binding);\n\t\tthis.#connecting = connecting;\n\t\ttry {\n\t\t\tconst delegate = await connecting;\n\t\t\tif (this.#connecting !== connecting) throw this.#notConnectedError();\n\t\t\tthis.#delegate = delegate;\n\t\t\tthis.#disconnectedState = \"unbound\";\n\t\t} finally {\n\t\t\tif (this.#connecting === connecting) this.#connecting = null;\n\t\t}\n\t}\n\tasync *execute(wireCommand) {\n\t\tyield* this.#requireDelegate().execute(wireCommand);\n\t}\n\tasync run(wireCommand) {\n\t\treturn this.#requireDelegate().run(wireCommand);\n\t}\n\tasync close() {\n\t\tconst delegate = this.#delegate;\n\t\tconst connecting = this.#connecting;\n\t\tthis.#delegate = null;\n\t\tthis.#connecting = null;\n\t\tthis.#disconnectedState = \"closed\";\n\t\tconst connected = await connecting?.catch(() => null);\n\t\tawait Promise.all([delegate?.close(), connected?.close()]);\n\t}\n};\nfunction createMongoRuntimeDriver() {\n\treturn new MongoUnboundDriverImpl();\n}\n//#endregion\n//#region src/exports/runtime.ts\nconst mongoRuntimeDriverDescriptor = {\n\t...mongoDriverDescriptorMeta,\n\tcreate: createMongoRuntimeDriver\n};\n//#endregion\nexport { mongoRuntimeDriverDescriptor as default };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC5B,SAAS;CACT,QAAQ;AACT;AACA,MAAM,4BAA4B;AAClC,eAAe,gBAAgB,SAAS;CACvC,IAAI,QAAQ,SAAS,eAAe,OAAO,gBAAgB,OAAO,QAAQ,OAAO,GAAG,QAAQ,MAAM,CAAC;C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,QAAQ;AACT"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./op-factory-call-
|
|
1
|
+
import "./op-factory-call-vacb7XmE-sHhC1Hit.mjs";
|
|
2
2
|
import { placeholder } from "@prisma/orm-framework/errors/migration";
|
|
3
3
|
import { MigrationCLI } from "@prisma/orm-toolchain/cli/migration-cli";
|
|
4
4
|
import { Migration } from "@prisma/orm-family-mongo/family/migration";
|