@prisma/orm-target-mongo 8.0.0-rc.23-dev.13 → 8.0.0-rc.24-dev.1

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.
Files changed (58) hide show
  1. package/dist/adapter.mjs +1 -1
  2. package/dist/adapter__control.mjs +1 -1
  3. package/dist/adapter__runtime.mjs +2 -2
  4. package/dist/{codecs-BbX2VMzN-Dm9db3Jz.mjs → codecs-Bl21z49D-Bj5erX9r.mjs} +3 -3
  5. package/dist/{codecs-BbX2VMzN-Dm9db3Jz.mjs.map → codecs-Bl21z49D-Bj5erX9r.mjs.map} +1 -1
  6. package/dist/{control-B77seMDK.mjs → control-BxslS3_F.mjs} +1452 -154
  7. package/dist/control-BxslS3_F.mjs.map +1 -0
  8. package/dist/{control-AjuXfVKk.mjs → control-D_uldvl5.mjs} +2 -2
  9. package/dist/{control-AjuXfVKk.mjs.map → control-D_uldvl5.mjs.map} +1 -1
  10. package/dist/{control-1-RnMe4V.d.mts → control-OiC131Dv.d.mts} +35 -5
  11. package/dist/control-OiC131Dv.d.mts.map +1 -0
  12. package/dist/{data-types-Cq1kg82y-Vk7z6rnW.mjs → data-types-B3SLjbqa-C1LmrfzH.mjs} +29 -5
  13. package/dist/{data-types-Cq1kg82y-Vk7z6rnW.mjs.map → data-types-B3SLjbqa-C1LmrfzH.mjs.map} +1 -1
  14. package/dist/{date-time-now-generators-fWUk_--7-BnCnC0d8.mjs → date-time-now-generators-Dhq1b2V8-TgMEfnbI.mjs} +3 -3
  15. package/dist/{date-time-now-generators-fWUk_--7-BnCnC0d8.mjs.map → date-time-now-generators-Dhq1b2V8-TgMEfnbI.mjs.map} +1 -1
  16. package/dist/{descriptor-meta-CFsOxO6g-Ca8valmZ.mjs → descriptor-meta-BXMz_uZd-B8WB2m7v.mjs} +5 -5
  17. package/dist/{descriptor-meta-CFsOxO6g-Ca8valmZ.mjs.map → descriptor-meta-BXMz_uZd-B8WB2m7v.mjs.map} +1 -1
  18. package/dist/{descriptor-meta-runtime-CBJIjp5R-DMQ9-3Hd.mjs → descriptor-meta-runtime-J4eVdBtZ-D1yRng4t.mjs} +4 -4
  19. package/dist/{descriptor-meta-runtime-CBJIjp5R-DMQ9-3Hd.mjs.map → descriptor-meta-runtime-J4eVdBtZ-D1yRng4t.mjs.map} +1 -1
  20. package/dist/driver.mjs +1 -1
  21. package/dist/driver__control.mjs +1 -1
  22. package/dist/driver__runtime.mjs +1 -1
  23. package/dist/driver__runtime.mjs.map +1 -1
  24. package/dist/migration-DASk9QNA.d.mts +5 -0
  25. package/dist/{migration-factories-oLRWgLGz-B9fWm8Wc.mjs → migration-factories-C5ktmt8c-BP8k9SnZ.mjs} +245 -17
  26. package/dist/migration-factories-C5ktmt8c-BP8k9SnZ.mjs.map +1 -0
  27. package/dist/{mongo-adapter-RJ_YOxiK-jlyFS6Wr.mjs → mongo-adapter-RJ_YOxiK-CCHpxwqy.mjs} +2 -2
  28. package/dist/{mongo-adapter-RJ_YOxiK-jlyFS6Wr.mjs.map → mongo-adapter-RJ_YOxiK-CCHpxwqy.mjs.map} +1 -1
  29. package/dist/{mongo-driver-Dtca4OAu-Cy1Lh7xi.mjs → mongo-driver-Ci-03XE3-kphfDDR4.mjs} +3 -3
  30. package/dist/mongo-driver-Ci-03XE3-kphfDDR4.mjs.map +1 -0
  31. package/dist/op-factory-call-BCgwbVJe-DhcJRxAb.d.mts +248 -0
  32. package/dist/op-factory-call-BCgwbVJe-DhcJRxAb.d.mts.map +1 -0
  33. package/dist/{prisma6-binding-BjKPGVql.mjs → prisma6-binding-BXi_1e8c.mjs} +2 -2
  34. package/dist/{prisma6-binding-BjKPGVql.mjs.map → prisma6-binding-BXi_1e8c.mjs.map} +1 -1
  35. package/dist/{runtime-DyWNR1FZ.mjs → runtime-CkX-HAf5.mjs} +2 -2
  36. package/dist/{runtime-DyWNR1FZ.mjs.map → runtime-CkX-HAf5.mjs.map} +1 -1
  37. package/dist/target.d.mts +4 -4
  38. package/dist/target.mjs +8 -8
  39. package/dist/target__codecs.mjs +1 -1
  40. package/dist/target__control.d.mts +2 -2
  41. package/dist/target__control.mjs +1 -1
  42. package/dist/target__data-types.mjs +1 -1
  43. package/dist/target__migration.d.mts +3 -2
  44. package/dist/target__migration.mjs +3 -3
  45. package/dist/target__pack.mjs +1 -1
  46. package/dist/target__pack.mjs.map +1 -1
  47. package/dist/target__prisma6-binding.mjs +1 -1
  48. package/dist/target__runtime.mjs +2 -2
  49. package/package.json +10 -10
  50. package/dist/control-1-RnMe4V.d.mts.map +0 -1
  51. package/dist/control-B77seMDK.mjs.map +0 -1
  52. package/dist/migration-BMUh33vn.d.mts +0 -56
  53. package/dist/migration-BMUh33vn.d.mts.map +0 -1
  54. package/dist/migration-factories-oLRWgLGz-B9fWm8Wc.mjs.map +0 -1
  55. package/dist/mongo-driver-Dtca4OAu-Cy1Lh7xi.mjs.map +0 -1
  56. package/dist/op-factory-call-DzQ_ZxeZ-CukKyuhZ.d.mts +0 -115
  57. package/dist/op-factory-call-DzQ_ZxeZ-CukKyuhZ.d.mts.map +0 -1
  58. package/dist/{migration-C-jfTsGU.mjs → migration-psmPNv10.mjs} +1 -1
@@ -1,5 +1,5 @@
1
1
  import { _ as MONGO_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, p as MONGO_INT64_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID } from "./codec-ids-DZQsuh80-ywDzfnAg.mjs";
2
- import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-CBJIjp5R-DMQ9-3Hd.mjs";
2
+ import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-J4eVdBtZ-D1yRng4t.mjs";
3
3
  //#region ../../../3-targets/mongo/1-target/dist/prisma6-binding.mjs
4
4
  /**
5
5
  * What the Mongo target supplies to the Prisma 6 schema reader: the datasource provider it reads, the codec each Prisma 6 scalar and native type maps to, the codec an `@id` must have, and the generator `now()` and `@updatedAt` lower to. Each codec is the one for the BSON type Prisma 6 stores (ADR 257), with the application type the Prisma 6 client presents: a plain `Int` is a BSON long read as a `number`.
@@ -42,4 +42,4 @@ const prisma6MongoBinding = {
42
42
  //#endregion
43
43
  export { prisma6MongoBinding as t };
44
44
 
45
- //# sourceMappingURL=prisma6-binding-BjKPGVql.mjs.map
45
+ //# sourceMappingURL=prisma6-binding-BXi_1e8c.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"prisma6-binding-BjKPGVql.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/prisma6-binding.mjs"],"sourcesContent":["import { _ as MONGO_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, p as MONGO_INT64_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID } from \"./codec-ids-DZQsuh80.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-CBJIjp5R.mjs\";\n/**\n* What the Mongo target supplies to the Prisma 6 schema reader: the datasource provider it reads, the codec each Prisma 6 scalar and native type maps to, the codec an `@id` must have, and the generator `now()` and `@updatedAt` lower to. Each codec is the one for the BSON type Prisma 6 stores (ADR 257), with the application type the Prisma 6 client presents: a plain `Int` is a BSON long read as a `number`.\n*/\nconst prisma6MongoBinding = {\n\ttarget: mongoTargetDescriptorMetaRuntime,\n\tproviders: [\"mongodb\"],\n\tscalarCodecIds: {\n\t\tString: MONGO_STRING_CODEC_ID,\n\t\tInt: MONGO_INT64_NUMBER_CODEC_ID,\n\t\tFloat: MONGO_DOUBLE_CODEC_ID,\n\t\tBoolean: MONGO_BOOLEAN_CODEC_ID,\n\t\tDateTime: MONGO_DATE_CODEC_ID,\n\t\tBigInt: MONGO_INT64_CODEC_ID,\n\t\tDecimal: MONGO_DECIMAL128_CODEC_ID,\n\t\tBytes: MONGO_BINARY_CODEC_ID,\n\t\tJson: MONGO_JSON_CODEC_ID\n\t},\n\tnativeTypeCodecIds: {\n\t\tString: {\n\t\t\t\"db.String\": MONGO_STRING_CODEC_ID,\n\t\t\t\"db.ObjectId\": MONGO_OBJECTID_CODEC_ID\n\t\t},\n\t\tBoolean: { \"db.Bool\": MONGO_BOOLEAN_CODEC_ID },\n\t\tInt: {\n\t\t\t\"db.Int\": MONGO_INT32_CODEC_ID,\n\t\t\t\"db.Long\": MONGO_INT64_NUMBER_CODEC_ID\n\t\t},\n\t\tBigInt: { \"db.Long\": MONGO_INT64_CODEC_ID },\n\t\tFloat: { \"db.Double\": MONGO_DOUBLE_CODEC_ID },\n\t\tDateTime: { \"db.Date\": MONGO_DATE_CODEC_ID },\n\t\tBytes: {\n\t\t\t\"db.BinData\": MONGO_BINARY_CODEC_ID,\n\t\t\t\"db.ObjectId\": MONGO_OBJECTID_CODEC_ID\n\t\t},\n\t\tJson: { \"db.Json\": MONGO_JSON_CODEC_ID }\n\t},\n\tobjectIdCodecId: MONGO_OBJECTID_CODEC_ID\n};\n//#endregion\nexport { prisma6MongoBinding };\n\n//# sourceMappingURL=prisma6-binding.mjs.map"],"mappings":";;;;;;AAKA,MAAM,sBAAsB;CAC3B,QAAQ;CACR,WAAW,CAAC,SAAS;CACrB,gBAAgB;EACf,QAAQ;EACR,KAAK;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,QAAQ;EACR,SAAS;EACT,OAAO;EACP,MAAM;CACP;CACA,oBAAoB;EACnB,QAAQ;GACP,aAAa;GACb,eAAe;EAChB;EACA,SAAS,EAAE,WAAW,uBAAuB;EAC7C,KAAK;GACJ,UAAU;GACV,WAAW;EACZ;EACA,QAAQ,EAAE,WAAW,qBAAqB;EAC1C,OAAO,EAAE,aAAa,sBAAsB;EAC5C,UAAU,EAAE,WAAW,oBAAoB;EAC3C,OAAO;GACN,cAAc;GACd,eAAe;EAChB;EACA,MAAM,EAAE,WAAW,oBAAoB;CACxC;CACA,iBAAiB;AAClB"}
1
+ {"version":3,"file":"prisma6-binding-BXi_1e8c.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/prisma6-binding.mjs"],"sourcesContent":["import { _ as MONGO_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, p as MONGO_INT64_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID } from \"./codec-ids-DZQsuh80.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-J4eVdBtZ.mjs\";\n/**\n* What the Mongo target supplies to the Prisma 6 schema reader: the datasource provider it reads, the codec each Prisma 6 scalar and native type maps to, the codec an `@id` must have, and the generator `now()` and `@updatedAt` lower to. Each codec is the one for the BSON type Prisma 6 stores (ADR 257), with the application type the Prisma 6 client presents: a plain `Int` is a BSON long read as a `number`.\n*/\nconst prisma6MongoBinding = {\n\ttarget: mongoTargetDescriptorMetaRuntime,\n\tproviders: [\"mongodb\"],\n\tscalarCodecIds: {\n\t\tString: MONGO_STRING_CODEC_ID,\n\t\tInt: MONGO_INT64_NUMBER_CODEC_ID,\n\t\tFloat: MONGO_DOUBLE_CODEC_ID,\n\t\tBoolean: MONGO_BOOLEAN_CODEC_ID,\n\t\tDateTime: MONGO_DATE_CODEC_ID,\n\t\tBigInt: MONGO_INT64_CODEC_ID,\n\t\tDecimal: MONGO_DECIMAL128_CODEC_ID,\n\t\tBytes: MONGO_BINARY_CODEC_ID,\n\t\tJson: MONGO_JSON_CODEC_ID\n\t},\n\tnativeTypeCodecIds: {\n\t\tString: {\n\t\t\t\"db.String\": MONGO_STRING_CODEC_ID,\n\t\t\t\"db.ObjectId\": MONGO_OBJECTID_CODEC_ID\n\t\t},\n\t\tBoolean: { \"db.Bool\": MONGO_BOOLEAN_CODEC_ID },\n\t\tInt: {\n\t\t\t\"db.Int\": MONGO_INT32_CODEC_ID,\n\t\t\t\"db.Long\": MONGO_INT64_NUMBER_CODEC_ID\n\t\t},\n\t\tBigInt: { \"db.Long\": MONGO_INT64_CODEC_ID },\n\t\tFloat: { \"db.Double\": MONGO_DOUBLE_CODEC_ID },\n\t\tDateTime: { \"db.Date\": MONGO_DATE_CODEC_ID },\n\t\tBytes: {\n\t\t\t\"db.BinData\": MONGO_BINARY_CODEC_ID,\n\t\t\t\"db.ObjectId\": MONGO_OBJECTID_CODEC_ID\n\t\t},\n\t\tJson: { \"db.Json\": MONGO_JSON_CODEC_ID }\n\t},\n\tobjectIdCodecId: MONGO_OBJECTID_CODEC_ID\n};\n//#endregion\nexport { prisma6MongoBinding };\n\n//# sourceMappingURL=prisma6-binding.mjs.map"],"mappings":";;;;;;AAKA,MAAM,sBAAsB;CAC3B,QAAQ;CACR,WAAW,CAAC,SAAS;CACrB,gBAAgB;EACf,QAAQ;EACR,KAAK;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,QAAQ;EACR,SAAS;EACT,OAAO;EACP,MAAM;CACP;CACA,oBAAoB;EACnB,QAAQ;GACP,aAAa;GACb,eAAe;EAChB;EACA,SAAS,EAAE,WAAW,uBAAuB;EAC7C,KAAK;GACJ,UAAU;GACV,WAAW;EACZ;EACA,QAAQ,EAAE,WAAW,qBAAqB;EAC1C,OAAO,EAAE,aAAa,sBAAsB;EAC5C,UAAU,EAAE,WAAW,oBAAoB;EAC3C,OAAO;GACN,cAAc;GACd,eAAe;EAChB;EACA,MAAM,EAAE,WAAW,oBAAoB;CACxC;CACA,iBAAiB;AAClB"}
@@ -1,4 +1,4 @@
1
- import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-CBJIjp5R-DMQ9-3Hd.mjs";
1
+ import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-J4eVdBtZ-D1yRng4t.mjs";
2
2
  //#region ../../../3-targets/mongo/1-target/dist/runtime.mjs
3
3
  /**
4
4
  * Target-mongo deliberately does NOT import `MongoRuntimeTargetDescriptor` from `@internal/mongo-runtime`. The target package is a control-plane residence and must not pull the Mongo execution-plane package into its dependency closure. The target's codecs are its codec descriptors in `types.codecTypes.codecDescriptors`, from its descriptor metadata.
@@ -15,4 +15,4 @@ const mongoRuntimeTargetDescriptor = {
15
15
  //#endregion
16
16
  export { mongoRuntimeTargetDescriptor as t };
17
17
 
18
- //# sourceMappingURL=runtime-DyWNR1FZ.mjs.map
18
+ //# sourceMappingURL=runtime-CkX-HAf5.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime-DyWNR1FZ.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/runtime.mjs"],"sourcesContent":["import { n as mongoNowGenerators } from \"./date-time-now-generators-fWUk_--7.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-CBJIjp5R.mjs\";\n//#region src/exports/runtime.ts\n/**\n* Target-mongo deliberately does NOT import `MongoRuntimeTargetDescriptor` from `@internal/mongo-runtime`. The target package is a control-plane residence and must not pull the Mongo execution-plane package into its dependency closure. The target's codecs are its codec descriptors in `types.codecTypes.codecDescriptors`, from its descriptor metadata.\n*/\nconst mongoRuntimeTargetDescriptor = {\n\t...mongoTargetDescriptorMetaRuntime,\n\tcreate() {\n\t\treturn {\n\t\t\tfamilyId: \"mongo\",\n\t\t\ttargetId: \"mongo\"\n\t\t};\n\t}\n};\n//#endregion\nexport { mongoRuntimeTargetDescriptor as default, mongoNowGenerators };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;AAMA,MAAM,+BAA+B;CACpC,GAAG;CACH,SAAS;EACR,OAAO;GACN,UAAU;GACV,UAAU;EACX;CACD;AACD"}
1
+ {"version":3,"file":"runtime-CkX-HAf5.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/runtime.mjs"],"sourcesContent":["import { n as mongoNowGenerators } from \"./date-time-now-generators-Dhq1b2V8.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-J4eVdBtZ.mjs\";\n//#region src/exports/runtime.ts\n/**\n* Target-mongo deliberately does NOT import `MongoRuntimeTargetDescriptor` from `@internal/mongo-runtime`. The target package is a control-plane residence and must not pull the Mongo execution-plane package into its dependency closure. The target's codecs are its codec descriptors in `types.codecTypes.codecDescriptors`, from its descriptor metadata.\n*/\nconst mongoRuntimeTargetDescriptor = {\n\t...mongoTargetDescriptorMetaRuntime,\n\tcreate() {\n\t\treturn {\n\t\t\tfamilyId: \"mongo\",\n\t\t\ttargetId: \"mongo\"\n\t\t};\n\t}\n};\n//#endregion\nexport { mongoRuntimeTargetDescriptor as default, mongoNowGenerators };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;AAMA,MAAM,+BAA+B;CACpC,GAAG;CACH,SAAS;EACR,OAAO;GACN,UAAU;GACV,UAAU;EACX;CACD;AACD"}
package/dist/target.d.mts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { _ as MONGO_STRING_CODEC_ID, a as MONGO_DATE_INSTANT_CODEC_ID, b as MONGO_VECTOR_CODEC_ID, c as MONGO_DATE_TEMPORAL_CODEC_ID, d as MONGO_DURATION_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DATE_INSTANT_STRING_CODEC_ID, p as MONGO_INT64_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_DATE_STRING_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID, v as MONGO_TIME_STRING_CODEC_ID, y as MONGO_TIME_TEMPORAL_CODEC_ID } from "./codec-ids-B8WIyai-.mjs";
2
2
  import { a as ParameterizedOutputTypesForTypeParams, i as CodecTypes, n as BsonScalar, o as Vector, r as BsonValue, t as BsonInputValue } from "./codec-types-C6UDhw7l.mjs";
3
3
  import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-Bkkn7nm4.mjs";
4
- import { a as DropCollectionCall, c as OpFactoryCall$1, d as UnsetFieldCall, f as schemaCollectionToCreateCollectionOptions, i as CreateIndexCall, l as RenameCollectionCall, n as CollModMeta, o as DropIndexCall, p as schemaIndexToCreateIndexOptions, r as CreateCollectionCall, s as IndexCallOptions, t as CollModCall, u as RenameFieldCall } from "./op-factory-call-DzQ_ZxeZ-CukKyuhZ.mjs";
5
- import { _ as deserializeMongoOps, a as MongoMigrationRunnerExecuteOptions, b as renderOps, c as MongoTargetContract, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as deserializeMongoOp, h as RenderMigrationMeta, i as MongoMigrationRunnerErrorCode, l as MongoTargetContractSerializer, m as PlannerProducedMongoMigration, n as MongoMigrationPlanner, o as MongoMigrationRunnerFailure, p as PlanCallsResult, r as MongoMigrationRunner, s as MongoMigrationRunnerResult, t as FilterEvaluator, u as MongoTargetDatabase, v as mongoTargetDescriptor, x as serializeMongoOps, y as renderCallsToTypeScript } from "./control-1-RnMe4V.mjs";
4
+ import { A as unsetField, C as rawAggregate, D as schemaCollectionToCreateCollectionOptions, E as renameField, O as schemaIndexToCreateIndexOptions, S as fillField, T as renameCollection, _ as createCollection, a as CreateIndexCall, b as dropCollection, c as DropIndexCall, d as OpFactoryCall$1, f as RenameCollectionCall, g as collMod, h as castField, i as CreateCollectionCall, j as validatedCollection, k as setValidation, m as UnsetFieldCall, n as CollModCall, p as RenameFieldCall, r as CollModMeta, s as DropCollectionCall, u as IndexCallOptions, v as createIndex, w as rawUpdateMany, x as dropIndex, y as dataTransform } from "./op-factory-call-BCgwbVJe-DhcJRxAb.mjs";
5
+ import { _ as deserializeMongoOps, a as MongoMigrationRunnerExecuteOptions, b as renderOps, c as MongoTargetContract, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as deserializeMongoOp, h as RenderMigrationMeta, i as MongoMigrationRunnerErrorCode, l as MongoTargetContractSerializer, m as PlannerProducedMongoMigration, n as MongoMigrationPlanner, o as MongoMigrationRunnerFailure, p as PlanCallsResult, r as MongoMigrationRunner, s as MongoMigrationRunnerResult, t as FilterEvaluator, u as MongoTargetDatabase, v as mongoTargetDescriptor, x as serializeMongoOps, y as renderCallsToTypeScript } from "./control-OiC131Dv.mjs";
6
6
  import { S as mongoVectorParams, _ as mongoString, a as mongoCalendarDateText, b as mongoTimeText, c as mongoDecimal128, d as mongoDurationText, f as mongoInstantText, g as mongoObjectId, h as mongoJson, i as mongoCalendarDate, l as mongoDouble, m as mongoInt64, n as mongoBool, o as mongoDataTypes, p as mongoInt32, r as mongoBson, s as mongoDate, t as mongoBinary, u as mongoDuration, v as mongoTextDataTypes, x as mongoVector, y as mongoTime } from "./data-types-ozSM4YdB.mjs";
7
- import { a as createIndex, c as dropIndex, d as renameField, f as setValidation, i as createCollection, l as placeholder, m as validatedCollection, n as MigrationCLI, o as dataTransform, p as unsetField, r as collMod, s as dropCollection, t as Migration, u as renameCollection } from "./migration-BMUh33vn.mjs";
7
+ import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-DASk9QNA.mjs";
8
8
  import "./pack-FzGKNW0Q.mjs";
9
9
  import { t as prisma6MongoBinding } from "./prisma6-binding-DhnqslLT.mjs";
10
10
  import { n as mongoNowGenerators, t as MongoRuntimeTargetInstance } from "./runtime-C-5ghims.mjs";
11
- export { type BsonInputValue, type BsonScalar, type BsonValue, CodecTypes, CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type IndexCallOptions, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerErrorCode, type MongoMigrationRunnerExecuteOptions, type MongoMigrationRunnerFailure, type MongoMigrationRunnerResult, MongoRuntimeTargetInstance, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, ParameterizedOutputTypesForTypeParams, type PlanCallsResult, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, type RenderMigrationMeta, UnsetFieldCall, Vector, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
11
+ export { type BsonInputValue, type BsonScalar, type BsonValue, CodecTypes, CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type IndexCallOptions, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerErrorCode, type MongoMigrationRunnerExecuteOptions, type MongoMigrationRunnerFailure, type MongoMigrationRunnerResult, MongoRuntimeTargetInstance, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, ParameterizedOutputTypesForTypeParams, type PlanCallsResult, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, type RenderMigrationMeta, UnsetFieldCall, Vector, castField, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, fillField, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, rawAggregate, rawUpdateMany, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
package/dist/target.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { _ as MONGO_STRING_CODEC_ID, a as MONGO_DATE_INSTANT_CODEC_ID, b as MONGO_VECTOR_CODEC_ID, c as MONGO_DATE_TEMPORAL_CODEC_ID, d as MONGO_DURATION_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DATE_INSTANT_STRING_CODEC_ID, p as MONGO_INT64_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_DATE_STRING_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID, v as MONGO_TIME_STRING_CODEC_ID, y as MONGO_TIME_TEMPORAL_CODEC_ID } from "./codec-ids-DZQsuh80-ywDzfnAg.mjs";
2
- import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-Cq1kg82y-Vk7z6rnW.mjs";
3
- import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-BbX2VMzN-Dm9db3Jz.mjs";
4
- import { n as mongoNowGenerators } from "./date-time-now-generators-fWUk_--7-BnCnC0d8.mjs";
5
- import { a as dropCollection, c as renameField, d as unsetField, f as validatedCollection, i as dataTransform, l as setValidation, n as createCollection, o as dropIndex, r as createIndex, s as renameCollection, t as collMod } from "./migration-factories-oLRWgLGz-B9fWm8Wc.mjs";
6
- import { C as schemaIndexToCreateIndexOptions, S as schemaCollectionToCreateCollectionOptions, _ as deserializeMongoOp, a as DropIndexCall, b as renderCallsToTypeScript, c as MongoMigrationRunner, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as UnsetFieldCall, h as RenameFieldCall, i as DropCollectionCall, l as MongoTargetContractSerializer, m as RenameCollectionCall, n as CreateCollectionCall, o as FilterEvaluator, p as PlannerProducedMongoMigration, r as CreateIndexCall, s as MongoMigrationPlanner, t as CollModCall, u as MongoTargetDatabase, v as deserializeMongoOps, w as serializeMongoOps, x as renderOps, y as mongoTargetDescriptor } from "./control-B77seMDK.mjs";
7
- import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-C-jfTsGU.mjs";
8
- import { t as prisma6MongoBinding } from "./prisma6-binding-BjKPGVql.mjs";
9
- export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, UnsetFieldCall, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
2
+ import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-B3SLjbqa-C1LmrfzH.mjs";
3
+ import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-Bl21z49D-Bj5erX9r.mjs";
4
+ import { n as mongoNowGenerators } from "./date-time-now-generators-Dhq1b2V8-TgMEfnbI.mjs";
5
+ import { _ as setValidation, a as createIndex, b as validatedCollection, d as fillField, g as renameField, h as renameCollection, i as createCollection, l as dropCollection, m as rawUpdateMany, o as dataTransform, p as rawAggregate, r as collMod, t as castField, u as dropIndex, y as unsetField } from "./migration-factories-C5ktmt8c-BP8k9SnZ.mjs";
6
+ import { C as schemaIndexToCreateIndexOptions, S as schemaCollectionToCreateCollectionOptions, _ as deserializeMongoOp, a as DropIndexCall, b as renderCallsToTypeScript, c as MongoMigrationRunner, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as UnsetFieldCall, h as RenameFieldCall, i as DropCollectionCall, l as MongoTargetContractSerializer, m as RenameCollectionCall, n as CreateCollectionCall, o as FilterEvaluator, p as PlannerProducedMongoMigration, r as CreateIndexCall, s as MongoMigrationPlanner, t as CollModCall, u as MongoTargetDatabase, v as deserializeMongoOps, w as serializeMongoOps, x as renderOps, y as mongoTargetDescriptor } from "./control-BxslS3_F.mjs";
7
+ import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-psmPNv10.mjs";
8
+ import { t as prisma6MongoBinding } from "./prisma6-binding-BXi_1e8c.mjs";
9
+ export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, UnsetFieldCall, castField, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, fillField, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, rawAggregate, rawUpdateMany, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
@@ -1,2 +1,2 @@
1
- import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-BbX2VMzN-Dm9db3Jz.mjs";
1
+ import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-Bl21z49D-Bj5erX9r.mjs";
2
2
  export { mongoCodecDescriptors, mongoDescriptorById };
@@ -1,3 +1,3 @@
1
- import { a as DropCollectionCall, c as OpFactoryCall$1, d as UnsetFieldCall, f as schemaCollectionToCreateCollectionOptions, i as CreateIndexCall, l as RenameCollectionCall, n as CollModMeta, o as DropIndexCall, p as schemaIndexToCreateIndexOptions, r as CreateCollectionCall, s as IndexCallOptions, t as CollModCall, u as RenameFieldCall } from "./op-factory-call-DzQ_ZxeZ-CukKyuhZ.mjs";
2
- import { _ as deserializeMongoOps, a as MongoMigrationRunnerExecuteOptions, b as renderOps, c as MongoTargetContract, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as deserializeMongoOp, h as RenderMigrationMeta, i as MongoMigrationRunnerErrorCode, l as MongoTargetContractSerializer, m as PlannerProducedMongoMigration, n as MongoMigrationPlanner, o as MongoMigrationRunnerFailure, p as PlanCallsResult, r as MongoMigrationRunner, s as MongoMigrationRunnerResult, t as FilterEvaluator, u as MongoTargetDatabase, v as mongoTargetDescriptor, x as serializeMongoOps, y as renderCallsToTypeScript } from "./control-1-RnMe4V.mjs";
1
+ import { D as schemaCollectionToCreateCollectionOptions, O as schemaIndexToCreateIndexOptions, a as CreateIndexCall, c as DropIndexCall, d as OpFactoryCall$1, f as RenameCollectionCall, i as CreateCollectionCall, m as UnsetFieldCall, n as CollModCall, p as RenameFieldCall, r as CollModMeta, s as DropCollectionCall, u as IndexCallOptions } from "./op-factory-call-BCgwbVJe-DhcJRxAb.mjs";
2
+ import { _ as deserializeMongoOps, a as MongoMigrationRunnerExecuteOptions, b as renderOps, c as MongoTargetContract, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as deserializeMongoOp, h as RenderMigrationMeta, i as MongoMigrationRunnerErrorCode, l as MongoTargetContractSerializer, m as PlannerProducedMongoMigration, n as MongoMigrationPlanner, o as MongoMigrationRunnerFailure, p as PlanCallsResult, r as MongoMigrationRunner, s as MongoMigrationRunnerResult, t as FilterEvaluator, u as MongoTargetDatabase, v as mongoTargetDescriptor, x as serializeMongoOps, y as renderCallsToTypeScript } from "./control-OiC131Dv.mjs";
3
3
  export { CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type IndexCallOptions, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerErrorCode, type MongoMigrationRunnerExecuteOptions, type MongoMigrationRunnerFailure, type MongoMigrationRunnerResult, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, type PlanCallsResult, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, type RenderMigrationMeta, UnsetFieldCall, deserializeMongoOp, deserializeMongoOps, mongoTargetDescriptor, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps };
@@ -1,2 +1,2 @@
1
- import { C as schemaIndexToCreateIndexOptions, S as schemaCollectionToCreateCollectionOptions, _ as deserializeMongoOp, a as DropIndexCall, b as renderCallsToTypeScript, c as MongoMigrationRunner, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as UnsetFieldCall, h as RenameFieldCall, i as DropCollectionCall, l as MongoTargetContractSerializer, m as RenameCollectionCall, n as CreateCollectionCall, o as FilterEvaluator, p as PlannerProducedMongoMigration, r as CreateIndexCall, s as MongoMigrationPlanner, t as CollModCall, u as MongoTargetDatabase, v as deserializeMongoOps, w as serializeMongoOps, x as renderOps, y as mongoTargetDescriptor } from "./control-B77seMDK.mjs";
1
+ import { C as schemaIndexToCreateIndexOptions, S as schemaCollectionToCreateCollectionOptions, _ as deserializeMongoOp, a as DropIndexCall, b as renderCallsToTypeScript, c as MongoMigrationRunner, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as UnsetFieldCall, h as RenameFieldCall, i as DropCollectionCall, l as MongoTargetContractSerializer, m as RenameCollectionCall, n as CreateCollectionCall, o as FilterEvaluator, p as PlannerProducedMongoMigration, r as CreateIndexCall, s as MongoMigrationPlanner, t as CollModCall, u as MongoTargetDatabase, v as deserializeMongoOps, w as serializeMongoOps, x as renderOps, y as mongoTargetDescriptor } from "./control-BxslS3_F.mjs";
2
2
  export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, UnsetFieldCall, deserializeMongoOp, deserializeMongoOps, mongoTargetDescriptor, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps };
@@ -1,2 +1,2 @@
1
- import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-Cq1kg82y-Vk7z6rnW.mjs";
1
+ import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-B3SLjbqa-C1LmrfzH.mjs";
2
2
  export { mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoDataTypes, mongoDate, mongoDecimal128, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoObjectId, mongoString, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams };
@@ -1,2 +1,3 @@
1
- import { a as createIndex, c as dropIndex, d as renameField, f as setValidation, i as createCollection, l as placeholder, m as validatedCollection, n as MigrationCLI, o as dataTransform, p as unsetField, r as collMod, s as dropCollection, t as Migration, u as renameCollection } from "./migration-BMUh33vn.mjs";
2
- export { Migration, MigrationCLI, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, placeholder, renameCollection, renameField, setValidation, unsetField, validatedCollection };
1
+ import { A as unsetField, C as rawAggregate, E as renameField, S as fillField, T as renameCollection, _ as createCollection, b as dropCollection, g as collMod, h as castField, j as validatedCollection, k as setValidation, v as createIndex, w as rawUpdateMany, x as dropIndex, y as dataTransform } from "./op-factory-call-BCgwbVJe-DhcJRxAb.mjs";
2
+ import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-DASk9QNA.mjs";
3
+ export { Migration, MigrationCLI, castField, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, fillField, placeholder, rawAggregate, rawUpdateMany, renameCollection, renameField, setValidation, unsetField, validatedCollection };
@@ -1,3 +1,3 @@
1
- import { a as dropCollection, c as renameField, d as unsetField, f as validatedCollection, i as dataTransform, l as setValidation, n as createCollection, o as dropIndex, r as createIndex, s as renameCollection, t as collMod } from "./migration-factories-oLRWgLGz-B9fWm8Wc.mjs";
2
- import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-C-jfTsGU.mjs";
3
- export { Migration, MigrationCLI, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, placeholder, renameCollection, renameField, setValidation, unsetField, validatedCollection };
1
+ import { _ as setValidation, a as createIndex, b as validatedCollection, d as fillField, g as renameField, h as renameCollection, i as createCollection, l as dropCollection, m as rawUpdateMany, o as dataTransform, p as rawAggregate, r as collMod, t as castField, u as dropIndex, y as unsetField } from "./migration-factories-C5ktmt8c-BP8k9SnZ.mjs";
2
+ import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-psmPNv10.mjs";
3
+ export { Migration, MigrationCLI, castField, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, fillField, placeholder, rawAggregate, rawUpdateMany, renameCollection, renameField, setValidation, unsetField, validatedCollection };
@@ -1,4 +1,4 @@
1
- import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-CFsOxO6g-Ca8valmZ.mjs";
1
+ import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-BXMz_uZd-B8WB2m7v.mjs";
2
2
  //#region ../../../3-targets/mongo/1-target/dist/pack.mjs
3
3
  const mongoTargetPack = mongoTargetDescriptorMeta;
4
4
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"target__pack.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/pack.mjs"],"sourcesContent":["import { t as mongoTargetDescriptorMeta } from \"./descriptor-meta-CFsOxO6g.mjs\";\n//#region src/exports/pack.ts\nconst mongoTargetPack = mongoTargetDescriptorMeta;\n//#endregion\nexport { mongoTargetPack as default };\n\n//# sourceMappingURL=pack.mjs.map"],"mappings":";;AAEA,MAAM,kBAAkB"}
1
+ {"version":3,"file":"target__pack.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/pack.mjs"],"sourcesContent":["import { t as mongoTargetDescriptorMeta } from \"./descriptor-meta-BXMz_uZd.mjs\";\n//#region src/exports/pack.ts\nconst mongoTargetPack = mongoTargetDescriptorMeta;\n//#endregion\nexport { mongoTargetPack as default };\n\n//# sourceMappingURL=pack.mjs.map"],"mappings":";;AAEA,MAAM,kBAAkB"}
@@ -1,2 +1,2 @@
1
- import { t as prisma6MongoBinding } from "./prisma6-binding-BjKPGVql.mjs";
1
+ import { t as prisma6MongoBinding } from "./prisma6-binding-BXi_1e8c.mjs";
2
2
  export { prisma6MongoBinding };
@@ -1,3 +1,3 @@
1
- import { n as mongoNowGenerators } from "./date-time-now-generators-fWUk_--7-BnCnC0d8.mjs";
2
- import { t as mongoRuntimeTargetDescriptor } from "./runtime-DyWNR1FZ.mjs";
1
+ import { n as mongoNowGenerators } from "./date-time-now-generators-Dhq1b2V8-TgMEfnbI.mjs";
2
+ import { t as mongoRuntimeTargetDescriptor } from "./runtime-CkX-HAf5.mjs";
3
3
  export { mongoRuntimeTargetDescriptor as default, mongoNowGenerators };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/orm-target-mongo",
3
- "version": "8.0.0-rc.23-dev.13",
3
+ "version": "8.0.0-rc.24-dev.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -9,20 +9,20 @@
9
9
  "dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@prisma/orm-family-mongo": "8.0.0-rc.23-dev.13",
13
- "@prisma/orm-framework": "8.0.0-rc.23-dev.13",
14
- "@prisma/orm-toolchain": "8.0.0-rc.23-dev.13",
12
+ "@prisma/orm-family-mongo": "8.0.0-rc.24-dev.1",
13
+ "@prisma/orm-framework": "8.0.0-rc.24-dev.1",
14
+ "@prisma/orm-toolchain": "8.0.0-rc.24-dev.1",
15
15
  "arktype": "^2.2.2",
16
16
  "bson": "^7.2.0",
17
17
  "temporal-spec": "1.0.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@internal/adapter-mongo": "8.0.0-rc.23-dev.13",
21
- "@internal/driver-mongo": "8.0.0-rc.23-dev.13",
22
- "@internal/target-mongo": "8.0.0-rc.23-dev.13",
23
- "@repo/test-utils": "8.0.0-rc.23-dev.13",
24
- "@repo/tsconfig": "8.0.0-rc.23-dev.13",
25
- "@repo/tsdown": "8.0.0-rc.23-dev.13",
20
+ "@internal/adapter-mongo": "8.0.0-rc.24-dev.1",
21
+ "@internal/driver-mongo": "8.0.0-rc.24-dev.1",
22
+ "@internal/target-mongo": "8.0.0-rc.24-dev.1",
23
+ "@repo/test-utils": "8.0.0-rc.24-dev.1",
24
+ "@repo/tsconfig": "8.0.0-rc.24-dev.1",
25
+ "@repo/tsdown": "8.0.0-rc.24-dev.1",
26
26
  "tsdown": "0.22.14",
27
27
  "typescript": "5.9.3",
28
28
  "vitest": "5.0.0-rc.2"
@@ -1 +0,0 @@
1
- {"version":3,"file":"control-1-RnMe4V.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,iBAAiB,KAAK;EACvC,MAAM,MAAM;EACZ,IAAI,MAAM;EACV,GAAG,MAAM;EACT,IAAI,MAAM;EACV,OAAO,MAAM;EACb,KAAK,OAAO;;;;iBAIG,mBAAmB,gBAAgB;iBACnC,oBAAoB,2BAA2B;iBAC/C,kBAAkB,cAAc;;;;;;;;UAQvC;WACC,QAAQ;;WAER,4BAA4B;;WAE5B,oBAAoB,kBAAkB;;;;KAI5C;WACM;WACA,OAAO;;WAEP,mBAAmB;;WAEnB;WACA,WAAW;;cAER,iCAAiC;EAC7C,UAAU;aACC;aACA;aACA,QAAQ;aACR,qBAAqB,cAAc;;aAEnC,cAAc;;aAEd,iBAAiB;MACxB;EACJ,KAAK;aACM;aACA;aACA,QAAQ;;aAER,cAAc;;aAEd,QAAQ;;aAER,qBAAqB;aACrB,qBAAqB,cAAc;;;;;;aAMnC;MACP;;;;;;;;;;EAUJ,eAAe,SAAS,2BAA2B;;;;;KAKhD;;;UAGK;WACC,MAAM;WACN,qBAAqB;WACrB,QAAQ;WACR;IACP,kBAAkB,IAAI;IACtB,qBAAqB,IAAI;;WAElB,kBAAkB;WAClB,qBAAqB,cAAc;WACnC;WACA,UAAU;;;;;;;;;;;WAWV,qBAAqB,QAAQ,+BAA+B;;WAE5D,yBAAyB;;WAEzB;;;UAGD,oCAAoC;WACnC,MAAM;;;UAGP,+BAA+B;WAC9B;;KAEN,6BAA6B,OAAO,wBAAwB;cACnD;mBACK;EACjB,YAAY,MAAM;EAClB,QAAQ,SAAS,qCAAqC,QAAQ;;UAEtD;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;;;;;;;;;;;;;;;;;;;;;;;;cAyBI,kCAAkC,wBAAwB,qBAAqB;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,uBAAuB;EAC3B,YAAY;EACZ,iBAAiB,wBAAwB;;;;iBAI1B,UAAU,OAAO,cAAc,mBAAiB;;;UAGvD;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"}