@prisma/orm-target-mongo 8.0.0-rc.2-dev.3 → 8.0.0-rc.20

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 (122) hide show
  1. package/README.md +1 -5
  2. package/dist/adapter.d.mts +2 -2
  3. package/dist/adapter.d.mts.map +1 -1
  4. package/dist/adapter.mjs +3 -3
  5. package/dist/adapter.mjs.map +1 -1
  6. package/dist/adapter__control.d.mts +204 -3
  7. package/dist/adapter__control.d.mts.map +1 -0
  8. package/dist/adapter__control.mjs +481 -3
  9. package/dist/adapter__control.mjs.map +1 -0
  10. package/dist/adapter__runtime.d.mts +3 -1
  11. package/dist/adapter__runtime.d.mts.map +1 -1
  12. package/dist/adapter__runtime.mjs +5 -3
  13. package/dist/adapter__runtime.mjs.map +1 -1
  14. package/dist/codec-ids-BKQbXhZt.d.mts +18 -0
  15. package/dist/codec-ids-BKQbXhZt.d.mts.map +1 -0
  16. package/dist/codec-ids-WdrumsYA-CZVjuKW8.mjs +18 -0
  17. package/dist/codec-ids-WdrumsYA-CZVjuKW8.mjs.map +1 -0
  18. package/dist/codec-types-oKxM85p-.d.mts +89 -0
  19. package/dist/codec-types-oKxM85p-.d.mts.map +1 -0
  20. package/dist/codecs-B1ab7vfj-QL33tkm2.mjs +392 -0
  21. package/dist/codecs-B1ab7vfj-QL33tkm2.mjs.map +1 -0
  22. package/dist/codecs-Y5GYsLPj.d.mts +36 -0
  23. package/dist/codecs-Y5GYsLPj.d.mts.map +1 -0
  24. package/dist/control-Cq6qWohQ.mjs +2421 -0
  25. package/dist/control-Cq6qWohQ.mjs.map +1 -0
  26. package/dist/{control-CxXmTy_h.d.mts → control-CrFS8bqh.d.mts} +133 -95
  27. package/dist/control-CrFS8bqh.d.mts.map +1 -0
  28. package/dist/data-types-LShlnAUM.d.mts +25 -0
  29. package/dist/data-types-LShlnAUM.d.mts.map +1 -0
  30. package/dist/data-types-hoKLBrYZ-h9cAgbOy.mjs +624 -0
  31. package/dist/data-types-hoKLBrYZ-h9cAgbOy.mjs.map +1 -0
  32. package/dist/descriptor-meta-DTj807jv-CjvK2XDD.mjs +146 -0
  33. package/dist/descriptor-meta-DTj807jv-CjvK2XDD.mjs.map +1 -0
  34. package/dist/descriptor-meta-runtime-BaRbjvD7-D0786_Lv.mjs +20 -0
  35. package/dist/descriptor-meta-runtime-BaRbjvD7-D0786_Lv.mjs.map +1 -0
  36. package/dist/driver.d.mts +1 -1
  37. package/dist/driver.mjs +1 -1
  38. package/dist/driver__control.d.mts +4 -3
  39. package/dist/driver__control.d.mts.map +1 -1
  40. package/dist/driver__control.mjs +5 -2
  41. package/dist/driver__control.mjs.map +1 -1
  42. package/dist/{migration-BkqcE2Uv.d.mts → migration-C4m4Uj8E.d.mts} +15 -7
  43. package/dist/migration-C4m4Uj8E.d.mts.map +1 -0
  44. package/dist/migration-factories-BqROEHRs-CfExMr9r.mjs +406 -0
  45. package/dist/migration-factories-BqROEHRs-CfExMr9r.mjs.map +1 -0
  46. package/dist/{mongo-adapter-B2HEyX0b-CQt2HH_o.mjs → mongo-adapter-Bo6ciURK-DIMJdC7y.mjs} +37 -18
  47. package/dist/mongo-adapter-Bo6ciURK-DIMJdC7y.mjs.map +1 -0
  48. package/dist/{mongo-adapter-CjJU3S9o-BIJruFYW.d.mts → mongo-adapter-wvK2fQOZ-FswLS-PJ.d.mts} +2 -2
  49. package/dist/mongo-adapter-wvK2fQOZ-FswLS-PJ.d.mts.map +1 -0
  50. package/dist/{mongo-driver-D1lEf5Kl-KPfGUVXK.d.mts → mongo-driver-CTyvKDUg-Bm9sBrfs.d.mts} +9 -4
  51. package/dist/mongo-driver-CTyvKDUg-Bm9sBrfs.d.mts.map +1 -0
  52. package/dist/{mongo-driver-Dk7mris6-CMTaUgPD.mjs → mongo-driver-Cu6FP6OU-DhOzFM2D.mjs} +34 -8
  53. package/dist/mongo-driver-Cu6FP6OU-DhOzFM2D.mjs.map +1 -0
  54. package/dist/mongo-target-errors-Btf3ML1w-QOtEG7EX.mjs +9 -0
  55. package/dist/mongo-target-errors-Btf3ML1w-QOtEG7EX.mjs.map +1 -0
  56. package/dist/{op-factory-call-B7EKa4Ri-B2Lb6W68.d.mts → op-factory-call-BoYr7vvM-CjA8nx36.d.mts} +43 -9
  57. package/dist/op-factory-call-BoYr7vvM-CjA8nx36.d.mts.map +1 -0
  58. package/dist/pack-CIfujQmd.d.mts +266 -0
  59. package/dist/pack-CIfujQmd.d.mts.map +1 -0
  60. package/dist/prisma6-binding-DhnqslLT.d.mts +54 -0
  61. package/dist/prisma6-binding-DhnqslLT.d.mts.map +1 -0
  62. package/dist/prisma6-binding-vt4tbT-Z.mjs +45 -0
  63. package/dist/prisma6-binding-vt4tbT-Z.mjs.map +1 -0
  64. package/dist/{runtime-B9_-kjBX.d.mts → runtime-DbFgyDql.d.mts} +2 -2
  65. package/dist/runtime-DbFgyDql.d.mts.map +1 -0
  66. package/dist/target.d.mts +11 -8
  67. package/dist/target.mjs +7 -3
  68. package/dist/target__codec-ids.d.mts +2 -0
  69. package/dist/target__codec-ids.mjs +2 -0
  70. package/dist/target__codec-types.d.mts +2 -2
  71. package/dist/target__codecs.d.mts +2 -0
  72. package/dist/target__codecs.mjs +2 -0
  73. package/dist/target__control.d.mts +3 -4
  74. package/dist/target__control.mjs +2 -2
  75. package/dist/target__data-types.d.mts +2 -0
  76. package/dist/target__data-types.mjs +2 -0
  77. package/dist/target__migration.d.mts +2 -2
  78. package/dist/target__migration.mjs +2 -2
  79. package/dist/target__pack.d.mts +3 -2
  80. package/dist/target__pack.mjs +2 -2
  81. package/dist/target__pack.mjs.map +1 -1
  82. package/dist/target__prisma6-binding.d.mts +2 -0
  83. package/dist/target__prisma6-binding.mjs +2 -0
  84. package/dist/target__runtime.d.mts +1 -1
  85. package/dist/target__runtime.mjs +3 -3
  86. package/dist/target__runtime.mjs.map +1 -1
  87. package/package.json +16 -15
  88. package/dist/adapter__codec-ids.d.mts +0 -12
  89. package/dist/adapter__codec-ids.d.mts.map +0 -1
  90. package/dist/adapter__codec-ids.mjs +0 -2
  91. package/dist/adapter__codec-types.d.mts +0 -38
  92. package/dist/adapter__codec-types.d.mts.map +0 -1
  93. package/dist/adapter__codec-types.mjs +0 -1
  94. package/dist/adapter__codecs.d.mts +0 -14
  95. package/dist/adapter__codecs.d.mts.map +0 -1
  96. package/dist/adapter__codecs.mjs +0 -2
  97. package/dist/codec-ids-BennPcpQ-Btzz3ILV.mjs +0 -12
  98. package/dist/codec-ids-BennPcpQ-Btzz3ILV.mjs.map +0 -1
  99. package/dist/codec-types-Bx2fHyq_.d.mts +0 -35
  100. package/dist/codec-types-Bx2fHyq_.d.mts.map +0 -1
  101. package/dist/codecs-DLWO-Cjc-CWfQj0bY.mjs +0 -170
  102. package/dist/codecs-DLWO-Cjc-CWfQj0bY.mjs.map +0 -1
  103. package/dist/control-CxXmTy_h.d.mts.map +0 -1
  104. package/dist/control-D2-m_BQJ.mjs +0 -1563
  105. package/dist/control-D2-m_BQJ.mjs.map +0 -1
  106. package/dist/control-DQD76x-1.mjs +0 -437
  107. package/dist/control-DQD76x-1.mjs.map +0 -1
  108. package/dist/control-rPM2HNxW.d.mts +0 -170
  109. package/dist/control-rPM2HNxW.d.mts.map +0 -1
  110. package/dist/descriptor-meta-CBiaTwe5-HX742pZh.mjs +0 -17
  111. package/dist/descriptor-meta-CBiaTwe5-HX742pZh.mjs.map +0 -1
  112. package/dist/migration-BkqcE2Uv.d.mts.map +0 -1
  113. package/dist/migration-factories-CCJFG_3e-75oJ8xn2.mjs +0 -201
  114. package/dist/migration-factories-CCJFG_3e-75oJ8xn2.mjs.map +0 -1
  115. package/dist/mongo-adapter-B2HEyX0b-CQt2HH_o.mjs.map +0 -1
  116. package/dist/mongo-adapter-CjJU3S9o-BIJruFYW.d.mts.map +0 -1
  117. package/dist/mongo-driver-D1lEf5Kl-KPfGUVXK.d.mts.map +0 -1
  118. package/dist/mongo-driver-Dk7mris6-CMTaUgPD.mjs.map +0 -1
  119. package/dist/op-factory-call-B7EKa4Ri-B2Lb6W68.d.mts.map +0 -1
  120. package/dist/pack-MK8ZQfrL.d.mts +0 -22
  121. package/dist/pack-MK8ZQfrL.d.mts.map +0 -1
  122. package/dist/runtime-B9_-kjBX.d.mts.map +0 -1
@@ -0,0 +1,266 @@
1
+ import { a as ParameterizedOutputTypesForTypeParams, i as CodecTypes } from "./codec-types-oKxM85p-.mjs";
2
+ import { AnyCodecDescriptor } from "@prisma/orm-framework/components/codec";
3
+ import { ControlMutationDefaults } from "@prisma/orm-framework/components/control";
4
+ //#region ../../../3-targets/mongo/1-target/dist/pack.d.mts
5
+ //#region src/core/authoring.d.ts
6
+ declare const mongoAuthoringFieldPresets: {
7
+ readonly temporal: {
8
+ readonly timestamp: {
9
+ readonly kind: "fieldPreset";
10
+ readonly args: readonly [{
11
+ readonly name: "onCreate";
12
+ readonly kind: "option";
13
+ readonly values: readonly ["now"];
14
+ readonly optional: true;
15
+ }, {
16
+ readonly name: "onUpdate";
17
+ readonly kind: "option";
18
+ readonly values: readonly ["now"];
19
+ readonly optional: true;
20
+ }];
21
+ readonly output: Omit<{
22
+ readonly codecId: "mongo/date@1";
23
+ } & {
24
+ readonly generatorId?: "timestampNow";
25
+ }, "generatorId"> & {
26
+ readonly executionDefaults: {
27
+ readonly onCreate: {
28
+ readonly kind: "select";
29
+ readonly index: 0;
30
+ readonly cases: {
31
+ readonly now: {
32
+ readonly kind: "generator";
33
+ readonly id: "timestampNow";
34
+ };
35
+ };
36
+ };
37
+ readonly onUpdate: {
38
+ readonly kind: "select";
39
+ readonly index: 1;
40
+ readonly cases: {
41
+ readonly now: {
42
+ readonly kind: "generator";
43
+ readonly id: "timestampNow";
44
+ };
45
+ };
46
+ };
47
+ };
48
+ };
49
+ };
50
+ readonly createdAt: {
51
+ readonly kind: "fieldPreset";
52
+ readonly output: Omit<{
53
+ readonly codecId: "mongo/date@1";
54
+ } & {
55
+ readonly generatorId?: "timestampNow";
56
+ }, "generatorId"> & {
57
+ readonly executionDefaults: {
58
+ readonly onCreate: {
59
+ readonly kind: "generator";
60
+ readonly id: "timestampNow";
61
+ };
62
+ };
63
+ };
64
+ };
65
+ readonly updatedAt: {
66
+ readonly kind: "fieldPreset";
67
+ readonly output: Omit<{
68
+ readonly codecId: "mongo/date@1";
69
+ } & {
70
+ readonly generatorId?: "timestampNow";
71
+ }, "generatorId"> & {
72
+ readonly executionDefaults: {
73
+ readonly onCreate: {
74
+ readonly kind: "generator";
75
+ readonly id: "timestampNow";
76
+ };
77
+ readonly onUpdate: {
78
+ readonly kind: "generator";
79
+ readonly id: "timestampNow";
80
+ };
81
+ };
82
+ };
83
+ };
84
+ };
85
+ };
86
+ //#endregion
87
+ //#region src/core/descriptor-meta.d.ts
88
+ declare const mongoTargetDescriptorMetaBase: {
89
+ readonly authoring: {
90
+ readonly type: {
91
+ readonly temporal: {
92
+ readonly CreatedAt: {
93
+ readonly kind: "typeAlias";
94
+ readonly documentation: `A timestamp the client sets to now when a row is created. Its value is ${string}.`;
95
+ readonly output: {
96
+ readonly type: {
97
+ readonly codecId: "mongo/date@1";
98
+ };
99
+ readonly onCreate: {
100
+ readonly name: "now";
101
+ readonly args: {};
102
+ };
103
+ };
104
+ };
105
+ readonly UpdatedAt: {
106
+ readonly kind: "typeAlias";
107
+ readonly documentation: `A timestamp the client sets to now when a row is created and every time it is updated. Its value is ${string}.`;
108
+ readonly output: {
109
+ readonly type: {
110
+ readonly codecId: "mongo/date@1";
111
+ };
112
+ readonly onCreate: {
113
+ readonly name: "now";
114
+ readonly args: {};
115
+ };
116
+ readonly onUpdate: {
117
+ readonly name: "now";
118
+ readonly args: {};
119
+ };
120
+ };
121
+ };
122
+ };
123
+ };
124
+ readonly field: {
125
+ readonly temporal: {
126
+ readonly timestamp: {
127
+ readonly kind: "fieldPreset";
128
+ readonly args: readonly [{
129
+ readonly name: "onCreate";
130
+ readonly kind: "option";
131
+ readonly values: readonly ["now"];
132
+ readonly optional: true;
133
+ }, {
134
+ readonly name: "onUpdate";
135
+ readonly kind: "option";
136
+ readonly values: readonly ["now"];
137
+ readonly optional: true;
138
+ }];
139
+ readonly output: Omit<{
140
+ readonly codecId: "mongo/date@1";
141
+ } & {
142
+ readonly generatorId?: "timestampNow";
143
+ }, "generatorId"> & {
144
+ readonly executionDefaults: {
145
+ readonly onCreate: {
146
+ readonly kind: "select";
147
+ readonly index: 0;
148
+ readonly cases: {
149
+ readonly now: {
150
+ readonly kind: "generator";
151
+ readonly id: "timestampNow";
152
+ };
153
+ };
154
+ };
155
+ readonly onUpdate: {
156
+ readonly kind: "select";
157
+ readonly index: 1;
158
+ readonly cases: {
159
+ readonly now: {
160
+ readonly kind: "generator";
161
+ readonly id: "timestampNow";
162
+ };
163
+ };
164
+ };
165
+ };
166
+ };
167
+ };
168
+ readonly createdAt: {
169
+ readonly kind: "fieldPreset";
170
+ readonly output: Omit<{
171
+ readonly codecId: "mongo/date@1";
172
+ } & {
173
+ readonly generatorId?: "timestampNow";
174
+ }, "generatorId"> & {
175
+ readonly executionDefaults: {
176
+ readonly onCreate: {
177
+ readonly kind: "generator";
178
+ readonly id: "timestampNow";
179
+ };
180
+ };
181
+ };
182
+ };
183
+ readonly updatedAt: {
184
+ readonly kind: "fieldPreset";
185
+ readonly output: Omit<{
186
+ readonly codecId: "mongo/date@1";
187
+ } & {
188
+ readonly generatorId?: "timestampNow";
189
+ }, "generatorId"> & {
190
+ readonly executionDefaults: {
191
+ readonly onCreate: {
192
+ readonly kind: "generator";
193
+ readonly id: "timestampNow";
194
+ };
195
+ readonly onUpdate: {
196
+ readonly kind: "generator";
197
+ readonly id: "timestampNow";
198
+ };
199
+ };
200
+ };
201
+ };
202
+ };
203
+ };
204
+ readonly dataTypes: Readonly<Record<string, import("@prisma/orm-framework/components/authoring").DataTypeAuthoringEntry>>;
205
+ readonly textDataTypes: readonly import("@prisma/orm-framework/components/codec").DataTypeId[];
206
+ };
207
+ readonly controlMutationDefaults: {
208
+ readonly defaultFunctionRegistry: Map<any, any>;
209
+ readonly generatorDescriptors: readonly [{
210
+ readonly id: "timestampNow";
211
+ }];
212
+ };
213
+ readonly generatorFunctions: readonly [{
214
+ readonly name: "now";
215
+ readonly signature: {
216
+ readonly documentation: "Writes the current time.";
217
+ };
218
+ readonly bindings: readonly [import("@prisma/orm-framework/components/components").GeneratorFunctionBinding];
219
+ }];
220
+ readonly kind: "target";
221
+ readonly familyId: "mongo";
222
+ readonly targetId: "mongo";
223
+ readonly id: "mongo";
224
+ readonly version: "0.0.1";
225
+ readonly capabilities: {};
226
+ readonly defaultNamespaceId: "__unbound__";
227
+ readonly supportsNamespaces: true;
228
+ readonly dataTypes: readonly import("@prisma/orm-framework/components/codec").DataType[];
229
+ readonly types: {
230
+ readonly codecTypes: {
231
+ readonly codecDescriptors: readonly import("@prisma/orm-framework/components/codec").CodecDescriptor<void>[];
232
+ };
233
+ };
234
+ readonly __codecTypes?: CodecTypes;
235
+ readonly __parameterizedOutputTypes?: ParameterizedOutputTypesForTypeParams;
236
+ };
237
+ declare const mongoTargetDescriptorMeta: typeof mongoTargetDescriptorMetaBase & {
238
+ readonly __codecTypes?: CodecTypes;
239
+ readonly __parameterizedOutputTypes?: ParameterizedOutputTypesForTypeParams;
240
+ };
241
+ //#endregion
242
+ //#region src/exports/pack.d.ts
243
+ declare const mongoTargetPack: {
244
+ readonly kind: 'target';
245
+ readonly familyId: 'mongo';
246
+ readonly targetId: 'mongo';
247
+ readonly id: 'mongo';
248
+ readonly version: '0.0.1';
249
+ readonly capabilities: Record<string, never>;
250
+ readonly defaultNamespaceId: '__unbound__';
251
+ readonly types: {
252
+ readonly codecTypes: {
253
+ readonly codecDescriptors: ReadonlyArray<AnyCodecDescriptor>;
254
+ };
255
+ };
256
+ readonly authoring: {
257
+ readonly field: typeof mongoAuthoringFieldPresets;
258
+ };
259
+ readonly controlMutationDefaults: ControlMutationDefaults;
260
+ readonly generatorFunctions: typeof mongoTargetDescriptorMeta.generatorFunctions;
261
+ readonly __codecTypes?: CodecTypes;
262
+ readonly __parameterizedOutputTypes?: ParameterizedOutputTypesForTypeParams;
263
+ };
264
+ //#endregion
265
+ export { mongoTargetPack as t };
266
+ //# sourceMappingURL=pack-CIfujQmd.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pack-CIfujQmd.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/pack.d.mts"],"mappings":";;;;;cAIc;WACH;aACE;eACE;eACA;iBACE;iBACA;iBACA;iBACA;;iBAEA;iBACA;iBACA;iBACA;;eAEF,QAAQ;iBACN;;iBAEA;;iBAEA;mBACE;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;;;;;;;aAOZ;eACE;eACA,QAAQ;iBACN;;iBAEA;;iBAEA;mBACE;qBACE;qBACA;;;;;aAKR;eACE;eACA,QAAQ;iBACN;;iBAEA;;iBAEA;mBACE;qBACE;qBACA;;mBAEF;qBACE;qBACA;;;;;;;;;cASP;WACH;aACE;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;;;aAMV;eACE;iBACE;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF,QAAQ;qBACN;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA,QAAQ;qBACN;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA,QAAQ;qBACN;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;;;;aAOZ,WAAW,SAAS,kEAAkE;aACtF,uEAAuE;;WAEzE;aACE,yBAAyB;aACzB;eACE;;;WAGJ;aACE;aACA;eACE;;aAEF,wEAAwE;;WAE1E;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE;WACnE;aACE;eACE,0EAA0E;;;WAG9E,eAAe;WACf,6BAA6B;;cAE1B,kCAAkC;WACrC,eAAe;WACf,6BAA6B;;;;cAI1B;WACH;WACA;WACA;WACA;WACA;WACA,cAAc;WACd;WACA;aACE;eACE,kBAAkB,cAAc;;;WAGpC;aACE,cAAc;;WAEhB,yBAAyB;WACzB,2BAA2B,0BAA0B;WACrD,eAAe;WACf,6BAA6B"}
@@ -0,0 +1,54 @@
1
+ import { TargetPackRef } from "@prisma/orm-framework/components/components";
2
+ //#region ../../../3-targets/mongo/1-target/dist/prisma6-binding.d.mts
3
+ //#region src/core/prisma6-binding.d.ts
4
+ /**
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`.
6
+ */
7
+ declare const prisma6MongoBinding: {
8
+ readonly target: TargetPackRef<"mongo", "mongo">;
9
+ readonly providers: readonly ["mongodb"];
10
+ readonly scalarCodecIds: {
11
+ readonly String: "mongo/string@1";
12
+ readonly Int: "mongo/int64Number@1";
13
+ readonly Float: "mongo/double@1";
14
+ readonly Boolean: "mongo/bool@1";
15
+ readonly DateTime: "mongo/date@1";
16
+ readonly BigInt: "mongo/int64@1";
17
+ readonly Decimal: "mongo/decimal128@1";
18
+ readonly Bytes: "mongo/binary@1";
19
+ readonly Json: "mongo/json@1";
20
+ };
21
+ readonly nativeTypeCodecIds: {
22
+ readonly String: {
23
+ readonly 'db.String': "mongo/string@1";
24
+ readonly 'db.ObjectId': "mongo/objectId@1";
25
+ };
26
+ readonly Boolean: {
27
+ readonly 'db.Bool': "mongo/bool@1";
28
+ };
29
+ readonly Int: {
30
+ readonly 'db.Int': "mongo/int32@1";
31
+ readonly 'db.Long': "mongo/int64Number@1";
32
+ };
33
+ readonly BigInt: {
34
+ readonly 'db.Long': "mongo/int64@1";
35
+ };
36
+ readonly Float: {
37
+ readonly 'db.Double': "mongo/double@1";
38
+ };
39
+ readonly DateTime: {
40
+ readonly 'db.Date': "mongo/date@1";
41
+ };
42
+ readonly Bytes: {
43
+ readonly 'db.BinData': "mongo/binary@1";
44
+ readonly 'db.ObjectId': "mongo/objectId@1";
45
+ };
46
+ readonly Json: {
47
+ readonly 'db.Json': "mongo/json@1";
48
+ };
49
+ };
50
+ readonly objectIdCodecId: "mongo/objectId@1";
51
+ };
52
+ //#endregion
53
+ export { prisma6MongoBinding as t };
54
+ //# sourceMappingURL=prisma6-binding-DhnqslLT.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prisma6-binding-DhnqslLT.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/prisma6-binding.d.mts"],"mappings":";;;;;;cAKc;WACH,QAAQ;WACR;WACA;aACE;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;;WAEF;aACE;eACE;eACA;;aAEF;eACE;;aAEF;eACE;eACA;;aAEF;eACE;;aAEF;eACE;;aAEF;eACE;;aAEF;eACE;eACA;;aAEF;eACE;;;WAGJ"}
@@ -0,0 +1,45 @@
1
+ import { a as MONGO_DECIMAL128_CODEC_ID, c as MONGO_INT64_CODEC_ID, d as MONGO_OBJECTID_CODEC_ID, f as MONGO_STRING_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DOUBLE_CODEC_ID, s as MONGO_INT32_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_JSON_CODEC_ID } from "./codec-ids-WdrumsYA-CZVjuKW8.mjs";
2
+ import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-BaRbjvD7-D0786_Lv.mjs";
3
+ //#region ../../../3-targets/mongo/1-target/dist/prisma6-binding.mjs
4
+ /**
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`.
6
+ */
7
+ const prisma6MongoBinding = {
8
+ target: mongoTargetDescriptorMetaRuntime,
9
+ providers: ["mongodb"],
10
+ scalarCodecIds: {
11
+ String: MONGO_STRING_CODEC_ID,
12
+ Int: MONGO_INT64_NUMBER_CODEC_ID,
13
+ Float: MONGO_DOUBLE_CODEC_ID,
14
+ Boolean: MONGO_BOOLEAN_CODEC_ID,
15
+ DateTime: MONGO_DATE_CODEC_ID,
16
+ BigInt: MONGO_INT64_CODEC_ID,
17
+ Decimal: MONGO_DECIMAL128_CODEC_ID,
18
+ Bytes: MONGO_BINARY_CODEC_ID,
19
+ Json: MONGO_JSON_CODEC_ID
20
+ },
21
+ nativeTypeCodecIds: {
22
+ String: {
23
+ "db.String": MONGO_STRING_CODEC_ID,
24
+ "db.ObjectId": MONGO_OBJECTID_CODEC_ID
25
+ },
26
+ Boolean: { "db.Bool": MONGO_BOOLEAN_CODEC_ID },
27
+ Int: {
28
+ "db.Int": MONGO_INT32_CODEC_ID,
29
+ "db.Long": MONGO_INT64_NUMBER_CODEC_ID
30
+ },
31
+ BigInt: { "db.Long": MONGO_INT64_CODEC_ID },
32
+ Float: { "db.Double": MONGO_DOUBLE_CODEC_ID },
33
+ DateTime: { "db.Date": MONGO_DATE_CODEC_ID },
34
+ Bytes: {
35
+ "db.BinData": MONGO_BINARY_CODEC_ID,
36
+ "db.ObjectId": MONGO_OBJECTID_CODEC_ID
37
+ },
38
+ Json: { "db.Json": MONGO_JSON_CODEC_ID }
39
+ },
40
+ objectIdCodecId: MONGO_OBJECTID_CODEC_ID
41
+ };
42
+ //#endregion
43
+ export { prisma6MongoBinding as t };
44
+
45
+ //# sourceMappingURL=prisma6-binding-vt4tbT-Z.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prisma6-binding-vt4tbT-Z.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/prisma6-binding.mjs"],"sourcesContent":["import { a as MONGO_DECIMAL128_CODEC_ID, c as MONGO_INT64_CODEC_ID, d as MONGO_OBJECTID_CODEC_ID, f as MONGO_STRING_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DOUBLE_CODEC_ID, s as MONGO_INT32_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_JSON_CODEC_ID } from \"./codec-ids-WdrumsYA.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-BaRbjvD7.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,6 +1,6 @@
1
1
  import { MongoCodecRegistry } from "@prisma/orm-family-mongo/codec";
2
2
  import { RuntimeTargetDescriptor, RuntimeTargetInstance } from "@prisma/orm-framework/components/execution";
3
- //#region ../../../3-mongo-target/1-mongo-target/dist/runtime.d.mts
3
+ //#region ../../../3-targets/mongo/1-target/dist/runtime.d.mts
4
4
  //#region src/exports/runtime.d.ts
5
5
  interface MongoRuntimeTargetInstance extends RuntimeTargetInstance<'mongo', 'mongo'> {}
6
6
  /**
@@ -12,4 +12,4 @@ declare const mongoRuntimeTargetDescriptor: RuntimeTargetDescriptor<'mongo', 'mo
12
12
  };
13
13
  //#endregion
14
14
  export { mongoRuntimeTargetDescriptor as n, MongoRuntimeTargetInstance as t };
15
- //# sourceMappingURL=runtime-B9_-kjBX.d.mts.map
15
+ //# sourceMappingURL=runtime-DbFgyDql.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-DbFgyDql.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/runtime.d.mts"],"mappings":";;;;UAGU,mCAAmC;;;;;cAK/B,8BAA8B,0CAA0C;WAC3E,cAAc"}
package/dist/target.d.mts CHANGED
@@ -1,8 +1,11 @@
1
- import { a as MongoRunnerDependencies, t as MarkerOperations } from "./control-rPM2HNxW.mjs";
2
- import { t as CodecTypes } from "./codec-types-Bx2fHyq_.mjs";
3
- import { a as DropCollectionCall, c as schemaCollectionToCreateCollectionOptions, i as CreateIndexCall, l as schemaIndexToCreateIndexOptions, n as CollModMeta, o as DropIndexCall, r as CreateCollectionCall, s as OpFactoryCall$1, t as CollModCall } from "./op-factory-call-B7EKa4Ri-B2Lb6W68.mjs";
4
- import { _ as renderOps, a as MongoTargetContract, c as MongoTargetSchemaVerifier, d as PlannerProducedMongoMigration, f as RenderMigrationMeta, g as renderCallsToTypeScript, h as mongoTargetDescriptor, i as MongoMigrationRunnerExecuteOptions, l as MongoTargetUnboundDatabase, m as deserializeMongoOps, n as MongoMigrationPlanner, o as MongoTargetContractSerializer, p as deserializeMongoOp, r as MongoMigrationRunner, s as MongoTargetDatabase, t as FilterEvaluator, u as PlanCallsResult, v as serializeMongoOps } from "./control-CxXmTy_h.mjs";
5
- import { a as createIndex, c as dropIndex, d as validatedCollection, i as createCollection, l as placeholder, n as MigrationCLI, o as dataTransform, r as collMod, s as dropCollection, t as Migration, u as setValidation } from "./migration-BkqcE2Uv.mjs";
6
- import "./pack-MK8ZQfrL.mjs";
7
- import { t as MongoRuntimeTargetInstance } from "./runtime-B9_-kjBX.mjs";
8
- export { CodecTypes, CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type MarkerOperations, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerExecuteOptions, type MongoRunnerDependencies, MongoRuntimeTargetInstance, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, type PlanCallsResult, PlannerProducedMongoMigration, type RenderMigrationMeta, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoTargetDescriptor, placeholder, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, validatedCollection };
1
+ import { a as MONGO_DECIMAL128_CODEC_ID, c as MONGO_INT64_CODEC_ID, d as MONGO_OBJECTID_CODEC_ID, f as MONGO_STRING_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DOUBLE_CODEC_ID, p as MONGO_VECTOR_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_INT32_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_JSON_CODEC_ID } from "./codec-ids-BKQbXhZt.mjs";
2
+ import { a as ParameterizedOutputTypesForTypeParams, i as CodecTypes, n as BsonScalar, o as Vector, r as BsonValue, t as BsonInputValue } from "./codec-types-oKxM85p-.mjs";
3
+ import { i as mongoStandardCodecs, n as mongoCodecDescriptors, r as mongoDescriptorById, t as buildStandardCodecRegistry } from "./codecs-Y5GYsLPj.mjs";
4
+ import { a as DropCollectionCall, c as RenameCollectionCall, d as schemaCollectionToCreateCollectionOptions, f as schemaIndexToCreateIndexOptions, i as CreateIndexCall, l as RenameFieldCall, n as CollModMeta, o as DropIndexCall, r as CreateCollectionCall, s as OpFactoryCall$1, t as CollModCall, u as UnsetFieldCall } from "./op-factory-call-BoYr7vvM-CjA8nx36.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-CrFS8bqh.mjs";
6
+ import { a as mongoDate, c as mongoInt32, d as mongoObjectId, f as mongoString, h as mongoVectorParams, i as mongoDataTypes, l as mongoInt64, m as mongoVector, n as mongoBool, o as mongoDecimal128, p as mongoTextDataTypes, r as mongoBson, s as mongoDouble, t as mongoBinary, u as mongoJson } from "./data-types-LShlnAUM.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-C4m4Uj8E.mjs";
8
+ import "./pack-CIfujQmd.mjs";
9
+ import { t as prisma6MongoBinding } from "./prisma6-binding-DhnqslLT.mjs";
10
+ import { t as MongoRuntimeTargetInstance } from "./runtime-DbFgyDql.mjs";
11
+ export { type BsonInputValue, type BsonScalar, type BsonValue, CodecTypes, CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_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_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, buildStandardCodecRegistry, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoBinary, mongoBool, mongoBson, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoInt32, mongoInt64, mongoJson, mongoObjectId, mongoStandardCodecs, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
package/dist/target.mjs CHANGED
@@ -1,4 +1,8 @@
1
- import { a as dropCollection, c as validatedCollection, i as dataTransform, n as createCollection, o as dropIndex, r as createIndex, s as setValidation, t as collMod } from "./migration-factories-CCJFG_3e-75oJ8xn2.mjs";
2
- import { _ as renderCallsToTypeScript, a as DropIndexCall, b as schemaIndexToCreateIndexOptions, c as MongoMigrationRunner, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as mongoTargetDescriptor, h as deserializeMongoOps, i as DropCollectionCall, l as MongoTargetContractSerializer, m as deserializeMongoOp, n as CreateCollectionCall, o as FilterEvaluator, p as PlannerProducedMongoMigration, r as CreateIndexCall, s as MongoMigrationPlanner, t as CollModCall, u as MongoTargetDatabase, v as renderOps, x as serializeMongoOps, y as schemaCollectionToCreateCollectionOptions } from "./control-D2-m_BQJ.mjs";
1
+ import { a as MONGO_DECIMAL128_CODEC_ID, c as MONGO_INT64_CODEC_ID, d as MONGO_OBJECTID_CODEC_ID, f as MONGO_STRING_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DOUBLE_CODEC_ID, p as MONGO_VECTOR_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_INT32_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_JSON_CODEC_ID } from "./codec-ids-WdrumsYA-CZVjuKW8.mjs";
2
+ import { B as mongoInt32, F as mongoBson, G as mongoTextDataTypes, H as mongoJson, I as mongoDataTypes, K as mongoVector, L as mongoDate, N as mongoBinary, P as mongoBool, R as mongoDecimal128, U as mongoObjectId, V as mongoInt64, W as mongoString, q as mongoVectorParams, z as mongoDouble } from "./data-types-hoKLBrYZ-h9cAgbOy.mjs";
3
+ import { i as mongoStandardCodecs, n as mongoCodecDescriptors, r as mongoDescriptorById, t as buildStandardCodecRegistry } from "./codecs-B1ab7vfj-QL33tkm2.mjs";
4
+ 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-BqROEHRs-CfExMr9r.mjs";
5
+ 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-Cq6qWohQ.mjs";
3
6
  import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-C-jfTsGU.mjs";
4
- export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoTargetDescriptor, placeholder, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, validatedCollection };
7
+ import { t as prisma6MongoBinding } from "./prisma6-binding-vt4tbT-Z.mjs";
8
+ export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_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_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, UnsetFieldCall, buildStandardCodecRegistry, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoBinary, mongoBool, mongoBson, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoInt32, mongoInt64, mongoJson, mongoObjectId, mongoStandardCodecs, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
@@ -0,0 +1,2 @@
1
+ import { a as MONGO_DECIMAL128_CODEC_ID, c as MONGO_INT64_CODEC_ID, d as MONGO_OBJECTID_CODEC_ID, f as MONGO_STRING_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DOUBLE_CODEC_ID, p as MONGO_VECTOR_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_INT32_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_JSON_CODEC_ID } from "./codec-ids-BKQbXhZt.mjs";
2
+ export { MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_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_VECTOR_CODEC_ID };
@@ -0,0 +1,2 @@
1
+ import { a as MONGO_DECIMAL128_CODEC_ID, c as MONGO_INT64_CODEC_ID, d as MONGO_OBJECTID_CODEC_ID, f as MONGO_STRING_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DOUBLE_CODEC_ID, p as MONGO_VECTOR_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_INT32_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_JSON_CODEC_ID } from "./codec-ids-WdrumsYA-CZVjuKW8.mjs";
2
+ export { MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_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_VECTOR_CODEC_ID };
@@ -1,2 +1,2 @@
1
- import { t as CodecTypes } from "./codec-types-Bx2fHyq_.mjs";
2
- export { CodecTypes };
1
+ import { a as ParameterizedOutputTypesForTypeParams, i as CodecTypes, n as BsonScalar, o as Vector, r as BsonValue, t as BsonInputValue } from "./codec-types-oKxM85p-.mjs";
2
+ export { type BsonInputValue, type BsonScalar, type BsonValue, CodecTypes, ParameterizedOutputTypesForTypeParams, Vector };
@@ -0,0 +1,2 @@
1
+ import { i as mongoStandardCodecs, n as mongoCodecDescriptors, r as mongoDescriptorById, t as buildStandardCodecRegistry } from "./codecs-Y5GYsLPj.mjs";
2
+ export { buildStandardCodecRegistry, mongoCodecDescriptors, mongoDescriptorById, mongoStandardCodecs };
@@ -0,0 +1,2 @@
1
+ import { i as mongoStandardCodecs, n as mongoCodecDescriptors, r as mongoDescriptorById, t as buildStandardCodecRegistry } from "./codecs-B1ab7vfj-QL33tkm2.mjs";
2
+ export { buildStandardCodecRegistry, mongoCodecDescriptors, mongoDescriptorById, mongoStandardCodecs };
@@ -1,4 +1,3 @@
1
- import { a as MongoRunnerDependencies, t as MarkerOperations } from "./control-rPM2HNxW.mjs";
2
- import { a as DropCollectionCall, c as schemaCollectionToCreateCollectionOptions, i as CreateIndexCall, l as schemaIndexToCreateIndexOptions, n as CollModMeta, o as DropIndexCall, r as CreateCollectionCall, s as OpFactoryCall$1, t as CollModCall } from "./op-factory-call-B7EKa4Ri-B2Lb6W68.mjs";
3
- import { _ as renderOps, a as MongoTargetContract, c as MongoTargetSchemaVerifier, d as PlannerProducedMongoMigration, f as RenderMigrationMeta, g as renderCallsToTypeScript, h as mongoTargetDescriptor, i as MongoMigrationRunnerExecuteOptions, l as MongoTargetUnboundDatabase, m as deserializeMongoOps, n as MongoMigrationPlanner, o as MongoTargetContractSerializer, p as deserializeMongoOp, r as MongoMigrationRunner, s as MongoTargetDatabase, t as FilterEvaluator, u as PlanCallsResult, v as serializeMongoOps } from "./control-CxXmTy_h.mjs";
4
- export { CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type MarkerOperations, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerExecuteOptions, type MongoRunnerDependencies, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, type PlanCallsResult, PlannerProducedMongoMigration, type RenderMigrationMeta, deserializeMongoOp, deserializeMongoOps, mongoTargetDescriptor, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps };
1
+ import { a as DropCollectionCall, c as RenameCollectionCall, d as schemaCollectionToCreateCollectionOptions, f as schemaIndexToCreateIndexOptions, i as CreateIndexCall, l as RenameFieldCall, n as CollModMeta, o as DropIndexCall, r as CreateCollectionCall, s as OpFactoryCall$1, t as CollModCall, u as UnsetFieldCall } from "./op-factory-call-BoYr7vvM-CjA8nx36.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-CrFS8bqh.mjs";
3
+ export { CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, 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 { _ as renderCallsToTypeScript, a as DropIndexCall, b as schemaIndexToCreateIndexOptions, c as MongoMigrationRunner, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as mongoTargetDescriptor, h as deserializeMongoOps, i as DropCollectionCall, l as MongoTargetContractSerializer, m as deserializeMongoOp, n as CreateCollectionCall, o as FilterEvaluator, p as PlannerProducedMongoMigration, r as CreateIndexCall, s as MongoMigrationPlanner, t as CollModCall, u as MongoTargetDatabase, v as renderOps, x as serializeMongoOps, y as schemaCollectionToCreateCollectionOptions } from "./control-D2-m_BQJ.mjs";
2
- export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, deserializeMongoOp, deserializeMongoOps, mongoTargetDescriptor, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps };
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-Cq6qWohQ.mjs";
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 };
@@ -0,0 +1,2 @@
1
+ import { a as mongoDate, c as mongoInt32, d as mongoObjectId, f as mongoString, h as mongoVectorParams, i as mongoDataTypes, l as mongoInt64, m as mongoVector, n as mongoBool, o as mongoDecimal128, p as mongoTextDataTypes, r as mongoBson, s as mongoDouble, t as mongoBinary, u as mongoJson } from "./data-types-LShlnAUM.mjs";
2
+ export { mongoBinary, mongoBool, mongoBson, mongoDataTypes, mongoDate, mongoDecimal128, mongoDouble, mongoInt32, mongoInt64, mongoJson, mongoObjectId, mongoString, mongoTextDataTypes, mongoVector, mongoVectorParams };
@@ -0,0 +1,2 @@
1
+ import { B as mongoInt32, F as mongoBson, G as mongoTextDataTypes, H as mongoJson, I as mongoDataTypes, K as mongoVector, L as mongoDate, N as mongoBinary, P as mongoBool, R as mongoDecimal128, U as mongoObjectId, V as mongoInt64, W as mongoString, q as mongoVectorParams, z as mongoDouble } from "./data-types-hoKLBrYZ-h9cAgbOy.mjs";
2
+ export { mongoBinary, mongoBool, mongoBson, mongoDataTypes, mongoDate, mongoDecimal128, mongoDouble, mongoInt32, mongoInt64, mongoJson, mongoObjectId, mongoString, mongoTextDataTypes, mongoVector, mongoVectorParams };
@@ -1,2 +1,2 @@
1
- import { a as createIndex, c as dropIndex, d as validatedCollection, i as createCollection, l as placeholder, n as MigrationCLI, o as dataTransform, r as collMod, s as dropCollection, t as Migration, u as setValidation } from "./migration-BkqcE2Uv.mjs";
2
- export { Migration, MigrationCLI, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, placeholder, setValidation, validatedCollection };
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-C4m4Uj8E.mjs";
2
+ export { Migration, MigrationCLI, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, placeholder, renameCollection, renameField, setValidation, unsetField, validatedCollection };
@@ -1,3 +1,3 @@
1
- import { a as dropCollection, c as validatedCollection, i as dataTransform, n as createCollection, o as dropIndex, r as createIndex, s as setValidation, t as collMod } from "./migration-factories-CCJFG_3e-75oJ8xn2.mjs";
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-BqROEHRs-CfExMr9r.mjs";
2
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, setValidation, validatedCollection };
3
+ export { Migration, MigrationCLI, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, placeholder, renameCollection, renameField, setValidation, unsetField, validatedCollection };
@@ -1,2 +1,3 @@
1
- import { t as mongoTargetPack } from "./pack-MK8ZQfrL.mjs";
2
- export { mongoTargetPack as default };
1
+ import { a as ParameterizedOutputTypesForTypeParams, i as CodecTypes, o as Vector } from "./codec-types-oKxM85p-.mjs";
2
+ import { t as mongoTargetPack } from "./pack-CIfujQmd.mjs";
3
+ export { type CodecTypes, type ParameterizedOutputTypesForTypeParams, type Vector, mongoTargetPack as default };
@@ -1,5 +1,5 @@
1
- import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-CBiaTwe5-HX742pZh.mjs";
2
- //#region ../../../3-mongo-target/1-mongo-target/dist/pack.mjs
1
+ import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-DTj807jv-CjvK2XDD.mjs";
2
+ //#region ../../../3-targets/mongo/1-target/dist/pack.mjs
3
3
  const mongoTargetPack = mongoTargetDescriptorMeta;
4
4
  //#endregion
5
5
  export { mongoTargetPack as default };
@@ -1 +1 @@
1
- {"version":3,"file":"target__pack.mjs","names":[],"sources":["../../../../3-mongo-target/1-mongo-target/dist/pack.mjs"],"sourcesContent":["import { t as mongoTargetDescriptorMeta } from \"./descriptor-meta-CBiaTwe5.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-DTj807jv.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"}
@@ -0,0 +1,2 @@
1
+ import { t as prisma6MongoBinding } from "./prisma6-binding-DhnqslLT.mjs";
2
+ export { prisma6MongoBinding };
@@ -0,0 +1,2 @@
1
+ import { t as prisma6MongoBinding } from "./prisma6-binding-vt4tbT-Z.mjs";
2
+ export { prisma6MongoBinding };
@@ -1,2 +1,2 @@
1
- import { n as mongoRuntimeTargetDescriptor, t as MongoRuntimeTargetInstance } from "./runtime-B9_-kjBX.mjs";
1
+ import { n as mongoRuntimeTargetDescriptor, t as MongoRuntimeTargetInstance } from "./runtime-DbFgyDql.mjs";
2
2
  export { MongoRuntimeTargetInstance, mongoRuntimeTargetDescriptor as default };
@@ -1,12 +1,12 @@
1
- import { t as mongoTargetDescriptorMeta } from "./descriptor-meta-CBiaTwe5-HX742pZh.mjs";
1
+ import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-BaRbjvD7-D0786_Lv.mjs";
2
2
  import { newMongoCodecRegistry } from "@prisma/orm-family-mongo/codec";
3
- //#region ../../../3-mongo-target/1-mongo-target/dist/runtime.mjs
3
+ //#region ../../../3-targets/mongo/1-target/dist/runtime.mjs
4
4
  /**
5
5
  * 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 runtime descriptor here is shaped to satisfy the framework's `RuntimeTargetDescriptor` plus the structural `MongoStaticContributions` (`codecs`) that `@internal/mongo-runtime`
6
6
  * consumers narrow to at composition time.
7
7
  */
8
8
  const mongoRuntimeTargetDescriptor = {
9
- ...mongoTargetDescriptorMeta,
9
+ ...mongoTargetDescriptorMetaRuntime,
10
10
  codecs: () => newMongoCodecRegistry(),
11
11
  create() {
12
12
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"target__runtime.mjs","names":[],"sources":["../../../../3-mongo-target/1-mongo-target/dist/runtime.mjs"],"sourcesContent":["import { t as mongoTargetDescriptorMeta } from \"./descriptor-meta-CBiaTwe5.mjs\";\nimport { newMongoCodecRegistry } from \"@internal/mongo-codec\";\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 runtime descriptor here is shaped to satisfy the framework's `RuntimeTargetDescriptor` plus the structural `MongoStaticContributions` (`codecs`) that `@internal/mongo-runtime`\n* consumers narrow to at composition time.\n*/\nconst mongoRuntimeTargetDescriptor = {\n\t...mongoTargetDescriptorMeta,\n\tcodecs: () => newMongoCodecRegistry(),\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 };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;;;AAOA,MAAM,+BAA+B;CACpC,GAAG;CACH,cAAc,sBAAsB;CACpC,SAAS;EACR,OAAO;GACN,UAAU;GACV,UAAU;EACX;CACD;AACD"}
1
+ {"version":3,"file":"target__runtime.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/runtime.mjs"],"sourcesContent":["import { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-BaRbjvD7.mjs\";\nimport { newMongoCodecRegistry } from \"@internal/mongo-codec\";\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 runtime descriptor here is shaped to satisfy the framework's `RuntimeTargetDescriptor` plus the structural `MongoStaticContributions` (`codecs`) that `@internal/mongo-runtime`\n* consumers narrow to at composition time.\n*/\nconst mongoRuntimeTargetDescriptor = {\n\t...mongoTargetDescriptorMetaRuntime,\n\tcodecs: () => newMongoCodecRegistry(),\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 };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;;;AAOA,MAAM,+BAA+B;CACpC,GAAG;CACH,cAAc,sBAAsB;CACpC,SAAS;EACR,OAAO;GACN,UAAU;GACV,UAAU;EACX;CACD;AACD"}