@prisma/orm-target-mongo 8.0.0-rc.23-dev.12 → 8.0.0-rc.23-dev.14
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-BbX2VMzN-Dm9db3Jz.mjs → codecs-Bl21z49D-Bj5erX9r.mjs} +3 -3
- package/dist/{codecs-BbX2VMzN-Dm9db3Jz.mjs.map → codecs-Bl21z49D-Bj5erX9r.mjs.map} +1 -1
- package/dist/{control-B77seMDK.mjs → control-BxslS3_F.mjs} +1452 -154
- package/dist/control-BxslS3_F.mjs.map +1 -0
- package/dist/{control-BsAxKPch.mjs → control-DPih_MpI.mjs} +2 -2
- package/dist/{control-BsAxKPch.mjs.map → control-DPih_MpI.mjs.map} +1 -1
- package/dist/{control-1-RnMe4V.d.mts → control-OiC131Dv.d.mts} +35 -5
- package/dist/control-OiC131Dv.d.mts.map +1 -0
- package/dist/{data-types-Cq1kg82y-Vk7z6rnW.mjs → data-types-B3SLjbqa-C1LmrfzH.mjs} +29 -5
- package/dist/{data-types-Cq1kg82y-Vk7z6rnW.mjs.map → data-types-B3SLjbqa-C1LmrfzH.mjs.map} +1 -1
- package/dist/{date-time-now-generators-fWUk_--7-BnCnC0d8.mjs → date-time-now-generators-Dhq1b2V8-TgMEfnbI.mjs} +3 -3
- package/dist/{date-time-now-generators-fWUk_--7-BnCnC0d8.mjs.map → date-time-now-generators-Dhq1b2V8-TgMEfnbI.mjs.map} +1 -1
- package/dist/{descriptor-meta-CFsOxO6g-Ca8valmZ.mjs → descriptor-meta-BXMz_uZd-B8WB2m7v.mjs} +5 -5
- package/dist/{descriptor-meta-CFsOxO6g-Ca8valmZ.mjs.map → descriptor-meta-BXMz_uZd-B8WB2m7v.mjs.map} +1 -1
- package/dist/{descriptor-meta-runtime-CBJIjp5R-DMQ9-3Hd.mjs → descriptor-meta-runtime-J4eVdBtZ-D1yRng4t.mjs} +4 -4
- package/dist/{descriptor-meta-runtime-CBJIjp5R-DMQ9-3Hd.mjs.map → descriptor-meta-runtime-J4eVdBtZ-D1yRng4t.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/migration-DASk9QNA.d.mts +5 -0
- package/dist/{migration-factories-oLRWgLGz-B9fWm8Wc.mjs → migration-factories-C5ktmt8c-BP8k9SnZ.mjs} +245 -17
- package/dist/migration-factories-C5ktmt8c-BP8k9SnZ.mjs.map +1 -0
- package/dist/{mongo-adapter-RJ_YOxiK-jlyFS6Wr.mjs → mongo-adapter-RJ_YOxiK-CCHpxwqy.mjs} +2 -2
- package/dist/{mongo-adapter-RJ_YOxiK-jlyFS6Wr.mjs.map → mongo-adapter-RJ_YOxiK-CCHpxwqy.mjs.map} +1 -1
- package/dist/{mongo-driver-7Zd_QRhP-BSfEX_kV.mjs → mongo-driver-igrhXX_3-CWKp1Lw4.mjs} +3 -3
- package/dist/{mongo-driver-7Zd_QRhP-BSfEX_kV.mjs.map → mongo-driver-igrhXX_3-CWKp1Lw4.mjs.map} +1 -1
- package/dist/op-factory-call-BCgwbVJe-DhcJRxAb.d.mts +248 -0
- package/dist/op-factory-call-BCgwbVJe-DhcJRxAb.d.mts.map +1 -0
- package/dist/{prisma6-binding-BjKPGVql.mjs → prisma6-binding-BXi_1e8c.mjs} +2 -2
- package/dist/{prisma6-binding-BjKPGVql.mjs.map → prisma6-binding-BXi_1e8c.mjs.map} +1 -1
- package/dist/{runtime-DyWNR1FZ.mjs → runtime-CkX-HAf5.mjs} +2 -2
- package/dist/{runtime-DyWNR1FZ.mjs.map → runtime-CkX-HAf5.mjs.map} +1 -1
- package/dist/target.d.mts +4 -4
- package/dist/target.mjs +8 -8
- package/dist/target__codecs.mjs +1 -1
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +1 -1
- package/dist/target__data-types.mjs +1 -1
- package/dist/target__migration.d.mts +3 -2
- package/dist/target__migration.mjs +3 -3
- 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/control-1-RnMe4V.d.mts.map +0 -1
- package/dist/control-B77seMDK.mjs.map +0 -1
- package/dist/migration-BMUh33vn.d.mts +0 -56
- package/dist/migration-BMUh33vn.d.mts.map +0 -1
- package/dist/migration-factories-oLRWgLGz-B9fWm8Wc.mjs.map +0 -1
- package/dist/op-factory-call-DzQ_ZxeZ-CukKyuhZ.d.mts +0 -115
- package/dist/op-factory-call-DzQ_ZxeZ-CukKyuhZ.d.mts.map +0 -1
- package/dist/{migration-C-jfTsGU.mjs → migration-psmPNv10.mjs} +1 -1
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import "@prisma/orm-family-mongo/contract";
|
|
2
|
+
import { AnyMongoMigrationOperation, CollModOptions, CreateCollectionOptions, CreateIndexOptions, MongoDmlOperation, MongoFilterExpr, MongoIndexKey, MongoMigrationPlanOperation } from "@prisma/orm-family-mongo/query-ast/control";
|
|
3
|
+
import { MongoQueryPlan } from "@prisma/orm-family-mongo/query-ast/execution";
|
|
4
|
+
import { MigrationOperationClass, OpFactoryCall } from "@prisma/orm-framework/components/control";
|
|
5
|
+
import { JsonValue } from "@prisma/orm-framework/contract/types";
|
|
6
|
+
import { MongoSchemaCollection, MongoSchemaIndex } from "@prisma/orm-family-mongo/schema-ir";
|
|
7
|
+
import { ImportRequirement, TsExpression } from "@prisma/orm-framework/ts-render";
|
|
8
|
+
import { Document } from "@prisma/orm-family-mongo/value";
|
|
9
|
+
//#region ../../../3-targets/mongo/1-target/dist/op-factory-call-BCgwbVJe.d.mts
|
|
10
|
+
//#region src/core/migrations/migration-factories.d.ts
|
|
11
|
+
interface Buildable {
|
|
12
|
+
build(): MongoQueryPlan;
|
|
13
|
+
}
|
|
14
|
+
declare function dataTransform(name: string, options: {
|
|
15
|
+
/**
|
|
16
|
+
* Optional opt-in routing identity. Presence opts the transform into
|
|
17
|
+
* invariant-aware routing; absence means it is path-dependent and
|
|
18
|
+
* not referenceable from refs.
|
|
19
|
+
*/
|
|
20
|
+
invariantId?: string;
|
|
21
|
+
check?: {
|
|
22
|
+
source: () => MongoQueryPlan | Buildable;
|
|
23
|
+
filter?: MongoFilterExpr;
|
|
24
|
+
expect?: 'exists' | 'notExists';
|
|
25
|
+
description?: string;
|
|
26
|
+
};
|
|
27
|
+
run: () => MongoQueryPlan | Buildable;
|
|
28
|
+
}): MongoDmlOperation;
|
|
29
|
+
/** A raw `aggregate` on a collection, as a data transform's check reads documents. */
|
|
30
|
+
declare function rawAggregate(collectionName: string, pipeline: readonly Document[]): MongoQueryPlan;
|
|
31
|
+
/**
|
|
32
|
+
* A raw `updateMany` on a collection, which a data transform's run can make skip document
|
|
33
|
+
* validation. `update` is an update document, such as `{ $set: { age: 0 } }`, or an aggregation
|
|
34
|
+
* pipeline, such as `[{ $set: { age: { $toInt: '$age' } } }]`, which can read the document's own
|
|
35
|
+
* values.
|
|
36
|
+
*/
|
|
37
|
+
declare function rawUpdateMany(collectionName: string, filter: Document, update: Document | readonly Document[], options?: {
|
|
38
|
+
readonly bypassDocumentValidation?: boolean;
|
|
39
|
+
}): MongoQueryPlan;
|
|
40
|
+
interface FieldRewriteOptions {
|
|
41
|
+
readonly filter?: Document;
|
|
42
|
+
}
|
|
43
|
+
declare function renameField(collectionName: string, from: string, to: string, options?: FieldRewriteOptions): MongoDmlOperation;
|
|
44
|
+
declare function unsetField(collectionName: string, field: string, options?: FieldRewriteOptions): MongoDmlOperation;
|
|
45
|
+
interface CastFieldOptions {
|
|
46
|
+
readonly collection: string;
|
|
47
|
+
readonly field: string;
|
|
48
|
+
/** The BSON types the field held before, which say whether the cast keeps every value. */
|
|
49
|
+
readonly from: readonly string[];
|
|
50
|
+
/** The BSON type `$convert` casts the field to. */
|
|
51
|
+
readonly to: string;
|
|
52
|
+
/** Whether the field is a list, whose elements are cast one by one. */
|
|
53
|
+
readonly list?: boolean;
|
|
54
|
+
readonly filter?: Document;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Casts a field to the BSON type `to` with `$convert`, in the documents where it holds another
|
|
58
|
+
* type. A value `$convert` cannot cast fails the update. Widening when every type in `from` casts
|
|
59
|
+
* to `to` keeping its value, destructive otherwise.
|
|
60
|
+
*/
|
|
61
|
+
declare function castField(options: CastFieldOptions): MongoDmlOperation;
|
|
62
|
+
interface FillFieldOptions {
|
|
63
|
+
readonly collection: string;
|
|
64
|
+
readonly field: string;
|
|
65
|
+
/** An aggregation expression for the value, so it is stored with its BSON type: `{ $toLong: 0 }` stores a long. */
|
|
66
|
+
readonly value: JsonValue;
|
|
67
|
+
readonly filter?: Document;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Sets a field to `value` in the documents where it is missing or `null`, skipping document
|
|
71
|
+
* validation, as a migration fills a new required field with a temporary value.
|
|
72
|
+
*/
|
|
73
|
+
declare function fillField(options: FillFieldOptions): MongoDmlOperation;
|
|
74
|
+
/**
|
|
75
|
+
* Creates an index under `options.name`, or under the name MongoDB would give it when the call gives none. The precheck requires that the collection holds no index with that name and none with the same keys and options; the postcheck requires an index with that name, keys and options.
|
|
76
|
+
*/
|
|
77
|
+
declare function createIndex(collectionName: string, keys: ReadonlyArray<MongoIndexKey>, options?: CreateIndexOptions): MongoMigrationPlanOperation;
|
|
78
|
+
/**
|
|
79
|
+
* Drops the index named `options.name`, or the name MongoDB would give the keys when the call gives none. `options` lists every option the index has, as `migration plan` writes them: the precheck requires an index with that name, those keys and exactly those options, so an option left out must be absent from the index. A call without options checks the keys only. The postcheck requires that no index with that name is left.
|
|
80
|
+
*/
|
|
81
|
+
declare function dropIndex(collectionName: string, keys: ReadonlyArray<MongoIndexKey>, options?: CreateIndexOptions): MongoMigrationPlanOperation;
|
|
82
|
+
declare function createCollection(collectionName: string, options?: CreateCollectionOptions): MongoMigrationPlanOperation;
|
|
83
|
+
declare function dropCollection(collectionName: string): MongoMigrationPlanOperation;
|
|
84
|
+
declare function renameCollection(from: string, to: string): MongoMigrationPlanOperation;
|
|
85
|
+
declare function setValidation(collectionName: string, schema: Record<string, unknown>, options?: {
|
|
86
|
+
validationLevel?: 'strict' | 'moderate';
|
|
87
|
+
validationAction?: 'error' | 'warn';
|
|
88
|
+
/** Whether to check first that every document fits the new validator, and stop if one does not. */
|
|
89
|
+
checkDocuments?: boolean;
|
|
90
|
+
}): MongoMigrationPlanOperation;
|
|
91
|
+
declare function collMod(collectionName: string, options: CollModOptions, meta?: CollModMeta): MongoMigrationPlanOperation;
|
|
92
|
+
declare function validatedCollection(name: string, schema: Record<string, unknown>, indexes: ReadonlyArray<{
|
|
93
|
+
keys: MongoIndexKey[];
|
|
94
|
+
unique?: boolean;
|
|
95
|
+
}>): MongoMigrationPlanOperation[];
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/core/migrations/op-factory-call.d.ts
|
|
98
|
+
interface CollModMeta {
|
|
99
|
+
readonly id?: string;
|
|
100
|
+
readonly label?: string;
|
|
101
|
+
readonly operationClass?: MigrationOperationClass;
|
|
102
|
+
/** Whether the operation first checks that every document fits the new validator, and stops if one does not. */
|
|
103
|
+
readonly checkDocuments?: boolean;
|
|
104
|
+
}
|
|
105
|
+
declare abstract class OpFactoryCallNode extends TsExpression implements OpFactoryCall {
|
|
106
|
+
abstract readonly factoryName: string;
|
|
107
|
+
abstract readonly operationClass: MigrationOperationClass;
|
|
108
|
+
abstract readonly label: string;
|
|
109
|
+
abstract toOp(): AnyMongoMigrationOperation | Promise<AnyMongoMigrationOperation>;
|
|
110
|
+
importRequirements(): readonly ImportRequirement[];
|
|
111
|
+
protected freeze(): void;
|
|
112
|
+
}
|
|
113
|
+
/** The index a call creates or drops: its name and options as `createIndex` takes them. */
|
|
114
|
+
type IndexCallOptions = CreateIndexOptions & {
|
|
115
|
+
readonly name: string;
|
|
116
|
+
};
|
|
117
|
+
declare class CreateIndexCall extends OpFactoryCallNode {
|
|
118
|
+
readonly factoryName: "createIndex";
|
|
119
|
+
readonly operationClass: "additive";
|
|
120
|
+
readonly collection: string;
|
|
121
|
+
readonly keys: ReadonlyArray<MongoIndexKey>;
|
|
122
|
+
readonly options: IndexCallOptions;
|
|
123
|
+
readonly label: string;
|
|
124
|
+
constructor(collection: string, keys: ReadonlyArray<MongoIndexKey>, options: IndexCallOptions);
|
|
125
|
+
toOp(): MongoMigrationPlanOperation;
|
|
126
|
+
renderTypeScript(): string;
|
|
127
|
+
}
|
|
128
|
+
declare class DropIndexCall extends OpFactoryCallNode {
|
|
129
|
+
readonly factoryName: "dropIndex";
|
|
130
|
+
readonly operationClass: "widening";
|
|
131
|
+
readonly collection: string;
|
|
132
|
+
readonly keys: ReadonlyArray<MongoIndexKey>;
|
|
133
|
+
readonly options: IndexCallOptions;
|
|
134
|
+
readonly label: string;
|
|
135
|
+
constructor(collection: string, keys: ReadonlyArray<MongoIndexKey>, options: IndexCallOptions);
|
|
136
|
+
toOp(): MongoMigrationPlanOperation;
|
|
137
|
+
renderTypeScript(): string;
|
|
138
|
+
}
|
|
139
|
+
declare class CreateCollectionCall extends OpFactoryCallNode {
|
|
140
|
+
readonly factoryName: "createCollection";
|
|
141
|
+
readonly operationClass: "additive";
|
|
142
|
+
readonly collection: string;
|
|
143
|
+
readonly options: CreateCollectionOptions | undefined;
|
|
144
|
+
readonly label: string;
|
|
145
|
+
constructor(collection: string, options?: CreateCollectionOptions);
|
|
146
|
+
toOp(): MongoMigrationPlanOperation;
|
|
147
|
+
renderTypeScript(): string;
|
|
148
|
+
}
|
|
149
|
+
declare class DropCollectionCall extends OpFactoryCallNode {
|
|
150
|
+
readonly factoryName: "dropCollection";
|
|
151
|
+
readonly operationClass: "destructive";
|
|
152
|
+
readonly collection: string;
|
|
153
|
+
readonly label: string;
|
|
154
|
+
constructor(collection: string);
|
|
155
|
+
toOp(): MongoMigrationPlanOperation;
|
|
156
|
+
renderTypeScript(): string;
|
|
157
|
+
}
|
|
158
|
+
declare class RenameCollectionCall extends OpFactoryCallNode {
|
|
159
|
+
readonly factoryName: "renameCollection";
|
|
160
|
+
readonly operationClass: "widening";
|
|
161
|
+
readonly from: string;
|
|
162
|
+
readonly to: string;
|
|
163
|
+
readonly label: string;
|
|
164
|
+
constructor(from: string, to: string);
|
|
165
|
+
toOp(): MongoMigrationPlanOperation;
|
|
166
|
+
renderTypeScript(): string;
|
|
167
|
+
}
|
|
168
|
+
declare class RenameFieldCall extends OpFactoryCallNode {
|
|
169
|
+
readonly factoryName: "renameField";
|
|
170
|
+
readonly operationClass: "widening";
|
|
171
|
+
readonly collection: string;
|
|
172
|
+
readonly from: string;
|
|
173
|
+
readonly to: string;
|
|
174
|
+
readonly filter: Document | undefined;
|
|
175
|
+
readonly label: string;
|
|
176
|
+
constructor(collection: string, from: string, to: string, filter?: Document);
|
|
177
|
+
toOp(): AnyMongoMigrationOperation;
|
|
178
|
+
renderTypeScript(): string;
|
|
179
|
+
}
|
|
180
|
+
declare class UnsetFieldCall extends OpFactoryCallNode {
|
|
181
|
+
readonly factoryName: "unsetField";
|
|
182
|
+
readonly operationClass: "destructive";
|
|
183
|
+
readonly collection: string;
|
|
184
|
+
readonly field: string;
|
|
185
|
+
readonly filter: Document | undefined;
|
|
186
|
+
readonly label: string;
|
|
187
|
+
constructor(collection: string, field: string, filter?: Document);
|
|
188
|
+
toOp(): AnyMongoMigrationOperation;
|
|
189
|
+
renderTypeScript(): string;
|
|
190
|
+
}
|
|
191
|
+
declare class CastFieldCall extends OpFactoryCallNode {
|
|
192
|
+
readonly factoryName: "castField";
|
|
193
|
+
readonly collection: string;
|
|
194
|
+
readonly field: string;
|
|
195
|
+
readonly options: CastFieldOptions;
|
|
196
|
+
readonly operationClass: MigrationOperationClass;
|
|
197
|
+
readonly label: string;
|
|
198
|
+
constructor(options: CastFieldOptions);
|
|
199
|
+
toOp(): MongoDmlOperation;
|
|
200
|
+
renderTypeScript(): string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* A data transform the planner scaffolds for a field: its check and its run's filter select the
|
|
204
|
+
* documents still to change, and its update is a placeholder the user fills in `migration.ts`.
|
|
205
|
+
* Until then `toOp()` rejects with `MIGRATION.UNFILLED_PLACEHOLDER`, naming the operation it stands
|
|
206
|
+
* for, so the plan's other operations still list.
|
|
207
|
+
*/
|
|
208
|
+
declare class DataTransformCall extends OpFactoryCallNode {
|
|
209
|
+
readonly factoryName: "dataTransform";
|
|
210
|
+
readonly operationClass: "data";
|
|
211
|
+
readonly name: string;
|
|
212
|
+
readonly collection: string;
|
|
213
|
+
readonly filter: Document;
|
|
214
|
+
readonly label: string;
|
|
215
|
+
constructor(name: string, collection: string, filter: Document);
|
|
216
|
+
get slot(): string;
|
|
217
|
+
toOp(): Promise<never>;
|
|
218
|
+
renderTypeScript(): string;
|
|
219
|
+
importRequirements(): readonly ImportRequirement[];
|
|
220
|
+
}
|
|
221
|
+
declare class FillFieldCall extends OpFactoryCallNode {
|
|
222
|
+
readonly factoryName: "fillField";
|
|
223
|
+
readonly operationClass: "widening";
|
|
224
|
+
readonly collection: string;
|
|
225
|
+
readonly field: string;
|
|
226
|
+
readonly options: FillFieldOptions;
|
|
227
|
+
readonly label: string;
|
|
228
|
+
constructor(options: FillFieldOptions);
|
|
229
|
+
toOp(): MongoDmlOperation;
|
|
230
|
+
renderTypeScript(): string;
|
|
231
|
+
}
|
|
232
|
+
declare class CollModCall extends OpFactoryCallNode {
|
|
233
|
+
readonly factoryName: "collMod";
|
|
234
|
+
readonly collection: string;
|
|
235
|
+
readonly options: CollModOptions;
|
|
236
|
+
readonly meta: CollModMeta | undefined;
|
|
237
|
+
readonly operationClass: MigrationOperationClass;
|
|
238
|
+
readonly label: string;
|
|
239
|
+
constructor(collection: string, options: CollModOptions, meta?: CollModMeta);
|
|
240
|
+
toOp(): MongoMigrationPlanOperation;
|
|
241
|
+
renderTypeScript(): string;
|
|
242
|
+
}
|
|
243
|
+
type OpFactoryCall$1 = CreateIndexCall | DropIndexCall | CreateCollectionCall | DropCollectionCall | RenameCollectionCall | RenameFieldCall | UnsetFieldCall | CastFieldCall | DataTransformCall | FillFieldCall | CollModCall;
|
|
244
|
+
declare function schemaIndexToCreateIndexOptions(index: MongoSchemaIndex): IndexCallOptions;
|
|
245
|
+
declare function schemaCollectionToCreateCollectionOptions(coll: MongoSchemaCollection): CreateCollectionOptions | undefined;
|
|
246
|
+
//#endregion
|
|
247
|
+
export { unsetField as A, rawAggregate as C, schemaCollectionToCreateCollectionOptions as D, renameField as E, schemaIndexToCreateIndexOptions as O, fillField as S, renameCollection as T, createCollection as _, CreateIndexCall as a, dropCollection as b, DropIndexCall as c, OpFactoryCall$1 as d, RenameCollectionCall as f, collMod as g, castField as h, CreateCollectionCall as i, validatedCollection as j, setValidation as k, FillFieldCall as l, UnsetFieldCall as m, CollModCall as n, DataTransformCall as o, RenameFieldCall as p, CollModMeta as r, DropCollectionCall as s, CastFieldCall as t, IndexCallOptions as u, createIndex as v, rawUpdateMany as w, dropIndex as x, dataTransform as y };
|
|
248
|
+
//# sourceMappingURL=op-factory-call-BCgwbVJe-DhcJRxAb.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"op-factory-call-BCgwbVJe-DhcJRxAb.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/op-factory-call-BCgwbVJe.d.mts"],"mappings":";;;;;;;;;;UASU;EACR,SAAS;;iBAEM,cAAc,cAAc;;;;;;EAM3C;EACA;IACE,cAAc,iBAAiB;IAC/B,SAAS;IACT;IACA;;EAEF,WAAW,iBAAiB;IAC1B;;iBAEa,aAAa,wBAAwB,mBAAmB,aAAa;;;;;;;iBAOrE,cAAc,wBAAwB,QAAQ,UAAU,QAAQ,oBAAoB,YAAY;WACtG;IACP;UACM;WACC,SAAS;;iBAEH,YAAY,wBAAwB,cAAc,YAAY,UAAU,sBAAsB;iBAC9F,WAAW,wBAAwB,eAAe,UAAU,sBAAsB;UACzF;WACC;WACA;;WAEA;;WAEA;;WAEA;WACA,SAAS;;;;;;;iBAOH,UAAU,SAAS,mBAAmB;UAC7C;WACC;WACA;;WAEA,OAAO;WACP,SAAS;;;;;;iBAMH,UAAU,SAAS,mBAAmB;;;;iBAItC,YAAY,wBAAwB,MAAM,cAAc,gBAAgB,UAAU,qBAAqB;;;;iBAIvG,UAAU,wBAAwB,MAAM,cAAc,gBAAgB,UAAU,qBAAqB;iBACrG,iBAAiB,wBAAwB,UAAU,0BAA0B;iBAC7E,eAAe,yBAAyB;iBACxC,iBAAiB,cAAc,aAAa;iBAC5C,cAAc,wBAAwB,QAAQ,yBAAyB;EACtF;EACA;;EAEA;IACE;iBACa,QAAQ,wBAAwB,SAAS,gBAAgB,OAAO,cAAc;iBAC9E,oBAAoB,cAAc,QAAQ,yBAAyB,SAAS;EAC3F,MAAM;EACN;KACG;;;UAGK;WACC;WACA;WACA,iBAAiB;;WAEjB;;uBAEY,0BAA0B,wBAAwB;oBACrD;oBACA,gBAAgB;oBAChB;WACT,QAAQ,6BAA6B,QAAQ;EACtD,+BAA+B;YACrB;;;KAGP,mBAAmB;WACb;;cAEG,wBAAwB;WAC3B;WACA;WACA;WACA,MAAM,cAAc;WACpB,SAAS;WACT;EACT,YAAY,oBAAoB,MAAM,cAAc,gBAAgB,SAAS;EAC7E,QAAQ;EACR;;cAEY,sBAAsB;WACzB;WACA;WACA;WACA,MAAM,cAAc;WACpB,SAAS;WACT;EACT,YAAY,oBAAoB,MAAM,cAAc,gBAAgB,SAAS;EAC7E,QAAQ;EACR;;cAEY,6BAA6B;WAChC;WACA;WACA;WACA,SAAS;WACT;EACT,YAAY,oBAAoB,UAAU;EAC1C,QAAQ;EACR;;cAEY,2BAA2B;WAC9B;WACA;WACA;WACA;EACT,YAAY;EACZ,QAAQ;EACR;;cAEY,6BAA6B;WAChC;WACA;WACA;WACA;WACA;EACT,YAAY,cAAc;EAC1B,QAAQ;EACR;;cAEY,wBAAwB;WAC3B;WACA;WACA;WACA;WACA;WACA,QAAQ;WACR;EACT,YAAY,oBAAoB,cAAc,YAAY,SAAS;EACnE,QAAQ;EACR;;cAEY,uBAAuB;WAC1B;WACA;WACA;WACA;WACA,QAAQ;WACR;EACT,YAAY,oBAAoB,eAAe,SAAS;EACxD,QAAQ;EACR;;cAEY,sBAAsB;WACzB;WACA;WACA;WACA,SAAS;WACT,gBAAgB;WAChB;EACT,YAAY,SAAS;EACrB,QAAQ;EACR;;;;;;;;cAQY,0BAA0B;WAC7B;WACA;WACA;WACA;WACA,QAAQ;WACR;EACT,YAAY,cAAc,oBAAoB,QAAQ;MAClD;EACJ,QAAQ;EACR;EACA,+BAA+B;;cAEnB,sBAAsB;WACzB;WACA;WACA;WACA;WACA,SAAS;WACT;EACT,YAAY,SAAS;EACrB,QAAQ;EACR;;cAEY,oBAAoB;WACvB;WACA;WACA,SAAS;WACT,MAAM;WACN,gBAAgB;WAChB;EACT,YAAY,oBAAoB,SAAS,gBAAgB,OAAO;EAChE,QAAQ;EACR;;KAEG,kBAAkB,kBAAkB,gBAAgB,uBAAuB,qBAAqB,uBAAuB,kBAAkB,iBAAiB,gBAAgB,oBAAoB,gBAAgB;iBAClM,gCAAgC,OAAO,mBAAmB;iBAC1D,0CAA0C,MAAM,wBAAwB"}
|
|
@@ -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-J4eVdBtZ-D1yRng4t.mjs";
|
|
3
3
|
//#region ../../../3-targets/mongo/1-target/dist/prisma6-binding.mjs
|
|
4
4
|
/**
|
|
5
5
|
* What the Mongo target supplies to the Prisma 6 schema reader: the datasource provider it reads, the codec each Prisma 6 scalar and native type maps to, the codec an `@id` must have, and the generator `now()` and `@updatedAt` lower to. Each codec is the one for the BSON type Prisma 6 stores (ADR 257), with the application type the Prisma 6 client presents: a plain `Int` is a BSON long read as a `number`.
|
|
@@ -42,4 +42,4 @@ const prisma6MongoBinding = {
|
|
|
42
42
|
//#endregion
|
|
43
43
|
export { prisma6MongoBinding as t };
|
|
44
44
|
|
|
45
|
-
//# sourceMappingURL=prisma6-binding-
|
|
45
|
+
//# sourceMappingURL=prisma6-binding-BXi_1e8c.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prisma6-binding-
|
|
1
|
+
{"version":3,"file":"prisma6-binding-BXi_1e8c.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/prisma6-binding.mjs"],"sourcesContent":["import { _ as MONGO_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, p as MONGO_INT64_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID } from \"./codec-ids-DZQsuh80.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-J4eVdBtZ.mjs\";\n/**\n* What the Mongo target supplies to the Prisma 6 schema reader: the datasource provider it reads, the codec each Prisma 6 scalar and native type maps to, the codec an `@id` must have, and the generator `now()` and `@updatedAt` lower to. Each codec is the one for the BSON type Prisma 6 stores (ADR 257), with the application type the Prisma 6 client presents: a plain `Int` is a BSON long read as a `number`.\n*/\nconst prisma6MongoBinding = {\n\ttarget: mongoTargetDescriptorMetaRuntime,\n\tproviders: [\"mongodb\"],\n\tscalarCodecIds: {\n\t\tString: MONGO_STRING_CODEC_ID,\n\t\tInt: MONGO_INT64_NUMBER_CODEC_ID,\n\t\tFloat: MONGO_DOUBLE_CODEC_ID,\n\t\tBoolean: MONGO_BOOLEAN_CODEC_ID,\n\t\tDateTime: MONGO_DATE_CODEC_ID,\n\t\tBigInt: MONGO_INT64_CODEC_ID,\n\t\tDecimal: MONGO_DECIMAL128_CODEC_ID,\n\t\tBytes: MONGO_BINARY_CODEC_ID,\n\t\tJson: MONGO_JSON_CODEC_ID\n\t},\n\tnativeTypeCodecIds: {\n\t\tString: {\n\t\t\t\"db.String\": MONGO_STRING_CODEC_ID,\n\t\t\t\"db.ObjectId\": MONGO_OBJECTID_CODEC_ID\n\t\t},\n\t\tBoolean: { \"db.Bool\": MONGO_BOOLEAN_CODEC_ID },\n\t\tInt: {\n\t\t\t\"db.Int\": MONGO_INT32_CODEC_ID,\n\t\t\t\"db.Long\": MONGO_INT64_NUMBER_CODEC_ID\n\t\t},\n\t\tBigInt: { \"db.Long\": MONGO_INT64_CODEC_ID },\n\t\tFloat: { \"db.Double\": MONGO_DOUBLE_CODEC_ID },\n\t\tDateTime: { \"db.Date\": MONGO_DATE_CODEC_ID },\n\t\tBytes: {\n\t\t\t\"db.BinData\": MONGO_BINARY_CODEC_ID,\n\t\t\t\"db.ObjectId\": MONGO_OBJECTID_CODEC_ID\n\t\t},\n\t\tJson: { \"db.Json\": MONGO_JSON_CODEC_ID }\n\t},\n\tobjectIdCodecId: MONGO_OBJECTID_CODEC_ID\n};\n//#endregion\nexport { prisma6MongoBinding };\n\n//# sourceMappingURL=prisma6-binding.mjs.map"],"mappings":";;;;;;AAKA,MAAM,sBAAsB;CAC3B,QAAQ;CACR,WAAW,CAAC,SAAS;CACrB,gBAAgB;EACf,QAAQ;EACR,KAAK;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,QAAQ;EACR,SAAS;EACT,OAAO;EACP,MAAM;CACP;CACA,oBAAoB;EACnB,QAAQ;GACP,aAAa;GACb,eAAe;EAChB;EACA,SAAS,EAAE,WAAW,uBAAuB;EAC7C,KAAK;GACJ,UAAU;GACV,WAAW;EACZ;EACA,QAAQ,EAAE,WAAW,qBAAqB;EAC1C,OAAO,EAAE,aAAa,sBAAsB;EAC5C,UAAU,EAAE,WAAW,oBAAoB;EAC3C,OAAO;GACN,cAAc;GACd,eAAe;EAChB;EACA,MAAM,EAAE,WAAW,oBAAoB;CACxC;CACA,iBAAiB;AAClB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-
|
|
1
|
+
import { t as mongoTargetDescriptorMetaRuntime } from "./descriptor-meta-runtime-J4eVdBtZ-D1yRng4t.mjs";
|
|
2
2
|
//#region ../../../3-targets/mongo/1-target/dist/runtime.mjs
|
|
3
3
|
/**
|
|
4
4
|
* Target-mongo deliberately does NOT import `MongoRuntimeTargetDescriptor` from `@internal/mongo-runtime`. The target package is a control-plane residence and must not pull the Mongo execution-plane package into its dependency closure. The target's codecs are its codec descriptors in `types.codecTypes.codecDescriptors`, from its descriptor metadata.
|
|
@@ -15,4 +15,4 @@ const mongoRuntimeTargetDescriptor = {
|
|
|
15
15
|
//#endregion
|
|
16
16
|
export { mongoRuntimeTargetDescriptor as t };
|
|
17
17
|
|
|
18
|
-
//# sourceMappingURL=runtime-
|
|
18
|
+
//# sourceMappingURL=runtime-CkX-HAf5.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-
|
|
1
|
+
{"version":3,"file":"runtime-CkX-HAf5.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/runtime.mjs"],"sourcesContent":["import { n as mongoNowGenerators } from \"./date-time-now-generators-Dhq1b2V8.mjs\";\nimport { t as mongoTargetDescriptorMetaRuntime } from \"./descriptor-meta-runtime-J4eVdBtZ.mjs\";\n//#region src/exports/runtime.ts\n/**\n* Target-mongo deliberately does NOT import `MongoRuntimeTargetDescriptor` from `@internal/mongo-runtime`. The target package is a control-plane residence and must not pull the Mongo execution-plane package into its dependency closure. The target's codecs are its codec descriptors in `types.codecTypes.codecDescriptors`, from its descriptor metadata.\n*/\nconst mongoRuntimeTargetDescriptor = {\n\t...mongoTargetDescriptorMetaRuntime,\n\tcreate() {\n\t\treturn {\n\t\t\tfamilyId: \"mongo\",\n\t\t\ttargetId: \"mongo\"\n\t\t};\n\t}\n};\n//#endregion\nexport { mongoRuntimeTargetDescriptor as default, mongoNowGenerators };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;AAMA,MAAM,+BAA+B;CACpC,GAAG;CACH,SAAS;EACR,OAAO;GACN,UAAU;GACV,UAAU;EACX;CACD;AACD"}
|
package/dist/target.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as MONGO_STRING_CODEC_ID, a as MONGO_DATE_INSTANT_CODEC_ID, b as MONGO_VECTOR_CODEC_ID, c as MONGO_DATE_TEMPORAL_CODEC_ID, d as MONGO_DURATION_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DATE_INSTANT_STRING_CODEC_ID, p as MONGO_INT64_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_DATE_STRING_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID, v as MONGO_TIME_STRING_CODEC_ID, y as MONGO_TIME_TEMPORAL_CODEC_ID } from "./codec-ids-B8WIyai-.mjs";
|
|
2
2
|
import { a as ParameterizedOutputTypesForTypeParams, i as CodecTypes, n as BsonScalar, o as Vector, r as BsonValue, t as BsonInputValue } from "./codec-types-C6UDhw7l.mjs";
|
|
3
3
|
import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-Bkkn7nm4.mjs";
|
|
4
|
-
import { a as
|
|
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-
|
|
4
|
+
import { A as unsetField, C as rawAggregate, D as schemaCollectionToCreateCollectionOptions, E as renameField, O as schemaIndexToCreateIndexOptions, S as fillField, T as renameCollection, _ as createCollection, a as CreateIndexCall, b as dropCollection, c as DropIndexCall, d as OpFactoryCall$1, f as RenameCollectionCall, g as collMod, h as castField, i as CreateCollectionCall, j as validatedCollection, k as setValidation, m as UnsetFieldCall, n as CollModCall, p as RenameFieldCall, r as CollModMeta, s as DropCollectionCall, u as IndexCallOptions, v as createIndex, w as rawUpdateMany, x as dropIndex, y as dataTransform } from "./op-factory-call-BCgwbVJe-DhcJRxAb.mjs";
|
|
5
|
+
import { _ as deserializeMongoOps, a as MongoMigrationRunnerExecuteOptions, b as renderOps, c as MongoTargetContract, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as deserializeMongoOp, h as RenderMigrationMeta, i as MongoMigrationRunnerErrorCode, l as MongoTargetContractSerializer, m as PlannerProducedMongoMigration, n as MongoMigrationPlanner, o as MongoMigrationRunnerFailure, p as PlanCallsResult, r as MongoMigrationRunner, s as MongoMigrationRunnerResult, t as FilterEvaluator, u as MongoTargetDatabase, v as mongoTargetDescriptor, x as serializeMongoOps, y as renderCallsToTypeScript } from "./control-OiC131Dv.mjs";
|
|
6
6
|
import { S as mongoVectorParams, _ as mongoString, a as mongoCalendarDateText, b as mongoTimeText, c as mongoDecimal128, d as mongoDurationText, f as mongoInstantText, g as mongoObjectId, h as mongoJson, i as mongoCalendarDate, l as mongoDouble, m as mongoInt64, n as mongoBool, o as mongoDataTypes, p as mongoInt32, r as mongoBson, s as mongoDate, t as mongoBinary, u as mongoDuration, v as mongoTextDataTypes, x as mongoVector, y as mongoTime } from "./data-types-ozSM4YdB.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-DASk9QNA.mjs";
|
|
8
8
|
import "./pack-FzGKNW0Q.mjs";
|
|
9
9
|
import { t as prisma6MongoBinding } from "./prisma6-binding-DhnqslLT.mjs";
|
|
10
10
|
import { n as mongoNowGenerators, t as MongoRuntimeTargetInstance } from "./runtime-C-5ghims.mjs";
|
|
11
|
-
export { type BsonInputValue, type BsonScalar, type BsonValue, CodecTypes, CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type IndexCallOptions, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerErrorCode, type MongoMigrationRunnerExecuteOptions, type MongoMigrationRunnerFailure, type MongoMigrationRunnerResult, MongoRuntimeTargetInstance, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, ParameterizedOutputTypesForTypeParams, type PlanCallsResult, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, type RenderMigrationMeta, UnsetFieldCall, Vector, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
|
|
11
|
+
export { type BsonInputValue, type BsonScalar, type BsonValue, CodecTypes, CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type IndexCallOptions, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerErrorCode, type MongoMigrationRunnerExecuteOptions, type MongoMigrationRunnerFailure, type MongoMigrationRunnerResult, MongoRuntimeTargetInstance, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, ParameterizedOutputTypesForTypeParams, type PlanCallsResult, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, type RenderMigrationMeta, UnsetFieldCall, Vector, castField, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, fillField, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, rawAggregate, rawUpdateMany, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
|
package/dist/target.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as MONGO_STRING_CODEC_ID, a as MONGO_DATE_INSTANT_CODEC_ID, b as MONGO_VECTOR_CODEC_ID, c as MONGO_DATE_TEMPORAL_CODEC_ID, d as MONGO_DURATION_STRING_CODEC_ID, f as MONGO_INT32_CODEC_ID, g as MONGO_OBJECTID_CODEC_ID, h as MONGO_JSON_CODEC_ID, i as MONGO_DATE_CODEC_ID, l as MONGO_DECIMAL128_CODEC_ID, m as MONGO_INT64_NUMBER_CODEC_ID, n as MONGO_BOOLEAN_CODEC_ID, o as MONGO_DATE_INSTANT_STRING_CODEC_ID, p as MONGO_INT64_CODEC_ID, r as MONGO_BSON_CODEC_ID, s as MONGO_DATE_STRING_CODEC_ID, t as MONGO_BINARY_CODEC_ID, u as MONGO_DOUBLE_CODEC_ID, v as MONGO_TIME_STRING_CODEC_ID, y as MONGO_TIME_TEMPORAL_CODEC_ID } from "./codec-ids-DZQsuh80-ywDzfnAg.mjs";
|
|
2
|
-
import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-
|
|
3
|
-
import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-
|
|
4
|
-
import { n as mongoNowGenerators } from "./date-time-now-generators-
|
|
5
|
-
import { a as
|
|
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-
|
|
7
|
-
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-
|
|
8
|
-
import { t as prisma6MongoBinding } from "./prisma6-binding-
|
|
9
|
-
export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, UnsetFieldCall, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
|
|
2
|
+
import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-B3SLjbqa-C1LmrfzH.mjs";
|
|
3
|
+
import { n as mongoDescriptorById, t as mongoCodecDescriptors } from "./codecs-Bl21z49D-Bj5erX9r.mjs";
|
|
4
|
+
import { n as mongoNowGenerators } from "./date-time-now-generators-Dhq1b2V8-TgMEfnbI.mjs";
|
|
5
|
+
import { _ as setValidation, a as createIndex, b as validatedCollection, d as fillField, g as renameField, h as renameCollection, i as createCollection, l as dropCollection, m as rawUpdateMany, o as dataTransform, p as rawAggregate, r as collMod, t as castField, u as dropIndex, y as unsetField } from "./migration-factories-C5ktmt8c-BP8k9SnZ.mjs";
|
|
6
|
+
import { C as schemaIndexToCreateIndexOptions, S as schemaCollectionToCreateCollectionOptions, _ as deserializeMongoOp, a as DropIndexCall, b as renderCallsToTypeScript, c as MongoMigrationRunner, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as UnsetFieldCall, h as RenameFieldCall, i as DropCollectionCall, l as MongoTargetContractSerializer, m as RenameCollectionCall, n as CreateCollectionCall, o as FilterEvaluator, p as PlannerProducedMongoMigration, r as CreateIndexCall, s as MongoMigrationPlanner, t as CollModCall, u as MongoTargetDatabase, v as deserializeMongoOps, w as serializeMongoOps, x as renderOps, y as mongoTargetDescriptor } from "./control-BxslS3_F.mjs";
|
|
7
|
+
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-psmPNv10.mjs";
|
|
8
|
+
import { t as prisma6MongoBinding } from "./prisma6-binding-BXi_1e8c.mjs";
|
|
9
|
+
export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MONGO_BINARY_CODEC_ID, MONGO_BOOLEAN_CODEC_ID, MONGO_BSON_CODEC_ID, MONGO_DATE_CODEC_ID, MONGO_DATE_INSTANT_CODEC_ID, MONGO_DATE_INSTANT_STRING_CODEC_ID, MONGO_DATE_STRING_CODEC_ID, MONGO_DATE_TEMPORAL_CODEC_ID, MONGO_DECIMAL128_CODEC_ID, MONGO_DOUBLE_CODEC_ID, MONGO_DURATION_STRING_CODEC_ID, MONGO_INT32_CODEC_ID, MONGO_INT64_CODEC_ID, MONGO_INT64_NUMBER_CODEC_ID, MONGO_JSON_CODEC_ID, MONGO_OBJECTID_CODEC_ID, MONGO_STRING_CODEC_ID, MONGO_TIME_STRING_CODEC_ID, MONGO_TIME_TEMPORAL_CODEC_ID, MONGO_VECTOR_CODEC_ID, Migration, MigrationCLI, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, UnsetFieldCall, castField, collMod, createCollection, createIndex, dataTransform, deserializeMongoOp, deserializeMongoOps, dropCollection, dropIndex, fillField, mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoCodecDescriptors, mongoDataTypes, mongoDate, mongoDecimal128, mongoDescriptorById, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoNowGenerators, mongoObjectId, mongoString, mongoTargetDescriptor, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams, placeholder, prisma6MongoBinding, rawAggregate, rawUpdateMany, renameCollection, renameField, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps, setValidation, unsetField, validatedCollection };
|
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-Bl21z49D-Bj5erX9r.mjs";
|
|
2
2
|
export { mongoCodecDescriptors, mongoDescriptorById };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as deserializeMongoOps, a as MongoMigrationRunnerExecuteOptions, b as renderOps, c as MongoTargetContract, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as deserializeMongoOp, h as RenderMigrationMeta, i as MongoMigrationRunnerErrorCode, l as MongoTargetContractSerializer, m as PlannerProducedMongoMigration, n as MongoMigrationPlanner, o as MongoMigrationRunnerFailure, p as PlanCallsResult, r as MongoMigrationRunner, s as MongoMigrationRunnerResult, t as FilterEvaluator, u as MongoTargetDatabase, v as mongoTargetDescriptor, x as serializeMongoOps, y as renderCallsToTypeScript } from "./control-
|
|
1
|
+
import { D as schemaCollectionToCreateCollectionOptions, O as schemaIndexToCreateIndexOptions, a as CreateIndexCall, c as DropIndexCall, d as OpFactoryCall$1, f as RenameCollectionCall, i as CreateCollectionCall, m as UnsetFieldCall, n as CollModCall, p as RenameFieldCall, r as CollModMeta, s as DropCollectionCall, u as IndexCallOptions } from "./op-factory-call-BCgwbVJe-DhcJRxAb.mjs";
|
|
2
|
+
import { _ as deserializeMongoOps, a as MongoMigrationRunnerExecuteOptions, b as renderOps, c as MongoTargetContract, d as MongoTargetSchemaVerifier, f as MongoTargetUnboundDatabase, g as deserializeMongoOp, h as RenderMigrationMeta, i as MongoMigrationRunnerErrorCode, l as MongoTargetContractSerializer, m as PlannerProducedMongoMigration, n as MongoMigrationPlanner, o as MongoMigrationRunnerFailure, p as PlanCallsResult, r as MongoMigrationRunner, s as MongoMigrationRunnerResult, t as FilterEvaluator, u as MongoTargetDatabase, v as mongoTargetDescriptor, x as serializeMongoOps, y as renderCallsToTypeScript } from "./control-OiC131Dv.mjs";
|
|
3
3
|
export { CollModCall, type CollModMeta, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, type IndexCallOptions, MongoMigrationPlanner, MongoMigrationRunner, type MongoMigrationRunnerErrorCode, type MongoMigrationRunnerExecuteOptions, type MongoMigrationRunnerFailure, type MongoMigrationRunnerResult, type MongoTargetContract, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, type OpFactoryCall$1 as OpFactoryCall, type PlanCallsResult, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, type RenderMigrationMeta, UnsetFieldCall, deserializeMongoOp, deserializeMongoOps, mongoTargetDescriptor, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps };
|
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-BxslS3_F.mjs";
|
|
2
2
|
export { CollModCall, CreateCollectionCall, CreateIndexCall, DropCollectionCall, DropIndexCall, FilterEvaluator, MongoMigrationPlanner, MongoMigrationRunner, MongoTargetContractSerializer, MongoTargetDatabase, MongoTargetSchemaVerifier, MongoTargetUnboundDatabase, PlannerProducedMongoMigration, RenameCollectionCall, RenameFieldCall, UnsetFieldCall, deserializeMongoOp, deserializeMongoOps, mongoTargetDescriptor, renderCallsToTypeScript, renderOps, schemaCollectionToCreateCollectionOptions, schemaIndexToCreateIndexOptions, serializeMongoOps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-
|
|
1
|
+
import { $ as mongoVector, B as mongoDecimal128, F as mongoBson, G as mongoInt32, H as mongoDuration, I as mongoCalendarDate, J as mongoObjectId, K as mongoInt64, L as mongoCalendarDateText, N as mongoBinary, P as mongoBool, Q as mongoTimeText, R as mongoDataTypes, U as mongoDurationText, V as mongoDouble, W as mongoInstantText, X as mongoTextDataTypes, Y as mongoString, Z as mongoTime, et as mongoVectorParams, q as mongoJson, z as mongoDate } from "./data-types-B3SLjbqa-C1LmrfzH.mjs";
|
|
2
2
|
export { mongoBinary, mongoBool, mongoBson, mongoCalendarDate, mongoCalendarDateText, mongoDataTypes, mongoDate, mongoDecimal128, mongoDouble, mongoDuration, mongoDurationText, mongoInstantText, mongoInt32, mongoInt64, mongoJson, mongoObjectId, mongoString, mongoTextDataTypes, mongoTime, mongoTimeText, mongoVector, mongoVectorParams };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { A as unsetField, C as rawAggregate, E as renameField, S as fillField, T as renameCollection, _ as createCollection, b as dropCollection, g as collMod, h as castField, j as validatedCollection, k as setValidation, v as createIndex, w as rawUpdateMany, x as dropIndex, y as dataTransform } from "./op-factory-call-BCgwbVJe-DhcJRxAb.mjs";
|
|
2
|
+
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-DASk9QNA.mjs";
|
|
3
|
+
export { Migration, MigrationCLI, castField, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, fillField, placeholder, rawAggregate, rawUpdateMany, renameCollection, renameField, setValidation, unsetField, validatedCollection };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-
|
|
3
|
-
export { Migration, MigrationCLI, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, placeholder, renameCollection, renameField, setValidation, unsetField, validatedCollection };
|
|
1
|
+
import { _ as setValidation, a as createIndex, b as validatedCollection, d as fillField, g as renameField, h as renameCollection, i as createCollection, l as dropCollection, m as rawUpdateMany, o as dataTransform, p as rawAggregate, r as collMod, t as castField, u as dropIndex, y as unsetField } from "./migration-factories-C5ktmt8c-BP8k9SnZ.mjs";
|
|
2
|
+
import { n as MigrationCLI, r as placeholder, t as Migration } from "./migration-psmPNv10.mjs";
|
|
3
|
+
export { Migration, MigrationCLI, castField, collMod, createCollection, createIndex, dataTransform, dropCollection, dropIndex, fillField, placeholder, rawAggregate, rawUpdateMany, renameCollection, renameField, setValidation, unsetField, validatedCollection };
|
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-BXMz_uZd-B8WB2m7v.mjs";
|
|
2
2
|
//#region ../../../3-targets/mongo/1-target/dist/pack.mjs
|
|
3
3
|
const mongoTargetPack = mongoTargetDescriptorMeta;
|
|
4
4
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"target__pack.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/pack.mjs"],"sourcesContent":["import { t as mongoTargetDescriptorMeta } from \"./descriptor-meta-
|
|
1
|
+
{"version":3,"file":"target__pack.mjs","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/pack.mjs"],"sourcesContent":["import { t as mongoTargetDescriptorMeta } from \"./descriptor-meta-BXMz_uZd.mjs\";\n//#region src/exports/pack.ts\nconst mongoTargetPack = mongoTargetDescriptorMeta;\n//#endregion\nexport { mongoTargetPack as default };\n\n//# sourceMappingURL=pack.mjs.map"],"mappings":";;AAEA,MAAM,kBAAkB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prisma6MongoBinding } from "./prisma6-binding-
|
|
1
|
+
import { t as prisma6MongoBinding } from "./prisma6-binding-BXi_1e8c.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-Dhq1b2V8-TgMEfnbI.mjs";
|
|
2
|
+
import { t as mongoRuntimeTargetDescriptor } from "./runtime-CkX-HAf5.mjs";
|
|
3
3
|
export { mongoRuntimeTargetDescriptor as default, mongoNowGenerators };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-target-mongo",
|
|
3
|
-
"version": "8.0.0-rc.23-dev.
|
|
3
|
+
"version": "8.0.0-rc.23-dev.14",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@prisma/orm-family-mongo": "8.0.0-rc.23-dev.
|
|
13
|
-
"@prisma/orm-framework": "8.0.0-rc.23-dev.
|
|
14
|
-
"@prisma/orm-toolchain": "8.0.0-rc.23-dev.
|
|
12
|
+
"@prisma/orm-family-mongo": "8.0.0-rc.23-dev.14",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.23-dev.14",
|
|
14
|
+
"@prisma/orm-toolchain": "8.0.0-rc.23-dev.14",
|
|
15
15
|
"arktype": "^2.2.2",
|
|
16
16
|
"bson": "^7.2.0",
|
|
17
17
|
"temporal-spec": "1.0.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@internal/adapter-mongo": "8.0.0-rc.23-dev.
|
|
21
|
-
"@internal/driver-mongo": "8.0.0-rc.23-dev.
|
|
22
|
-
"@internal/target-mongo": "8.0.0-rc.23-dev.
|
|
23
|
-
"@repo/test-utils": "8.0.0-rc.23-dev.
|
|
24
|
-
"@repo/tsconfig": "8.0.0-rc.23-dev.
|
|
25
|
-
"@repo/tsdown": "8.0.0-rc.23-dev.
|
|
20
|
+
"@internal/adapter-mongo": "8.0.0-rc.23-dev.14",
|
|
21
|
+
"@internal/driver-mongo": "8.0.0-rc.23-dev.14",
|
|
22
|
+
"@internal/target-mongo": "8.0.0-rc.23-dev.14",
|
|
23
|
+
"@repo/test-utils": "8.0.0-rc.23-dev.14",
|
|
24
|
+
"@repo/tsconfig": "8.0.0-rc.23-dev.14",
|
|
25
|
+
"@repo/tsdown": "8.0.0-rc.23-dev.14",
|
|
26
26
|
"tsdown": "0.22.14",
|
|
27
27
|
"typescript": "5.9.3",
|
|
28
28
|
"vitest": "5.0.0-rc.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"control-1-RnMe4V.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6BK,sBAAsB,KAAK;WACrB,SAAS;;;;;;;;;;;;;;cAcN,uBAAuB,6BAA6B;;;cAGpD,2BAA2B;UAC/B;EACR,SAAS,QAAQ,iBAAiB,KAAK;EACvC,MAAM,MAAM;EACZ,IAAI,MAAM;EACV,GAAG,MAAM;EACT,IAAI,MAAM;EACV,OAAO,MAAM;EACb,KAAK,OAAO;;;;iBAIG,mBAAmB,gBAAgB;iBACnC,oBAAoB,2BAA2B;iBAC/C,kBAAkB,cAAc;;;;;;;;UAQvC;WACC,QAAQ;;WAER,4BAA4B;;WAE5B,oBAAoB,kBAAkB;;;;KAI5C;WACM;WACA,OAAO;;WAEP,mBAAmB;;WAEnB;WACA,WAAW;;cAER,iCAAiC;EAC7C,UAAU;aACC;aACA;aACA,QAAQ;aACR,qBAAqB,cAAc;;aAEnC,cAAc;;aAEd,iBAAiB;MACxB;EACJ,KAAK;aACM;aACA;aACA,QAAQ;;aAER,cAAc;;aAEd,QAAQ;;aAER,qBAAqB;aACrB,qBAAqB,cAAc;;;;;;aAMnC;MACP;;;;;;;;;;EAUJ,eAAe,SAAS,2BAA2B;;;;;KAKhD;;;UAGK;WACC,MAAM;WACN,qBAAqB;WACrB,QAAQ;WACR;IACP,kBAAkB,IAAI;IACtB,qBAAqB,IAAI;;WAElB,kBAAkB;WAClB,qBAAqB,cAAc;WACnC;WACA,UAAU;;;;;;;;;;;WAWV,qBAAqB,QAAQ,+BAA+B;;WAE5D,yBAAyB;;WAEzB;;;UAGD,oCAAoC;WACnC,MAAM;;;UAGP,+BAA+B;WAC9B;;KAEN,6BAA6B,OAAO,wBAAwB;cACnD;mBACK;EACjB,YAAY,MAAM;EAClB,QAAQ,SAAS,qCAAqC,QAAQ;;UAEtD;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;;;;;;;;;;;;;;;;;;;;;;;;cAyBI,kCAAkC,wBAAwB,qBAAqB;YACjF,gBAAgB;aACf,UAAU;aACV,QAAQ;aACR;aACA,WAAW;eACT;YACH,uBAAuB,UAAU,oBAAoB,qBAAqB,0BAA0B;;;;;;;;;;;;;;;;;;;cAmBlG,sCAAsC,UAAU,uCAAuC;mBAClF;mBACA;mBACA;WACR;EACT,YAAY,gBAAgB,mBAAiB,MAAM,eAAe;MAC9D,uBAAuB;EAC3B,YAAY;EACZ,iBAAiB,wBAAwB;;;;iBAI1B,UAAU,OAAO,cAAc,mBAAiB;;;UAGvD;WACC;WACA;;WAEA;;;;;;;WAOA,yBAAyB;;;;;;;;;;;;;;;;;;;iBAmBnB,wBAAwB,OAAO,cAAc,kBAAgB,MAAM;;;cAGtE,sCAAsC,4BAA4B;YACpE,wBAAwB,WAAW,gBAAgB;EAC7D,kBAAkB,UAAU,sBAAsB;;;;UAI1C;WACC;WACA,UAAU,SAAS,eAAe,SAAS;aACzC,aAAa,SAAS,eAAe;aACrC,WAAW,SAAS,eAAe;;;;;;;;;;;;;;;;;cAiBlC,4BAA4B;WAC/B;WACA;WACA,SAAS;EAClB,YAAY,OAAO;MACf,cAAc,SAAS,eAAe;;;;;EAK1C;;;;;;;EAOA,kBAAkB;;;;;;;;;;;;;;;cAeN,mCAAmC;kBAC/B,UAAU;UAClB;EACR;EACA,kBAAkB"}
|