@prisma/orm-target-mongo 8.0.0-rc.18-dev.29 → 8.0.0-rc.18-dev.30
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__control.d.mts +1 -1
- package/dist/{control-DPT2hXVf.d.mts → control-DpeYOTlN.d.mts} +4 -4
- package/dist/{control-DPT2hXVf.d.mts.map → control-DpeYOTlN.d.mts.map} +1 -1
- package/dist/{control-8KJTXiJ_.mjs → control-lAuWLUE_.mjs} +3 -3
- package/dist/{control-8KJTXiJ_.mjs.map → control-lAuWLUE_.mjs.map} +1 -1
- package/dist/{descriptor-meta-CYXIYjq7-DpMc5Tnm.mjs → descriptor-meta-BQBreSNF-CZ9uOPwO.mjs} +14 -6
- package/dist/descriptor-meta-BQBreSNF-CZ9uOPwO.mjs.map +1 -0
- package/dist/driver.mjs +1 -1
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__control.mjs.map +1 -1
- package/dist/{migration-D_hZnT_B.d.mts → migration-DKoUk2CF.d.mts} +2 -2
- package/dist/{migration-D_hZnT_B.d.mts.map → migration-DKoUk2CF.d.mts.map} +1 -1
- package/dist/{mongo-driver-Bqompjve-D7hiX2sT.mjs → mongo-driver-_5ZHrJDP-LGH7Kem3.mjs} +3 -3
- package/dist/{mongo-driver-Bqompjve-D7hiX2sT.mjs.map → mongo-driver-_5ZHrJDP-LGH7Kem3.mjs.map} +1 -1
- package/dist/{op-factory-call-BoYr7vvM-CNpt7COE.d.mts → op-factory-call-BoYr7vvM-PXfT4zvm.d.mts} +2 -2
- package/dist/{op-factory-call-BoYr7vvM-CNpt7COE.d.mts.map → op-factory-call-BoYr7vvM-PXfT4zvm.d.mts.map} +1 -1
- package/dist/pack-BuZ5LBMg.d.mts +230 -0
- package/dist/pack-BuZ5LBMg.d.mts.map +1 -0
- package/dist/{prisma6-binding-DUUKAo0Q.mjs → prisma6-binding-DKZXqEL5.mjs} +2 -4
- package/dist/prisma6-binding-DKZXqEL5.mjs.map +1 -0
- package/dist/{prisma6-binding-DppqC9Jo.d.mts → prisma6-binding-DRM8QnmA.d.mts} +1 -2
- package/dist/{prisma6-binding-DppqC9Jo.d.mts.map → prisma6-binding-DRM8QnmA.d.mts.map} +1 -1
- package/dist/target.d.mts +5 -5
- package/dist/target.mjs +2 -2
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +1 -1
- package/dist/target__migration.d.mts +1 -1
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__pack.mjs.map +1 -1
- package/dist/target__prisma6-binding.d.mts +1 -1
- package/dist/target__prisma6-binding.mjs +1 -1
- package/package.json +9 -9
- package/dist/descriptor-meta-CYXIYjq7-DpMc5Tnm.mjs.map +0 -1
- package/dist/pack-DEK1QhCx.d.mts +0 -110
- package/dist/pack-DEK1QhCx.d.mts.map +0 -1
- package/dist/prisma6-binding-DUUKAo0Q.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createMongoAdapter } from "./mongo-adapter-wvK2fQOZ-BXo5NxEB.mjs";
|
|
2
|
-
import { ControlDriverInstance } from "@prisma/orm-framework/components/control";
|
|
3
2
|
import { MongoSchemaIR } from "@prisma/orm-family-mongo/schema-ir";
|
|
4
3
|
import { AnyMongoDdlCommand, ListCollectionsCommand, ListIndexesCommand, MongoInspectionCommandVisitor } from "@prisma/orm-family-mongo/query-ast/control";
|
|
5
4
|
import { ContractMarkerRecord, LedgerEntryRecord } from "@prisma/orm-framework/contract/types";
|
|
5
|
+
import { ControlDriverInstance } from "@prisma/orm-framework/components/control";
|
|
6
6
|
import { Db, Document } from "mongodb";
|
|
7
7
|
import { MongoControlDriverInstance, MongoControlDriverInstance as MongoControlDriverInstance$1, MongoDriver } from "@prisma/orm-family-mongo/lowering";
|
|
8
8
|
import { MongoControlAdapter, MongoControlAdapterDescriptor, MongoRunnerDependencies } from "@prisma/orm-family-mongo/family/control-adapter";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as RenameCollectionCall, l as RenameFieldCall, s as OpFactoryCall$1, u as UnsetFieldCall } from "./op-factory-call-BoYr7vvM-
|
|
1
|
+
import { c as RenameCollectionCall, l as RenameFieldCall, s as OpFactoryCall$1, u as UnsetFieldCall } from "./op-factory-call-BoYr7vvM-PXfT4zvm.mjs";
|
|
2
2
|
import { Namespace, NamespaceBase } from "@prisma/orm-framework/components/ir";
|
|
3
|
-
import {
|
|
3
|
+
import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
|
|
4
4
|
import { MongoSchemaIR } from "@prisma/orm-family-mongo/schema-ir";
|
|
5
5
|
import { AnyMongoMigrationOperation, MongoAndExpr, MongoExistsExpr, MongoExprFilter, MongoFieldFilter, MongoFilterExpr, MongoFilterVisitor, MongoNotExpr, MongoOrExpr } from "@prisma/orm-family-mongo/query-ast/control";
|
|
6
6
|
import { MongoControlTargetDescriptor } from "@prisma/orm-family-mongo/family/control";
|
|
@@ -8,10 +8,10 @@ import { Result } from "@prisma/orm-framework/utils/result";
|
|
|
8
8
|
import { MongoContractSerializerBase, MongoSchemaVerifierBase } from "@prisma/orm-family-mongo/family/ir";
|
|
9
9
|
import { MongoCollection, MongoCollectionInput, MongoContract, MongoNamespaceEntries, MongoStorage, MongoValueSetInput } from "@prisma/orm-family-mongo/contract";
|
|
10
10
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
11
|
+
import { MigrationOperationPolicy, MigrationPlan, MigrationPlanOperation, MigrationPlanWithAuthoringSurface, MigrationPlanner, MigrationPlannerConflict, MigrationPlannerResult, MigrationRunnerExecutionChecks, MigrationRunnerFailure, MigrationRunnerPerSpaceSuccessValue, MigrationScaffoldContext, OperationContext, PlanOrigin, ResolvedMigrationStatement, SchemaDiffIssue, SchemaVerifyOptions, VerifyDatabaseSchemaResult } from "@prisma/orm-framework/components/control";
|
|
11
12
|
import { Migration, MigrationMeta } from "@prisma/orm-toolchain/migration-tools/migration";
|
|
12
13
|
import { ImportSpecifierResolver } from "@prisma/orm-framework/components/emission";
|
|
13
14
|
import { MongoRunnerDependencies } from "@prisma/orm-family-mongo/family/control-adapter";
|
|
14
|
-
import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
|
|
15
15
|
import { AggregateMigrationEdgeRef } from "@prisma/orm-toolchain/migration-tools/aggregate";
|
|
16
16
|
import { JsonObject } from "@prisma/orm-framework/utils/json";
|
|
17
17
|
//#region ../../../3-mongo-target/1-mongo-target/dist/control.d.mts
|
|
@@ -330,4 +330,4 @@ declare class MongoTargetUnboundDatabase extends MongoTargetDatabase {
|
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
332
|
export { renderOps as _, MongoTargetContract as a, MongoTargetSchemaVerifier as c, PlannerProducedMongoMigration as d, RenderMigrationMeta as f, renderCallsToTypeScript as g, mongoTargetDescriptor as h, MongoMigrationRunnerExecuteOptions as i, MongoTargetUnboundDatabase as l, deserializeMongoOps as m, MongoMigrationPlanner as n, MongoTargetContractSerializer as o, deserializeMongoOp as p, MongoMigrationRunner as r, MongoTargetDatabase as s, FilterEvaluator as t, PlanCallsResult as u, serializeMongoOps as v };
|
|
333
|
-
//# sourceMappingURL=control-
|
|
333
|
+
//# sourceMappingURL=control-DpeYOTlN.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-DpeYOTlN.d.mts","names":[],"sources":["../../../../3-mongo-target/1-mongo-target/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4BK,sBAAsB,KAAK;WACrB,SAAS;;;;;;;;;;;;;;cAcN,uBAAuB,6BAA6B;;;cAGpD,2BAA2B;UAC/B;EACR,SAAS,QAAQ,iBAAiB,KAAK;EACvC,MAAM,MAAM;EACZ,IAAI,MAAM;EACV,GAAG,MAAM;EACT,IAAI,MAAM;EACV,OAAO,MAAM;EACb,KAAK,OAAO;;;;iBAIG,mBAAmB,g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AAwB,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"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { t as mongoTargetError } from "./mongo-target-errors-Btf3ML1w-B5EMYbz1.mjs";
|
|
2
|
-
import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-
|
|
2
|
+
import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-BQBreSNF-CZ9uOPwO.mjs";
|
|
3
3
|
import { a as dropCollection, c as renameField, d as unsetField, n as createCollection, o as dropIndex, r as createIndex, s as renameCollection, t as collMod, u as unrewritableFieldNameReason } from "./migration-factories-jwrORVMV-BGqJk_WT.mjs";
|
|
4
4
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
5
5
|
import { type } from "arktype";
|
|
6
6
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
7
7
|
import { NamespaceBase, UNBOUND_NAMESPACE_ID, elementCoordinates, freezeNode, hydrateNamespaceEntities } from "@prisma/orm-framework/components/ir";
|
|
8
|
-
import { APP_SPACE_ID, VERIFY_CODE_SCHEMA_FAILURE, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, describeMigrationStatement, issueOutcome, modelDisplayName } from "@prisma/orm-framework/components/control";
|
|
9
8
|
import { MongoSchemaCollection, MongoSchemaIR, canonicalize, deepEqual, indexLookupKey } from "@prisma/orm-family-mongo/schema-ir";
|
|
10
9
|
import { CollModCommand, CreateCollectionCommand, CreateIndexCommand, DropCollectionCommand, DropIndexCommand, ListCollectionsCommand, ListIndexesCommand, MongoAndExpr, MongoExistsExpr, MongoFieldFilter, MongoNotExpr, MongoOrExpr, RenameCollectionCommand, isMongoDmlOperation } from "@prisma/orm-family-mongo/query-ast/control";
|
|
11
10
|
import { AggregateCommand, MongoAddFieldsStage, MongoLimitStage, MongoLookupStage, MongoMatchStage, MongoMergeStage, MongoProjectStage, MongoSortStage, RawAggregateCommand, RawDeleteManyCommand, RawDeleteOneCommand, RawFindOneAndDeleteCommand, RawFindOneAndUpdateCommand, RawInsertManyCommand, RawInsertOneCommand, RawUpdateManyCommand, RawUpdateOneCommand } from "@prisma/orm-family-mongo/query-ast/execution";
|
|
@@ -15,6 +14,7 @@ import { MongoContractSerializerBase, MongoSchemaVerifierBase } from "@prisma/or
|
|
|
15
14
|
import { MongoCollection, MongoStorage, collectionControlPoliciesOf, collectionControlPolicyOf, collectionRootModelsOf, storedFieldNameOf, storesField, validatorFieldNamesOf, validatorRootShapesOf } from "@prisma/orm-family-mongo/contract";
|
|
16
15
|
import { composeMongoEntityKinds } from "@prisma/orm-family-mongo/contract/entity-kinds";
|
|
17
16
|
import { asNamespaceId, governingControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
17
|
+
import { APP_SPACE_ID, VERIFY_CODE_SCHEMA_FAILURE, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, describeMigrationStatement, issueOutcome, modelDisplayName } from "@prisma/orm-framework/components/control";
|
|
18
18
|
import { TsExpression, jsonToTsSource, renderImports } from "@prisma/orm-framework/ts-render";
|
|
19
19
|
import { Migration } from "@prisma/orm-toolchain/migration-tools/migration";
|
|
20
20
|
import { resolveRequirementSpecifiers } from "@prisma/orm-framework/components/emission";
|
|
@@ -2360,4 +2360,4 @@ const mongoTargetDescriptor = {
|
|
|
2360
2360
|
//#endregion
|
|
2361
2361
|
export { schemaIndexToCreateIndexOptions as C, schemaCollectionToCreateCollectionOptions as S, deserializeMongoOp as _, DropIndexCall as a, renderCallsToTypeScript as b, MongoMigrationRunner as c, MongoTargetSchemaVerifier as d, MongoTargetUnboundDatabase as f, UnsetFieldCall as g, RenameFieldCall as h, DropCollectionCall as i, MongoTargetContractSerializer as l, RenameCollectionCall as m, CreateCollectionCall as n, FilterEvaluator as o, PlannerProducedMongoMigration as p, CreateIndexCall as r, MongoMigrationPlanner as s, CollModCall as t, MongoTargetDatabase as u, deserializeMongoOps as v, serializeMongoOps as w, renderOps as x, mongoTargetDescriptor as y };
|
|
2362
2362
|
|
|
2363
|
-
//# sourceMappingURL=control-
|
|
2363
|
+
//# sourceMappingURL=control-lAuWLUE_.mjs.map
|