@prisma/orm-target-mongo 8.0.0-rc.20-dev.13 → 8.0.0-rc.20-dev.15
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/{control-BOMgFmdt.mjs → control-DqUpXeJr.mjs} +2 -2
- package/dist/{control-BOMgFmdt.mjs.map → control-DqUpXeJr.mjs.map} +1 -1
- package/dist/{descriptor-meta-DTj807jv-CjvK2XDD.mjs → descriptor-meta-DU1EhCii-BJ2e8_WL.mjs} +4 -10
- package/dist/descriptor-meta-DU1EhCii-BJ2e8_WL.mjs.map +1 -0
- package/dist/driver.mjs +1 -1
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__control.mjs.map +1 -1
- package/dist/{mongo-driver-Cbj9Vh6Q-BKE78zKJ.mjs → mongo-driver-DvSP1rKR-DcX43NVg.mjs} +3 -3
- package/dist/{mongo-driver-Cbj9Vh6Q-BKE78zKJ.mjs.map → mongo-driver-DvSP1rKR-DcX43NVg.mjs.map} +1 -1
- package/dist/pack-xD2XwjJr.d.mts +140 -0
- package/dist/pack-xD2XwjJr.d.mts.map +1 -0
- package/dist/target.d.mts +1 -1
- package/dist/target.mjs +1 -1
- package/dist/target__control.mjs +1 -1
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__pack.mjs.map +1 -1
- package/package.json +9 -9
- package/dist/descriptor-meta-DTj807jv-CjvK2XDD.mjs.map +0 -1
- package/dist/pack-CIfujQmd.d.mts +0 -266
- package/dist/pack-CIfujQmd.d.mts.map +0 -1
package/dist/pack-CIfujQmd.d.mts
DELETED
|
@@ -1,266 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|