@medusajs/product 2.0.2-preview-20241106202314 → 2.0.2-preview-20241107000416

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,78 +27,7 @@ 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?: {
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;
30
+ category_children?: any | undefined;
102
31
  created_at?: undefined;
103
32
  updated_at?: undefined;
104
33
  deleted_at?: undefined;
@@ -117,7 +46,44 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
117
46
  title?: undefined;
118
47
  product_id?: undefined;
119
48
  product?: undefined;
120
- values?: 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;
121
87
  metadata?: undefined;
122
88
  created_at?: undefined;
123
89
  updated_at?: undefined;
@@ -145,7 +111,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
145
111
  variant_rank?: undefined;
146
112
  product_id?: undefined;
147
113
  product?: undefined;
148
- options?: undefined;
114
+ options?: any | undefined;
149
115
  created_at?: undefined;
150
116
  updated_at?: undefined;
151
117
  deleted_at?: undefined;
@@ -170,7 +136,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
170
136
  created_at?: undefined;
171
137
  updated_at?: undefined;
172
138
  deleted_at?: undefined;
173
- products?: undefined;
139
+ products?: any | undefined;
174
140
  onInit?: undefined;
175
141
  } | undefined;
176
142
  images?: {
@@ -180,30 +146,11 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
180
146
  created_at?: undefined;
181
147
  updated_at?: undefined;
182
148
  deleted_at?: undefined;
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;
149
+ products?: any | undefined;
204
150
  onInit?: undefined;
205
151
  onCreate?: undefined;
206
152
  } | undefined;
153
+ categories?: any | undefined;
207
154
  discountable?: undefined;
208
155
  external_id?: undefined;
209
156
  created_at?: undefined;
@@ -238,7 +185,33 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
238
185
  value?: undefined;
239
186
  option_id?: undefined;
240
187
  option?: undefined;
241
- variants?: 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;
242
215
  metadata?: undefined;
243
216
  created_at?: undefined;
244
217
  updated_at?: undefined;
@@ -272,18 +245,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
272
245
  variant_rank?: undefined;
273
246
  product_id?: undefined;
274
247
  product?: undefined;
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;
248
+ options?: any | undefined;
287
249
  created_at?: undefined;
288
250
  updated_at?: undefined;
289
251
  deleted_at?: undefined;
@@ -308,40 +270,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
308
270
  created_at?: undefined;
309
271
  updated_at?: undefined;
310
272
  deleted_at?: undefined;
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;
273
+ products?: any | undefined;
345
274
  onInit?: undefined;
346
275
  } | undefined;
347
276
  images?: {
@@ -351,115 +280,11 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
351
280
  created_at?: undefined;
352
281
  updated_at?: undefined;
353
282
  deleted_at?: undefined;
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;
283
+ products?: any | undefined;
460
284
  onInit?: undefined;
461
285
  onCreate?: undefined;
462
286
  } | undefined;
287
+ categories?: any | undefined;
463
288
  discountable?: undefined;
464
289
  external_id?: undefined;
465
290
  created_at?: undefined;
@@ -492,78 +317,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
492
317
  rank?: undefined;
493
318
  parent_category_id?: undefined;
494
319
  parent_category?: undefined;
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;
320
+ category_children?: any | undefined;
567
321
  created_at?: undefined;
568
322
  updated_at?: undefined;
569
323
  deleted_at?: undefined;
@@ -582,7 +336,44 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
582
336
  title?: undefined;
583
337
  product_id?: undefined;
584
338
  product?: undefined;
585
- values?: 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;
586
377
  metadata?: undefined;
587
378
  created_at?: undefined;
588
379
  updated_at?: undefined;
@@ -610,7 +401,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
610
401
  variant_rank?: undefined;
611
402
  product_id?: undefined;
612
403
  product?: undefined;
613
- options?: undefined;
404
+ options?: any | undefined;
614
405
  created_at?: undefined;
615
406
  updated_at?: undefined;
616
407
  deleted_at?: undefined;
@@ -635,7 +426,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
635
426
  created_at?: undefined;
636
427
  updated_at?: undefined;
637
428
  deleted_at?: undefined;
638
- products?: undefined;
429
+ products?: any | undefined;
639
430
  onInit?: undefined;
640
431
  } | undefined;
641
432
  images?: {
@@ -645,30 +436,11 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
645
436
  created_at?: undefined;
646
437
  updated_at?: undefined;
647
438
  deleted_at?: undefined;
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;
439
+ products?: any | undefined;
669
440
  onInit?: undefined;
670
441
  onCreate?: undefined;
671
442
  } | undefined;
443
+ categories?: any | undefined;
672
444
  discountable?: undefined;
673
445
  external_id?: undefined;
674
446
  created_at?: undefined;
@@ -703,7 +475,33 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
703
475
  value?: undefined;
704
476
  option_id?: undefined;
705
477
  option?: undefined;
706
- variants?: 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;
707
505
  metadata?: undefined;
708
506
  created_at?: undefined;
709
507
  updated_at?: undefined;
@@ -737,18 +535,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
737
535
  variant_rank?: undefined;
738
536
  product_id?: undefined;
739
537
  product?: undefined;
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;
538
+ options?: any | undefined;
752
539
  created_at?: undefined;
753
540
  updated_at?: undefined;
754
541
  deleted_at?: undefined;
@@ -773,40 +560,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
773
560
  created_at?: undefined;
774
561
  updated_at?: undefined;
775
562
  deleted_at?: undefined;
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;
563
+ products?: any | undefined;
810
564
  onInit?: undefined;
811
565
  } | undefined;
812
566
  images?: {
@@ -816,115 +570,11 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
816
570
  created_at?: undefined;
817
571
  updated_at?: undefined;
818
572
  deleted_at?: undefined;
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;
573
+ products?: any | undefined;
925
574
  onInit?: undefined;
926
575
  onCreate?: undefined;
927
576
  } | undefined;
577
+ categories?: any | undefined;
928
578
  discountable?: undefined;
929
579
  external_id?: undefined;
930
580
  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,QAA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,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/product",
3
- "version": "2.0.2-preview-20241106202314",
3
+ "version": "2.0.2-preview-20241107000416",
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-20241106202314",
41
- "@medusajs/test-utils": "2.0.2-preview-20241106202314",
40
+ "@medusajs/framework": "2.0.2-preview-20241107000416",
41
+ "@medusajs/test-utils": "2.0.2-preview-20241107000416",
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-20241106202314",
55
+ "@medusajs/framework": "2.0.2-preview-20241107000416",
56
56
  "@mikro-orm/core": "5.9.7",
57
57
  "@mikro-orm/migrations": "5.9.7",
58
58
  "@mikro-orm/postgresql": "5.9.7",