@fesmex/models 0.1.42 → 0.1.49
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/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +790 -0
- package/dist/index.d.ts +790 -0
- package/dist/index.js +21 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -128,10 +128,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
128
128
|
article_number: string;
|
|
129
129
|
unit: string;
|
|
130
130
|
group_id: Types.ObjectId;
|
|
131
|
+
tags: Types.DocumentArray<{
|
|
132
|
+
prototype?: Types.ObjectId;
|
|
133
|
+
cacheHexString?: unknown;
|
|
134
|
+
generate?: {};
|
|
135
|
+
createFromTime?: {};
|
|
136
|
+
createFromHexString?: {};
|
|
137
|
+
createFromBase64?: {};
|
|
138
|
+
isValid?: {};
|
|
139
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
140
|
+
prototype?: Types.ObjectId;
|
|
141
|
+
cacheHexString?: unknown;
|
|
142
|
+
generate?: {};
|
|
143
|
+
createFromTime?: {};
|
|
144
|
+
createFromHexString?: {};
|
|
145
|
+
createFromBase64?: {};
|
|
146
|
+
isValid?: {};
|
|
147
|
+
}> & {
|
|
148
|
+
prototype?: Types.ObjectId;
|
|
149
|
+
cacheHexString?: unknown;
|
|
150
|
+
generate?: {};
|
|
151
|
+
createFromTime?: {};
|
|
152
|
+
createFromHexString?: {};
|
|
153
|
+
createFromBase64?: {};
|
|
154
|
+
isValid?: {};
|
|
155
|
+
}>;
|
|
131
156
|
deleted_at?: NativeDate;
|
|
132
157
|
updated_at?: NativeDate;
|
|
133
158
|
model?: string;
|
|
134
159
|
brand?: string;
|
|
160
|
+
category_id?: Types.ObjectId;
|
|
161
|
+
files?: {
|
|
162
|
+
images?: Types.DocumentArray<{
|
|
163
|
+
key: string;
|
|
164
|
+
url: string;
|
|
165
|
+
filename: string;
|
|
166
|
+
mime_type: string;
|
|
167
|
+
size: number;
|
|
168
|
+
uploaded_at: NativeDate;
|
|
169
|
+
uploaded_by: string;
|
|
170
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
171
|
+
key: string;
|
|
172
|
+
url: string;
|
|
173
|
+
filename: string;
|
|
174
|
+
mime_type: string;
|
|
175
|
+
size: number;
|
|
176
|
+
uploaded_at: NativeDate;
|
|
177
|
+
uploaded_by: string;
|
|
178
|
+
}> & {
|
|
179
|
+
key: string;
|
|
180
|
+
url: string;
|
|
181
|
+
filename: string;
|
|
182
|
+
mime_type: string;
|
|
183
|
+
size: number;
|
|
184
|
+
uploaded_at: NativeDate;
|
|
185
|
+
uploaded_by: string;
|
|
186
|
+
}>;
|
|
187
|
+
datasheets?: Types.DocumentArray<{
|
|
188
|
+
key: string;
|
|
189
|
+
url: string;
|
|
190
|
+
filename: string;
|
|
191
|
+
mime_type: string;
|
|
192
|
+
size: number;
|
|
193
|
+
uploaded_at: NativeDate;
|
|
194
|
+
uploaded_by: string;
|
|
195
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
196
|
+
key: string;
|
|
197
|
+
url: string;
|
|
198
|
+
filename: string;
|
|
199
|
+
mime_type: string;
|
|
200
|
+
size: number;
|
|
201
|
+
uploaded_at: NativeDate;
|
|
202
|
+
uploaded_by: string;
|
|
203
|
+
}> & {
|
|
204
|
+
key: string;
|
|
205
|
+
url: string;
|
|
206
|
+
filename: string;
|
|
207
|
+
mime_type: string;
|
|
208
|
+
size: number;
|
|
209
|
+
uploaded_at: NativeDate;
|
|
210
|
+
uploaded_by: string;
|
|
211
|
+
}>;
|
|
212
|
+
};
|
|
135
213
|
}, {}, {}, {
|
|
136
214
|
id: string;
|
|
137
215
|
}, mongoose.Document<unknown, {}, {
|
|
@@ -140,10 +218,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
140
218
|
article_number: string;
|
|
141
219
|
unit: string;
|
|
142
220
|
group_id: Types.ObjectId;
|
|
221
|
+
tags: Types.DocumentArray<{
|
|
222
|
+
prototype?: Types.ObjectId;
|
|
223
|
+
cacheHexString?: unknown;
|
|
224
|
+
generate?: {};
|
|
225
|
+
createFromTime?: {};
|
|
226
|
+
createFromHexString?: {};
|
|
227
|
+
createFromBase64?: {};
|
|
228
|
+
isValid?: {};
|
|
229
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
230
|
+
prototype?: Types.ObjectId;
|
|
231
|
+
cacheHexString?: unknown;
|
|
232
|
+
generate?: {};
|
|
233
|
+
createFromTime?: {};
|
|
234
|
+
createFromHexString?: {};
|
|
235
|
+
createFromBase64?: {};
|
|
236
|
+
isValid?: {};
|
|
237
|
+
}> & {
|
|
238
|
+
prototype?: Types.ObjectId;
|
|
239
|
+
cacheHexString?: unknown;
|
|
240
|
+
generate?: {};
|
|
241
|
+
createFromTime?: {};
|
|
242
|
+
createFromHexString?: {};
|
|
243
|
+
createFromBase64?: {};
|
|
244
|
+
isValid?: {};
|
|
245
|
+
}>;
|
|
143
246
|
deleted_at?: NativeDate;
|
|
144
247
|
updated_at?: NativeDate;
|
|
145
248
|
model?: string;
|
|
146
249
|
brand?: string;
|
|
250
|
+
category_id?: Types.ObjectId;
|
|
251
|
+
files?: {
|
|
252
|
+
images?: Types.DocumentArray<{
|
|
253
|
+
key: string;
|
|
254
|
+
url: string;
|
|
255
|
+
filename: string;
|
|
256
|
+
mime_type: string;
|
|
257
|
+
size: number;
|
|
258
|
+
uploaded_at: NativeDate;
|
|
259
|
+
uploaded_by: string;
|
|
260
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
261
|
+
key: string;
|
|
262
|
+
url: string;
|
|
263
|
+
filename: string;
|
|
264
|
+
mime_type: string;
|
|
265
|
+
size: number;
|
|
266
|
+
uploaded_at: NativeDate;
|
|
267
|
+
uploaded_by: string;
|
|
268
|
+
}> & {
|
|
269
|
+
key: string;
|
|
270
|
+
url: string;
|
|
271
|
+
filename: string;
|
|
272
|
+
mime_type: string;
|
|
273
|
+
size: number;
|
|
274
|
+
uploaded_at: NativeDate;
|
|
275
|
+
uploaded_by: string;
|
|
276
|
+
}>;
|
|
277
|
+
datasheets?: Types.DocumentArray<{
|
|
278
|
+
key: string;
|
|
279
|
+
url: string;
|
|
280
|
+
filename: string;
|
|
281
|
+
mime_type: string;
|
|
282
|
+
size: number;
|
|
283
|
+
uploaded_at: NativeDate;
|
|
284
|
+
uploaded_by: string;
|
|
285
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
286
|
+
key: string;
|
|
287
|
+
url: string;
|
|
288
|
+
filename: string;
|
|
289
|
+
mime_type: string;
|
|
290
|
+
size: number;
|
|
291
|
+
uploaded_at: NativeDate;
|
|
292
|
+
uploaded_by: string;
|
|
293
|
+
}> & {
|
|
294
|
+
key: string;
|
|
295
|
+
url: string;
|
|
296
|
+
filename: string;
|
|
297
|
+
mime_type: string;
|
|
298
|
+
size: number;
|
|
299
|
+
uploaded_at: NativeDate;
|
|
300
|
+
uploaded_by: string;
|
|
301
|
+
}>;
|
|
302
|
+
};
|
|
147
303
|
}, {
|
|
148
304
|
id: string;
|
|
149
305
|
}, mongoose.DefaultSchemaOptions> & Omit<{
|
|
@@ -152,10 +308,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
152
308
|
article_number: string;
|
|
153
309
|
unit: string;
|
|
154
310
|
group_id: Types.ObjectId;
|
|
311
|
+
tags: Types.DocumentArray<{
|
|
312
|
+
prototype?: Types.ObjectId;
|
|
313
|
+
cacheHexString?: unknown;
|
|
314
|
+
generate?: {};
|
|
315
|
+
createFromTime?: {};
|
|
316
|
+
createFromHexString?: {};
|
|
317
|
+
createFromBase64?: {};
|
|
318
|
+
isValid?: {};
|
|
319
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
320
|
+
prototype?: Types.ObjectId;
|
|
321
|
+
cacheHexString?: unknown;
|
|
322
|
+
generate?: {};
|
|
323
|
+
createFromTime?: {};
|
|
324
|
+
createFromHexString?: {};
|
|
325
|
+
createFromBase64?: {};
|
|
326
|
+
isValid?: {};
|
|
327
|
+
}> & {
|
|
328
|
+
prototype?: Types.ObjectId;
|
|
329
|
+
cacheHexString?: unknown;
|
|
330
|
+
generate?: {};
|
|
331
|
+
createFromTime?: {};
|
|
332
|
+
createFromHexString?: {};
|
|
333
|
+
createFromBase64?: {};
|
|
334
|
+
isValid?: {};
|
|
335
|
+
}>;
|
|
155
336
|
deleted_at?: NativeDate;
|
|
156
337
|
updated_at?: NativeDate;
|
|
157
338
|
model?: string;
|
|
158
339
|
brand?: string;
|
|
340
|
+
category_id?: Types.ObjectId;
|
|
341
|
+
files?: {
|
|
342
|
+
images?: Types.DocumentArray<{
|
|
343
|
+
key: string;
|
|
344
|
+
url: string;
|
|
345
|
+
filename: string;
|
|
346
|
+
mime_type: string;
|
|
347
|
+
size: number;
|
|
348
|
+
uploaded_at: NativeDate;
|
|
349
|
+
uploaded_by: string;
|
|
350
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
351
|
+
key: string;
|
|
352
|
+
url: string;
|
|
353
|
+
filename: string;
|
|
354
|
+
mime_type: string;
|
|
355
|
+
size: number;
|
|
356
|
+
uploaded_at: NativeDate;
|
|
357
|
+
uploaded_by: string;
|
|
358
|
+
}> & {
|
|
359
|
+
key: string;
|
|
360
|
+
url: string;
|
|
361
|
+
filename: string;
|
|
362
|
+
mime_type: string;
|
|
363
|
+
size: number;
|
|
364
|
+
uploaded_at: NativeDate;
|
|
365
|
+
uploaded_by: string;
|
|
366
|
+
}>;
|
|
367
|
+
datasheets?: Types.DocumentArray<{
|
|
368
|
+
key: string;
|
|
369
|
+
url: string;
|
|
370
|
+
filename: string;
|
|
371
|
+
mime_type: string;
|
|
372
|
+
size: number;
|
|
373
|
+
uploaded_at: NativeDate;
|
|
374
|
+
uploaded_by: string;
|
|
375
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
376
|
+
key: string;
|
|
377
|
+
url: string;
|
|
378
|
+
filename: string;
|
|
379
|
+
mime_type: string;
|
|
380
|
+
size: number;
|
|
381
|
+
uploaded_at: NativeDate;
|
|
382
|
+
uploaded_by: string;
|
|
383
|
+
}> & {
|
|
384
|
+
key: string;
|
|
385
|
+
url: string;
|
|
386
|
+
filename: string;
|
|
387
|
+
mime_type: string;
|
|
388
|
+
size: number;
|
|
389
|
+
uploaded_at: NativeDate;
|
|
390
|
+
uploaded_by: string;
|
|
391
|
+
}>;
|
|
392
|
+
};
|
|
159
393
|
} & {
|
|
160
394
|
_id: Types.ObjectId;
|
|
161
395
|
} & {
|
|
@@ -168,20 +402,176 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
168
402
|
article_number: string;
|
|
169
403
|
unit: string;
|
|
170
404
|
group_id: Types.ObjectId;
|
|
405
|
+
tags: Types.DocumentArray<{
|
|
406
|
+
prototype?: Types.ObjectId;
|
|
407
|
+
cacheHexString?: unknown;
|
|
408
|
+
generate?: {};
|
|
409
|
+
createFromTime?: {};
|
|
410
|
+
createFromHexString?: {};
|
|
411
|
+
createFromBase64?: {};
|
|
412
|
+
isValid?: {};
|
|
413
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
414
|
+
prototype?: Types.ObjectId;
|
|
415
|
+
cacheHexString?: unknown;
|
|
416
|
+
generate?: {};
|
|
417
|
+
createFromTime?: {};
|
|
418
|
+
createFromHexString?: {};
|
|
419
|
+
createFromBase64?: {};
|
|
420
|
+
isValid?: {};
|
|
421
|
+
}> & {
|
|
422
|
+
prototype?: Types.ObjectId;
|
|
423
|
+
cacheHexString?: unknown;
|
|
424
|
+
generate?: {};
|
|
425
|
+
createFromTime?: {};
|
|
426
|
+
createFromHexString?: {};
|
|
427
|
+
createFromBase64?: {};
|
|
428
|
+
isValid?: {};
|
|
429
|
+
}>;
|
|
171
430
|
deleted_at?: NativeDate;
|
|
172
431
|
updated_at?: NativeDate;
|
|
173
432
|
model?: string;
|
|
174
433
|
brand?: string;
|
|
434
|
+
category_id?: Types.ObjectId;
|
|
435
|
+
files?: {
|
|
436
|
+
images?: Types.DocumentArray<{
|
|
437
|
+
key: string;
|
|
438
|
+
url: string;
|
|
439
|
+
filename: string;
|
|
440
|
+
mime_type: string;
|
|
441
|
+
size: number;
|
|
442
|
+
uploaded_at: NativeDate;
|
|
443
|
+
uploaded_by: string;
|
|
444
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
445
|
+
key: string;
|
|
446
|
+
url: string;
|
|
447
|
+
filename: string;
|
|
448
|
+
mime_type: string;
|
|
449
|
+
size: number;
|
|
450
|
+
uploaded_at: NativeDate;
|
|
451
|
+
uploaded_by: string;
|
|
452
|
+
}> & {
|
|
453
|
+
key: string;
|
|
454
|
+
url: string;
|
|
455
|
+
filename: string;
|
|
456
|
+
mime_type: string;
|
|
457
|
+
size: number;
|
|
458
|
+
uploaded_at: NativeDate;
|
|
459
|
+
uploaded_by: string;
|
|
460
|
+
}>;
|
|
461
|
+
datasheets?: Types.DocumentArray<{
|
|
462
|
+
key: string;
|
|
463
|
+
url: string;
|
|
464
|
+
filename: string;
|
|
465
|
+
mime_type: string;
|
|
466
|
+
size: number;
|
|
467
|
+
uploaded_at: NativeDate;
|
|
468
|
+
uploaded_by: string;
|
|
469
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
470
|
+
key: string;
|
|
471
|
+
url: string;
|
|
472
|
+
filename: string;
|
|
473
|
+
mime_type: string;
|
|
474
|
+
size: number;
|
|
475
|
+
uploaded_at: NativeDate;
|
|
476
|
+
uploaded_by: string;
|
|
477
|
+
}> & {
|
|
478
|
+
key: string;
|
|
479
|
+
url: string;
|
|
480
|
+
filename: string;
|
|
481
|
+
mime_type: string;
|
|
482
|
+
size: number;
|
|
483
|
+
uploaded_at: NativeDate;
|
|
484
|
+
uploaded_by: string;
|
|
485
|
+
}>;
|
|
486
|
+
};
|
|
175
487
|
}, mongoose.Document<unknown, {}, {
|
|
176
488
|
created_at: NativeDate;
|
|
177
489
|
description: string;
|
|
178
490
|
article_number: string;
|
|
179
491
|
unit: string;
|
|
180
492
|
group_id: Types.ObjectId;
|
|
493
|
+
tags: Types.DocumentArray<{
|
|
494
|
+
prototype?: Types.ObjectId;
|
|
495
|
+
cacheHexString?: unknown;
|
|
496
|
+
generate?: {};
|
|
497
|
+
createFromTime?: {};
|
|
498
|
+
createFromHexString?: {};
|
|
499
|
+
createFromBase64?: {};
|
|
500
|
+
isValid?: {};
|
|
501
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
502
|
+
prototype?: Types.ObjectId;
|
|
503
|
+
cacheHexString?: unknown;
|
|
504
|
+
generate?: {};
|
|
505
|
+
createFromTime?: {};
|
|
506
|
+
createFromHexString?: {};
|
|
507
|
+
createFromBase64?: {};
|
|
508
|
+
isValid?: {};
|
|
509
|
+
}> & {
|
|
510
|
+
prototype?: Types.ObjectId;
|
|
511
|
+
cacheHexString?: unknown;
|
|
512
|
+
generate?: {};
|
|
513
|
+
createFromTime?: {};
|
|
514
|
+
createFromHexString?: {};
|
|
515
|
+
createFromBase64?: {};
|
|
516
|
+
isValid?: {};
|
|
517
|
+
}>;
|
|
181
518
|
deleted_at?: NativeDate;
|
|
182
519
|
updated_at?: NativeDate;
|
|
183
520
|
model?: string;
|
|
184
521
|
brand?: string;
|
|
522
|
+
category_id?: Types.ObjectId;
|
|
523
|
+
files?: {
|
|
524
|
+
images?: Types.DocumentArray<{
|
|
525
|
+
key: string;
|
|
526
|
+
url: string;
|
|
527
|
+
filename: string;
|
|
528
|
+
mime_type: string;
|
|
529
|
+
size: number;
|
|
530
|
+
uploaded_at: NativeDate;
|
|
531
|
+
uploaded_by: string;
|
|
532
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
533
|
+
key: string;
|
|
534
|
+
url: string;
|
|
535
|
+
filename: string;
|
|
536
|
+
mime_type: string;
|
|
537
|
+
size: number;
|
|
538
|
+
uploaded_at: NativeDate;
|
|
539
|
+
uploaded_by: string;
|
|
540
|
+
}> & {
|
|
541
|
+
key: string;
|
|
542
|
+
url: string;
|
|
543
|
+
filename: string;
|
|
544
|
+
mime_type: string;
|
|
545
|
+
size: number;
|
|
546
|
+
uploaded_at: NativeDate;
|
|
547
|
+
uploaded_by: string;
|
|
548
|
+
}>;
|
|
549
|
+
datasheets?: Types.DocumentArray<{
|
|
550
|
+
key: string;
|
|
551
|
+
url: string;
|
|
552
|
+
filename: string;
|
|
553
|
+
mime_type: string;
|
|
554
|
+
size: number;
|
|
555
|
+
uploaded_at: NativeDate;
|
|
556
|
+
uploaded_by: string;
|
|
557
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
558
|
+
key: string;
|
|
559
|
+
url: string;
|
|
560
|
+
filename: string;
|
|
561
|
+
mime_type: string;
|
|
562
|
+
size: number;
|
|
563
|
+
uploaded_at: NativeDate;
|
|
564
|
+
uploaded_by: string;
|
|
565
|
+
}> & {
|
|
566
|
+
key: string;
|
|
567
|
+
url: string;
|
|
568
|
+
filename: string;
|
|
569
|
+
mime_type: string;
|
|
570
|
+
size: number;
|
|
571
|
+
uploaded_at: NativeDate;
|
|
572
|
+
uploaded_by: string;
|
|
573
|
+
}>;
|
|
574
|
+
};
|
|
185
575
|
}, {
|
|
186
576
|
id: string;
|
|
187
577
|
}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & Omit<{
|
|
@@ -190,10 +580,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
190
580
|
article_number: string;
|
|
191
581
|
unit: string;
|
|
192
582
|
group_id: Types.ObjectId;
|
|
583
|
+
tags: Types.DocumentArray<{
|
|
584
|
+
prototype?: Types.ObjectId;
|
|
585
|
+
cacheHexString?: unknown;
|
|
586
|
+
generate?: {};
|
|
587
|
+
createFromTime?: {};
|
|
588
|
+
createFromHexString?: {};
|
|
589
|
+
createFromBase64?: {};
|
|
590
|
+
isValid?: {};
|
|
591
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
592
|
+
prototype?: Types.ObjectId;
|
|
593
|
+
cacheHexString?: unknown;
|
|
594
|
+
generate?: {};
|
|
595
|
+
createFromTime?: {};
|
|
596
|
+
createFromHexString?: {};
|
|
597
|
+
createFromBase64?: {};
|
|
598
|
+
isValid?: {};
|
|
599
|
+
}> & {
|
|
600
|
+
prototype?: Types.ObjectId;
|
|
601
|
+
cacheHexString?: unknown;
|
|
602
|
+
generate?: {};
|
|
603
|
+
createFromTime?: {};
|
|
604
|
+
createFromHexString?: {};
|
|
605
|
+
createFromBase64?: {};
|
|
606
|
+
isValid?: {};
|
|
607
|
+
}>;
|
|
193
608
|
deleted_at?: NativeDate;
|
|
194
609
|
updated_at?: NativeDate;
|
|
195
610
|
model?: string;
|
|
196
611
|
brand?: string;
|
|
612
|
+
category_id?: Types.ObjectId;
|
|
613
|
+
files?: {
|
|
614
|
+
images?: Types.DocumentArray<{
|
|
615
|
+
key: string;
|
|
616
|
+
url: string;
|
|
617
|
+
filename: string;
|
|
618
|
+
mime_type: string;
|
|
619
|
+
size: number;
|
|
620
|
+
uploaded_at: NativeDate;
|
|
621
|
+
uploaded_by: string;
|
|
622
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
623
|
+
key: string;
|
|
624
|
+
url: string;
|
|
625
|
+
filename: string;
|
|
626
|
+
mime_type: string;
|
|
627
|
+
size: number;
|
|
628
|
+
uploaded_at: NativeDate;
|
|
629
|
+
uploaded_by: string;
|
|
630
|
+
}> & {
|
|
631
|
+
key: string;
|
|
632
|
+
url: string;
|
|
633
|
+
filename: string;
|
|
634
|
+
mime_type: string;
|
|
635
|
+
size: number;
|
|
636
|
+
uploaded_at: NativeDate;
|
|
637
|
+
uploaded_by: string;
|
|
638
|
+
}>;
|
|
639
|
+
datasheets?: Types.DocumentArray<{
|
|
640
|
+
key: string;
|
|
641
|
+
url: string;
|
|
642
|
+
filename: string;
|
|
643
|
+
mime_type: string;
|
|
644
|
+
size: number;
|
|
645
|
+
uploaded_at: NativeDate;
|
|
646
|
+
uploaded_by: string;
|
|
647
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
648
|
+
key: string;
|
|
649
|
+
url: string;
|
|
650
|
+
filename: string;
|
|
651
|
+
mime_type: string;
|
|
652
|
+
size: number;
|
|
653
|
+
uploaded_at: NativeDate;
|
|
654
|
+
uploaded_by: string;
|
|
655
|
+
}> & {
|
|
656
|
+
key: string;
|
|
657
|
+
url: string;
|
|
658
|
+
filename: string;
|
|
659
|
+
mime_type: string;
|
|
660
|
+
size: number;
|
|
661
|
+
uploaded_at: NativeDate;
|
|
662
|
+
uploaded_by: string;
|
|
663
|
+
}>;
|
|
664
|
+
};
|
|
197
665
|
} & {
|
|
198
666
|
_id: Types.ObjectId;
|
|
199
667
|
} & {
|
|
@@ -209,10 +677,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
209
677
|
article_number: string;
|
|
210
678
|
unit: string;
|
|
211
679
|
group_id: Types.ObjectId;
|
|
680
|
+
tags: Types.DocumentArray<{
|
|
681
|
+
prototype?: Types.ObjectId;
|
|
682
|
+
cacheHexString?: unknown;
|
|
683
|
+
generate?: {};
|
|
684
|
+
createFromTime?: {};
|
|
685
|
+
createFromHexString?: {};
|
|
686
|
+
createFromBase64?: {};
|
|
687
|
+
isValid?: {};
|
|
688
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
689
|
+
prototype?: Types.ObjectId;
|
|
690
|
+
cacheHexString?: unknown;
|
|
691
|
+
generate?: {};
|
|
692
|
+
createFromTime?: {};
|
|
693
|
+
createFromHexString?: {};
|
|
694
|
+
createFromBase64?: {};
|
|
695
|
+
isValid?: {};
|
|
696
|
+
}> & {
|
|
697
|
+
prototype?: Types.ObjectId;
|
|
698
|
+
cacheHexString?: unknown;
|
|
699
|
+
generate?: {};
|
|
700
|
+
createFromTime?: {};
|
|
701
|
+
createFromHexString?: {};
|
|
702
|
+
createFromBase64?: {};
|
|
703
|
+
isValid?: {};
|
|
704
|
+
}>;
|
|
212
705
|
deleted_at?: NativeDate;
|
|
213
706
|
updated_at?: NativeDate;
|
|
214
707
|
model?: string;
|
|
215
708
|
brand?: string;
|
|
709
|
+
category_id?: Types.ObjectId;
|
|
710
|
+
files?: {
|
|
711
|
+
images?: Types.DocumentArray<{
|
|
712
|
+
key: string;
|
|
713
|
+
url: string;
|
|
714
|
+
filename: string;
|
|
715
|
+
mime_type: string;
|
|
716
|
+
size: number;
|
|
717
|
+
uploaded_at: NativeDate;
|
|
718
|
+
uploaded_by: string;
|
|
719
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
720
|
+
key: string;
|
|
721
|
+
url: string;
|
|
722
|
+
filename: string;
|
|
723
|
+
mime_type: string;
|
|
724
|
+
size: number;
|
|
725
|
+
uploaded_at: NativeDate;
|
|
726
|
+
uploaded_by: string;
|
|
727
|
+
}> & {
|
|
728
|
+
key: string;
|
|
729
|
+
url: string;
|
|
730
|
+
filename: string;
|
|
731
|
+
mime_type: string;
|
|
732
|
+
size: number;
|
|
733
|
+
uploaded_at: NativeDate;
|
|
734
|
+
uploaded_by: string;
|
|
735
|
+
}>;
|
|
736
|
+
datasheets?: Types.DocumentArray<{
|
|
737
|
+
key: string;
|
|
738
|
+
url: string;
|
|
739
|
+
filename: string;
|
|
740
|
+
mime_type: string;
|
|
741
|
+
size: number;
|
|
742
|
+
uploaded_at: NativeDate;
|
|
743
|
+
uploaded_by: string;
|
|
744
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
745
|
+
key: string;
|
|
746
|
+
url: string;
|
|
747
|
+
filename: string;
|
|
748
|
+
mime_type: string;
|
|
749
|
+
size: number;
|
|
750
|
+
uploaded_at: NativeDate;
|
|
751
|
+
uploaded_by: string;
|
|
752
|
+
}> & {
|
|
753
|
+
key: string;
|
|
754
|
+
url: string;
|
|
755
|
+
filename: string;
|
|
756
|
+
mime_type: string;
|
|
757
|
+
size: number;
|
|
758
|
+
uploaded_at: NativeDate;
|
|
759
|
+
uploaded_by: string;
|
|
760
|
+
}>;
|
|
761
|
+
};
|
|
216
762
|
}, {
|
|
217
763
|
id: string;
|
|
218
764
|
}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & Omit<{
|
|
@@ -221,10 +767,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
221
767
|
article_number: string;
|
|
222
768
|
unit: string;
|
|
223
769
|
group_id: Types.ObjectId;
|
|
770
|
+
tags: Types.DocumentArray<{
|
|
771
|
+
prototype?: Types.ObjectId;
|
|
772
|
+
cacheHexString?: unknown;
|
|
773
|
+
generate?: {};
|
|
774
|
+
createFromTime?: {};
|
|
775
|
+
createFromHexString?: {};
|
|
776
|
+
createFromBase64?: {};
|
|
777
|
+
isValid?: {};
|
|
778
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
779
|
+
prototype?: Types.ObjectId;
|
|
780
|
+
cacheHexString?: unknown;
|
|
781
|
+
generate?: {};
|
|
782
|
+
createFromTime?: {};
|
|
783
|
+
createFromHexString?: {};
|
|
784
|
+
createFromBase64?: {};
|
|
785
|
+
isValid?: {};
|
|
786
|
+
}> & {
|
|
787
|
+
prototype?: Types.ObjectId;
|
|
788
|
+
cacheHexString?: unknown;
|
|
789
|
+
generate?: {};
|
|
790
|
+
createFromTime?: {};
|
|
791
|
+
createFromHexString?: {};
|
|
792
|
+
createFromBase64?: {};
|
|
793
|
+
isValid?: {};
|
|
794
|
+
}>;
|
|
224
795
|
deleted_at?: NativeDate;
|
|
225
796
|
updated_at?: NativeDate;
|
|
226
797
|
model?: string;
|
|
227
798
|
brand?: string;
|
|
799
|
+
category_id?: Types.ObjectId;
|
|
800
|
+
files?: {
|
|
801
|
+
images?: Types.DocumentArray<{
|
|
802
|
+
key: string;
|
|
803
|
+
url: string;
|
|
804
|
+
filename: string;
|
|
805
|
+
mime_type: string;
|
|
806
|
+
size: number;
|
|
807
|
+
uploaded_at: NativeDate;
|
|
808
|
+
uploaded_by: string;
|
|
809
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
810
|
+
key: string;
|
|
811
|
+
url: string;
|
|
812
|
+
filename: string;
|
|
813
|
+
mime_type: string;
|
|
814
|
+
size: number;
|
|
815
|
+
uploaded_at: NativeDate;
|
|
816
|
+
uploaded_by: string;
|
|
817
|
+
}> & {
|
|
818
|
+
key: string;
|
|
819
|
+
url: string;
|
|
820
|
+
filename: string;
|
|
821
|
+
mime_type: string;
|
|
822
|
+
size: number;
|
|
823
|
+
uploaded_at: NativeDate;
|
|
824
|
+
uploaded_by: string;
|
|
825
|
+
}>;
|
|
826
|
+
datasheets?: Types.DocumentArray<{
|
|
827
|
+
key: string;
|
|
828
|
+
url: string;
|
|
829
|
+
filename: string;
|
|
830
|
+
mime_type: string;
|
|
831
|
+
size: number;
|
|
832
|
+
uploaded_at: NativeDate;
|
|
833
|
+
uploaded_by: string;
|
|
834
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
835
|
+
key: string;
|
|
836
|
+
url: string;
|
|
837
|
+
filename: string;
|
|
838
|
+
mime_type: string;
|
|
839
|
+
size: number;
|
|
840
|
+
uploaded_at: NativeDate;
|
|
841
|
+
uploaded_by: string;
|
|
842
|
+
}> & {
|
|
843
|
+
key: string;
|
|
844
|
+
url: string;
|
|
845
|
+
filename: string;
|
|
846
|
+
mime_type: string;
|
|
847
|
+
size: number;
|
|
848
|
+
uploaded_at: NativeDate;
|
|
849
|
+
uploaded_by: string;
|
|
850
|
+
}>;
|
|
851
|
+
};
|
|
228
852
|
} & {
|
|
229
853
|
_id: Types.ObjectId;
|
|
230
854
|
} & {
|
|
@@ -238,10 +862,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
238
862
|
article_number: string;
|
|
239
863
|
unit: string;
|
|
240
864
|
group_id: Types.ObjectId;
|
|
865
|
+
tags: Types.DocumentArray<{
|
|
866
|
+
prototype?: Types.ObjectId;
|
|
867
|
+
cacheHexString?: {};
|
|
868
|
+
generate?: {};
|
|
869
|
+
createFromTime?: {};
|
|
870
|
+
createFromHexString?: {};
|
|
871
|
+
createFromBase64?: {};
|
|
872
|
+
isValid?: {};
|
|
873
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
874
|
+
prototype?: Types.ObjectId;
|
|
875
|
+
cacheHexString?: {};
|
|
876
|
+
generate?: {};
|
|
877
|
+
createFromTime?: {};
|
|
878
|
+
createFromHexString?: {};
|
|
879
|
+
createFromBase64?: {};
|
|
880
|
+
isValid?: {};
|
|
881
|
+
}> & {
|
|
882
|
+
prototype?: Types.ObjectId;
|
|
883
|
+
cacheHexString?: {};
|
|
884
|
+
generate?: {};
|
|
885
|
+
createFromTime?: {};
|
|
886
|
+
createFromHexString?: {};
|
|
887
|
+
createFromBase64?: {};
|
|
888
|
+
isValid?: {};
|
|
889
|
+
}>;
|
|
241
890
|
deleted_at?: NativeDate;
|
|
242
891
|
updated_at?: NativeDate;
|
|
243
892
|
model?: string;
|
|
244
893
|
brand?: string;
|
|
894
|
+
category_id?: Types.ObjectId;
|
|
895
|
+
files?: {
|
|
896
|
+
images?: Types.DocumentArray<{
|
|
897
|
+
key: string;
|
|
898
|
+
url: string;
|
|
899
|
+
filename: string;
|
|
900
|
+
mime_type: string;
|
|
901
|
+
size: number;
|
|
902
|
+
uploaded_at: NativeDate;
|
|
903
|
+
uploaded_by: string;
|
|
904
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
905
|
+
key: string;
|
|
906
|
+
url: string;
|
|
907
|
+
filename: string;
|
|
908
|
+
mime_type: string;
|
|
909
|
+
size: number;
|
|
910
|
+
uploaded_at: NativeDate;
|
|
911
|
+
uploaded_by: string;
|
|
912
|
+
}> & {
|
|
913
|
+
key: string;
|
|
914
|
+
url: string;
|
|
915
|
+
filename: string;
|
|
916
|
+
mime_type: string;
|
|
917
|
+
size: number;
|
|
918
|
+
uploaded_at: NativeDate;
|
|
919
|
+
uploaded_by: string;
|
|
920
|
+
}>;
|
|
921
|
+
datasheets?: Types.DocumentArray<{
|
|
922
|
+
key: string;
|
|
923
|
+
url: string;
|
|
924
|
+
filename: string;
|
|
925
|
+
mime_type: string;
|
|
926
|
+
size: number;
|
|
927
|
+
uploaded_at: NativeDate;
|
|
928
|
+
uploaded_by: string;
|
|
929
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
930
|
+
key: string;
|
|
931
|
+
url: string;
|
|
932
|
+
filename: string;
|
|
933
|
+
mime_type: string;
|
|
934
|
+
size: number;
|
|
935
|
+
uploaded_at: NativeDate;
|
|
936
|
+
uploaded_by: string;
|
|
937
|
+
}> & {
|
|
938
|
+
key: string;
|
|
939
|
+
url: string;
|
|
940
|
+
filename: string;
|
|
941
|
+
mime_type: string;
|
|
942
|
+
size: number;
|
|
943
|
+
uploaded_at: NativeDate;
|
|
944
|
+
uploaded_by: string;
|
|
945
|
+
}>;
|
|
946
|
+
};
|
|
245
947
|
} & {
|
|
246
948
|
_id: Types.ObjectId;
|
|
247
949
|
} & {
|
|
@@ -252,10 +954,88 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
252
954
|
article_number: string;
|
|
253
955
|
unit: string;
|
|
254
956
|
group_id: Types.ObjectId;
|
|
957
|
+
tags: Types.DocumentArray<{
|
|
958
|
+
prototype?: Types.ObjectId;
|
|
959
|
+
cacheHexString?: {};
|
|
960
|
+
generate?: {};
|
|
961
|
+
createFromTime?: {};
|
|
962
|
+
createFromHexString?: {};
|
|
963
|
+
createFromBase64?: {};
|
|
964
|
+
isValid?: {};
|
|
965
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
966
|
+
prototype?: Types.ObjectId;
|
|
967
|
+
cacheHexString?: {};
|
|
968
|
+
generate?: {};
|
|
969
|
+
createFromTime?: {};
|
|
970
|
+
createFromHexString?: {};
|
|
971
|
+
createFromBase64?: {};
|
|
972
|
+
isValid?: {};
|
|
973
|
+
}> & {
|
|
974
|
+
prototype?: Types.ObjectId;
|
|
975
|
+
cacheHexString?: {};
|
|
976
|
+
generate?: {};
|
|
977
|
+
createFromTime?: {};
|
|
978
|
+
createFromHexString?: {};
|
|
979
|
+
createFromBase64?: {};
|
|
980
|
+
isValid?: {};
|
|
981
|
+
}>;
|
|
255
982
|
deleted_at?: NativeDate;
|
|
256
983
|
updated_at?: NativeDate;
|
|
257
984
|
model?: string;
|
|
258
985
|
brand?: string;
|
|
986
|
+
category_id?: Types.ObjectId;
|
|
987
|
+
files?: {
|
|
988
|
+
images?: Types.DocumentArray<{
|
|
989
|
+
key: string;
|
|
990
|
+
url: string;
|
|
991
|
+
filename: string;
|
|
992
|
+
mime_type: string;
|
|
993
|
+
size: number;
|
|
994
|
+
uploaded_at: NativeDate;
|
|
995
|
+
uploaded_by: string;
|
|
996
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
997
|
+
key: string;
|
|
998
|
+
url: string;
|
|
999
|
+
filename: string;
|
|
1000
|
+
mime_type: string;
|
|
1001
|
+
size: number;
|
|
1002
|
+
uploaded_at: NativeDate;
|
|
1003
|
+
uploaded_by: string;
|
|
1004
|
+
}> & {
|
|
1005
|
+
key: string;
|
|
1006
|
+
url: string;
|
|
1007
|
+
filename: string;
|
|
1008
|
+
mime_type: string;
|
|
1009
|
+
size: number;
|
|
1010
|
+
uploaded_at: NativeDate;
|
|
1011
|
+
uploaded_by: string;
|
|
1012
|
+
}>;
|
|
1013
|
+
datasheets?: Types.DocumentArray<{
|
|
1014
|
+
key: string;
|
|
1015
|
+
url: string;
|
|
1016
|
+
filename: string;
|
|
1017
|
+
mime_type: string;
|
|
1018
|
+
size: number;
|
|
1019
|
+
uploaded_at: NativeDate;
|
|
1020
|
+
uploaded_by: string;
|
|
1021
|
+
}, Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
1022
|
+
key: string;
|
|
1023
|
+
url: string;
|
|
1024
|
+
filename: string;
|
|
1025
|
+
mime_type: string;
|
|
1026
|
+
size: number;
|
|
1027
|
+
uploaded_at: NativeDate;
|
|
1028
|
+
uploaded_by: string;
|
|
1029
|
+
}> & {
|
|
1030
|
+
key: string;
|
|
1031
|
+
url: string;
|
|
1032
|
+
filename: string;
|
|
1033
|
+
mime_type: string;
|
|
1034
|
+
size: number;
|
|
1035
|
+
uploaded_at: NativeDate;
|
|
1036
|
+
uploaded_by: string;
|
|
1037
|
+
}>;
|
|
1038
|
+
};
|
|
259
1039
|
} & {
|
|
260
1040
|
_id: Types.ObjectId;
|
|
261
1041
|
} & {
|
|
@@ -719,6 +1499,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
719
1499
|
count: number;
|
|
720
1500
|
min_stock?: number;
|
|
721
1501
|
max_stock?: number;
|
|
1502
|
+
updated_by?: Types.ObjectId;
|
|
722
1503
|
}, {}, {}, {
|
|
723
1504
|
id: string;
|
|
724
1505
|
}, mongoose.Document<unknown, {}, {
|
|
@@ -728,6 +1509,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
728
1509
|
count: number;
|
|
729
1510
|
min_stock?: number;
|
|
730
1511
|
max_stock?: number;
|
|
1512
|
+
updated_by?: Types.ObjectId;
|
|
731
1513
|
}, {
|
|
732
1514
|
id: string;
|
|
733
1515
|
}, mongoose.DefaultSchemaOptions> & Omit<{
|
|
@@ -737,6 +1519,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
737
1519
|
count: number;
|
|
738
1520
|
min_stock?: number;
|
|
739
1521
|
max_stock?: number;
|
|
1522
|
+
updated_by?: Types.ObjectId;
|
|
740
1523
|
} & {
|
|
741
1524
|
_id: Types.ObjectId;
|
|
742
1525
|
} & {
|
|
@@ -750,6 +1533,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
750
1533
|
count: number;
|
|
751
1534
|
min_stock?: number;
|
|
752
1535
|
max_stock?: number;
|
|
1536
|
+
updated_by?: Types.ObjectId;
|
|
753
1537
|
}, mongoose.Document<unknown, {}, {
|
|
754
1538
|
updated_at: NativeDate;
|
|
755
1539
|
article_id: Types.ObjectId;
|
|
@@ -757,6 +1541,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
757
1541
|
count: number;
|
|
758
1542
|
min_stock?: number;
|
|
759
1543
|
max_stock?: number;
|
|
1544
|
+
updated_by?: Types.ObjectId;
|
|
760
1545
|
}, {
|
|
761
1546
|
id: string;
|
|
762
1547
|
}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & Omit<{
|
|
@@ -766,6 +1551,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
766
1551
|
count: number;
|
|
767
1552
|
min_stock?: number;
|
|
768
1553
|
max_stock?: number;
|
|
1554
|
+
updated_by?: Types.ObjectId;
|
|
769
1555
|
} & {
|
|
770
1556
|
_id: Types.ObjectId;
|
|
771
1557
|
} & {
|
|
@@ -782,6 +1568,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
782
1568
|
count: number;
|
|
783
1569
|
min_stock?: number;
|
|
784
1570
|
max_stock?: number;
|
|
1571
|
+
updated_by?: Types.ObjectId;
|
|
785
1572
|
}, {
|
|
786
1573
|
id: string;
|
|
787
1574
|
}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & Omit<{
|
|
@@ -791,6 +1578,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
791
1578
|
count: number;
|
|
792
1579
|
min_stock?: number;
|
|
793
1580
|
max_stock?: number;
|
|
1581
|
+
updated_by?: Types.ObjectId;
|
|
794
1582
|
} & {
|
|
795
1583
|
_id: Types.ObjectId;
|
|
796
1584
|
} & {
|
|
@@ -805,6 +1593,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
805
1593
|
count: number;
|
|
806
1594
|
min_stock?: number;
|
|
807
1595
|
max_stock?: number;
|
|
1596
|
+
updated_by?: Types.ObjectId;
|
|
808
1597
|
} & {
|
|
809
1598
|
_id: Types.ObjectId;
|
|
810
1599
|
} & {
|
|
@@ -816,6 +1605,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
|
|
|
816
1605
|
count: number;
|
|
817
1606
|
min_stock?: number;
|
|
818
1607
|
max_stock?: number;
|
|
1608
|
+
updated_by?: Types.ObjectId;
|
|
819
1609
|
} & {
|
|
820
1610
|
_id: Types.ObjectId;
|
|
821
1611
|
} & {
|