controlresell 0.0.37 → 0.0.38
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.
|
@@ -68,42 +68,25 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
68
68
|
disabledFields?: string[] | null | undefined;
|
|
69
69
|
}>>>;
|
|
70
70
|
brandId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
71
|
-
brand: z.ZodOptional<z.ZodNullable<z.
|
|
72
|
-
id: z.
|
|
71
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
72
|
+
id: z.ZodNumber;
|
|
73
73
|
name: z.ZodString;
|
|
74
|
-
userId: z.ZodOptional<z.ZodNullable<z.
|
|
74
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
75
75
|
createdAt: z.ZodDate;
|
|
76
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
77
76
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
78
77
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
id:
|
|
78
|
+
id: number;
|
|
80
79
|
createdAt: Date;
|
|
81
80
|
name: string;
|
|
82
|
-
userId?:
|
|
83
|
-
updatedAt?: Date | null | undefined;
|
|
81
|
+
userId?: number | null | undefined;
|
|
84
82
|
itemCount?: number | null | undefined;
|
|
85
83
|
}, {
|
|
86
|
-
id:
|
|
87
|
-
createdAt: Date;
|
|
88
|
-
name: string;
|
|
89
|
-
userId?: string | number | null | undefined;
|
|
90
|
-
updatedAt?: Date | null | undefined;
|
|
91
|
-
itemCount?: number | null | undefined;
|
|
92
|
-
}>, {
|
|
93
|
-
id: string | number;
|
|
84
|
+
id: number;
|
|
94
85
|
createdAt: Date;
|
|
95
86
|
name: string;
|
|
96
|
-
userId?:
|
|
97
|
-
updatedAt?: Date | null | undefined;
|
|
87
|
+
userId?: number | null | undefined;
|
|
98
88
|
itemCount?: number | null | undefined;
|
|
99
|
-
}
|
|
100
|
-
id: string | number;
|
|
101
|
-
createdAt: Date;
|
|
102
|
-
name: string;
|
|
103
|
-
userId?: string | number | null | undefined;
|
|
104
|
-
updatedAt?: Date | null | undefined;
|
|
105
|
-
itemCount?: number | null | undefined;
|
|
106
|
-
}, unknown>>>;
|
|
89
|
+
}>>>;
|
|
107
90
|
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
91
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109
92
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -476,11 +459,10 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
476
459
|
images: string[];
|
|
477
460
|
sold: boolean;
|
|
478
461
|
brand?: {
|
|
479
|
-
id:
|
|
462
|
+
id: number;
|
|
480
463
|
createdAt: Date;
|
|
481
464
|
name: string;
|
|
482
|
-
userId?:
|
|
483
|
-
updatedAt?: Date | null | undefined;
|
|
465
|
+
userId?: number | null | undefined;
|
|
484
466
|
itemCount?: number | null | undefined;
|
|
485
467
|
} | null | undefined;
|
|
486
468
|
colorIds?: number[] | null | undefined;
|
|
@@ -607,7 +589,13 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
607
589
|
updatedAt: Date;
|
|
608
590
|
images: string[];
|
|
609
591
|
sold: boolean;
|
|
610
|
-
brand?:
|
|
592
|
+
brand?: {
|
|
593
|
+
id: number;
|
|
594
|
+
createdAt: Date;
|
|
595
|
+
name: string;
|
|
596
|
+
userId?: number | null | undefined;
|
|
597
|
+
itemCount?: number | null | undefined;
|
|
598
|
+
} | null | undefined;
|
|
611
599
|
colorIds?: number[] | null | undefined;
|
|
612
600
|
description?: string | null | undefined;
|
|
613
601
|
packageSizeId?: number | null | undefined;
|
|
@@ -674,11 +662,10 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
674
662
|
images: string[];
|
|
675
663
|
sold: boolean;
|
|
676
664
|
brand?: {
|
|
677
|
-
id:
|
|
665
|
+
id: number;
|
|
678
666
|
createdAt: Date;
|
|
679
667
|
name: string;
|
|
680
|
-
userId?:
|
|
681
|
-
updatedAt?: Date | null | undefined;
|
|
668
|
+
userId?: number | null | undefined;
|
|
682
669
|
itemCount?: number | null | undefined;
|
|
683
670
|
} | null | undefined;
|
|
684
671
|
colorIds?: number[] | null | undefined;
|
|
@@ -806,11 +793,10 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
806
793
|
images: string[];
|
|
807
794
|
sold: boolean;
|
|
808
795
|
brand?: {
|
|
809
|
-
id:
|
|
796
|
+
id: number;
|
|
810
797
|
createdAt: Date;
|
|
811
798
|
name: string;
|
|
812
|
-
userId?:
|
|
813
|
-
updatedAt?: Date | null | undefined;
|
|
799
|
+
userId?: number | null | undefined;
|
|
814
800
|
itemCount?: number | null | undefined;
|
|
815
801
|
} | null | undefined;
|
|
816
802
|
colorIds?: number[] | null | undefined;
|
|
@@ -1112,42 +1098,25 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1112
1098
|
disabledFields?: string[] | null | undefined;
|
|
1113
1099
|
}>>>;
|
|
1114
1100
|
brandId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1115
|
-
brand: z.ZodOptional<z.ZodNullable<z.
|
|
1116
|
-
id: z.
|
|
1101
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1102
|
+
id: z.ZodNumber;
|
|
1117
1103
|
name: z.ZodString;
|
|
1118
|
-
userId: z.ZodOptional<z.ZodNullable<z.
|
|
1104
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1119
1105
|
createdAt: z.ZodDate;
|
|
1120
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1121
1106
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1122
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1123
|
-
id:
|
|
1108
|
+
id: number;
|
|
1124
1109
|
createdAt: Date;
|
|
1125
1110
|
name: string;
|
|
1126
|
-
userId?:
|
|
1127
|
-
updatedAt?: Date | null | undefined;
|
|
1111
|
+
userId?: number | null | undefined;
|
|
1128
1112
|
itemCount?: number | null | undefined;
|
|
1129
1113
|
}, {
|
|
1130
|
-
id:
|
|
1131
|
-
createdAt: Date;
|
|
1132
|
-
name: string;
|
|
1133
|
-
userId?: string | number | null | undefined;
|
|
1134
|
-
updatedAt?: Date | null | undefined;
|
|
1135
|
-
itemCount?: number | null | undefined;
|
|
1136
|
-
}>, {
|
|
1137
|
-
id: string | number;
|
|
1138
|
-
createdAt: Date;
|
|
1139
|
-
name: string;
|
|
1140
|
-
userId?: string | number | null | undefined;
|
|
1141
|
-
updatedAt?: Date | null | undefined;
|
|
1142
|
-
itemCount?: number | null | undefined;
|
|
1143
|
-
}, unknown>, {
|
|
1144
|
-
id: string | number;
|
|
1114
|
+
id: number;
|
|
1145
1115
|
createdAt: Date;
|
|
1146
1116
|
name: string;
|
|
1147
|
-
userId?:
|
|
1148
|
-
updatedAt?: Date | null | undefined;
|
|
1117
|
+
userId?: number | null | undefined;
|
|
1149
1118
|
itemCount?: number | null | undefined;
|
|
1150
|
-
}
|
|
1119
|
+
}>>>;
|
|
1151
1120
|
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1152
1121
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1153
1122
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1520,11 +1489,10 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1520
1489
|
images: string[];
|
|
1521
1490
|
sold: boolean;
|
|
1522
1491
|
brand?: {
|
|
1523
|
-
id:
|
|
1492
|
+
id: number;
|
|
1524
1493
|
createdAt: Date;
|
|
1525
1494
|
name: string;
|
|
1526
|
-
userId?:
|
|
1527
|
-
updatedAt?: Date | null | undefined;
|
|
1495
|
+
userId?: number | null | undefined;
|
|
1528
1496
|
itemCount?: number | null | undefined;
|
|
1529
1497
|
} | null | undefined;
|
|
1530
1498
|
colorIds?: number[] | null | undefined;
|
|
@@ -1651,7 +1619,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1651
1619
|
updatedAt: Date;
|
|
1652
1620
|
images: string[];
|
|
1653
1621
|
sold: boolean;
|
|
1654
|
-
brand?:
|
|
1622
|
+
brand?: {
|
|
1623
|
+
id: number;
|
|
1624
|
+
createdAt: Date;
|
|
1625
|
+
name: string;
|
|
1626
|
+
userId?: number | null | undefined;
|
|
1627
|
+
itemCount?: number | null | undefined;
|
|
1628
|
+
} | null | undefined;
|
|
1655
1629
|
colorIds?: number[] | null | undefined;
|
|
1656
1630
|
description?: string | null | undefined;
|
|
1657
1631
|
packageSizeId?: number | null | undefined;
|
|
@@ -1718,11 +1692,10 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1718
1692
|
images: string[];
|
|
1719
1693
|
sold: boolean;
|
|
1720
1694
|
brand?: {
|
|
1721
|
-
id:
|
|
1695
|
+
id: number;
|
|
1722
1696
|
createdAt: Date;
|
|
1723
1697
|
name: string;
|
|
1724
|
-
userId?:
|
|
1725
|
-
updatedAt?: Date | null | undefined;
|
|
1698
|
+
userId?: number | null | undefined;
|
|
1726
1699
|
itemCount?: number | null | undefined;
|
|
1727
1700
|
} | null | undefined;
|
|
1728
1701
|
colorIds?: number[] | null | undefined;
|
|
@@ -1850,11 +1823,10 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1850
1823
|
images: string[];
|
|
1851
1824
|
sold: boolean;
|
|
1852
1825
|
brand?: {
|
|
1853
|
-
id:
|
|
1826
|
+
id: number;
|
|
1854
1827
|
createdAt: Date;
|
|
1855
1828
|
name: string;
|
|
1856
|
-
userId?:
|
|
1857
|
-
updatedAt?: Date | null | undefined;
|
|
1829
|
+
userId?: number | null | undefined;
|
|
1858
1830
|
itemCount?: number | null | undefined;
|
|
1859
1831
|
} | null | undefined;
|
|
1860
1832
|
colorIds?: number[] | null | undefined;
|
|
@@ -2005,11 +1977,10 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2005
1977
|
images: string[];
|
|
2006
1978
|
sold: boolean;
|
|
2007
1979
|
brand?: {
|
|
2008
|
-
id:
|
|
1980
|
+
id: number;
|
|
2009
1981
|
createdAt: Date;
|
|
2010
1982
|
name: string;
|
|
2011
|
-
userId?:
|
|
2012
|
-
updatedAt?: Date | null | undefined;
|
|
1983
|
+
userId?: number | null | undefined;
|
|
2013
1984
|
itemCount?: number | null | undefined;
|
|
2014
1985
|
} | null | undefined;
|
|
2015
1986
|
colorIds?: number[] | null | undefined;
|
|
@@ -2207,42 +2178,25 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2207
2178
|
disabledFields?: string[] | null | undefined;
|
|
2208
2179
|
}>>>;
|
|
2209
2180
|
brandId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2210
|
-
brand: z.ZodOptional<z.ZodNullable<z.
|
|
2211
|
-
id: z.
|
|
2181
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2182
|
+
id: z.ZodNumber;
|
|
2212
2183
|
name: z.ZodString;
|
|
2213
|
-
userId: z.ZodOptional<z.ZodNullable<z.
|
|
2184
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2214
2185
|
createdAt: z.ZodDate;
|
|
2215
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2216
2186
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2217
2187
|
}, "strip", z.ZodTypeAny, {
|
|
2218
|
-
id:
|
|
2188
|
+
id: number;
|
|
2219
2189
|
createdAt: Date;
|
|
2220
2190
|
name: string;
|
|
2221
|
-
userId?:
|
|
2222
|
-
updatedAt?: Date | null | undefined;
|
|
2191
|
+
userId?: number | null | undefined;
|
|
2223
2192
|
itemCount?: number | null | undefined;
|
|
2224
2193
|
}, {
|
|
2225
|
-
id:
|
|
2226
|
-
createdAt: Date;
|
|
2227
|
-
name: string;
|
|
2228
|
-
userId?: string | number | null | undefined;
|
|
2229
|
-
updatedAt?: Date | null | undefined;
|
|
2230
|
-
itemCount?: number | null | undefined;
|
|
2231
|
-
}>, {
|
|
2232
|
-
id: string | number;
|
|
2233
|
-
createdAt: Date;
|
|
2234
|
-
name: string;
|
|
2235
|
-
userId?: string | number | null | undefined;
|
|
2236
|
-
updatedAt?: Date | null | undefined;
|
|
2237
|
-
itemCount?: number | null | undefined;
|
|
2238
|
-
}, unknown>, {
|
|
2239
|
-
id: string | number;
|
|
2194
|
+
id: number;
|
|
2240
2195
|
createdAt: Date;
|
|
2241
2196
|
name: string;
|
|
2242
|
-
userId?:
|
|
2243
|
-
updatedAt?: Date | null | undefined;
|
|
2197
|
+
userId?: number | null | undefined;
|
|
2244
2198
|
itemCount?: number | null | undefined;
|
|
2245
|
-
}
|
|
2199
|
+
}>>>;
|
|
2246
2200
|
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2247
2201
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2248
2202
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2615,11 +2569,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2615
2569
|
images: string[];
|
|
2616
2570
|
sold: boolean;
|
|
2617
2571
|
brand?: {
|
|
2618
|
-
id:
|
|
2572
|
+
id: number;
|
|
2619
2573
|
createdAt: Date;
|
|
2620
2574
|
name: string;
|
|
2621
|
-
userId?:
|
|
2622
|
-
updatedAt?: Date | null | undefined;
|
|
2575
|
+
userId?: number | null | undefined;
|
|
2623
2576
|
itemCount?: number | null | undefined;
|
|
2624
2577
|
} | null | undefined;
|
|
2625
2578
|
colorIds?: number[] | null | undefined;
|
|
@@ -2746,7 +2699,13 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2746
2699
|
updatedAt: Date;
|
|
2747
2700
|
images: string[];
|
|
2748
2701
|
sold: boolean;
|
|
2749
|
-
brand?:
|
|
2702
|
+
brand?: {
|
|
2703
|
+
id: number;
|
|
2704
|
+
createdAt: Date;
|
|
2705
|
+
name: string;
|
|
2706
|
+
userId?: number | null | undefined;
|
|
2707
|
+
itemCount?: number | null | undefined;
|
|
2708
|
+
} | null | undefined;
|
|
2750
2709
|
colorIds?: number[] | null | undefined;
|
|
2751
2710
|
description?: string | null | undefined;
|
|
2752
2711
|
packageSizeId?: number | null | undefined;
|
|
@@ -2813,11 +2772,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2813
2772
|
images: string[];
|
|
2814
2773
|
sold: boolean;
|
|
2815
2774
|
brand?: {
|
|
2816
|
-
id:
|
|
2775
|
+
id: number;
|
|
2817
2776
|
createdAt: Date;
|
|
2818
2777
|
name: string;
|
|
2819
|
-
userId?:
|
|
2820
|
-
updatedAt?: Date | null | undefined;
|
|
2778
|
+
userId?: number | null | undefined;
|
|
2821
2779
|
itemCount?: number | null | undefined;
|
|
2822
2780
|
} | null | undefined;
|
|
2823
2781
|
colorIds?: number[] | null | undefined;
|
|
@@ -2945,11 +2903,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2945
2903
|
images: string[];
|
|
2946
2904
|
sold: boolean;
|
|
2947
2905
|
brand?: {
|
|
2948
|
-
id:
|
|
2906
|
+
id: number;
|
|
2949
2907
|
createdAt: Date;
|
|
2950
2908
|
name: string;
|
|
2951
|
-
userId?:
|
|
2952
|
-
updatedAt?: Date | null | undefined;
|
|
2909
|
+
userId?: number | null | undefined;
|
|
2953
2910
|
itemCount?: number | null | undefined;
|
|
2954
2911
|
} | null | undefined;
|
|
2955
2912
|
colorIds?: number[] | null | undefined;
|
|
@@ -3105,11 +3062,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
3105
3062
|
images: string[];
|
|
3106
3063
|
sold: boolean;
|
|
3107
3064
|
brand?: {
|
|
3108
|
-
id:
|
|
3065
|
+
id: number;
|
|
3109
3066
|
createdAt: Date;
|
|
3110
3067
|
name: string;
|
|
3111
|
-
userId?:
|
|
3112
|
-
updatedAt?: Date | null | undefined;
|
|
3068
|
+
userId?: number | null | undefined;
|
|
3113
3069
|
itemCount?: number | null | undefined;
|
|
3114
3070
|
} | null | undefined;
|
|
3115
3071
|
colorIds?: number[] | null | undefined;
|
|
@@ -3432,42 +3388,25 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3432
3388
|
disabledFields?: string[] | null | undefined;
|
|
3433
3389
|
}>>>;
|
|
3434
3390
|
brandId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3435
|
-
brand: z.ZodOptional<z.ZodNullable<z.
|
|
3436
|
-
id: z.
|
|
3391
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3392
|
+
id: z.ZodNumber;
|
|
3437
3393
|
name: z.ZodString;
|
|
3438
|
-
userId: z.ZodOptional<z.ZodNullable<z.
|
|
3394
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3439
3395
|
createdAt: z.ZodDate;
|
|
3440
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3441
3396
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3442
3397
|
}, "strip", z.ZodTypeAny, {
|
|
3443
|
-
id:
|
|
3398
|
+
id: number;
|
|
3444
3399
|
createdAt: Date;
|
|
3445
3400
|
name: string;
|
|
3446
|
-
userId?:
|
|
3447
|
-
updatedAt?: Date | null | undefined;
|
|
3401
|
+
userId?: number | null | undefined;
|
|
3448
3402
|
itemCount?: number | null | undefined;
|
|
3449
3403
|
}, {
|
|
3450
|
-
id:
|
|
3451
|
-
createdAt: Date;
|
|
3452
|
-
name: string;
|
|
3453
|
-
userId?: string | number | null | undefined;
|
|
3454
|
-
updatedAt?: Date | null | undefined;
|
|
3455
|
-
itemCount?: number | null | undefined;
|
|
3456
|
-
}>, {
|
|
3457
|
-
id: string | number;
|
|
3458
|
-
createdAt: Date;
|
|
3459
|
-
name: string;
|
|
3460
|
-
userId?: string | number | null | undefined;
|
|
3461
|
-
updatedAt?: Date | null | undefined;
|
|
3462
|
-
itemCount?: number | null | undefined;
|
|
3463
|
-
}, unknown>, {
|
|
3464
|
-
id: string | number;
|
|
3404
|
+
id: number;
|
|
3465
3405
|
createdAt: Date;
|
|
3466
3406
|
name: string;
|
|
3467
|
-
userId?:
|
|
3468
|
-
updatedAt?: Date | null | undefined;
|
|
3407
|
+
userId?: number | null | undefined;
|
|
3469
3408
|
itemCount?: number | null | undefined;
|
|
3470
|
-
}
|
|
3409
|
+
}>>>;
|
|
3471
3410
|
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3472
3411
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3473
3412
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3840,11 +3779,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3840
3779
|
images: string[];
|
|
3841
3780
|
sold: boolean;
|
|
3842
3781
|
brand?: {
|
|
3843
|
-
id:
|
|
3782
|
+
id: number;
|
|
3844
3783
|
createdAt: Date;
|
|
3845
3784
|
name: string;
|
|
3846
|
-
userId?:
|
|
3847
|
-
updatedAt?: Date | null | undefined;
|
|
3785
|
+
userId?: number | null | undefined;
|
|
3848
3786
|
itemCount?: number | null | undefined;
|
|
3849
3787
|
} | null | undefined;
|
|
3850
3788
|
colorIds?: number[] | null | undefined;
|
|
@@ -3971,7 +3909,13 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3971
3909
|
updatedAt: Date;
|
|
3972
3910
|
images: string[];
|
|
3973
3911
|
sold: boolean;
|
|
3974
|
-
brand?:
|
|
3912
|
+
brand?: {
|
|
3913
|
+
id: number;
|
|
3914
|
+
createdAt: Date;
|
|
3915
|
+
name: string;
|
|
3916
|
+
userId?: number | null | undefined;
|
|
3917
|
+
itemCount?: number | null | undefined;
|
|
3918
|
+
} | null | undefined;
|
|
3975
3919
|
colorIds?: number[] | null | undefined;
|
|
3976
3920
|
description?: string | null | undefined;
|
|
3977
3921
|
packageSizeId?: number | null | undefined;
|
|
@@ -4038,11 +3982,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4038
3982
|
images: string[];
|
|
4039
3983
|
sold: boolean;
|
|
4040
3984
|
brand?: {
|
|
4041
|
-
id:
|
|
3985
|
+
id: number;
|
|
4042
3986
|
createdAt: Date;
|
|
4043
3987
|
name: string;
|
|
4044
|
-
userId?:
|
|
4045
|
-
updatedAt?: Date | null | undefined;
|
|
3988
|
+
userId?: number | null | undefined;
|
|
4046
3989
|
itemCount?: number | null | undefined;
|
|
4047
3990
|
} | null | undefined;
|
|
4048
3991
|
colorIds?: number[] | null | undefined;
|
|
@@ -4170,11 +4113,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4170
4113
|
images: string[];
|
|
4171
4114
|
sold: boolean;
|
|
4172
4115
|
brand?: {
|
|
4173
|
-
id:
|
|
4116
|
+
id: number;
|
|
4174
4117
|
createdAt: Date;
|
|
4175
4118
|
name: string;
|
|
4176
|
-
userId?:
|
|
4177
|
-
updatedAt?: Date | null | undefined;
|
|
4119
|
+
userId?: number | null | undefined;
|
|
4178
4120
|
itemCount?: number | null | undefined;
|
|
4179
4121
|
} | null | undefined;
|
|
4180
4122
|
colorIds?: number[] | null | undefined;
|
|
@@ -4378,11 +4320,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4378
4320
|
images: string[];
|
|
4379
4321
|
sold: boolean;
|
|
4380
4322
|
brand?: {
|
|
4381
|
-
id:
|
|
4323
|
+
id: number;
|
|
4382
4324
|
createdAt: Date;
|
|
4383
4325
|
name: string;
|
|
4384
|
-
userId?:
|
|
4385
|
-
updatedAt?: Date | null | undefined;
|
|
4326
|
+
userId?: number | null | undefined;
|
|
4386
4327
|
itemCount?: number | null | undefined;
|
|
4387
4328
|
} | null | undefined;
|
|
4388
4329
|
colorIds?: number[] | null | undefined;
|
|
@@ -88,9 +88,12 @@ export declare const UpdateItemOnPlatformPayloadSchema: z.ZodObject<{
|
|
|
88
88
|
export type UpdateItemOnPlatformPayload = z.infer<typeof UpdateItemOnPlatformPayloadSchema>;
|
|
89
89
|
export declare const ItemOnPlatformsRequestSchema: z.ZodObject<{
|
|
90
90
|
accountsId: z.ZodArray<z.ZodString, "many">;
|
|
91
|
+
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
91
92
|
}, "strip", z.ZodTypeAny, {
|
|
92
93
|
accountsId: string[];
|
|
94
|
+
publishingDate?: Date | null | undefined;
|
|
93
95
|
}, {
|
|
94
96
|
accountsId: string[];
|
|
97
|
+
publishingDate?: Date | null | undefined;
|
|
95
98
|
}>;
|
|
96
99
|
export type ItemOnPlatformsRequest = z.infer<typeof ItemOnPlatformsRequestSchema>;
|
|
@@ -1,38 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const BrandSchema: z.
|
|
3
|
-
id: z.
|
|
2
|
+
export declare const BrandSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
4
|
name: z.ZodString;
|
|
5
|
-
userId: z.ZodOptional<z.ZodNullable<z.
|
|
5
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
6
|
createdAt: z.ZodDate;
|
|
7
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
7
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
8
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
id:
|
|
9
|
+
id: number;
|
|
11
10
|
createdAt: Date;
|
|
12
11
|
name: string;
|
|
13
|
-
userId?:
|
|
14
|
-
updatedAt?: Date | null | undefined;
|
|
12
|
+
userId?: number | null | undefined;
|
|
15
13
|
itemCount?: number | null | undefined;
|
|
16
14
|
}, {
|
|
17
|
-
id:
|
|
15
|
+
id: number;
|
|
18
16
|
createdAt: Date;
|
|
19
17
|
name: string;
|
|
20
|
-
userId?:
|
|
21
|
-
updatedAt?: Date | null | undefined;
|
|
18
|
+
userId?: number | null | undefined;
|
|
22
19
|
itemCount?: number | null | undefined;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}>;
|
|
21
|
+
export type Brand = z.infer<typeof BrandSchema>;
|
|
22
|
+
export declare const CreateBrandPayloadSchema: z.ZodObject<{
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
25
|
name: string;
|
|
27
|
-
|
|
28
|
-
updatedAt?: Date | null | undefined;
|
|
29
|
-
itemCount?: number | null | undefined;
|
|
30
|
-
}, unknown>, {
|
|
31
|
-
id: string | number;
|
|
32
|
-
createdAt: Date;
|
|
26
|
+
}, {
|
|
33
27
|
name: string;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
itemCount?: number | null | undefined;
|
|
37
|
-
}, unknown>;
|
|
38
|
-
export type Brand = z.infer<typeof BrandSchema>;
|
|
28
|
+
}>;
|
|
29
|
+
export type CreateBrandPayload = z.infer<typeof CreateBrandPayloadSchema>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BrandSchema = void 0;
|
|
3
|
+
exports.CreateBrandPayloadSchema = exports.BrandSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.BrandSchema = (0, legacy_1.legacy)(zod_1.z.object({
|
|
8
|
-
id: primitives_1.IdSchema,
|
|
5
|
+
exports.BrandSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number(),
|
|
9
7
|
name: zod_1.z.string(),
|
|
10
|
-
userId:
|
|
8
|
+
userId: zod_1.z.number().nullish(),
|
|
11
9
|
createdAt: zod_1.z.coerce.date(),
|
|
12
|
-
updatedAt: zod_1.z.coerce.date().nullish(),
|
|
13
10
|
itemCount: zod_1.z.number().nullish(),
|
|
14
|
-
})
|
|
11
|
+
});
|
|
12
|
+
exports.CreateBrandPayloadSchema = zod_1.z.object({
|
|
13
|
+
name: zod_1.z.string(),
|
|
14
|
+
});
|