@medusajs/product 2.0.2-preview-20241106060224 → 2.0.2-preview-20241106060202
Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,78 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
27
27
|
rank?: undefined;
|
28
28
|
parent_category_id?: undefined;
|
29
29
|
parent_category?: undefined;
|
30
|
-
category_children?:
|
30
|
+
category_children?: {
|
31
|
+
id?: undefined;
|
32
|
+
name?: undefined;
|
33
|
+
description?: undefined;
|
34
|
+
handle?: undefined;
|
35
|
+
mpath?: undefined;
|
36
|
+
is_active?: undefined;
|
37
|
+
is_internal?: undefined;
|
38
|
+
rank?: undefined;
|
39
|
+
parent_category_id?: undefined;
|
40
|
+
parent_category?: undefined;
|
41
|
+
category_children?: {
|
42
|
+
id?: undefined;
|
43
|
+
name?: undefined;
|
44
|
+
description?: undefined;
|
45
|
+
handle?: undefined;
|
46
|
+
mpath?: undefined;
|
47
|
+
is_active?: undefined;
|
48
|
+
is_internal?: undefined;
|
49
|
+
rank?: undefined;
|
50
|
+
parent_category_id?: undefined;
|
51
|
+
parent_category?: undefined;
|
52
|
+
category_children?: undefined;
|
53
|
+
created_at?: undefined;
|
54
|
+
updated_at?: undefined;
|
55
|
+
deleted_at?: undefined;
|
56
|
+
metadata?: undefined;
|
57
|
+
products?: undefined;
|
58
|
+
onInit?: undefined;
|
59
|
+
onCreate?: undefined;
|
60
|
+
} | undefined;
|
61
|
+
created_at?: undefined;
|
62
|
+
updated_at?: undefined;
|
63
|
+
deleted_at?: undefined;
|
64
|
+
metadata?: undefined;
|
65
|
+
products?: {
|
66
|
+
id?: undefined;
|
67
|
+
title?: undefined;
|
68
|
+
handle?: undefined;
|
69
|
+
subtitle?: undefined;
|
70
|
+
description?: undefined;
|
71
|
+
is_giftcard?: undefined;
|
72
|
+
status?: undefined;
|
73
|
+
thumbnail?: undefined;
|
74
|
+
options?: undefined;
|
75
|
+
variants?: undefined;
|
76
|
+
weight?: undefined;
|
77
|
+
length?: undefined;
|
78
|
+
height?: undefined;
|
79
|
+
width?: undefined;
|
80
|
+
origin_country?: undefined;
|
81
|
+
hs_code?: undefined;
|
82
|
+
mid_code?: undefined;
|
83
|
+
material?: undefined;
|
84
|
+
collection_id?: undefined;
|
85
|
+
collection?: undefined;
|
86
|
+
type_id?: undefined;
|
87
|
+
type?: undefined;
|
88
|
+
tags?: undefined;
|
89
|
+
images?: undefined;
|
90
|
+
categories?: undefined;
|
91
|
+
discountable?: undefined;
|
92
|
+
external_id?: undefined;
|
93
|
+
created_at?: undefined;
|
94
|
+
updated_at?: undefined;
|
95
|
+
deleted_at?: undefined;
|
96
|
+
metadata?: undefined;
|
97
|
+
onInit?: undefined;
|
98
|
+
} | undefined;
|
99
|
+
onInit?: undefined;
|
100
|
+
onCreate?: undefined;
|
101
|
+
} | undefined;
|
31
102
|
created_at?: undefined;
|
32
103
|
updated_at?: undefined;
|
33
104
|
deleted_at?: undefined;
|
@@ -46,44 +117,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
46
117
|
title?: undefined;
|
47
118
|
product_id?: undefined;
|
48
119
|
product?: undefined;
|
49
|
-
values?:
|
50
|
-
id?: undefined;
|
51
|
-
value?: undefined;
|
52
|
-
option_id?: undefined;
|
53
|
-
option?: undefined;
|
54
|
-
variants?: {
|
55
|
-
id?: undefined;
|
56
|
-
title?: undefined;
|
57
|
-
sku?: undefined;
|
58
|
-
barcode?: undefined;
|
59
|
-
ean?: undefined;
|
60
|
-
upc?: undefined;
|
61
|
-
allow_backorder?: undefined;
|
62
|
-
manage_inventory?: undefined;
|
63
|
-
hs_code?: undefined;
|
64
|
-
origin_country?: undefined;
|
65
|
-
mid_code?: undefined;
|
66
|
-
material?: undefined;
|
67
|
-
weight?: undefined;
|
68
|
-
length?: undefined;
|
69
|
-
height?: undefined;
|
70
|
-
width?: undefined;
|
71
|
-
metadata?: undefined;
|
72
|
-
variant_rank?: undefined;
|
73
|
-
product_id?: undefined;
|
74
|
-
product?: undefined;
|
75
|
-
options?: any | undefined;
|
76
|
-
created_at?: undefined;
|
77
|
-
updated_at?: undefined;
|
78
|
-
deleted_at?: undefined;
|
79
|
-
onInit?: undefined;
|
80
|
-
} | undefined;
|
81
|
-
metadata?: undefined;
|
82
|
-
created_at?: undefined;
|
83
|
-
updated_at?: undefined;
|
84
|
-
deleted_at?: undefined;
|
85
|
-
onInit?: undefined;
|
86
|
-
} | undefined;
|
120
|
+
values?: undefined;
|
87
121
|
metadata?: undefined;
|
88
122
|
created_at?: undefined;
|
89
123
|
updated_at?: undefined;
|
@@ -111,7 +145,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
111
145
|
variant_rank?: undefined;
|
112
146
|
product_id?: undefined;
|
113
147
|
product?: undefined;
|
114
|
-
options?:
|
148
|
+
options?: undefined;
|
115
149
|
created_at?: undefined;
|
116
150
|
updated_at?: undefined;
|
117
151
|
deleted_at?: undefined;
|
@@ -136,7 +170,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
136
170
|
created_at?: undefined;
|
137
171
|
updated_at?: undefined;
|
138
172
|
deleted_at?: undefined;
|
139
|
-
products?:
|
173
|
+
products?: undefined;
|
140
174
|
onInit?: undefined;
|
141
175
|
} | undefined;
|
142
176
|
images?: {
|
@@ -146,11 +180,30 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
146
180
|
created_at?: undefined;
|
147
181
|
updated_at?: undefined;
|
148
182
|
deleted_at?: undefined;
|
149
|
-
products?:
|
183
|
+
products?: undefined;
|
184
|
+
onInit?: undefined;
|
185
|
+
onCreate?: undefined;
|
186
|
+
} | undefined;
|
187
|
+
categories?: {
|
188
|
+
id?: undefined;
|
189
|
+
name?: undefined;
|
190
|
+
description?: undefined;
|
191
|
+
handle?: undefined;
|
192
|
+
mpath?: undefined;
|
193
|
+
is_active?: undefined;
|
194
|
+
is_internal?: undefined;
|
195
|
+
rank?: undefined;
|
196
|
+
parent_category_id?: undefined;
|
197
|
+
parent_category?: undefined;
|
198
|
+
category_children?: undefined;
|
199
|
+
created_at?: undefined;
|
200
|
+
updated_at?: undefined;
|
201
|
+
deleted_at?: undefined;
|
202
|
+
metadata?: undefined;
|
203
|
+
products?: undefined;
|
150
204
|
onInit?: undefined;
|
151
205
|
onCreate?: undefined;
|
152
206
|
} | undefined;
|
153
|
-
categories?: any | undefined;
|
154
207
|
discountable?: undefined;
|
155
208
|
external_id?: undefined;
|
156
209
|
created_at?: undefined;
|
@@ -185,33 +238,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
185
238
|
value?: undefined;
|
186
239
|
option_id?: undefined;
|
187
240
|
option?: undefined;
|
188
|
-
variants?:
|
189
|
-
id?: undefined;
|
190
|
-
title?: undefined;
|
191
|
-
sku?: undefined;
|
192
|
-
barcode?: undefined;
|
193
|
-
ean?: undefined;
|
194
|
-
upc?: undefined;
|
195
|
-
allow_backorder?: undefined;
|
196
|
-
manage_inventory?: undefined;
|
197
|
-
hs_code?: undefined;
|
198
|
-
origin_country?: undefined;
|
199
|
-
mid_code?: undefined;
|
200
|
-
material?: undefined;
|
201
|
-
weight?: undefined;
|
202
|
-
length?: undefined;
|
203
|
-
height?: undefined;
|
204
|
-
width?: undefined;
|
205
|
-
metadata?: undefined;
|
206
|
-
variant_rank?: undefined;
|
207
|
-
product_id?: undefined;
|
208
|
-
product?: undefined;
|
209
|
-
options?: any | undefined;
|
210
|
-
created_at?: undefined;
|
211
|
-
updated_at?: undefined;
|
212
|
-
deleted_at?: undefined;
|
213
|
-
onInit?: undefined;
|
214
|
-
} | undefined;
|
241
|
+
variants?: undefined;
|
215
242
|
metadata?: undefined;
|
216
243
|
created_at?: undefined;
|
217
244
|
updated_at?: undefined;
|
@@ -245,7 +272,18 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
245
272
|
variant_rank?: undefined;
|
246
273
|
product_id?: undefined;
|
247
274
|
product?: undefined;
|
248
|
-
options?:
|
275
|
+
options?: {
|
276
|
+
id?: undefined;
|
277
|
+
value?: undefined;
|
278
|
+
option_id?: undefined;
|
279
|
+
option?: undefined;
|
280
|
+
variants?: undefined;
|
281
|
+
metadata?: undefined;
|
282
|
+
created_at?: undefined;
|
283
|
+
updated_at?: undefined;
|
284
|
+
deleted_at?: undefined;
|
285
|
+
onInit?: undefined;
|
286
|
+
} | undefined;
|
249
287
|
created_at?: undefined;
|
250
288
|
updated_at?: undefined;
|
251
289
|
deleted_at?: undefined;
|
@@ -270,7 +308,40 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
270
308
|
created_at?: undefined;
|
271
309
|
updated_at?: undefined;
|
272
310
|
deleted_at?: undefined;
|
273
|
-
products?:
|
311
|
+
products?: {
|
312
|
+
id?: undefined;
|
313
|
+
title?: undefined;
|
314
|
+
handle?: undefined;
|
315
|
+
subtitle?: undefined;
|
316
|
+
description?: undefined;
|
317
|
+
is_giftcard?: undefined;
|
318
|
+
status?: undefined;
|
319
|
+
thumbnail?: undefined;
|
320
|
+
options?: undefined;
|
321
|
+
variants?: undefined;
|
322
|
+
weight?: undefined;
|
323
|
+
length?: undefined;
|
324
|
+
height?: undefined;
|
325
|
+
width?: undefined;
|
326
|
+
origin_country?: undefined;
|
327
|
+
hs_code?: undefined;
|
328
|
+
mid_code?: undefined;
|
329
|
+
material?: undefined;
|
330
|
+
collection_id?: undefined;
|
331
|
+
collection?: undefined;
|
332
|
+
type_id?: undefined;
|
333
|
+
type?: undefined;
|
334
|
+
tags?: undefined;
|
335
|
+
images?: undefined;
|
336
|
+
categories?: undefined;
|
337
|
+
discountable?: undefined;
|
338
|
+
external_id?: undefined;
|
339
|
+
created_at?: undefined;
|
340
|
+
updated_at?: undefined;
|
341
|
+
deleted_at?: undefined;
|
342
|
+
metadata?: undefined;
|
343
|
+
onInit?: undefined;
|
344
|
+
} | undefined;
|
274
345
|
onInit?: undefined;
|
275
346
|
} | undefined;
|
276
347
|
images?: {
|
@@ -280,11 +351,115 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
280
351
|
created_at?: undefined;
|
281
352
|
updated_at?: undefined;
|
282
353
|
deleted_at?: undefined;
|
283
|
-
products?:
|
354
|
+
products?: {
|
355
|
+
id?: undefined;
|
356
|
+
title?: undefined;
|
357
|
+
handle?: undefined;
|
358
|
+
subtitle?: undefined;
|
359
|
+
description?: undefined;
|
360
|
+
is_giftcard?: undefined;
|
361
|
+
status?: undefined;
|
362
|
+
thumbnail?: undefined;
|
363
|
+
options?: undefined;
|
364
|
+
variants?: undefined;
|
365
|
+
weight?: undefined;
|
366
|
+
length?: undefined;
|
367
|
+
height?: undefined;
|
368
|
+
width?: undefined;
|
369
|
+
origin_country?: undefined;
|
370
|
+
hs_code?: undefined;
|
371
|
+
mid_code?: undefined;
|
372
|
+
material?: undefined;
|
373
|
+
collection_id?: undefined;
|
374
|
+
collection?: undefined;
|
375
|
+
type_id?: undefined;
|
376
|
+
type?: undefined;
|
377
|
+
tags?: undefined;
|
378
|
+
images?: undefined;
|
379
|
+
categories?: undefined;
|
380
|
+
discountable?: undefined;
|
381
|
+
external_id?: undefined;
|
382
|
+
created_at?: undefined;
|
383
|
+
updated_at?: undefined;
|
384
|
+
deleted_at?: undefined;
|
385
|
+
metadata?: undefined;
|
386
|
+
onInit?: undefined;
|
387
|
+
} | undefined;
|
388
|
+
onInit?: undefined;
|
389
|
+
onCreate?: undefined;
|
390
|
+
} | undefined;
|
391
|
+
categories?: {
|
392
|
+
id?: undefined;
|
393
|
+
name?: undefined;
|
394
|
+
description?: undefined;
|
395
|
+
handle?: undefined;
|
396
|
+
mpath?: undefined;
|
397
|
+
is_active?: undefined;
|
398
|
+
is_internal?: undefined;
|
399
|
+
rank?: undefined;
|
400
|
+
parent_category_id?: undefined;
|
401
|
+
parent_category?: undefined;
|
402
|
+
category_children?: {
|
403
|
+
id?: undefined;
|
404
|
+
name?: undefined;
|
405
|
+
description?: undefined;
|
406
|
+
handle?: undefined;
|
407
|
+
mpath?: undefined;
|
408
|
+
is_active?: undefined;
|
409
|
+
is_internal?: undefined;
|
410
|
+
rank?: undefined;
|
411
|
+
parent_category_id?: undefined;
|
412
|
+
parent_category?: undefined;
|
413
|
+
category_children?: undefined;
|
414
|
+
created_at?: undefined;
|
415
|
+
updated_at?: undefined;
|
416
|
+
deleted_at?: undefined;
|
417
|
+
metadata?: undefined;
|
418
|
+
products?: undefined;
|
419
|
+
onInit?: undefined;
|
420
|
+
onCreate?: undefined;
|
421
|
+
} | undefined;
|
422
|
+
created_at?: undefined;
|
423
|
+
updated_at?: undefined;
|
424
|
+
deleted_at?: undefined;
|
425
|
+
metadata?: undefined;
|
426
|
+
products?: {
|
427
|
+
id?: undefined;
|
428
|
+
title?: undefined;
|
429
|
+
handle?: undefined;
|
430
|
+
subtitle?: undefined;
|
431
|
+
description?: undefined;
|
432
|
+
is_giftcard?: undefined;
|
433
|
+
status?: undefined;
|
434
|
+
thumbnail?: undefined;
|
435
|
+
options?: undefined;
|
436
|
+
variants?: undefined;
|
437
|
+
weight?: undefined;
|
438
|
+
length?: undefined;
|
439
|
+
height?: undefined;
|
440
|
+
width?: undefined;
|
441
|
+
origin_country?: undefined;
|
442
|
+
hs_code?: undefined;
|
443
|
+
mid_code?: undefined;
|
444
|
+
material?: undefined;
|
445
|
+
collection_id?: undefined;
|
446
|
+
collection?: undefined;
|
447
|
+
type_id?: undefined;
|
448
|
+
type?: undefined;
|
449
|
+
tags?: undefined;
|
450
|
+
images?: undefined;
|
451
|
+
categories?: undefined;
|
452
|
+
discountable?: undefined;
|
453
|
+
external_id?: undefined;
|
454
|
+
created_at?: undefined;
|
455
|
+
updated_at?: undefined;
|
456
|
+
deleted_at?: undefined;
|
457
|
+
metadata?: undefined;
|
458
|
+
onInit?: undefined;
|
459
|
+
} | undefined;
|
284
460
|
onInit?: undefined;
|
285
461
|
onCreate?: undefined;
|
286
462
|
} | undefined;
|
287
|
-
categories?: any | undefined;
|
288
463
|
discountable?: undefined;
|
289
464
|
external_id?: undefined;
|
290
465
|
created_at?: undefined;
|
@@ -317,7 +492,78 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
317
492
|
rank?: undefined;
|
318
493
|
parent_category_id?: undefined;
|
319
494
|
parent_category?: undefined;
|
320
|
-
category_children?:
|
495
|
+
category_children?: {
|
496
|
+
id?: undefined;
|
497
|
+
name?: undefined;
|
498
|
+
description?: undefined;
|
499
|
+
handle?: undefined;
|
500
|
+
mpath?: undefined;
|
501
|
+
is_active?: undefined;
|
502
|
+
is_internal?: undefined;
|
503
|
+
rank?: undefined;
|
504
|
+
parent_category_id?: undefined;
|
505
|
+
parent_category?: undefined;
|
506
|
+
category_children?: {
|
507
|
+
id?: undefined;
|
508
|
+
name?: undefined;
|
509
|
+
description?: undefined;
|
510
|
+
handle?: undefined;
|
511
|
+
mpath?: undefined;
|
512
|
+
is_active?: undefined;
|
513
|
+
is_internal?: undefined;
|
514
|
+
rank?: undefined;
|
515
|
+
parent_category_id?: undefined;
|
516
|
+
parent_category?: undefined;
|
517
|
+
category_children?: undefined;
|
518
|
+
created_at?: undefined;
|
519
|
+
updated_at?: undefined;
|
520
|
+
deleted_at?: undefined;
|
521
|
+
metadata?: undefined;
|
522
|
+
products?: undefined;
|
523
|
+
onInit?: undefined;
|
524
|
+
onCreate?: undefined;
|
525
|
+
} | undefined;
|
526
|
+
created_at?: undefined;
|
527
|
+
updated_at?: undefined;
|
528
|
+
deleted_at?: undefined;
|
529
|
+
metadata?: undefined;
|
530
|
+
products?: {
|
531
|
+
id?: undefined;
|
532
|
+
title?: undefined;
|
533
|
+
handle?: undefined;
|
534
|
+
subtitle?: undefined;
|
535
|
+
description?: undefined;
|
536
|
+
is_giftcard?: undefined;
|
537
|
+
status?: undefined;
|
538
|
+
thumbnail?: undefined;
|
539
|
+
options?: undefined;
|
540
|
+
variants?: undefined;
|
541
|
+
weight?: undefined;
|
542
|
+
length?: undefined;
|
543
|
+
height?: undefined;
|
544
|
+
width?: undefined;
|
545
|
+
origin_country?: undefined;
|
546
|
+
hs_code?: undefined;
|
547
|
+
mid_code?: undefined;
|
548
|
+
material?: undefined;
|
549
|
+
collection_id?: undefined;
|
550
|
+
collection?: undefined;
|
551
|
+
type_id?: undefined;
|
552
|
+
type?: undefined;
|
553
|
+
tags?: undefined;
|
554
|
+
images?: undefined;
|
555
|
+
categories?: undefined;
|
556
|
+
discountable?: undefined;
|
557
|
+
external_id?: undefined;
|
558
|
+
created_at?: undefined;
|
559
|
+
updated_at?: undefined;
|
560
|
+
deleted_at?: undefined;
|
561
|
+
metadata?: undefined;
|
562
|
+
onInit?: undefined;
|
563
|
+
} | undefined;
|
564
|
+
onInit?: undefined;
|
565
|
+
onCreate?: undefined;
|
566
|
+
} | undefined;
|
321
567
|
created_at?: undefined;
|
322
568
|
updated_at?: undefined;
|
323
569
|
deleted_at?: undefined;
|
@@ -336,44 +582,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
336
582
|
title?: undefined;
|
337
583
|
product_id?: undefined;
|
338
584
|
product?: undefined;
|
339
|
-
values?:
|
340
|
-
id?: undefined;
|
341
|
-
value?: undefined;
|
342
|
-
option_id?: undefined;
|
343
|
-
option?: undefined;
|
344
|
-
variants?: {
|
345
|
-
id?: undefined;
|
346
|
-
title?: undefined;
|
347
|
-
sku?: undefined;
|
348
|
-
barcode?: undefined;
|
349
|
-
ean?: undefined;
|
350
|
-
upc?: undefined;
|
351
|
-
allow_backorder?: undefined;
|
352
|
-
manage_inventory?: undefined;
|
353
|
-
hs_code?: undefined;
|
354
|
-
origin_country?: undefined;
|
355
|
-
mid_code?: undefined;
|
356
|
-
material?: undefined;
|
357
|
-
weight?: undefined;
|
358
|
-
length?: undefined;
|
359
|
-
height?: undefined;
|
360
|
-
width?: undefined;
|
361
|
-
metadata?: undefined;
|
362
|
-
variant_rank?: undefined;
|
363
|
-
product_id?: undefined;
|
364
|
-
product?: undefined;
|
365
|
-
options?: any | undefined;
|
366
|
-
created_at?: undefined;
|
367
|
-
updated_at?: undefined;
|
368
|
-
deleted_at?: undefined;
|
369
|
-
onInit?: undefined;
|
370
|
-
} | undefined;
|
371
|
-
metadata?: undefined;
|
372
|
-
created_at?: undefined;
|
373
|
-
updated_at?: undefined;
|
374
|
-
deleted_at?: undefined;
|
375
|
-
onInit?: undefined;
|
376
|
-
} | undefined;
|
585
|
+
values?: undefined;
|
377
586
|
metadata?: undefined;
|
378
587
|
created_at?: undefined;
|
379
588
|
updated_at?: undefined;
|
@@ -401,7 +610,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
401
610
|
variant_rank?: undefined;
|
402
611
|
product_id?: undefined;
|
403
612
|
product?: undefined;
|
404
|
-
options?:
|
613
|
+
options?: undefined;
|
405
614
|
created_at?: undefined;
|
406
615
|
updated_at?: undefined;
|
407
616
|
deleted_at?: undefined;
|
@@ -426,7 +635,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
426
635
|
created_at?: undefined;
|
427
636
|
updated_at?: undefined;
|
428
637
|
deleted_at?: undefined;
|
429
|
-
products?:
|
638
|
+
products?: undefined;
|
430
639
|
onInit?: undefined;
|
431
640
|
} | undefined;
|
432
641
|
images?: {
|
@@ -436,11 +645,30 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
436
645
|
created_at?: undefined;
|
437
646
|
updated_at?: undefined;
|
438
647
|
deleted_at?: undefined;
|
439
|
-
products?:
|
648
|
+
products?: undefined;
|
649
|
+
onInit?: undefined;
|
650
|
+
onCreate?: undefined;
|
651
|
+
} | undefined;
|
652
|
+
categories?: {
|
653
|
+
id?: undefined;
|
654
|
+
name?: undefined;
|
655
|
+
description?: undefined;
|
656
|
+
handle?: undefined;
|
657
|
+
mpath?: undefined;
|
658
|
+
is_active?: undefined;
|
659
|
+
is_internal?: undefined;
|
660
|
+
rank?: undefined;
|
661
|
+
parent_category_id?: undefined;
|
662
|
+
parent_category?: undefined;
|
663
|
+
category_children?: undefined;
|
664
|
+
created_at?: undefined;
|
665
|
+
updated_at?: undefined;
|
666
|
+
deleted_at?: undefined;
|
667
|
+
metadata?: undefined;
|
668
|
+
products?: undefined;
|
440
669
|
onInit?: undefined;
|
441
670
|
onCreate?: undefined;
|
442
671
|
} | undefined;
|
443
|
-
categories?: any | undefined;
|
444
672
|
discountable?: undefined;
|
445
673
|
external_id?: undefined;
|
446
674
|
created_at?: undefined;
|
@@ -475,33 +703,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
475
703
|
value?: undefined;
|
476
704
|
option_id?: undefined;
|
477
705
|
option?: undefined;
|
478
|
-
variants?:
|
479
|
-
id?: undefined;
|
480
|
-
title?: undefined;
|
481
|
-
sku?: undefined;
|
482
|
-
barcode?: undefined;
|
483
|
-
ean?: undefined;
|
484
|
-
upc?: undefined;
|
485
|
-
allow_backorder?: undefined;
|
486
|
-
manage_inventory?: undefined;
|
487
|
-
hs_code?: undefined;
|
488
|
-
origin_country?: undefined;
|
489
|
-
mid_code?: undefined;
|
490
|
-
material?: undefined;
|
491
|
-
weight?: undefined;
|
492
|
-
length?: undefined;
|
493
|
-
height?: undefined;
|
494
|
-
width?: undefined;
|
495
|
-
metadata?: undefined;
|
496
|
-
variant_rank?: undefined;
|
497
|
-
product_id?: undefined;
|
498
|
-
product?: undefined;
|
499
|
-
options?: any | undefined;
|
500
|
-
created_at?: undefined;
|
501
|
-
updated_at?: undefined;
|
502
|
-
deleted_at?: undefined;
|
503
|
-
onInit?: undefined;
|
504
|
-
} | undefined;
|
706
|
+
variants?: undefined;
|
505
707
|
metadata?: undefined;
|
506
708
|
created_at?: undefined;
|
507
709
|
updated_at?: undefined;
|
@@ -535,7 +737,18 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
535
737
|
variant_rank?: undefined;
|
536
738
|
product_id?: undefined;
|
537
739
|
product?: undefined;
|
538
|
-
options?:
|
740
|
+
options?: {
|
741
|
+
id?: undefined;
|
742
|
+
value?: undefined;
|
743
|
+
option_id?: undefined;
|
744
|
+
option?: undefined;
|
745
|
+
variants?: undefined;
|
746
|
+
metadata?: undefined;
|
747
|
+
created_at?: undefined;
|
748
|
+
updated_at?: undefined;
|
749
|
+
deleted_at?: undefined;
|
750
|
+
onInit?: undefined;
|
751
|
+
} | undefined;
|
539
752
|
created_at?: undefined;
|
540
753
|
updated_at?: undefined;
|
541
754
|
deleted_at?: undefined;
|
@@ -560,7 +773,40 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
560
773
|
created_at?: undefined;
|
561
774
|
updated_at?: undefined;
|
562
775
|
deleted_at?: undefined;
|
563
|
-
products?:
|
776
|
+
products?: {
|
777
|
+
id?: undefined;
|
778
|
+
title?: undefined;
|
779
|
+
handle?: undefined;
|
780
|
+
subtitle?: undefined;
|
781
|
+
description?: undefined;
|
782
|
+
is_giftcard?: undefined;
|
783
|
+
status?: undefined;
|
784
|
+
thumbnail?: undefined;
|
785
|
+
options?: undefined;
|
786
|
+
variants?: undefined;
|
787
|
+
weight?: undefined;
|
788
|
+
length?: undefined;
|
789
|
+
height?: undefined;
|
790
|
+
width?: undefined;
|
791
|
+
origin_country?: undefined;
|
792
|
+
hs_code?: undefined;
|
793
|
+
mid_code?: undefined;
|
794
|
+
material?: undefined;
|
795
|
+
collection_id?: undefined;
|
796
|
+
collection?: undefined;
|
797
|
+
type_id?: undefined;
|
798
|
+
type?: undefined;
|
799
|
+
tags?: undefined;
|
800
|
+
images?: undefined;
|
801
|
+
categories?: undefined;
|
802
|
+
discountable?: undefined;
|
803
|
+
external_id?: undefined;
|
804
|
+
created_at?: undefined;
|
805
|
+
updated_at?: undefined;
|
806
|
+
deleted_at?: undefined;
|
807
|
+
metadata?: undefined;
|
808
|
+
onInit?: undefined;
|
809
|
+
} | undefined;
|
564
810
|
onInit?: undefined;
|
565
811
|
} | undefined;
|
566
812
|
images?: {
|
@@ -570,11 +816,115 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
570
816
|
created_at?: undefined;
|
571
817
|
updated_at?: undefined;
|
572
818
|
deleted_at?: undefined;
|
573
|
-
products?:
|
819
|
+
products?: {
|
820
|
+
id?: undefined;
|
821
|
+
title?: undefined;
|
822
|
+
handle?: undefined;
|
823
|
+
subtitle?: undefined;
|
824
|
+
description?: undefined;
|
825
|
+
is_giftcard?: undefined;
|
826
|
+
status?: undefined;
|
827
|
+
thumbnail?: undefined;
|
828
|
+
options?: undefined;
|
829
|
+
variants?: undefined;
|
830
|
+
weight?: undefined;
|
831
|
+
length?: undefined;
|
832
|
+
height?: undefined;
|
833
|
+
width?: undefined;
|
834
|
+
origin_country?: undefined;
|
835
|
+
hs_code?: undefined;
|
836
|
+
mid_code?: undefined;
|
837
|
+
material?: undefined;
|
838
|
+
collection_id?: undefined;
|
839
|
+
collection?: undefined;
|
840
|
+
type_id?: undefined;
|
841
|
+
type?: undefined;
|
842
|
+
tags?: undefined;
|
843
|
+
images?: undefined;
|
844
|
+
categories?: undefined;
|
845
|
+
discountable?: undefined;
|
846
|
+
external_id?: undefined;
|
847
|
+
created_at?: undefined;
|
848
|
+
updated_at?: undefined;
|
849
|
+
deleted_at?: undefined;
|
850
|
+
metadata?: undefined;
|
851
|
+
onInit?: undefined;
|
852
|
+
} | undefined;
|
853
|
+
onInit?: undefined;
|
854
|
+
onCreate?: undefined;
|
855
|
+
} | undefined;
|
856
|
+
categories?: {
|
857
|
+
id?: undefined;
|
858
|
+
name?: undefined;
|
859
|
+
description?: undefined;
|
860
|
+
handle?: undefined;
|
861
|
+
mpath?: undefined;
|
862
|
+
is_active?: undefined;
|
863
|
+
is_internal?: undefined;
|
864
|
+
rank?: undefined;
|
865
|
+
parent_category_id?: undefined;
|
866
|
+
parent_category?: undefined;
|
867
|
+
category_children?: {
|
868
|
+
id?: undefined;
|
869
|
+
name?: undefined;
|
870
|
+
description?: undefined;
|
871
|
+
handle?: undefined;
|
872
|
+
mpath?: undefined;
|
873
|
+
is_active?: undefined;
|
874
|
+
is_internal?: undefined;
|
875
|
+
rank?: undefined;
|
876
|
+
parent_category_id?: undefined;
|
877
|
+
parent_category?: undefined;
|
878
|
+
category_children?: undefined;
|
879
|
+
created_at?: undefined;
|
880
|
+
updated_at?: undefined;
|
881
|
+
deleted_at?: undefined;
|
882
|
+
metadata?: undefined;
|
883
|
+
products?: undefined;
|
884
|
+
onInit?: undefined;
|
885
|
+
onCreate?: undefined;
|
886
|
+
} | undefined;
|
887
|
+
created_at?: undefined;
|
888
|
+
updated_at?: undefined;
|
889
|
+
deleted_at?: undefined;
|
890
|
+
metadata?: undefined;
|
891
|
+
products?: {
|
892
|
+
id?: undefined;
|
893
|
+
title?: undefined;
|
894
|
+
handle?: undefined;
|
895
|
+
subtitle?: undefined;
|
896
|
+
description?: undefined;
|
897
|
+
is_giftcard?: undefined;
|
898
|
+
status?: undefined;
|
899
|
+
thumbnail?: undefined;
|
900
|
+
options?: undefined;
|
901
|
+
variants?: undefined;
|
902
|
+
weight?: undefined;
|
903
|
+
length?: undefined;
|
904
|
+
height?: undefined;
|
905
|
+
width?: undefined;
|
906
|
+
origin_country?: undefined;
|
907
|
+
hs_code?: undefined;
|
908
|
+
mid_code?: undefined;
|
909
|
+
material?: undefined;
|
910
|
+
collection_id?: undefined;
|
911
|
+
collection?: undefined;
|
912
|
+
type_id?: undefined;
|
913
|
+
type?: undefined;
|
914
|
+
tags?: undefined;
|
915
|
+
images?: undefined;
|
916
|
+
categories?: undefined;
|
917
|
+
discountable?: undefined;
|
918
|
+
external_id?: undefined;
|
919
|
+
created_at?: undefined;
|
920
|
+
updated_at?: undefined;
|
921
|
+
deleted_at?: undefined;
|
922
|
+
metadata?: undefined;
|
923
|
+
onInit?: undefined;
|
924
|
+
} | undefined;
|
574
925
|
onInit?: undefined;
|
575
926
|
onCreate?: undefined;
|
576
927
|
} | undefined;
|
577
|
-
categories?: any | undefined;
|
578
928
|
discountable?: undefined;
|
579
929
|
external_id?: undefined;
|
580
930
|
created_at?: undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product-category.d.ts","sourceRoot":"","sources":["../../src/repositories/product-category.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,EACH,+BAA+B,EAC/B,YAAY,EACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,QAAQ,EAA0B,MAAM,2BAA2B,CAAA;AAM5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAA;AAG5C,qBAAa,yBAA0B,SAAQ,QAAQ,CAAC,0BAA0B,CAAC,eAAe,CAAC;IACjG,gBAAgB,CACd,WAAW,GAAE,GAAG,CAAC,WAAW,CAAC,eAAe,CAAiB,EAC7D,aAAa,GAAE,+BAAoC
|
1
|
+
{"version":3,"file":"product-category.d.ts","sourceRoot":"","sources":["../../src/repositories/product-category.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,EACH,+BAA+B,EAC/B,YAAY,EACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,QAAQ,EAA0B,MAAM,2BAA2B,CAAA;AAM5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAA;AAG5C,qBAAa,yBAA0B,SAAQ,QAAQ,CAAC,0BAA0B,CAAC,eAAe,CAAC;IACjG,gBAAgB,CACd,WAAW,GAAE,GAAG,CAAC,WAAW,CAAC,eAAe,CAAiB,EAC7D,aAAa,GAAE,+BAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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2B,CACzC,OAAO,EAAE,gBAAgB,EACzB,cAAc,EAAE,OAAO,CAAC,eAAe,CAAC;cAe1B,2BAA2B,CACzC,OAAO,EAAE,gBAAgB,EACzB,YAAY,EAAE,OAAO,CAAC,eAAe,CAAC;cAexB,iBAAiB,CAC/B,OAAO,EAAE,gBAAgB,EACzB,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAC5D,cAAc,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;CAwC9D"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/product",
|
3
|
-
"version": "2.0.2-preview-
|
3
|
+
"version": "2.0.2-preview-20241106060202",
|
4
4
|
"description": "Medusa Product module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -37,8 +37,8 @@
|
|
37
37
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm cache:clear"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@medusajs/framework": "2.0.2-preview-
|
41
|
-
"@medusajs/test-utils": "2.0.2-preview-
|
40
|
+
"@medusajs/framework": "2.0.2-preview-20241106060202",
|
41
|
+
"@medusajs/test-utils": "2.0.2-preview-20241106060202",
|
42
42
|
"@mikro-orm/cli": "5.9.7",
|
43
43
|
"@mikro-orm/core": "5.9.7",
|
44
44
|
"@mikro-orm/migrations": "5.9.7",
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"typescript": "^5.6.2"
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|
55
|
-
"@medusajs/framework": "2.0.2-preview-
|
55
|
+
"@medusajs/framework": "2.0.2-preview-20241106060202",
|
56
56
|
"@mikro-orm/core": "5.9.7",
|
57
57
|
"@mikro-orm/migrations": "5.9.7",
|
58
58
|
"@mikro-orm/postgresql": "5.9.7",
|