@prisma/orm-target-mongo 8.0.0-rc.24-dev.19 → 8.0.0-rc.24-dev.21
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.mjs +1 -1
- package/dist/adapter__control.mjs +1 -1
- package/dist/adapter__runtime.mjs +2 -2
- package/dist/{codecs-DB6ji3ee-BzMiSM6G.mjs → codecs-BxTQKKXN-p2W9ISNn.mjs} +8 -8
- package/dist/codecs-BxTQKKXN-p2W9ISNn.mjs.map +1 -0
- package/dist/{control-T6_KD8TS.mjs → control-DlVnDD6C.mjs} +2 -2
- package/dist/{control-T6_KD8TS.mjs.map → control-DlVnDD6C.mjs.map} +1 -1
- package/dist/{control-ADZk3Q1S.mjs → control-HkDN7RLR.mjs} +2 -2
- package/dist/{control-ADZk3Q1S.mjs.map → control-HkDN7RLR.mjs.map} +1 -1
- package/dist/{date-time-now-generators-CMBWOjGk-Dux-x9uO.mjs → date-time-now-generators-CGx9UUde-Bf7961yv.mjs} +3 -3
- package/dist/{date-time-now-generators-CMBWOjGk-Dux-x9uO.mjs.map → date-time-now-generators-CGx9UUde-Bf7961yv.mjs.map} +1 -1
- package/dist/{descriptor-meta-QyKsSxUQ-Cl1ZCbq3.mjs → descriptor-meta-BWjqdX8D-BAnaqzWL.mjs} +132 -46
- package/dist/descriptor-meta-BWjqdX8D-BAnaqzWL.mjs.map +1 -0
- package/dist/{descriptor-meta-runtime-D1jWMDgB-Cazw1WYy.mjs → descriptor-meta-runtime-lnkLN7r9-Qb8szw6W.mjs} +3 -3
- package/dist/{descriptor-meta-runtime-D1jWMDgB-Cazw1WYy.mjs.map → descriptor-meta-runtime-lnkLN7r9-Qb8szw6W.mjs.map} +1 -1
- 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/{mongo-adapter-DemWVyNv-B3xRFRas.mjs → mongo-adapter-DemWVyNv-ClNih50Z.mjs} +2 -2
- package/dist/{mongo-adapter-DemWVyNv-B3xRFRas.mjs.map → mongo-adapter-DemWVyNv-ClNih50Z.mjs.map} +1 -1
- package/dist/{mongo-driver-BPOw33BO-D0FGYcOj.mjs → mongo-driver-DmG_2J4M-BXkmKFr-.mjs} +3 -3
- package/dist/{mongo-driver-BPOw33BO-D0FGYcOj.mjs.map → mongo-driver-DmG_2J4M-BXkmKFr-.mjs.map} +1 -1
- package/dist/{pack-FzGKNW0Q.d.mts → pack-DkfgvLLC.d.mts} +323 -65
- package/dist/pack-DkfgvLLC.d.mts.map +1 -0
- package/dist/{prisma6-binding-BwMMxDjX.mjs → prisma6-binding-DRtXGY85.mjs} +2 -2
- package/dist/{prisma6-binding-BwMMxDjX.mjs.map → prisma6-binding-DRtXGY85.mjs.map} +1 -1
- package/dist/{runtime-CK8zbCMW.mjs → runtime-BJGi8c9G.mjs} +2 -2
- package/dist/{runtime-CK8zbCMW.mjs.map → runtime-BJGi8c9G.mjs.map} +1 -1
- package/dist/target.d.mts +1 -1
- package/dist/target.mjs +4 -4
- package/dist/target__codecs.mjs +1 -1
- package/dist/target__control.mjs +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.mjs +1 -1
- package/dist/target__runtime.mjs +2 -2
- package/package.json +10 -10
- package/dist/codecs-DB6ji3ee-BzMiSM6G.mjs.map +0 -1
- package/dist/descriptor-meta-QyKsSxUQ-Cl1ZCbq3.mjs.map +0 -1
- package/dist/pack-FzGKNW0Q.d.mts.map +0 -1
|
@@ -212,7 +212,166 @@ declare const mongoAuthoringTypes: {
|
|
|
212
212
|
readonly codecId: "mongo/duration-string@1";
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
|
+
readonly Int64: {
|
|
216
|
+
readonly documentation: "Deprecated: use Int64BigInt. A signed 64-bit integer read as a bigint, stored as BSON long.";
|
|
217
|
+
readonly deprecated: {
|
|
218
|
+
readonly replacement: "Int64BigInt";
|
|
219
|
+
};
|
|
220
|
+
readonly kind: "typeConstructor";
|
|
221
|
+
readonly output: {
|
|
222
|
+
readonly codecId: "mongo/int64@1";
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
readonly Int: {
|
|
226
|
+
readonly kind: "typeChoice";
|
|
227
|
+
readonly documentation: "An integer read as a JavaScript number, stored as BSON int, a 32-bit integer.";
|
|
228
|
+
readonly args: readonly [{
|
|
229
|
+
readonly kind: "option";
|
|
230
|
+
readonly name: "storage";
|
|
231
|
+
readonly values: readonly ["int"];
|
|
232
|
+
readonly default: "int";
|
|
233
|
+
readonly optional: true;
|
|
234
|
+
}];
|
|
235
|
+
readonly choices: readonly [{
|
|
236
|
+
readonly when: {
|
|
237
|
+
readonly storage: "int";
|
|
238
|
+
};
|
|
239
|
+
readonly type: "Int32";
|
|
240
|
+
}];
|
|
241
|
+
};
|
|
242
|
+
readonly BigInt: {
|
|
243
|
+
readonly kind: "typeChoice";
|
|
244
|
+
readonly documentation: "An integer that may exceed 32 bits, stored as BSON long, a 64-bit integer. `as` is what the application reads: bigint, or number within the safe integer range.";
|
|
245
|
+
readonly args: readonly [{
|
|
246
|
+
readonly kind: "option";
|
|
247
|
+
readonly name: "as";
|
|
248
|
+
readonly values: readonly ["bigint", "number"];
|
|
249
|
+
readonly default: "bigint";
|
|
250
|
+
readonly optional: true;
|
|
251
|
+
}, {
|
|
252
|
+
readonly kind: "option";
|
|
253
|
+
readonly name: "storage";
|
|
254
|
+
readonly values: readonly ["long"];
|
|
255
|
+
readonly default: "long";
|
|
256
|
+
readonly optional: true;
|
|
257
|
+
}];
|
|
258
|
+
readonly choices: readonly [{
|
|
259
|
+
readonly when: {
|
|
260
|
+
readonly as: "bigint";
|
|
261
|
+
readonly storage: "long";
|
|
262
|
+
};
|
|
263
|
+
readonly type: "Int64BigInt";
|
|
264
|
+
}, {
|
|
265
|
+
readonly when: {
|
|
266
|
+
readonly as: "number";
|
|
267
|
+
readonly storage: "long";
|
|
268
|
+
};
|
|
269
|
+
readonly type: "Int64Number";
|
|
270
|
+
}];
|
|
271
|
+
};
|
|
272
|
+
readonly Float: {
|
|
273
|
+
readonly kind: "typeChoice";
|
|
274
|
+
readonly documentation: "A floating-point number, stored as BSON double.";
|
|
275
|
+
readonly args: readonly [{
|
|
276
|
+
readonly kind: "option";
|
|
277
|
+
readonly name: "storage";
|
|
278
|
+
readonly values: readonly ["double"];
|
|
279
|
+
readonly default: "double";
|
|
280
|
+
readonly optional: true;
|
|
281
|
+
}];
|
|
282
|
+
readonly choices: readonly [{
|
|
283
|
+
readonly when: {
|
|
284
|
+
readonly storage: "double";
|
|
285
|
+
};
|
|
286
|
+
readonly type: "Double";
|
|
287
|
+
}];
|
|
288
|
+
};
|
|
289
|
+
readonly Decimal: {
|
|
290
|
+
readonly kind: "typeChoice";
|
|
291
|
+
readonly documentation: "An exact decimal number, read as decimal text such as \"12.50\", stored as BSON decimal.";
|
|
292
|
+
readonly args: readonly [{
|
|
293
|
+
readonly kind: "option";
|
|
294
|
+
readonly name: "storage";
|
|
295
|
+
readonly values: readonly ["decimal"];
|
|
296
|
+
readonly default: "decimal";
|
|
297
|
+
readonly optional: true;
|
|
298
|
+
}];
|
|
299
|
+
readonly choices: readonly [{
|
|
300
|
+
readonly when: {
|
|
301
|
+
readonly storage: "decimal";
|
|
302
|
+
};
|
|
303
|
+
readonly type: "Decimal128";
|
|
304
|
+
}];
|
|
305
|
+
};
|
|
306
|
+
readonly Boolean: {
|
|
307
|
+
readonly kind: "typeChoice";
|
|
308
|
+
readonly documentation: "A true or false value, stored as BSON bool.";
|
|
309
|
+
readonly args: readonly [{
|
|
310
|
+
readonly kind: "option";
|
|
311
|
+
readonly name: "storage";
|
|
312
|
+
readonly values: readonly ["bool"];
|
|
313
|
+
readonly default: "bool";
|
|
314
|
+
readonly optional: true;
|
|
315
|
+
}];
|
|
316
|
+
readonly choices: readonly [{
|
|
317
|
+
readonly when: {
|
|
318
|
+
readonly storage: "bool";
|
|
319
|
+
};
|
|
320
|
+
readonly type: "Bool";
|
|
321
|
+
}];
|
|
322
|
+
};
|
|
323
|
+
readonly Bytes: {
|
|
324
|
+
readonly kind: "typeChoice";
|
|
325
|
+
readonly documentation: "Binary data, read as a Uint8Array, stored as BSON binData.";
|
|
326
|
+
readonly args: readonly [{
|
|
327
|
+
readonly kind: "option";
|
|
328
|
+
readonly name: "storage";
|
|
329
|
+
readonly values: readonly ["binData"];
|
|
330
|
+
readonly default: "binData";
|
|
331
|
+
readonly optional: true;
|
|
332
|
+
}];
|
|
333
|
+
readonly choices: readonly [{
|
|
334
|
+
readonly when: {
|
|
335
|
+
readonly storage: "binData";
|
|
336
|
+
};
|
|
337
|
+
readonly type: "Binary";
|
|
338
|
+
}];
|
|
339
|
+
};
|
|
215
340
|
readonly String: {
|
|
341
|
+
readonly kind: "typeChoice";
|
|
342
|
+
readonly documentation: "Text, stored as BSON string.";
|
|
343
|
+
readonly args: readonly [{
|
|
344
|
+
readonly kind: "option";
|
|
345
|
+
readonly name: "storage";
|
|
346
|
+
readonly values: readonly ["string"];
|
|
347
|
+
readonly default: "string";
|
|
348
|
+
readonly optional: true;
|
|
349
|
+
}];
|
|
350
|
+
readonly choices: readonly [{
|
|
351
|
+
readonly when: {
|
|
352
|
+
readonly storage: "string";
|
|
353
|
+
};
|
|
354
|
+
readonly type: "BsonString";
|
|
355
|
+
}];
|
|
356
|
+
};
|
|
357
|
+
readonly Json: {
|
|
358
|
+
readonly kind: "typeChoice";
|
|
359
|
+
readonly documentation: "A JSON value. `storage` is bson: the value is stored as whichever BSON value fits it, an object, array, string, number, bool or null. It is not the Bson type, which takes any BSON value.";
|
|
360
|
+
readonly args: readonly [{
|
|
361
|
+
readonly kind: "option";
|
|
362
|
+
readonly name: "storage";
|
|
363
|
+
readonly values: readonly ["bson"];
|
|
364
|
+
readonly default: "bson";
|
|
365
|
+
readonly optional: true;
|
|
366
|
+
}];
|
|
367
|
+
readonly choices: readonly [{
|
|
368
|
+
readonly when: {
|
|
369
|
+
readonly storage: "bson";
|
|
370
|
+
};
|
|
371
|
+
readonly type: "PlainJson";
|
|
372
|
+
}];
|
|
373
|
+
};
|
|
374
|
+
readonly BsonString: {
|
|
216
375
|
readonly kind: "typeConstructor";
|
|
217
376
|
readonly documentation: "Text, stored as BSON string.";
|
|
218
377
|
readonly output: {
|
|
@@ -247,7 +406,7 @@ declare const mongoAuthoringTypes: {
|
|
|
247
406
|
readonly codecId: "mongo/double@1";
|
|
248
407
|
};
|
|
249
408
|
};
|
|
250
|
-
readonly
|
|
409
|
+
readonly Int64BigInt: {
|
|
251
410
|
readonly kind: "typeConstructor";
|
|
252
411
|
readonly documentation: "A signed 64-bit integer read as a bigint, stored as BSON long.";
|
|
253
412
|
readonly output: {
|
|
@@ -275,7 +434,7 @@ declare const mongoAuthoringTypes: {
|
|
|
275
434
|
readonly codecId: "mongo/binary@1";
|
|
276
435
|
};
|
|
277
436
|
};
|
|
278
|
-
readonly
|
|
437
|
+
readonly PlainJson: {
|
|
279
438
|
readonly kind: "typeConstructor";
|
|
280
439
|
readonly documentation: "A JSON value, stored as BSON object, array, string, double, int, long, bool or null; the collection validator admits only those types at the top level, and the codec refuses anything else at any depth.";
|
|
281
440
|
readonly output: {
|
|
@@ -308,36 +467,6 @@ declare const mongoAuthoringTypes: {
|
|
|
308
467
|
};
|
|
309
468
|
};
|
|
310
469
|
};
|
|
311
|
-
readonly Int: {
|
|
312
|
-
readonly kind: "typeConstructor";
|
|
313
|
-
readonly documentation: "Deprecated: use Int32. A signed 32-bit integer, stored as BSON int.";
|
|
314
|
-
readonly output: {
|
|
315
|
-
readonly codecId: "mongo/int32@1";
|
|
316
|
-
};
|
|
317
|
-
readonly deprecated: {
|
|
318
|
-
readonly replacement: "Int32";
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
readonly Float: {
|
|
322
|
-
readonly kind: "typeConstructor";
|
|
323
|
-
readonly documentation: "Deprecated: use Double. A double-precision floating-point number, stored as BSON double.";
|
|
324
|
-
readonly output: {
|
|
325
|
-
readonly codecId: "mongo/double@1";
|
|
326
|
-
};
|
|
327
|
-
readonly deprecated: {
|
|
328
|
-
readonly replacement: "Double";
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
readonly Boolean: {
|
|
332
|
-
readonly kind: "typeConstructor";
|
|
333
|
-
readonly documentation: "Deprecated: use Bool. A true or false value, stored as BSON bool.";
|
|
334
|
-
readonly output: {
|
|
335
|
-
readonly codecId: "mongo/bool@1";
|
|
336
|
-
};
|
|
337
|
-
readonly deprecated: {
|
|
338
|
-
readonly replacement: "Bool";
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
470
|
};
|
|
342
471
|
//#endregion
|
|
343
472
|
//#region src/core/descriptor-meta.d.ts
|
|
@@ -552,7 +681,166 @@ declare const mongoTargetDescriptorMetaBase: {
|
|
|
552
681
|
readonly codecId: "mongo/duration-string@1";
|
|
553
682
|
};
|
|
554
683
|
};
|
|
684
|
+
readonly Int64: {
|
|
685
|
+
readonly documentation: "Deprecated: use Int64BigInt. A signed 64-bit integer read as a bigint, stored as BSON long.";
|
|
686
|
+
readonly deprecated: {
|
|
687
|
+
readonly replacement: "Int64BigInt";
|
|
688
|
+
};
|
|
689
|
+
readonly kind: "typeConstructor";
|
|
690
|
+
readonly output: {
|
|
691
|
+
readonly codecId: "mongo/int64@1";
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
readonly Int: {
|
|
695
|
+
readonly kind: "typeChoice";
|
|
696
|
+
readonly documentation: "An integer read as a JavaScript number, stored as BSON int, a 32-bit integer.";
|
|
697
|
+
readonly args: readonly [{
|
|
698
|
+
readonly kind: "option";
|
|
699
|
+
readonly name: "storage";
|
|
700
|
+
readonly values: readonly ["int"];
|
|
701
|
+
readonly default: "int";
|
|
702
|
+
readonly optional: true;
|
|
703
|
+
}];
|
|
704
|
+
readonly choices: readonly [{
|
|
705
|
+
readonly when: {
|
|
706
|
+
readonly storage: "int";
|
|
707
|
+
};
|
|
708
|
+
readonly type: "Int32";
|
|
709
|
+
}];
|
|
710
|
+
};
|
|
711
|
+
readonly BigInt: {
|
|
712
|
+
readonly kind: "typeChoice";
|
|
713
|
+
readonly documentation: "An integer that may exceed 32 bits, stored as BSON long, a 64-bit integer. `as` is what the application reads: bigint, or number within the safe integer range.";
|
|
714
|
+
readonly args: readonly [{
|
|
715
|
+
readonly kind: "option";
|
|
716
|
+
readonly name: "as";
|
|
717
|
+
readonly values: readonly ["bigint", "number"];
|
|
718
|
+
readonly default: "bigint";
|
|
719
|
+
readonly optional: true;
|
|
720
|
+
}, {
|
|
721
|
+
readonly kind: "option";
|
|
722
|
+
readonly name: "storage";
|
|
723
|
+
readonly values: readonly ["long"];
|
|
724
|
+
readonly default: "long";
|
|
725
|
+
readonly optional: true;
|
|
726
|
+
}];
|
|
727
|
+
readonly choices: readonly [{
|
|
728
|
+
readonly when: {
|
|
729
|
+
readonly as: "bigint";
|
|
730
|
+
readonly storage: "long";
|
|
731
|
+
};
|
|
732
|
+
readonly type: "Int64BigInt";
|
|
733
|
+
}, {
|
|
734
|
+
readonly when: {
|
|
735
|
+
readonly as: "number";
|
|
736
|
+
readonly storage: "long";
|
|
737
|
+
};
|
|
738
|
+
readonly type: "Int64Number";
|
|
739
|
+
}];
|
|
740
|
+
};
|
|
741
|
+
readonly Float: {
|
|
742
|
+
readonly kind: "typeChoice";
|
|
743
|
+
readonly documentation: "A floating-point number, stored as BSON double.";
|
|
744
|
+
readonly args: readonly [{
|
|
745
|
+
readonly kind: "option";
|
|
746
|
+
readonly name: "storage";
|
|
747
|
+
readonly values: readonly ["double"];
|
|
748
|
+
readonly default: "double";
|
|
749
|
+
readonly optional: true;
|
|
750
|
+
}];
|
|
751
|
+
readonly choices: readonly [{
|
|
752
|
+
readonly when: {
|
|
753
|
+
readonly storage: "double";
|
|
754
|
+
};
|
|
755
|
+
readonly type: "Double";
|
|
756
|
+
}];
|
|
757
|
+
};
|
|
758
|
+
readonly Decimal: {
|
|
759
|
+
readonly kind: "typeChoice";
|
|
760
|
+
readonly documentation: "An exact decimal number, read as decimal text such as \"12.50\", stored as BSON decimal.";
|
|
761
|
+
readonly args: readonly [{
|
|
762
|
+
readonly kind: "option";
|
|
763
|
+
readonly name: "storage";
|
|
764
|
+
readonly values: readonly ["decimal"];
|
|
765
|
+
readonly default: "decimal";
|
|
766
|
+
readonly optional: true;
|
|
767
|
+
}];
|
|
768
|
+
readonly choices: readonly [{
|
|
769
|
+
readonly when: {
|
|
770
|
+
readonly storage: "decimal";
|
|
771
|
+
};
|
|
772
|
+
readonly type: "Decimal128";
|
|
773
|
+
}];
|
|
774
|
+
};
|
|
775
|
+
readonly Boolean: {
|
|
776
|
+
readonly kind: "typeChoice";
|
|
777
|
+
readonly documentation: "A true or false value, stored as BSON bool.";
|
|
778
|
+
readonly args: readonly [{
|
|
779
|
+
readonly kind: "option";
|
|
780
|
+
readonly name: "storage";
|
|
781
|
+
readonly values: readonly ["bool"];
|
|
782
|
+
readonly default: "bool";
|
|
783
|
+
readonly optional: true;
|
|
784
|
+
}];
|
|
785
|
+
readonly choices: readonly [{
|
|
786
|
+
readonly when: {
|
|
787
|
+
readonly storage: "bool";
|
|
788
|
+
};
|
|
789
|
+
readonly type: "Bool";
|
|
790
|
+
}];
|
|
791
|
+
};
|
|
792
|
+
readonly Bytes: {
|
|
793
|
+
readonly kind: "typeChoice";
|
|
794
|
+
readonly documentation: "Binary data, read as a Uint8Array, stored as BSON binData.";
|
|
795
|
+
readonly args: readonly [{
|
|
796
|
+
readonly kind: "option";
|
|
797
|
+
readonly name: "storage";
|
|
798
|
+
readonly values: readonly ["binData"];
|
|
799
|
+
readonly default: "binData";
|
|
800
|
+
readonly optional: true;
|
|
801
|
+
}];
|
|
802
|
+
readonly choices: readonly [{
|
|
803
|
+
readonly when: {
|
|
804
|
+
readonly storage: "binData";
|
|
805
|
+
};
|
|
806
|
+
readonly type: "Binary";
|
|
807
|
+
}];
|
|
808
|
+
};
|
|
555
809
|
readonly String: {
|
|
810
|
+
readonly kind: "typeChoice";
|
|
811
|
+
readonly documentation: "Text, stored as BSON string.";
|
|
812
|
+
readonly args: readonly [{
|
|
813
|
+
readonly kind: "option";
|
|
814
|
+
readonly name: "storage";
|
|
815
|
+
readonly values: readonly ["string"];
|
|
816
|
+
readonly default: "string";
|
|
817
|
+
readonly optional: true;
|
|
818
|
+
}];
|
|
819
|
+
readonly choices: readonly [{
|
|
820
|
+
readonly when: {
|
|
821
|
+
readonly storage: "string";
|
|
822
|
+
};
|
|
823
|
+
readonly type: "BsonString";
|
|
824
|
+
}];
|
|
825
|
+
};
|
|
826
|
+
readonly Json: {
|
|
827
|
+
readonly kind: "typeChoice";
|
|
828
|
+
readonly documentation: "A JSON value. `storage` is bson: the value is stored as whichever BSON value fits it, an object, array, string, number, bool or null. It is not the Bson type, which takes any BSON value.";
|
|
829
|
+
readonly args: readonly [{
|
|
830
|
+
readonly kind: "option";
|
|
831
|
+
readonly name: "storage";
|
|
832
|
+
readonly values: readonly ["bson"];
|
|
833
|
+
readonly default: "bson";
|
|
834
|
+
readonly optional: true;
|
|
835
|
+
}];
|
|
836
|
+
readonly choices: readonly [{
|
|
837
|
+
readonly when: {
|
|
838
|
+
readonly storage: "bson";
|
|
839
|
+
};
|
|
840
|
+
readonly type: "PlainJson";
|
|
841
|
+
}];
|
|
842
|
+
};
|
|
843
|
+
readonly BsonString: {
|
|
556
844
|
readonly kind: "typeConstructor";
|
|
557
845
|
readonly documentation: "Text, stored as BSON string.";
|
|
558
846
|
readonly output: {
|
|
@@ -587,7 +875,7 @@ declare const mongoTargetDescriptorMetaBase: {
|
|
|
587
875
|
readonly codecId: "mongo/double@1";
|
|
588
876
|
};
|
|
589
877
|
};
|
|
590
|
-
readonly
|
|
878
|
+
readonly Int64BigInt: {
|
|
591
879
|
readonly kind: "typeConstructor";
|
|
592
880
|
readonly documentation: "A signed 64-bit integer read as a bigint, stored as BSON long.";
|
|
593
881
|
readonly output: {
|
|
@@ -615,7 +903,7 @@ declare const mongoTargetDescriptorMetaBase: {
|
|
|
615
903
|
readonly codecId: "mongo/binary@1";
|
|
616
904
|
};
|
|
617
905
|
};
|
|
618
|
-
readonly
|
|
906
|
+
readonly PlainJson: {
|
|
619
907
|
readonly kind: "typeConstructor";
|
|
620
908
|
readonly documentation: "A JSON value, stored as BSON object, array, string, double, int, long, bool or null; the collection validator admits only those types at the top level, and the codec refuses anything else at any depth.";
|
|
621
909
|
readonly output: {
|
|
@@ -648,36 +936,6 @@ declare const mongoTargetDescriptorMetaBase: {
|
|
|
648
936
|
};
|
|
649
937
|
};
|
|
650
938
|
};
|
|
651
|
-
readonly Int: {
|
|
652
|
-
readonly kind: "typeConstructor";
|
|
653
|
-
readonly documentation: "Deprecated: use Int32. A signed 32-bit integer, stored as BSON int.";
|
|
654
|
-
readonly output: {
|
|
655
|
-
readonly codecId: "mongo/int32@1";
|
|
656
|
-
};
|
|
657
|
-
readonly deprecated: {
|
|
658
|
-
readonly replacement: "Int32";
|
|
659
|
-
};
|
|
660
|
-
};
|
|
661
|
-
readonly Float: {
|
|
662
|
-
readonly kind: "typeConstructor";
|
|
663
|
-
readonly documentation: "Deprecated: use Double. A double-precision floating-point number, stored as BSON double.";
|
|
664
|
-
readonly output: {
|
|
665
|
-
readonly codecId: "mongo/double@1";
|
|
666
|
-
};
|
|
667
|
-
readonly deprecated: {
|
|
668
|
-
readonly replacement: "Double";
|
|
669
|
-
};
|
|
670
|
-
};
|
|
671
|
-
readonly Boolean: {
|
|
672
|
-
readonly kind: "typeConstructor";
|
|
673
|
-
readonly documentation: "Deprecated: use Bool. A true or false value, stored as BSON bool.";
|
|
674
|
-
readonly output: {
|
|
675
|
-
readonly codecId: "mongo/bool@1";
|
|
676
|
-
};
|
|
677
|
-
readonly deprecated: {
|
|
678
|
-
readonly replacement: "Bool";
|
|
679
|
-
};
|
|
680
|
-
};
|
|
681
939
|
};
|
|
682
940
|
readonly dataTypes: Readonly<Record<string, import("@prisma/orm-framework/components/authoring").DataTypeAuthoringEntry>>;
|
|
683
941
|
readonly textDataTypes: readonly import("@prisma/orm-framework/components/codec").DataTypeId[];
|
|
@@ -750,4 +1008,4 @@ declare const mongoTargetPack: {
|
|
|
750
1008
|
};
|
|
751
1009
|
//#endregion
|
|
752
1010
|
export { mongoTargetPack as t };
|
|
753
|
-
//# sourceMappingURL=pack-
|
|
1011
|
+
//# sourceMappingURL=pack-DkfgvLLC.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pack-DkfgvLLC.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/pack.d.mts"],"mappings":";;;;;cAIc;WACH;aACE;eACE;eACA;eACA;iBACE;mBACE;;iBAEF;mBACE;mBACA;;;;aAIN;eACE;eACA;eACA;iBACE;mBACE;;iBAEF;mBACE;mBACA;;iBAEF;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;eAEA;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;iBACA;;eAEF;;eAEA;iBACE;iBACA;;eAEF;;eAEA;iBACE;iBACA;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;eAEA;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;iBACA;;eAEF;;eAEA;iBACE;iBACA;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;eAEA;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;iBACA;;eAEF;;eAEA;iBACE;iBACA;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;eAEA;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;iBACA;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;eACE;;aAEF;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;eAEA;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;iBACA;;eAEF;;eAEA;iBACE;iBACA;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;iBACE;;eAEF;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;;aAEF;eACE;eACA;iBACE;mBACE;mBACA;;;;;;;;cAQL;WACH;aACE;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;iBAEF;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;;aAMV,WAAW,SAAS,kEAAkE;aACtF,uEAAuE;;WAEzE;aACE,yBAAyB;aACzB;eACE;;MAET;;;WAGK;aACE;aACA;eACE;;aAEF,8DAA8D;;WAEhE;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE;WACnE;aACE;eACE,0EAA0E;;;WAG9E,eAAe;WACf,6BAA6B;;cAE1B,kCAAkC;WACrC,eAAe;WACf,6BAA6B;WAC7B;aACE;eACE;eACA;;;;;;cAMD;WACH;WACA;WACA;WACA;WACA;WACA,cAAc;WACd;WACA;aACE;eACE,kBAAkB,cAAc;;;WAGpC;aACE,aAAa;;WAEf,yBAAyB;WACzB,2BAA2B,0BAA0B;WACrD,eAAe;WACf,6BAA6B;WAC7B,8BAA8B"}
|
|
@@ -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-
|
|
2
|
+
import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-lnkLN7r9-Qb8szw6W.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-
|
|
45
|
+
//# sourceMappingURL=prisma6-binding-DRtXGY85.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prisma6-binding-
|
|
1
|
+
{"version":3,"file":"prisma6-binding-DRtXGY85.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-lnkLN7r9.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-
|
|
1
|
+
import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-lnkLN7r9-Qb8szw6W.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-
|
|
18
|
+
//# sourceMappingURL=runtime-BJGi8c9G.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-
|
|
1
|
+
{"version":3,"file":"runtime-BJGi8c9G.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/runtime.mjs"],"sourcesContent":["import { n as mongoNowGenerators } from \"./date-time-now-generators-CGx9UUde.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-lnkLN7r9.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
|
@@ -5,7 +5,7 @@ import { A as fillStoredKey, B as schemaIndexToCreateIndexOptions, C as createCo
|
|
|
5
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-Dc2P_CN-.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
7
|
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-D78n7EUy.mjs";
|
|
8
|
-
import "./pack-
|
|
8
|
+
import "./pack-DkfgvLLC.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
11
|
import { t as MONGO_MIN_SERVER_VERSION } from "./server-version-B8XXr7hf.mjs";
|
package/dist/target.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
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-BR7vssy0-CuNYIJHI.mjs";
|
|
3
|
-
import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-
|
|
4
|
-
import { n as mongoNowGenerators } from "./date-time-now-generators-
|
|
3
|
+
import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-BxTQKKXN-p2W9ISNn.mjs";
|
|
4
|
+
import { n as mongoNowGenerators } from "./date-time-now-generators-CGx9UUde-Bf7961yv.mjs";
|
|
5
5
|
import { C as renameCollection, D as setValidation, E as replaceStoredValue, M as validatedCollection, S as removeStoredValue, T as renameStoredKey, a as createIndex, b as rawUpdateMany, d as dropCollection, f as dropIndex, i as createCollection, j as unsetField, m as fillStoredKey, o as dataTransform, p as fillField, r as collMod, s as deleteDocuments, t as castField, w as renameField, x as removeStoredKey, y as rawAggregate } from "./migration-factories-RJZq8NhE-CigCh286.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-
|
|
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-HkDN7RLR.mjs";
|
|
7
7
|
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-psmPNv10.mjs";
|
|
8
|
-
import { t as prisma6MongoBinding } from "./prisma6-binding-
|
|
8
|
+
import { t as prisma6MongoBinding } from "./prisma6-binding-DRtXGY85.mjs";
|
|
9
9
|
import { t as MONGO_MIN_SERVER_VERSION } from "./server-version-DYZgW3HI.mjs";
|
|
10
10
|
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_MIN_SERVER_VERSION, 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, deleteDocuments, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, fillField, fillStoredKey, 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, removeStoredKey, removeStoredValue, renameCollection, renameField, renameStoredKey, renderCallsToTypeScript, renderOps, replaceStoredValue, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
|
package/dist/target__codecs.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-
|
|
1
|
+
import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-BxTQKKXN-p2W9ISNn.mjs";
|
|
2
2
|
export { mongoCodecDescriptors, mongoDescriptorById };
|
package/dist/target__control.mjs
CHANGED
|
@@ -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-
|
|
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-HkDN7RLR.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 };
|
package/dist/target__pack.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ParameterizedOutputTypesForTypeParams, i as CodecTypes, o as Vector } from "./codec-types-C6UDhw7l.mjs";
|
|
2
|
-
import { t as mongoTargetPack } from "./pack-
|
|
2
|
+
import { t as mongoTargetPack } from "./pack-DkfgvLLC.mjs";
|
|
3
3
|
export { type CodecTypes, type ParameterizedOutputTypesForTypeParams, type Vector, mongoTargetPack as default };
|
package/dist/target__pack.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-
|
|
1
|
+
import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-BWjqdX8D-BAnaqzWL.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-
|
|
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-BWjqdX8D.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-
|
|
1
|
+
import { t as prisma6MongoBinding } from "./prisma6-binding-DRtXGY85.mjs";
|
|
2
2
|
export { prisma6MongoBinding };
|
package/dist/target__runtime.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as mongoNowGenerators } from "./date-time-now-generators-
|
|
2
|
-
import { t as mongoRuntimeTargetDescriptor } from "./runtime-
|
|
1
|
+
import { n as mongoNowGenerators } from "./date-time-now-generators-CGx9UUde-Bf7961yv.mjs";
|
|
2
|
+
import { t as mongoRuntimeTargetDescriptor } from "./runtime-BJGi8c9G.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.24-dev.
|
|
3
|
+
"version": "8.0.0-rc.24-dev.21",
|
|
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.24-dev.
|
|
13
|
-
"@prisma/orm-framework": "8.0.0-rc.24-dev.
|
|
14
|
-
"@prisma/orm-toolchain": "8.0.0-rc.24-dev.
|
|
12
|
+
"@prisma/orm-family-mongo": "8.0.0-rc.24-dev.21",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.24-dev.21",
|
|
14
|
+
"@prisma/orm-toolchain": "8.0.0-rc.24-dev.21",
|
|
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.24-dev.
|
|
21
|
-
"@internal/driver-mongo": "8.0.0-rc.24-dev.
|
|
22
|
-
"@internal/target-mongo": "8.0.0-rc.24-dev.
|
|
23
|
-
"@repo/test-utils": "8.0.0-rc.24-dev.
|
|
24
|
-
"@repo/tsconfig": "8.0.0-rc.24-dev.
|
|
25
|
-
"@repo/tsdown": "8.0.0-rc.24-dev.
|
|
20
|
+
"@internal/adapter-mongo": "8.0.0-rc.24-dev.21",
|
|
21
|
+
"@internal/driver-mongo": "8.0.0-rc.24-dev.21",
|
|
22
|
+
"@internal/target-mongo": "8.0.0-rc.24-dev.21",
|
|
23
|
+
"@repo/test-utils": "8.0.0-rc.24-dev.21",
|
|
24
|
+
"@repo/tsconfig": "8.0.0-rc.24-dev.21",
|
|
25
|
+
"@repo/tsdown": "8.0.0-rc.24-dev.21",
|
|
26
26
|
"tsdown": "0.22.14",
|
|
27
27
|
"typescript": "5.9.3",
|
|
28
28
|
"vitest": "5.0.0-rc.2"
|