controlresell 0.0.30 → 0.0.31
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.
|
@@ -8,8 +8,6 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
8
8
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
images: z.ZodArray<z.ZodString, "many">;
|
|
10
10
|
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
-
id: z.ZodString;
|
|
12
|
-
parentId: z.ZodNumber;
|
|
13
11
|
fileId: z.ZodString;
|
|
14
12
|
itemId: z.ZodNumber;
|
|
15
13
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -32,9 +30,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
32
30
|
signedUrl: string;
|
|
33
31
|
}>>>;
|
|
34
32
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
id: string;
|
|
36
33
|
itemId: number;
|
|
37
|
-
parentId: number;
|
|
38
34
|
fileId: string;
|
|
39
35
|
file?: {
|
|
40
36
|
path: string;
|
|
@@ -44,9 +40,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
44
40
|
signedUrl: string;
|
|
45
41
|
} | null | undefined;
|
|
46
42
|
}, {
|
|
47
|
-
id: string;
|
|
48
43
|
itemId: number;
|
|
49
|
-
parentId: number;
|
|
50
44
|
fileId: string;
|
|
51
45
|
file?: {
|
|
52
46
|
path: string;
|
|
@@ -479,9 +473,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
479
473
|
packageSizeId?: number | null | undefined;
|
|
480
474
|
sizeId?: number | null | undefined;
|
|
481
475
|
files?: {
|
|
482
|
-
id: string;
|
|
483
476
|
itemId: number;
|
|
484
|
-
parentId: number;
|
|
485
477
|
fileId: string;
|
|
486
478
|
file?: {
|
|
487
479
|
path: string;
|
|
@@ -601,9 +593,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
601
593
|
packageSizeId?: number | null | undefined;
|
|
602
594
|
sizeId?: number | null | undefined;
|
|
603
595
|
files?: {
|
|
604
|
-
id: string;
|
|
605
596
|
itemId: number;
|
|
606
|
-
parentId: number;
|
|
607
597
|
fileId: string;
|
|
608
598
|
file?: {
|
|
609
599
|
path: string;
|
|
@@ -671,9 +661,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
671
661
|
packageSizeId?: number | null | undefined;
|
|
672
662
|
sizeId?: number | null | undefined;
|
|
673
663
|
files?: {
|
|
674
|
-
id: string;
|
|
675
664
|
itemId: number;
|
|
676
|
-
parentId: number;
|
|
677
665
|
fileId: string;
|
|
678
666
|
file?: {
|
|
679
667
|
path: string;
|
|
@@ -800,9 +788,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
800
788
|
packageSizeId?: number | null | undefined;
|
|
801
789
|
sizeId?: number | null | undefined;
|
|
802
790
|
files?: {
|
|
803
|
-
id: string;
|
|
804
791
|
itemId: number;
|
|
805
|
-
parentId: number;
|
|
806
792
|
fileId: string;
|
|
807
793
|
file?: {
|
|
808
794
|
path: string;
|
|
@@ -1025,8 +1011,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1025
1011
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1026
1012
|
images: z.ZodArray<z.ZodString, "many">;
|
|
1027
1013
|
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1028
|
-
id: z.ZodString;
|
|
1029
|
-
parentId: z.ZodNumber;
|
|
1030
1014
|
fileId: z.ZodString;
|
|
1031
1015
|
itemId: z.ZodNumber;
|
|
1032
1016
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1049,9 +1033,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1049
1033
|
signedUrl: string;
|
|
1050
1034
|
}>>>;
|
|
1051
1035
|
}, "strip", z.ZodTypeAny, {
|
|
1052
|
-
id: string;
|
|
1053
1036
|
itemId: number;
|
|
1054
|
-
parentId: number;
|
|
1055
1037
|
fileId: string;
|
|
1056
1038
|
file?: {
|
|
1057
1039
|
path: string;
|
|
@@ -1061,9 +1043,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1061
1043
|
signedUrl: string;
|
|
1062
1044
|
} | null | undefined;
|
|
1063
1045
|
}, {
|
|
1064
|
-
id: string;
|
|
1065
1046
|
itemId: number;
|
|
1066
|
-
parentId: number;
|
|
1067
1047
|
fileId: string;
|
|
1068
1048
|
file?: {
|
|
1069
1049
|
path: string;
|
|
@@ -1496,9 +1476,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1496
1476
|
packageSizeId?: number | null | undefined;
|
|
1497
1477
|
sizeId?: number | null | undefined;
|
|
1498
1478
|
files?: {
|
|
1499
|
-
id: string;
|
|
1500
1479
|
itemId: number;
|
|
1501
|
-
parentId: number;
|
|
1502
1480
|
fileId: string;
|
|
1503
1481
|
file?: {
|
|
1504
1482
|
path: string;
|
|
@@ -1618,9 +1596,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1618
1596
|
packageSizeId?: number | null | undefined;
|
|
1619
1597
|
sizeId?: number | null | undefined;
|
|
1620
1598
|
files?: {
|
|
1621
|
-
id: string;
|
|
1622
1599
|
itemId: number;
|
|
1623
|
-
parentId: number;
|
|
1624
1600
|
fileId: string;
|
|
1625
1601
|
file?: {
|
|
1626
1602
|
path: string;
|
|
@@ -1688,9 +1664,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1688
1664
|
packageSizeId?: number | null | undefined;
|
|
1689
1665
|
sizeId?: number | null | undefined;
|
|
1690
1666
|
files?: {
|
|
1691
|
-
id: string;
|
|
1692
1667
|
itemId: number;
|
|
1693
|
-
parentId: number;
|
|
1694
1668
|
fileId: string;
|
|
1695
1669
|
file?: {
|
|
1696
1670
|
path: string;
|
|
@@ -1817,9 +1791,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1817
1791
|
packageSizeId?: number | null | undefined;
|
|
1818
1792
|
sizeId?: number | null | undefined;
|
|
1819
1793
|
files?: {
|
|
1820
|
-
id: string;
|
|
1821
1794
|
itemId: number;
|
|
1822
|
-
parentId: number;
|
|
1823
1795
|
fileId: string;
|
|
1824
1796
|
file?: {
|
|
1825
1797
|
path: string;
|
|
@@ -1969,9 +1941,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1969
1941
|
packageSizeId?: number | null | undefined;
|
|
1970
1942
|
sizeId?: number | null | undefined;
|
|
1971
1943
|
files?: {
|
|
1972
|
-
id: string;
|
|
1973
1944
|
itemId: number;
|
|
1974
|
-
parentId: number;
|
|
1975
1945
|
fileId: string;
|
|
1976
1946
|
file?: {
|
|
1977
1947
|
path: string;
|
|
@@ -2096,8 +2066,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2096
2066
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2097
2067
|
images: z.ZodArray<z.ZodString, "many">;
|
|
2098
2068
|
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2099
|
-
id: z.ZodString;
|
|
2100
|
-
parentId: z.ZodNumber;
|
|
2101
2069
|
fileId: z.ZodString;
|
|
2102
2070
|
itemId: z.ZodNumber;
|
|
2103
2071
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2120,9 +2088,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2120
2088
|
signedUrl: string;
|
|
2121
2089
|
}>>>;
|
|
2122
2090
|
}, "strip", z.ZodTypeAny, {
|
|
2123
|
-
id: string;
|
|
2124
2091
|
itemId: number;
|
|
2125
|
-
parentId: number;
|
|
2126
2092
|
fileId: string;
|
|
2127
2093
|
file?: {
|
|
2128
2094
|
path: string;
|
|
@@ -2132,9 +2098,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2132
2098
|
signedUrl: string;
|
|
2133
2099
|
} | null | undefined;
|
|
2134
2100
|
}, {
|
|
2135
|
-
id: string;
|
|
2136
2101
|
itemId: number;
|
|
2137
|
-
parentId: number;
|
|
2138
2102
|
fileId: string;
|
|
2139
2103
|
file?: {
|
|
2140
2104
|
path: string;
|
|
@@ -2567,9 +2531,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2567
2531
|
packageSizeId?: number | null | undefined;
|
|
2568
2532
|
sizeId?: number | null | undefined;
|
|
2569
2533
|
files?: {
|
|
2570
|
-
id: string;
|
|
2571
2534
|
itemId: number;
|
|
2572
|
-
parentId: number;
|
|
2573
2535
|
fileId: string;
|
|
2574
2536
|
file?: {
|
|
2575
2537
|
path: string;
|
|
@@ -2689,9 +2651,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2689
2651
|
packageSizeId?: number | null | undefined;
|
|
2690
2652
|
sizeId?: number | null | undefined;
|
|
2691
2653
|
files?: {
|
|
2692
|
-
id: string;
|
|
2693
2654
|
itemId: number;
|
|
2694
|
-
parentId: number;
|
|
2695
2655
|
fileId: string;
|
|
2696
2656
|
file?: {
|
|
2697
2657
|
path: string;
|
|
@@ -2759,9 +2719,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2759
2719
|
packageSizeId?: number | null | undefined;
|
|
2760
2720
|
sizeId?: number | null | undefined;
|
|
2761
2721
|
files?: {
|
|
2762
|
-
id: string;
|
|
2763
2722
|
itemId: number;
|
|
2764
|
-
parentId: number;
|
|
2765
2723
|
fileId: string;
|
|
2766
2724
|
file?: {
|
|
2767
2725
|
path: string;
|
|
@@ -2888,9 +2846,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2888
2846
|
packageSizeId?: number | null | undefined;
|
|
2889
2847
|
sizeId?: number | null | undefined;
|
|
2890
2848
|
files?: {
|
|
2891
|
-
id: string;
|
|
2892
2849
|
itemId: number;
|
|
2893
|
-
parentId: number;
|
|
2894
2850
|
fileId: string;
|
|
2895
2851
|
file?: {
|
|
2896
2852
|
path: string;
|
|
@@ -3045,9 +3001,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
3045
3001
|
packageSizeId?: number | null | undefined;
|
|
3046
3002
|
sizeId?: number | null | undefined;
|
|
3047
3003
|
files?: {
|
|
3048
|
-
id: string;
|
|
3049
3004
|
itemId: number;
|
|
3050
|
-
parentId: number;
|
|
3051
3005
|
fileId: string;
|
|
3052
3006
|
file?: {
|
|
3053
3007
|
path: string;
|
|
@@ -3289,8 +3243,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3289
3243
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3290
3244
|
images: z.ZodArray<z.ZodString, "many">;
|
|
3291
3245
|
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3292
|
-
id: z.ZodString;
|
|
3293
|
-
parentId: z.ZodNumber;
|
|
3294
3246
|
fileId: z.ZodString;
|
|
3295
3247
|
itemId: z.ZodNumber;
|
|
3296
3248
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -3313,9 +3265,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3313
3265
|
signedUrl: string;
|
|
3314
3266
|
}>>>;
|
|
3315
3267
|
}, "strip", z.ZodTypeAny, {
|
|
3316
|
-
id: string;
|
|
3317
3268
|
itemId: number;
|
|
3318
|
-
parentId: number;
|
|
3319
3269
|
fileId: string;
|
|
3320
3270
|
file?: {
|
|
3321
3271
|
path: string;
|
|
@@ -3325,9 +3275,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3325
3275
|
signedUrl: string;
|
|
3326
3276
|
} | null | undefined;
|
|
3327
3277
|
}, {
|
|
3328
|
-
id: string;
|
|
3329
3278
|
itemId: number;
|
|
3330
|
-
parentId: number;
|
|
3331
3279
|
fileId: string;
|
|
3332
3280
|
file?: {
|
|
3333
3281
|
path: string;
|
|
@@ -3760,9 +3708,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3760
3708
|
packageSizeId?: number | null | undefined;
|
|
3761
3709
|
sizeId?: number | null | undefined;
|
|
3762
3710
|
files?: {
|
|
3763
|
-
id: string;
|
|
3764
3711
|
itemId: number;
|
|
3765
|
-
parentId: number;
|
|
3766
3712
|
fileId: string;
|
|
3767
3713
|
file?: {
|
|
3768
3714
|
path: string;
|
|
@@ -3882,9 +3828,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3882
3828
|
packageSizeId?: number | null | undefined;
|
|
3883
3829
|
sizeId?: number | null | undefined;
|
|
3884
3830
|
files?: {
|
|
3885
|
-
id: string;
|
|
3886
3831
|
itemId: number;
|
|
3887
|
-
parentId: number;
|
|
3888
3832
|
fileId: string;
|
|
3889
3833
|
file?: {
|
|
3890
3834
|
path: string;
|
|
@@ -3952,9 +3896,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3952
3896
|
packageSizeId?: number | null | undefined;
|
|
3953
3897
|
sizeId?: number | null | undefined;
|
|
3954
3898
|
files?: {
|
|
3955
|
-
id: string;
|
|
3956
3899
|
itemId: number;
|
|
3957
|
-
parentId: number;
|
|
3958
3900
|
fileId: string;
|
|
3959
3901
|
file?: {
|
|
3960
3902
|
path: string;
|
|
@@ -4081,9 +4023,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4081
4023
|
packageSizeId?: number | null | undefined;
|
|
4082
4024
|
sizeId?: number | null | undefined;
|
|
4083
4025
|
files?: {
|
|
4084
|
-
id: string;
|
|
4085
4026
|
itemId: number;
|
|
4086
|
-
parentId: number;
|
|
4087
4027
|
fileId: string;
|
|
4088
4028
|
file?: {
|
|
4089
4029
|
path: string;
|
|
@@ -4286,9 +4226,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4286
4226
|
packageSizeId?: number | null | undefined;
|
|
4287
4227
|
sizeId?: number | null | undefined;
|
|
4288
4228
|
files?: {
|
|
4289
|
-
id: string;
|
|
4290
4229
|
itemId: number;
|
|
4291
|
-
parentId: number;
|
|
4292
4230
|
fileId: string;
|
|
4293
4231
|
file?: {
|
|
4294
4232
|
path: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemFileSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
parentId: z.ZodNumber;
|
|
5
3
|
fileId: z.ZodString;
|
|
6
4
|
itemId: z.ZodNumber;
|
|
7
5
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -24,9 +22,7 @@ export declare const ItemFileSchema: z.ZodObject<{
|
|
|
24
22
|
signedUrl: string;
|
|
25
23
|
}>>>;
|
|
26
24
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
id: string;
|
|
28
25
|
itemId: number;
|
|
29
|
-
parentId: number;
|
|
30
26
|
fileId: string;
|
|
31
27
|
file?: {
|
|
32
28
|
path: string;
|
|
@@ -36,9 +32,7 @@ export declare const ItemFileSchema: z.ZodObject<{
|
|
|
36
32
|
signedUrl: string;
|
|
37
33
|
} | null | undefined;
|
|
38
34
|
}, {
|
|
39
|
-
id: string;
|
|
40
35
|
itemId: number;
|
|
41
|
-
parentId: number;
|
|
42
36
|
fileId: string;
|
|
43
37
|
file?: {
|
|
44
38
|
path: string;
|
|
@@ -4,8 +4,6 @@ exports.ItemFileSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const file_1 = require("../users/file");
|
|
6
6
|
exports.ItemFileSchema = zod_1.z.object({
|
|
7
|
-
id: zod_1.z.string().uuid(),
|
|
8
|
-
parentId: zod_1.z.number(),
|
|
9
7
|
fileId: zod_1.z.string().uuid(),
|
|
10
8
|
itemId: zod_1.z.number(),
|
|
11
9
|
file: file_1.FileSchema.nullish(),
|