lakutata 2.0.56 → 2.0.58
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/com/database.cjs +2 -0
- package/com/database.d.ts +2 -2
- package/com/database.mjs +2 -0
- package/com/entrypoint.cjs +2 -0
- package/com/entrypoint.d.ts +1 -1
- package/com/entrypoint.mjs +2 -0
- package/decorator/ctrl.d.ts +8 -1
- package/decorator/orm.cjs +88 -86
- package/decorator/orm.d.ts +74 -50
- package/decorator/orm.mjs +46 -44
- package/lakutata.cjs +6 -4
- package/lakutata.mjs +2 -0
- package/orm.cjs +112 -1075
- package/orm.d.ts +5 -5
- package/orm.mjs +17 -1015
- package/package.json +1 -1
- package/provider/database.cjs +2 -0
- package/provider/database.d.ts +2 -2
- package/provider/database.mjs +2 -0
- package/src/components/Database.cjs +2 -0
- package/src/components/Database.mjs +2 -0
- package/src/components/entrypoint/Entrypoint.cjs +853 -742
- package/src/components/entrypoint/Entrypoint.mjs +822 -711
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +34 -0
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +28 -0
- package/src/decorators/orm/AfterInsert.cjs +7 -27
- package/src/decorators/orm/AfterInsert.mjs +6 -28
- package/src/decorators/orm/AfterLoad.cjs +7 -27
- package/src/decorators/orm/AfterLoad.mjs +6 -28
- package/src/decorators/orm/AfterRecover.cjs +7 -27
- package/src/decorators/orm/AfterRecover.mjs +6 -28
- package/src/decorators/orm/AfterRemove.cjs +7 -27
- package/src/decorators/orm/AfterRemove.mjs +6 -28
- package/src/decorators/orm/AfterSoftRemove.cjs +7 -27
- package/src/decorators/orm/AfterSoftRemove.mjs +6 -28
- package/src/decorators/orm/AfterUpdate.cjs +7 -27
- package/src/decorators/orm/AfterUpdate.mjs +6 -28
- package/src/decorators/orm/BeforeInsert.cjs +7 -27
- package/src/decorators/orm/BeforeInsert.mjs +6 -28
- package/src/decorators/orm/BeforeRecover.cjs +7 -27
- package/src/decorators/orm/BeforeRecover.mjs +6 -28
- package/src/decorators/orm/BeforeRemove.cjs +7 -27
- package/src/decorators/orm/BeforeRemove.mjs +6 -28
- package/src/decorators/orm/BeforeSoftRemove.cjs +7 -27
- package/src/decorators/orm/BeforeSoftRemove.mjs +6 -28
- package/src/decorators/orm/BeforeUpdate.cjs +7 -27
- package/src/decorators/orm/BeforeUpdate.mjs +6 -28
- package/src/decorators/orm/Check.cjs +7 -30
- package/src/decorators/orm/Check.mjs +6 -31
- package/src/decorators/orm/ChildEntity.cjs +7 -30
- package/src/decorators/orm/ChildEntity.mjs +6 -31
- package/src/decorators/orm/Column.cjs +7 -62
- package/src/decorators/orm/Column.mjs +6 -63
- package/src/decorators/orm/CreateDateColumn.cjs +7 -26
- package/src/decorators/orm/CreateDateColumn.mjs +6 -27
- package/src/decorators/orm/DeleteDateColumn.cjs +7 -26
- package/src/decorators/orm/DeleteDateColumn.mjs +6 -27
- package/src/decorators/orm/Entity.cjs +7 -36
- package/src/decorators/orm/Entity.mjs +6 -37
- package/src/decorators/orm/EventSubscriber.cjs +7 -23
- package/src/decorators/orm/EventSubscriber.mjs +6 -24
- package/src/decorators/orm/Exclusion.cjs +7 -30
- package/src/decorators/orm/Exclusion.mjs +6 -31
- package/src/decorators/orm/Generated.cjs +7 -25
- package/src/decorators/orm/Generated.mjs +6 -26
- package/src/decorators/orm/Index.cjs +7 -42
- package/src/decorators/orm/Index.mjs +6 -43
- package/src/decorators/orm/JoinColumn.cjs +7 -30
- package/src/decorators/orm/JoinColumn.mjs +6 -31
- package/src/decorators/orm/JoinTable.cjs +7 -31
- package/src/decorators/orm/JoinTable.mjs +6 -32
- package/src/decorators/orm/ManyToMany.cjs +7 -43
- package/src/decorators/orm/ManyToMany.mjs +6 -44
- package/src/decorators/orm/ManyToOne.cjs +7 -43
- package/src/decorators/orm/ManyToOne.mjs +6 -44
- package/src/decorators/orm/ObjectIdColumn.cjs +7 -29
- package/src/decorators/orm/ObjectIdColumn.mjs +6 -30
- package/src/decorators/orm/OneToMany.cjs +7 -35
- package/src/decorators/orm/OneToMany.mjs +6 -36
- package/src/decorators/orm/OneToOne.cjs +7 -43
- package/src/decorators/orm/OneToOne.mjs +6 -44
- package/src/decorators/orm/PrimaryColumn.cjs +7 -50
- package/src/decorators/orm/PrimaryColumn.mjs +6 -51
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +7 -55
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +6 -56
- package/src/decorators/orm/RelationId.cjs +7 -27
- package/src/decorators/orm/RelationId.mjs +6 -28
- package/src/decorators/orm/TableInheritance.cjs +7 -27
- package/src/decorators/orm/TableInheritance.mjs +6 -28
- package/src/decorators/orm/Tree.cjs +7 -25
- package/src/decorators/orm/Tree.mjs +6 -26
- package/src/decorators/orm/TreeChildren.cjs +7 -32
- package/src/decorators/orm/TreeChildren.mjs +6 -33
- package/src/decorators/orm/TreeLevelColumn.cjs +7 -26
- package/src/decorators/orm/TreeLevelColumn.mjs +6 -27
- package/src/decorators/orm/TreeParent.cjs +7 -32
- package/src/decorators/orm/TreeParent.mjs +6 -33
- package/src/decorators/orm/Unique.cjs +7 -45
- package/src/decorators/orm/Unique.mjs +6 -46
- package/src/decorators/orm/UpdateDateColumn.cjs +7 -26
- package/src/decorators/orm/UpdateDateColumn.mjs +6 -27
- package/src/decorators/orm/VersionColumn.cjs +7 -26
- package/src/decorators/orm/VersionColumn.mjs +6 -27
- package/src/decorators/orm/ViewColumn.cjs +7 -26
- package/src/decorators/orm/ViewColumn.mjs +6 -27
- package/src/decorators/orm/ViewEntity.cjs +7 -35
- package/src/decorators/orm/ViewEntity.mjs +6 -36
- package/src/decorators/orm/VirtualColumn.cjs +7 -43
- package/src/decorators/orm/VirtualColumn.mjs +6 -44
- package/src/lib/core/Application.cjs +9 -7
- package/src/lib/core/Application.mjs +19 -17
- package/src/providers/Database.cjs +2 -0
- package/src/providers/Database.mjs +2 -0
- package/vendor/Package.122.cjs +19932 -14856
- package/vendor/Package.122.mjs +32675 -27699
- package/vendor/Package.19.cjs +1 -1
- package/vendor/Package.19.mjs +1 -1
- package/vendor/Package.6.cjs +1 -1
- package/vendor/Package.6.mjs +1 -1
- package/vendor/TypeDef.13.d.ts +61 -6
- package/vendor/TypeDef.4.d.ts +347 -181
package/orm.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./vendor/Package.4.mjs";
|
|
2
2
|
|
|
3
|
-
import { g as
|
|
3
|
+
import { g as a } from "./vendor/Package.5.mjs";
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { K as e, L as s, N as r, Q as o } from "./vendor/Package.122.mjs";
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { aC as AbstractLogger, aD as AdvancedConsoleLogger, ah as And, ai as Any, aj as ArrayContainedBy, ak as ArrayContains, al as ArrayOverlap, aI as BaseEntity, am as Between, a0 as Brackets, S as ConnectionOptionsReader, a8 as DefaultNamingStrategy, Y as DeleteQueryBuilder, a4 as DeleteResult, aG as EntityMetadata, aa as EntitySchema, ab as EntitySchemaEmbeddedColumnOptions, ac as EntitySchemaOptions, an as Equal, az as EqualOperator, aF as FileLogger, aA as FindOperator, aB as FindOptionsUtils, as as ILike, ao as In, Z as InsertQueryBuilder, a2 as InsertResult, ad as InstanceChecker, ap as IsNull, ay as JsonContains, a9 as LegacyOracleNamingStrategy, aq as LessThan, ar as LessThanOrEqual, at as Like, a6 as Migration, a7 as MigrationExecutor, aK as MongoRepository, au as MoreThan, av as MoreThanOrEqual, aS as MssqlParameter, aw as Not, a1 as NotBrackets, W as QueryBuilder, a5 as QueryResult, ax as Raw, $ as RelationQueryBuilder, aH as Repository, X as SelectQueryBuilder, aE as SimpleConsoleLogger, aR as Table, aL as TableCheck, aM as TableColumn, aN as TableExclusion, aO as TableForeignKey, aP as TableIndex, aQ as TableUnique, aJ as TreeRepository, ae as TreeRepositoryUtils, _ as UpdateQueryBuilder, a3 as UpdateResult, ag as getFromContainer, af as useContainer } from "./vendor/Package.122.mjs";
|
|
8
8
|
|
|
9
|
-
import { D as
|
|
9
|
+
import { D as t } from "./vendor/Package.12.mjs";
|
|
10
10
|
|
|
11
11
|
import "./vendor/Package.13.mjs";
|
|
12
12
|
|
|
@@ -52,6 +52,8 @@ import "./vendor/Package.11.mjs";
|
|
|
52
52
|
|
|
53
53
|
import "url";
|
|
54
54
|
|
|
55
|
+
import "node:util";
|
|
56
|
+
|
|
55
57
|
import "./vendor/Package.63.mjs";
|
|
56
58
|
|
|
57
59
|
import "node:url";
|
|
@@ -68,1024 +70,24 @@ import "node:stream";
|
|
|
68
70
|
|
|
69
71
|
import "node:string_decoder";
|
|
70
72
|
|
|
71
|
-
var
|
|
72
|
-
|
|
73
|
-
const C = e(F);
|
|
74
|
-
|
|
75
|
-
var D = {};
|
|
76
|
-
|
|
77
|
-
"use strict";
|
|
78
|
-
|
|
79
|
-
Object.defineProperty(D, "__esModule", {
|
|
80
|
-
value: true
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
var $ = {};
|
|
84
|
-
|
|
85
|
-
"use strict";
|
|
86
|
-
|
|
87
|
-
Object.defineProperty($, "__esModule", {
|
|
88
|
-
value: true
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
var ee = {};
|
|
92
|
-
|
|
93
|
-
"use strict";
|
|
94
|
-
|
|
95
|
-
Object.defineProperty(ee, "__esModule", {
|
|
96
|
-
value: true
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
var te = {};
|
|
100
|
-
|
|
101
|
-
"use strict";
|
|
102
|
-
|
|
103
|
-
Object.defineProperty(te, "__esModule", {
|
|
104
|
-
value: true
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
var re = {};
|
|
108
|
-
|
|
109
|
-
"use strict";
|
|
110
|
-
|
|
111
|
-
Object.defineProperty(re, "__esModule", {
|
|
112
|
-
value: true
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
var se = {};
|
|
116
|
-
|
|
117
|
-
"use strict";
|
|
118
|
-
|
|
119
|
-
Object.defineProperty(se, "__esModule", {
|
|
120
|
-
value: true
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
var ne = {};
|
|
124
|
-
|
|
125
|
-
"use strict";
|
|
126
|
-
|
|
127
|
-
Object.defineProperty(ne, "__esModule", {
|
|
128
|
-
value: true
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
var ae = {};
|
|
132
|
-
|
|
133
|
-
"use strict";
|
|
134
|
-
|
|
135
|
-
Object.defineProperty(ae, "__esModule", {
|
|
136
|
-
value: true
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
var oe = {};
|
|
140
|
-
|
|
141
|
-
"use strict";
|
|
142
|
-
|
|
143
|
-
Object.defineProperty(oe, "__esModule", {
|
|
144
|
-
value: true
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
var ie = {};
|
|
148
|
-
|
|
149
|
-
"use strict";
|
|
150
|
-
|
|
151
|
-
Object.defineProperty(ie, "__esModule", {
|
|
152
|
-
value: true
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
var ue = {};
|
|
156
|
-
|
|
157
|
-
"use strict";
|
|
158
|
-
|
|
159
|
-
Object.defineProperty(ue, "__esModule", {
|
|
160
|
-
value: true
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
var ce = {};
|
|
164
|
-
|
|
165
|
-
"use strict";
|
|
166
|
-
|
|
167
|
-
Object.defineProperty(ce, "__esModule", {
|
|
168
|
-
value: true
|
|
169
|
-
});
|
|
170
|
-
|
|
171
|
-
var de = {};
|
|
172
|
-
|
|
173
|
-
"use strict";
|
|
174
|
-
|
|
175
|
-
Object.defineProperty(de, "__esModule", {
|
|
176
|
-
value: true
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
var le = {};
|
|
180
|
-
|
|
181
|
-
"use strict";
|
|
182
|
-
|
|
183
|
-
Object.defineProperty(le, "__esModule", {
|
|
184
|
-
value: true
|
|
185
|
-
});
|
|
186
|
-
|
|
187
|
-
var ye = le.And = ve;
|
|
188
|
-
|
|
189
|
-
const pe = a;
|
|
190
|
-
|
|
191
|
-
function ve(...e) {
|
|
192
|
-
return new pe.FindOperator("and", e, true, true);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
var fe = {};
|
|
196
|
-
|
|
197
|
-
"use strict";
|
|
198
|
-
|
|
199
|
-
Object.defineProperty(fe, "__esModule", {
|
|
200
|
-
value: true
|
|
201
|
-
});
|
|
202
|
-
|
|
203
|
-
var Oe = fe.Any = _e;
|
|
204
|
-
|
|
205
|
-
const me = a;
|
|
206
|
-
|
|
207
|
-
function _e(e) {
|
|
208
|
-
return new me.FindOperator("any", e);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
var ge = {};
|
|
212
|
-
|
|
213
|
-
"use strict";
|
|
214
|
-
|
|
215
|
-
Object.defineProperty(ge, "__esModule", {
|
|
216
|
-
value: true
|
|
217
|
-
});
|
|
218
|
-
|
|
219
|
-
var be = ge.ArrayContainedBy = je;
|
|
220
|
-
|
|
221
|
-
const he = a;
|
|
222
|
-
|
|
223
|
-
function je(e) {
|
|
224
|
-
return new he.FindOperator("arrayContainedBy", e);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
var Pe = {};
|
|
228
|
-
|
|
229
|
-
"use strict";
|
|
230
|
-
|
|
231
|
-
Object.defineProperty(Pe, "__esModule", {
|
|
232
|
-
value: true
|
|
233
|
-
});
|
|
234
|
-
|
|
235
|
-
var Me = Pe.ArrayContains = Re;
|
|
236
|
-
|
|
237
|
-
const Ee = a;
|
|
238
|
-
|
|
239
|
-
function Re(e) {
|
|
240
|
-
return new Ee.FindOperator("arrayContains", e);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
var Be = {};
|
|
244
|
-
|
|
245
|
-
"use strict";
|
|
246
|
-
|
|
247
|
-
Object.defineProperty(Be, "__esModule", {
|
|
248
|
-
value: true
|
|
249
|
-
});
|
|
250
|
-
|
|
251
|
-
var Se = Be.ArrayOverlap = Ne;
|
|
252
|
-
|
|
253
|
-
const Ie = a;
|
|
254
|
-
|
|
255
|
-
function Ne(e) {
|
|
256
|
-
return new Ie.FindOperator("arrayOverlap", e);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
var Fe = {};
|
|
260
|
-
|
|
261
|
-
"use strict";
|
|
262
|
-
|
|
263
|
-
Object.defineProperty(Fe, "__esModule", {
|
|
264
|
-
value: true
|
|
265
|
-
});
|
|
266
|
-
|
|
267
|
-
var Te = Fe.Between = ke;
|
|
268
|
-
|
|
269
|
-
const we = a;
|
|
270
|
-
|
|
271
|
-
function ke(e, t) {
|
|
272
|
-
return new we.FindOperator("between", [ e, t ], true, true);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
var Ce = {};
|
|
276
|
-
|
|
277
|
-
var De = {};
|
|
278
|
-
|
|
279
|
-
"use strict";
|
|
280
|
-
|
|
281
|
-
Object.defineProperty(De, "__esModule", {
|
|
282
|
-
value: true
|
|
283
|
-
});
|
|
284
|
-
|
|
285
|
-
var Le = De.EqualOperator = void 0;
|
|
286
|
-
|
|
287
|
-
const Ae = a;
|
|
288
|
-
|
|
289
|
-
class EqualOperator extends Ae.FindOperator {
|
|
290
|
-
constructor(e) {
|
|
291
|
-
super("equal", e);
|
|
292
|
-
this["@instanceof"] = Symbol.for("EqualOperator");
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
Le = De.EqualOperator = EqualOperator;
|
|
297
|
-
|
|
298
|
-
"use strict";
|
|
299
|
-
|
|
300
|
-
Object.defineProperty(Ce, "__esModule", {
|
|
301
|
-
value: true
|
|
302
|
-
});
|
|
303
|
-
|
|
304
|
-
var xe = Ce.Equal = Ue;
|
|
305
|
-
|
|
306
|
-
const qe = De;
|
|
307
|
-
|
|
308
|
-
function Ue(e) {
|
|
309
|
-
return new qe.EqualOperator(e);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
var Qe = {};
|
|
313
|
-
|
|
314
|
-
"use strict";
|
|
315
|
-
|
|
316
|
-
Object.defineProperty(Qe, "__esModule", {
|
|
317
|
-
value: true
|
|
318
|
-
});
|
|
319
|
-
|
|
320
|
-
var Xe = Qe.IsNull = ze;
|
|
321
|
-
|
|
322
|
-
const Ke = a;
|
|
323
|
-
|
|
324
|
-
function ze() {
|
|
325
|
-
return new Ke.FindOperator("isNull", undefined, false);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
var Ze = {};
|
|
329
|
-
|
|
330
|
-
"use strict";
|
|
331
|
-
|
|
332
|
-
Object.defineProperty(Ze, "__esModule", {
|
|
333
|
-
value: true
|
|
334
|
-
});
|
|
335
|
-
|
|
336
|
-
var Je = Ze.LessThan = He;
|
|
337
|
-
|
|
338
|
-
const Ge = a;
|
|
339
|
-
|
|
340
|
-
function He(e) {
|
|
341
|
-
return new Ge.FindOperator("lessThan", e);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
var Ve = {};
|
|
345
|
-
|
|
346
|
-
"use strict";
|
|
347
|
-
|
|
348
|
-
Object.defineProperty(Ve, "__esModule", {
|
|
349
|
-
value: true
|
|
350
|
-
});
|
|
351
|
-
|
|
352
|
-
var We = Ve.LessThanOrEqual = $e;
|
|
353
|
-
|
|
354
|
-
const Ye = a;
|
|
355
|
-
|
|
356
|
-
function $e(e) {
|
|
357
|
-
return new Ye.FindOperator("lessThanOrEqual", e);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
var et = {};
|
|
361
|
-
|
|
362
|
-
"use strict";
|
|
363
|
-
|
|
364
|
-
Object.defineProperty(et, "__esModule", {
|
|
365
|
-
value: true
|
|
366
|
-
});
|
|
367
|
-
|
|
368
|
-
var tt = et.ILike = st;
|
|
369
|
-
|
|
370
|
-
const rt = a;
|
|
371
|
-
|
|
372
|
-
function st(e) {
|
|
373
|
-
return new rt.FindOperator("ilike", e);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
var nt = {};
|
|
377
|
-
|
|
378
|
-
"use strict";
|
|
379
|
-
|
|
380
|
-
Object.defineProperty(nt, "__esModule", {
|
|
381
|
-
value: true
|
|
382
|
-
});
|
|
383
|
-
|
|
384
|
-
var at = nt.Like = it;
|
|
385
|
-
|
|
386
|
-
const ot = a;
|
|
387
|
-
|
|
388
|
-
function it(e) {
|
|
389
|
-
return new ot.FindOperator("like", e);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
var ut = {};
|
|
393
|
-
|
|
394
|
-
"use strict";
|
|
395
|
-
|
|
396
|
-
Object.defineProperty(ut, "__esModule", {
|
|
397
|
-
value: true
|
|
398
|
-
});
|
|
399
|
-
|
|
400
|
-
var ct = ut.MoreThan = lt;
|
|
401
|
-
|
|
402
|
-
const dt = a;
|
|
403
|
-
|
|
404
|
-
function lt(e) {
|
|
405
|
-
return new dt.FindOperator("moreThan", e);
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
var yt = {};
|
|
409
|
-
|
|
410
|
-
"use strict";
|
|
411
|
-
|
|
412
|
-
Object.defineProperty(yt, "__esModule", {
|
|
413
|
-
value: true
|
|
414
|
-
});
|
|
415
|
-
|
|
416
|
-
var pt = yt.MoreThanOrEqual = ft;
|
|
417
|
-
|
|
418
|
-
const vt = a;
|
|
419
|
-
|
|
420
|
-
function ft(e) {
|
|
421
|
-
return new vt.FindOperator("moreThanOrEqual", e);
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
var Ot = {};
|
|
425
|
-
|
|
426
|
-
"use strict";
|
|
427
|
-
|
|
428
|
-
Object.defineProperty(Ot, "__esModule", {
|
|
429
|
-
value: true
|
|
430
|
-
});
|
|
431
|
-
|
|
432
|
-
var mt = Ot.Not = gt;
|
|
433
|
-
|
|
434
|
-
const _t = a;
|
|
435
|
-
|
|
436
|
-
function gt(e) {
|
|
437
|
-
return new _t.FindOperator("not", e);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
var bt = {};
|
|
441
|
-
|
|
442
|
-
"use strict";
|
|
443
|
-
|
|
444
|
-
Object.defineProperty(bt, "__esModule", {
|
|
445
|
-
value: true
|
|
446
|
-
});
|
|
447
|
-
|
|
448
|
-
var ht = bt.Raw = Pt;
|
|
449
|
-
|
|
450
|
-
const jt = a;
|
|
451
|
-
|
|
452
|
-
function Pt(e, t) {
|
|
453
|
-
if (typeof e !== "function") {
|
|
454
|
-
return new jt.FindOperator("raw", e, false);
|
|
455
|
-
}
|
|
456
|
-
return new jt.FindOperator("raw", [], true, true, e, t);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
var Mt = {};
|
|
460
|
-
|
|
461
|
-
"use strict";
|
|
462
|
-
|
|
463
|
-
Object.defineProperty(Mt, "__esModule", {
|
|
464
|
-
value: true
|
|
465
|
-
});
|
|
466
|
-
|
|
467
|
-
var Et = Mt.JsonContains = Bt;
|
|
468
|
-
|
|
469
|
-
const Rt = a;
|
|
470
|
-
|
|
471
|
-
function Bt(e) {
|
|
472
|
-
return new Rt.FindOperator("jsonContains", e);
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
var St = {};
|
|
476
|
-
|
|
477
|
-
"use strict";
|
|
478
|
-
|
|
479
|
-
Object.defineProperty(St, "__esModule", {
|
|
480
|
-
value: true
|
|
481
|
-
});
|
|
482
|
-
|
|
483
|
-
var It = {};
|
|
484
|
-
|
|
485
|
-
"use strict";
|
|
486
|
-
|
|
487
|
-
Object.defineProperty(It, "__esModule", {
|
|
488
|
-
value: true
|
|
489
|
-
});
|
|
490
|
-
|
|
491
|
-
var Nt = {};
|
|
492
|
-
|
|
493
|
-
"use strict";
|
|
494
|
-
|
|
495
|
-
Object.defineProperty(Nt, "__esModule", {
|
|
496
|
-
value: true
|
|
497
|
-
});
|
|
498
|
-
|
|
499
|
-
var Ft = {};
|
|
500
|
-
|
|
501
|
-
"use strict";
|
|
502
|
-
|
|
503
|
-
Object.defineProperty(Ft, "__esModule", {
|
|
504
|
-
value: true
|
|
505
|
-
});
|
|
506
|
-
|
|
507
|
-
var Tt = {};
|
|
508
|
-
|
|
509
|
-
"use strict";
|
|
510
|
-
|
|
511
|
-
Object.defineProperty(Tt, "__esModule", {
|
|
512
|
-
value: true
|
|
513
|
-
});
|
|
514
|
-
|
|
515
|
-
var wt = {};
|
|
516
|
-
|
|
517
|
-
"use strict";
|
|
518
|
-
|
|
519
|
-
Object.defineProperty(wt, "__esModule", {
|
|
520
|
-
value: true
|
|
521
|
-
});
|
|
522
|
-
|
|
523
|
-
var kt = {};
|
|
524
|
-
|
|
525
|
-
"use strict";
|
|
526
|
-
|
|
527
|
-
Object.defineProperty(kt, "__esModule", {
|
|
528
|
-
value: true
|
|
529
|
-
});
|
|
530
|
-
|
|
531
|
-
var Ct = {};
|
|
532
|
-
|
|
533
|
-
"use strict";
|
|
534
|
-
|
|
535
|
-
Object.defineProperty(Ct, "__esModule", {
|
|
536
|
-
value: true
|
|
537
|
-
});
|
|
538
|
-
|
|
539
|
-
var Dt = {};
|
|
540
|
-
|
|
541
|
-
"use strict";
|
|
542
|
-
|
|
543
|
-
Object.defineProperty(Dt, "__esModule", {
|
|
544
|
-
value: true
|
|
545
|
-
});
|
|
546
|
-
|
|
547
|
-
var Lt = {};
|
|
548
|
-
|
|
549
|
-
"use strict";
|
|
550
|
-
|
|
551
|
-
Object.defineProperty(Lt, "__esModule", {
|
|
552
|
-
value: true
|
|
553
|
-
});
|
|
554
|
-
|
|
555
|
-
var At = {};
|
|
556
|
-
|
|
557
|
-
"use strict";
|
|
558
|
-
|
|
559
|
-
Object.defineProperty(At, "__esModule", {
|
|
560
|
-
value: true
|
|
561
|
-
});
|
|
562
|
-
|
|
563
|
-
var xt = {};
|
|
564
|
-
|
|
565
|
-
"use strict";
|
|
566
|
-
|
|
567
|
-
Object.defineProperty(xt, "__esModule", {
|
|
568
|
-
value: true
|
|
569
|
-
});
|
|
570
|
-
|
|
571
|
-
var qt = c();
|
|
572
|
-
|
|
573
|
-
const Ut = e(qt);
|
|
574
|
-
|
|
575
|
-
var Qt = d();
|
|
576
|
-
|
|
577
|
-
const Xt = e(Qt);
|
|
578
|
-
|
|
579
|
-
var Kt = {};
|
|
580
|
-
|
|
581
|
-
"use strict";
|
|
582
|
-
|
|
583
|
-
Object.defineProperty(Kt, "__esModule", {
|
|
584
|
-
value: true
|
|
585
|
-
});
|
|
586
|
-
|
|
587
|
-
var zt = Kt.BaseEntity = void 0;
|
|
588
|
-
|
|
589
|
-
const Zt = f;
|
|
590
|
-
|
|
591
|
-
class BaseEntity {
|
|
592
|
-
hasId() {
|
|
593
|
-
const e = this.constructor;
|
|
594
|
-
return e.getRepository().hasId(this);
|
|
595
|
-
}
|
|
596
|
-
save(e) {
|
|
597
|
-
const t = this.constructor;
|
|
598
|
-
return t.getRepository().save(this, e);
|
|
599
|
-
}
|
|
600
|
-
remove(e) {
|
|
601
|
-
const t = this.constructor;
|
|
602
|
-
return t.getRepository().remove(this, e);
|
|
603
|
-
}
|
|
604
|
-
softRemove(e) {
|
|
605
|
-
const t = this.constructor;
|
|
606
|
-
return t.getRepository().softRemove(this, e);
|
|
607
|
-
}
|
|
608
|
-
recover(e) {
|
|
609
|
-
const t = this.constructor;
|
|
610
|
-
return t.getRepository().recover(this, e);
|
|
611
|
-
}
|
|
612
|
-
async reload() {
|
|
613
|
-
const e = this.constructor;
|
|
614
|
-
const t = e.getRepository().metadata.getEntityIdMap(this);
|
|
615
|
-
if (!t) {
|
|
616
|
-
throw new Error(`Entity doesn't have id-s set, cannot reload entity`);
|
|
617
|
-
}
|
|
618
|
-
const r = await e.getRepository().findOneByOrFail(t);
|
|
619
|
-
Zt.ObjectUtils.assign(this, r);
|
|
620
|
-
}
|
|
621
|
-
static useDataSource(e) {
|
|
622
|
-
this.dataSource = e;
|
|
623
|
-
}
|
|
624
|
-
static getRepository() {
|
|
625
|
-
const e = this.dataSource;
|
|
626
|
-
if (!e) throw new Error(`DataSource is not set for this entity.`);
|
|
627
|
-
return e.getRepository(this);
|
|
628
|
-
}
|
|
629
|
-
static get target() {
|
|
630
|
-
return this.getRepository().target;
|
|
631
|
-
}
|
|
632
|
-
static hasId(e) {
|
|
633
|
-
return this.getRepository().hasId(e);
|
|
634
|
-
}
|
|
635
|
-
static getId(e) {
|
|
636
|
-
return this.getRepository().getId(e);
|
|
637
|
-
}
|
|
638
|
-
static createQueryBuilder(e) {
|
|
639
|
-
return this.getRepository().createQueryBuilder(e);
|
|
640
|
-
}
|
|
641
|
-
static create(e) {
|
|
642
|
-
return this.getRepository().create(e);
|
|
643
|
-
}
|
|
644
|
-
static merge(e, ...t) {
|
|
645
|
-
return this.getRepository().merge(e, ...t);
|
|
646
|
-
}
|
|
647
|
-
static preload(e) {
|
|
648
|
-
const t = this.getRepository();
|
|
649
|
-
return t.preload(e);
|
|
650
|
-
}
|
|
651
|
-
static save(e, t) {
|
|
652
|
-
return this.getRepository().save(e, t);
|
|
653
|
-
}
|
|
654
|
-
static remove(e, t) {
|
|
655
|
-
return this.getRepository().remove(e, t);
|
|
656
|
-
}
|
|
657
|
-
static softRemove(e, t) {
|
|
658
|
-
return this.getRepository().softRemove(e, t);
|
|
659
|
-
}
|
|
660
|
-
static insert(e) {
|
|
661
|
-
return this.getRepository().insert(e);
|
|
662
|
-
}
|
|
663
|
-
static update(e, t) {
|
|
664
|
-
return this.getRepository().update(e, t);
|
|
665
|
-
}
|
|
666
|
-
static upsert(e, t) {
|
|
667
|
-
return this.getRepository().upsert(e, t);
|
|
668
|
-
}
|
|
669
|
-
static delete(e) {
|
|
670
|
-
return this.getRepository().delete(e);
|
|
671
|
-
}
|
|
672
|
-
static exists(e) {
|
|
673
|
-
return this.getRepository().exists(e);
|
|
674
|
-
}
|
|
675
|
-
static existsBy(e) {
|
|
676
|
-
return this.getRepository().existsBy(e);
|
|
677
|
-
}
|
|
678
|
-
static count(e) {
|
|
679
|
-
return this.getRepository().count(e);
|
|
680
|
-
}
|
|
681
|
-
static countBy(e) {
|
|
682
|
-
return this.getRepository().countBy(e);
|
|
683
|
-
}
|
|
684
|
-
static sum(e, t) {
|
|
685
|
-
return this.getRepository().sum(e, t);
|
|
686
|
-
}
|
|
687
|
-
static average(e, t) {
|
|
688
|
-
return this.getRepository().average(e, t);
|
|
689
|
-
}
|
|
690
|
-
static minimum(e, t) {
|
|
691
|
-
return this.getRepository().minimum(e, t);
|
|
692
|
-
}
|
|
693
|
-
static maximum(e, t) {
|
|
694
|
-
return this.getRepository().maximum(e, t);
|
|
695
|
-
}
|
|
696
|
-
static find(e) {
|
|
697
|
-
return this.getRepository().find(e);
|
|
698
|
-
}
|
|
699
|
-
static findBy(e) {
|
|
700
|
-
return this.getRepository().findBy(e);
|
|
701
|
-
}
|
|
702
|
-
static findAndCount(e) {
|
|
703
|
-
return this.getRepository().findAndCount(e);
|
|
704
|
-
}
|
|
705
|
-
static findAndCountBy(e) {
|
|
706
|
-
return this.getRepository().findAndCountBy(e);
|
|
707
|
-
}
|
|
708
|
-
static findByIds(e) {
|
|
709
|
-
return this.getRepository().findByIds(e);
|
|
710
|
-
}
|
|
711
|
-
static findOne(e) {
|
|
712
|
-
return this.getRepository().findOne(e);
|
|
713
|
-
}
|
|
714
|
-
static findOneBy(e) {
|
|
715
|
-
return this.getRepository().findOneBy(e);
|
|
716
|
-
}
|
|
717
|
-
static findOneById(e) {
|
|
718
|
-
return this.getRepository().findOneById(e);
|
|
719
|
-
}
|
|
720
|
-
static findOneOrFail(e) {
|
|
721
|
-
return this.getRepository().findOneOrFail(e);
|
|
722
|
-
}
|
|
723
|
-
static findOneByOrFail(e) {
|
|
724
|
-
return this.getRepository().findOneByOrFail(e);
|
|
725
|
-
}
|
|
726
|
-
static query(e, t) {
|
|
727
|
-
return this.getRepository().query(e, t);
|
|
728
|
-
}
|
|
729
|
-
static clear() {
|
|
730
|
-
return this.getRepository().clear();
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
zt = Kt.BaseEntity = BaseEntity;
|
|
735
|
-
|
|
736
|
-
var Jt = {};
|
|
737
|
-
|
|
738
|
-
"use strict";
|
|
739
|
-
|
|
740
|
-
Object.defineProperty(Jt, "__esModule", {
|
|
741
|
-
value: true
|
|
742
|
-
});
|
|
743
|
-
|
|
744
|
-
var Gt = {};
|
|
745
|
-
|
|
746
|
-
"use strict";
|
|
747
|
-
|
|
748
|
-
Object.defineProperty(Gt, "__esModule", {
|
|
749
|
-
value: true
|
|
750
|
-
});
|
|
751
|
-
|
|
752
|
-
var Ht = {};
|
|
753
|
-
|
|
754
|
-
"use strict";
|
|
755
|
-
|
|
756
|
-
Object.defineProperty(Ht, "__esModule", {
|
|
757
|
-
value: true
|
|
758
|
-
});
|
|
759
|
-
|
|
760
|
-
var Vt = {};
|
|
761
|
-
|
|
762
|
-
"use strict";
|
|
763
|
-
|
|
764
|
-
Object.defineProperty(Vt, "__esModule", {
|
|
765
|
-
value: true
|
|
766
|
-
});
|
|
767
|
-
|
|
768
|
-
var Wt = {};
|
|
769
|
-
|
|
770
|
-
"use strict";
|
|
771
|
-
|
|
772
|
-
Object.defineProperty(Wt, "__esModule", {
|
|
773
|
-
value: true
|
|
774
|
-
});
|
|
775
|
-
|
|
776
|
-
var Yt = {};
|
|
777
|
-
|
|
778
|
-
"use strict";
|
|
779
|
-
|
|
780
|
-
Object.defineProperty(Yt, "__esModule", {
|
|
781
|
-
value: true
|
|
782
|
-
});
|
|
783
|
-
|
|
784
|
-
var $t = {};
|
|
785
|
-
|
|
786
|
-
"use strict";
|
|
787
|
-
|
|
788
|
-
Object.defineProperty($t, "__esModule", {
|
|
789
|
-
value: true
|
|
790
|
-
});
|
|
791
|
-
|
|
792
|
-
var er = {};
|
|
793
|
-
|
|
794
|
-
"use strict";
|
|
795
|
-
|
|
796
|
-
Object.defineProperty(er, "__esModule", {
|
|
797
|
-
value: true
|
|
798
|
-
});
|
|
799
|
-
|
|
800
|
-
var tr = {};
|
|
801
|
-
|
|
802
|
-
"use strict";
|
|
803
|
-
|
|
804
|
-
Object.defineProperty(tr, "__esModule", {
|
|
805
|
-
value: true
|
|
806
|
-
});
|
|
807
|
-
|
|
808
|
-
var rr = {};
|
|
809
|
-
|
|
810
|
-
"use strict";
|
|
811
|
-
|
|
812
|
-
Object.defineProperty(rr, "__esModule", {
|
|
813
|
-
value: true
|
|
814
|
-
});
|
|
815
|
-
|
|
816
|
-
var sr = {};
|
|
817
|
-
|
|
818
|
-
var nr = {};
|
|
819
|
-
|
|
820
|
-
"use strict";
|
|
821
|
-
|
|
822
|
-
Object.defineProperty(nr, "__esModule", {
|
|
823
|
-
value: true
|
|
824
|
-
});
|
|
825
|
-
|
|
826
|
-
var ar = nr.BSON = void 0;
|
|
827
|
-
|
|
828
|
-
(function(e) {
|
|
829
|
-
"use strict";
|
|
830
|
-
Object.defineProperty(e, "__esModule", {
|
|
831
|
-
value: true
|
|
832
|
-
});
|
|
833
|
-
e.Timestamp = e.serialize = e.ObjectId = e.MinKey = e.MaxKey = e.Long = e.Int32 = e.Double = e.deserialize = e.Decimal128 = e.DBRef = e.Code = e.BSONType = e.BSONSymbol = e.BSONRegExp = e.BSON = e.Binary = void 0;
|
|
834
|
-
const t = nr;
|
|
835
|
-
Object.defineProperty(e, "BSON", {
|
|
836
|
-
enumerable: true,
|
|
837
|
-
get: function() {
|
|
838
|
-
return t.BSON;
|
|
839
|
-
}
|
|
840
|
-
});
|
|
841
|
-
Object.defineProperty(e, "BSONRegExp", {
|
|
842
|
-
enumerable: true,
|
|
843
|
-
get: function() {
|
|
844
|
-
return t.BSONRegExp;
|
|
845
|
-
}
|
|
846
|
-
});
|
|
847
|
-
Object.defineProperty(e, "BSONSymbol", {
|
|
848
|
-
enumerable: true,
|
|
849
|
-
get: function() {
|
|
850
|
-
return t.BSONSymbol;
|
|
851
|
-
}
|
|
852
|
-
});
|
|
853
|
-
Object.defineProperty(e, "BSONType", {
|
|
854
|
-
enumerable: true,
|
|
855
|
-
get: function() {
|
|
856
|
-
return t.BSONType;
|
|
857
|
-
}
|
|
858
|
-
});
|
|
859
|
-
Object.defineProperty(e, "Binary", {
|
|
860
|
-
enumerable: true,
|
|
861
|
-
get: function() {
|
|
862
|
-
return t.Binary;
|
|
863
|
-
}
|
|
864
|
-
});
|
|
865
|
-
Object.defineProperty(e, "Code", {
|
|
866
|
-
enumerable: true,
|
|
867
|
-
get: function() {
|
|
868
|
-
return t.Code;
|
|
869
|
-
}
|
|
870
|
-
});
|
|
871
|
-
Object.defineProperty(e, "DBRef", {
|
|
872
|
-
enumerable: true,
|
|
873
|
-
get: function() {
|
|
874
|
-
return t.DBRef;
|
|
875
|
-
}
|
|
876
|
-
});
|
|
877
|
-
Object.defineProperty(e, "Decimal128", {
|
|
878
|
-
enumerable: true,
|
|
879
|
-
get: function() {
|
|
880
|
-
return t.Decimal128;
|
|
881
|
-
}
|
|
882
|
-
});
|
|
883
|
-
Object.defineProperty(e, "Double", {
|
|
884
|
-
enumerable: true,
|
|
885
|
-
get: function() {
|
|
886
|
-
return t.Double;
|
|
887
|
-
}
|
|
888
|
-
});
|
|
889
|
-
Object.defineProperty(e, "Int32", {
|
|
890
|
-
enumerable: true,
|
|
891
|
-
get: function() {
|
|
892
|
-
return t.Int32;
|
|
893
|
-
}
|
|
894
|
-
});
|
|
895
|
-
Object.defineProperty(e, "Long", {
|
|
896
|
-
enumerable: true,
|
|
897
|
-
get: function() {
|
|
898
|
-
return t.Long;
|
|
899
|
-
}
|
|
900
|
-
});
|
|
901
|
-
Object.defineProperty(e, "MaxKey", {
|
|
902
|
-
enumerable: true,
|
|
903
|
-
get: function() {
|
|
904
|
-
return t.MaxKey;
|
|
905
|
-
}
|
|
906
|
-
});
|
|
907
|
-
Object.defineProperty(e, "MinKey", {
|
|
908
|
-
enumerable: true,
|
|
909
|
-
get: function() {
|
|
910
|
-
return t.MinKey;
|
|
911
|
-
}
|
|
912
|
-
});
|
|
913
|
-
Object.defineProperty(e, "ObjectId", {
|
|
914
|
-
enumerable: true,
|
|
915
|
-
get: function() {
|
|
916
|
-
return t.ObjectId;
|
|
917
|
-
}
|
|
918
|
-
});
|
|
919
|
-
Object.defineProperty(e, "Timestamp", {
|
|
920
|
-
enumerable: true,
|
|
921
|
-
get: function() {
|
|
922
|
-
return t.Timestamp;
|
|
923
|
-
}
|
|
924
|
-
});
|
|
925
|
-
Object.defineProperty(e, "deserialize", {
|
|
926
|
-
enumerable: true,
|
|
927
|
-
get: function() {
|
|
928
|
-
return t.deserialize;
|
|
929
|
-
}
|
|
930
|
-
});
|
|
931
|
-
Object.defineProperty(e, "serialize", {
|
|
932
|
-
enumerable: true,
|
|
933
|
-
get: function() {
|
|
934
|
-
return t.serialize;
|
|
935
|
-
}
|
|
936
|
-
});
|
|
937
|
-
})(sr);
|
|
938
|
-
|
|
939
|
-
const or = e(sr);
|
|
940
|
-
|
|
941
|
-
var ir = {};
|
|
942
|
-
|
|
943
|
-
"use strict";
|
|
944
|
-
|
|
945
|
-
Object.defineProperty(ir, "__esModule", {
|
|
946
|
-
value: true
|
|
947
|
-
});
|
|
948
|
-
|
|
949
|
-
var ur = {};
|
|
950
|
-
|
|
951
|
-
"use strict";
|
|
952
|
-
|
|
953
|
-
Object.defineProperty(ur, "__esModule", {
|
|
954
|
-
value: true
|
|
955
|
-
});
|
|
956
|
-
|
|
957
|
-
var cr = {};
|
|
958
|
-
|
|
959
|
-
"use strict";
|
|
960
|
-
|
|
961
|
-
Object.defineProperty(cr, "__esModule", {
|
|
962
|
-
value: true
|
|
963
|
-
});
|
|
964
|
-
|
|
965
|
-
var dr = {};
|
|
966
|
-
|
|
967
|
-
"use strict";
|
|
968
|
-
|
|
969
|
-
Object.defineProperty(dr, "__esModule", {
|
|
970
|
-
value: true
|
|
971
|
-
});
|
|
972
|
-
|
|
973
|
-
var lr = dr.NotBrackets = void 0;
|
|
974
|
-
|
|
975
|
-
const yr = O;
|
|
976
|
-
|
|
977
|
-
class NotBrackets extends yr.Brackets {
|
|
978
|
-
constructor() {
|
|
979
|
-
super(...arguments);
|
|
980
|
-
this["@instanceof"] = Symbol.for("NotBrackets");
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
lr = dr.NotBrackets = NotBrackets;
|
|
985
|
-
|
|
986
|
-
var pr = _();
|
|
987
|
-
|
|
988
|
-
const vr = e(pr);
|
|
989
|
-
|
|
990
|
-
var fr = {};
|
|
991
|
-
|
|
992
|
-
"use strict";
|
|
993
|
-
|
|
994
|
-
Object.defineProperty(fr, "__esModule", {
|
|
995
|
-
value: true
|
|
996
|
-
});
|
|
997
|
-
|
|
998
|
-
var Or = fr.LegacyOracleNamingStrategy = void 0;
|
|
999
|
-
|
|
1000
|
-
const mr = b;
|
|
1001
|
-
|
|
1002
|
-
const _r = E;
|
|
1003
|
-
|
|
1004
|
-
const gr = R;
|
|
1005
|
-
|
|
1006
|
-
class LegacyOracleNamingStrategy extends _r.DefaultNamingStrategy {
|
|
1007
|
-
constructor(e = "hash") {
|
|
1008
|
-
super();
|
|
1009
|
-
this.IDENTIFIER_MAX_SIZE = 30;
|
|
1010
|
-
this.DEFAULT_COLUMN_PREFIX = "COL_";
|
|
1011
|
-
this.shortenStrategy = e;
|
|
1012
|
-
}
|
|
1013
|
-
columnName(e, t, r) {
|
|
1014
|
-
const s = super.columnName(e, t, r);
|
|
1015
|
-
if (this.shortenStrategy === "truncate") {
|
|
1016
|
-
return this.truncateIdentifier(s);
|
|
1017
|
-
} else if (this.shortenStrategy === "hash") {
|
|
1018
|
-
return this.hashIdentifier(s, this.DEFAULT_COLUMN_PREFIX);
|
|
1019
|
-
} else {
|
|
1020
|
-
throw new gr.TypeORMError(`Invalid shortenStrategy`);
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
hashIdentifier(e, t) {
|
|
1024
|
-
if (t.length >= this.IDENTIFIER_MAX_SIZE) {
|
|
1025
|
-
throw new gr.TypeORMError(`Prefix must be shorter than IDENTIFIER_MAX_SIZE`);
|
|
1026
|
-
}
|
|
1027
|
-
return t + mr.RandomGenerator.sha1(e).substring(0, this.IDENTIFIER_MAX_SIZE - t.length);
|
|
1028
|
-
}
|
|
1029
|
-
truncateIdentifier(e) {
|
|
1030
|
-
if (e.length > this.IDENTIFIER_MAX_SIZE) {
|
|
1031
|
-
return e.substring(0, this.IDENTIFIER_MAX_SIZE);
|
|
1032
|
-
} else {
|
|
1033
|
-
return e;
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
Or = fr.LegacyOracleNamingStrategy = LegacyOracleNamingStrategy;
|
|
1039
|
-
|
|
1040
|
-
var br = {};
|
|
1041
|
-
|
|
1042
|
-
"use strict";
|
|
1043
|
-
|
|
1044
|
-
Object.defineProperty(br, "__esModule", {
|
|
1045
|
-
value: true
|
|
1046
|
-
});
|
|
1047
|
-
|
|
1048
|
-
var hr = br.EntitySchema = void 0;
|
|
1049
|
-
|
|
1050
|
-
class EntitySchema {
|
|
1051
|
-
constructor(e) {
|
|
1052
|
-
this.options = e;
|
|
1053
|
-
this["@instanceof"] = Symbol.for("EntitySchema");
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
hr = br.EntitySchema = EntitySchema;
|
|
1058
|
-
|
|
1059
|
-
var jr = {};
|
|
1060
|
-
|
|
1061
|
-
"use strict";
|
|
1062
|
-
|
|
1063
|
-
Object.defineProperty(jr, "__esModule", {
|
|
1064
|
-
value: true
|
|
1065
|
-
});
|
|
1066
|
-
|
|
1067
|
-
var Pr = jr.EntitySchemaEmbeddedColumnOptions = void 0;
|
|
1068
|
-
|
|
1069
|
-
class EntitySchemaEmbeddedColumnOptions {}
|
|
73
|
+
var n = e();
|
|
1070
74
|
|
|
1071
|
-
|
|
75
|
+
const i = a(n);
|
|
1072
76
|
|
|
1073
|
-
var
|
|
77
|
+
var m = s();
|
|
1074
78
|
|
|
1075
|
-
|
|
79
|
+
const p = a(m);
|
|
1076
80
|
|
|
1077
|
-
|
|
1078
|
-
value: true
|
|
1079
|
-
});
|
|
81
|
+
var d = r();
|
|
1080
82
|
|
|
1081
|
-
|
|
83
|
+
const l = a(d);
|
|
1082
84
|
|
|
1083
|
-
|
|
85
|
+
var c = o();
|
|
1084
86
|
|
|
1085
|
-
|
|
87
|
+
const g = a(c);
|
|
1086
88
|
|
|
1087
|
-
const
|
|
89
|
+
const u = t.DataSource;
|
|
1088
90
|
|
|
1089
|
-
const
|
|
91
|
+
const y = c.MongoEntityManager;
|
|
1090
92
|
|
|
1091
|
-
export {
|
|
93
|
+
export { u as DataSource, y as MongoEntityManager };
|