controlresell 0.0.29 → 0.0.30
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.
|
@@ -13,26 +13,23 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
13
13
|
fileId: z.ZodString;
|
|
14
14
|
itemId: z.ZodNumber;
|
|
15
15
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
-
parentId: z.ZodNumber;
|
|
17
16
|
id: z.ZodString;
|
|
18
17
|
userId: z.ZodNumber;
|
|
19
18
|
path: z.ZodString;
|
|
20
19
|
signedUrl: z.ZodString;
|
|
21
|
-
createdAt: z.
|
|
20
|
+
createdAt: z.ZodDate;
|
|
22
21
|
}, "strip", z.ZodTypeAny, {
|
|
23
22
|
path: string;
|
|
24
23
|
id: string;
|
|
25
24
|
userId: number;
|
|
26
|
-
|
|
25
|
+
createdAt: Date;
|
|
27
26
|
signedUrl: string;
|
|
28
|
-
createdAt?: unknown;
|
|
29
27
|
}, {
|
|
30
28
|
path: string;
|
|
31
29
|
id: string;
|
|
32
30
|
userId: number;
|
|
33
|
-
|
|
31
|
+
createdAt: Date;
|
|
34
32
|
signedUrl: string;
|
|
35
|
-
createdAt?: unknown;
|
|
36
33
|
}>>>;
|
|
37
34
|
}, "strip", z.ZodTypeAny, {
|
|
38
35
|
id: string;
|
|
@@ -43,9 +40,8 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
43
40
|
path: string;
|
|
44
41
|
id: string;
|
|
45
42
|
userId: number;
|
|
46
|
-
|
|
43
|
+
createdAt: Date;
|
|
47
44
|
signedUrl: string;
|
|
48
|
-
createdAt?: unknown;
|
|
49
45
|
} | null | undefined;
|
|
50
46
|
}, {
|
|
51
47
|
id: string;
|
|
@@ -56,9 +52,8 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
56
52
|
path: string;
|
|
57
53
|
id: string;
|
|
58
54
|
userId: number;
|
|
59
|
-
|
|
55
|
+
createdAt: Date;
|
|
60
56
|
signedUrl: string;
|
|
61
|
-
createdAt?: unknown;
|
|
62
57
|
} | null | undefined;
|
|
63
58
|
}>, "many">>>;
|
|
64
59
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -492,9 +487,8 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
492
487
|
path: string;
|
|
493
488
|
id: string;
|
|
494
489
|
userId: number;
|
|
495
|
-
|
|
490
|
+
createdAt: Date;
|
|
496
491
|
signedUrl: string;
|
|
497
|
-
createdAt?: unknown;
|
|
498
492
|
} | null | undefined;
|
|
499
493
|
}[] | null | undefined;
|
|
500
494
|
categoryId?: number | null | undefined;
|
|
@@ -615,9 +609,8 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
615
609
|
path: string;
|
|
616
610
|
id: string;
|
|
617
611
|
userId: number;
|
|
618
|
-
|
|
612
|
+
createdAt: Date;
|
|
619
613
|
signedUrl: string;
|
|
620
|
-
createdAt?: unknown;
|
|
621
614
|
} | null | undefined;
|
|
622
615
|
}[] | null | undefined;
|
|
623
616
|
categoryId?: number | null | undefined;
|
|
@@ -686,9 +679,8 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
686
679
|
path: string;
|
|
687
680
|
id: string;
|
|
688
681
|
userId: number;
|
|
689
|
-
|
|
682
|
+
createdAt: Date;
|
|
690
683
|
signedUrl: string;
|
|
691
|
-
createdAt?: unknown;
|
|
692
684
|
} | null | undefined;
|
|
693
685
|
}[] | null | undefined;
|
|
694
686
|
categoryId?: number | null | undefined;
|
|
@@ -816,9 +808,8 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
816
808
|
path: string;
|
|
817
809
|
id: string;
|
|
818
810
|
userId: number;
|
|
819
|
-
|
|
811
|
+
createdAt: Date;
|
|
820
812
|
signedUrl: string;
|
|
821
|
-
createdAt?: unknown;
|
|
822
813
|
} | null | undefined;
|
|
823
814
|
}[] | null | undefined;
|
|
824
815
|
categoryId?: number | null | undefined;
|
|
@@ -1039,26 +1030,23 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1039
1030
|
fileId: z.ZodString;
|
|
1040
1031
|
itemId: z.ZodNumber;
|
|
1041
1032
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1042
|
-
parentId: z.ZodNumber;
|
|
1043
1033
|
id: z.ZodString;
|
|
1044
1034
|
userId: z.ZodNumber;
|
|
1045
1035
|
path: z.ZodString;
|
|
1046
1036
|
signedUrl: z.ZodString;
|
|
1047
|
-
createdAt: z.
|
|
1037
|
+
createdAt: z.ZodDate;
|
|
1048
1038
|
}, "strip", z.ZodTypeAny, {
|
|
1049
1039
|
path: string;
|
|
1050
1040
|
id: string;
|
|
1051
1041
|
userId: number;
|
|
1052
|
-
|
|
1042
|
+
createdAt: Date;
|
|
1053
1043
|
signedUrl: string;
|
|
1054
|
-
createdAt?: unknown;
|
|
1055
1044
|
}, {
|
|
1056
1045
|
path: string;
|
|
1057
1046
|
id: string;
|
|
1058
1047
|
userId: number;
|
|
1059
|
-
|
|
1048
|
+
createdAt: Date;
|
|
1060
1049
|
signedUrl: string;
|
|
1061
|
-
createdAt?: unknown;
|
|
1062
1050
|
}>>>;
|
|
1063
1051
|
}, "strip", z.ZodTypeAny, {
|
|
1064
1052
|
id: string;
|
|
@@ -1069,9 +1057,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1069
1057
|
path: string;
|
|
1070
1058
|
id: string;
|
|
1071
1059
|
userId: number;
|
|
1072
|
-
|
|
1060
|
+
createdAt: Date;
|
|
1073
1061
|
signedUrl: string;
|
|
1074
|
-
createdAt?: unknown;
|
|
1075
1062
|
} | null | undefined;
|
|
1076
1063
|
}, {
|
|
1077
1064
|
id: string;
|
|
@@ -1082,9 +1069,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1082
1069
|
path: string;
|
|
1083
1070
|
id: string;
|
|
1084
1071
|
userId: number;
|
|
1085
|
-
|
|
1072
|
+
createdAt: Date;
|
|
1086
1073
|
signedUrl: string;
|
|
1087
|
-
createdAt?: unknown;
|
|
1088
1074
|
} | null | undefined;
|
|
1089
1075
|
}>, "many">>>;
|
|
1090
1076
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1518,9 +1504,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1518
1504
|
path: string;
|
|
1519
1505
|
id: string;
|
|
1520
1506
|
userId: number;
|
|
1521
|
-
|
|
1507
|
+
createdAt: Date;
|
|
1522
1508
|
signedUrl: string;
|
|
1523
|
-
createdAt?: unknown;
|
|
1524
1509
|
} | null | undefined;
|
|
1525
1510
|
}[] | null | undefined;
|
|
1526
1511
|
categoryId?: number | null | undefined;
|
|
@@ -1641,9 +1626,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1641
1626
|
path: string;
|
|
1642
1627
|
id: string;
|
|
1643
1628
|
userId: number;
|
|
1644
|
-
|
|
1629
|
+
createdAt: Date;
|
|
1645
1630
|
signedUrl: string;
|
|
1646
|
-
createdAt?: unknown;
|
|
1647
1631
|
} | null | undefined;
|
|
1648
1632
|
}[] | null | undefined;
|
|
1649
1633
|
categoryId?: number | null | undefined;
|
|
@@ -1712,9 +1696,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1712
1696
|
path: string;
|
|
1713
1697
|
id: string;
|
|
1714
1698
|
userId: number;
|
|
1715
|
-
|
|
1699
|
+
createdAt: Date;
|
|
1716
1700
|
signedUrl: string;
|
|
1717
|
-
createdAt?: unknown;
|
|
1718
1701
|
} | null | undefined;
|
|
1719
1702
|
}[] | null | undefined;
|
|
1720
1703
|
categoryId?: number | null | undefined;
|
|
@@ -1842,9 +1825,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1842
1825
|
path: string;
|
|
1843
1826
|
id: string;
|
|
1844
1827
|
userId: number;
|
|
1845
|
-
|
|
1828
|
+
createdAt: Date;
|
|
1846
1829
|
signedUrl: string;
|
|
1847
|
-
createdAt?: unknown;
|
|
1848
1830
|
} | null | undefined;
|
|
1849
1831
|
}[] | null | undefined;
|
|
1850
1832
|
categoryId?: number | null | undefined;
|
|
@@ -1995,9 +1977,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1995
1977
|
path: string;
|
|
1996
1978
|
id: string;
|
|
1997
1979
|
userId: number;
|
|
1998
|
-
|
|
1980
|
+
createdAt: Date;
|
|
1999
1981
|
signedUrl: string;
|
|
2000
|
-
createdAt?: unknown;
|
|
2001
1982
|
} | null | undefined;
|
|
2002
1983
|
}[] | null | undefined;
|
|
2003
1984
|
categoryId?: number | null | undefined;
|
|
@@ -2120,26 +2101,23 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2120
2101
|
fileId: z.ZodString;
|
|
2121
2102
|
itemId: z.ZodNumber;
|
|
2122
2103
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2123
|
-
parentId: z.ZodNumber;
|
|
2124
2104
|
id: z.ZodString;
|
|
2125
2105
|
userId: z.ZodNumber;
|
|
2126
2106
|
path: z.ZodString;
|
|
2127
2107
|
signedUrl: z.ZodString;
|
|
2128
|
-
createdAt: z.
|
|
2108
|
+
createdAt: z.ZodDate;
|
|
2129
2109
|
}, "strip", z.ZodTypeAny, {
|
|
2130
2110
|
path: string;
|
|
2131
2111
|
id: string;
|
|
2132
2112
|
userId: number;
|
|
2133
|
-
|
|
2113
|
+
createdAt: Date;
|
|
2134
2114
|
signedUrl: string;
|
|
2135
|
-
createdAt?: unknown;
|
|
2136
2115
|
}, {
|
|
2137
2116
|
path: string;
|
|
2138
2117
|
id: string;
|
|
2139
2118
|
userId: number;
|
|
2140
|
-
|
|
2119
|
+
createdAt: Date;
|
|
2141
2120
|
signedUrl: string;
|
|
2142
|
-
createdAt?: unknown;
|
|
2143
2121
|
}>>>;
|
|
2144
2122
|
}, "strip", z.ZodTypeAny, {
|
|
2145
2123
|
id: string;
|
|
@@ -2150,9 +2128,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2150
2128
|
path: string;
|
|
2151
2129
|
id: string;
|
|
2152
2130
|
userId: number;
|
|
2153
|
-
|
|
2131
|
+
createdAt: Date;
|
|
2154
2132
|
signedUrl: string;
|
|
2155
|
-
createdAt?: unknown;
|
|
2156
2133
|
} | null | undefined;
|
|
2157
2134
|
}, {
|
|
2158
2135
|
id: string;
|
|
@@ -2163,9 +2140,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2163
2140
|
path: string;
|
|
2164
2141
|
id: string;
|
|
2165
2142
|
userId: number;
|
|
2166
|
-
|
|
2143
|
+
createdAt: Date;
|
|
2167
2144
|
signedUrl: string;
|
|
2168
|
-
createdAt?: unknown;
|
|
2169
2145
|
} | null | undefined;
|
|
2170
2146
|
}>, "many">>>;
|
|
2171
2147
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2599,9 +2575,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2599
2575
|
path: string;
|
|
2600
2576
|
id: string;
|
|
2601
2577
|
userId: number;
|
|
2602
|
-
|
|
2578
|
+
createdAt: Date;
|
|
2603
2579
|
signedUrl: string;
|
|
2604
|
-
createdAt?: unknown;
|
|
2605
2580
|
} | null | undefined;
|
|
2606
2581
|
}[] | null | undefined;
|
|
2607
2582
|
categoryId?: number | null | undefined;
|
|
@@ -2722,9 +2697,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2722
2697
|
path: string;
|
|
2723
2698
|
id: string;
|
|
2724
2699
|
userId: number;
|
|
2725
|
-
|
|
2700
|
+
createdAt: Date;
|
|
2726
2701
|
signedUrl: string;
|
|
2727
|
-
createdAt?: unknown;
|
|
2728
2702
|
} | null | undefined;
|
|
2729
2703
|
}[] | null | undefined;
|
|
2730
2704
|
categoryId?: number | null | undefined;
|
|
@@ -2793,9 +2767,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2793
2767
|
path: string;
|
|
2794
2768
|
id: string;
|
|
2795
2769
|
userId: number;
|
|
2796
|
-
|
|
2770
|
+
createdAt: Date;
|
|
2797
2771
|
signedUrl: string;
|
|
2798
|
-
createdAt?: unknown;
|
|
2799
2772
|
} | null | undefined;
|
|
2800
2773
|
}[] | null | undefined;
|
|
2801
2774
|
categoryId?: number | null | undefined;
|
|
@@ -2923,9 +2896,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2923
2896
|
path: string;
|
|
2924
2897
|
id: string;
|
|
2925
2898
|
userId: number;
|
|
2926
|
-
|
|
2899
|
+
createdAt: Date;
|
|
2927
2900
|
signedUrl: string;
|
|
2928
|
-
createdAt?: unknown;
|
|
2929
2901
|
} | null | undefined;
|
|
2930
2902
|
}[] | null | undefined;
|
|
2931
2903
|
categoryId?: number | null | undefined;
|
|
@@ -3081,9 +3053,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
3081
3053
|
path: string;
|
|
3082
3054
|
id: string;
|
|
3083
3055
|
userId: number;
|
|
3084
|
-
|
|
3056
|
+
createdAt: Date;
|
|
3085
3057
|
signedUrl: string;
|
|
3086
|
-
createdAt?: unknown;
|
|
3087
3058
|
} | null | undefined;
|
|
3088
3059
|
}[] | null | undefined;
|
|
3089
3060
|
categoryId?: number | null | undefined;
|
|
@@ -3323,26 +3294,23 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3323
3294
|
fileId: z.ZodString;
|
|
3324
3295
|
itemId: z.ZodNumber;
|
|
3325
3296
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3326
|
-
parentId: z.ZodNumber;
|
|
3327
3297
|
id: z.ZodString;
|
|
3328
3298
|
userId: z.ZodNumber;
|
|
3329
3299
|
path: z.ZodString;
|
|
3330
3300
|
signedUrl: z.ZodString;
|
|
3331
|
-
createdAt: z.
|
|
3301
|
+
createdAt: z.ZodDate;
|
|
3332
3302
|
}, "strip", z.ZodTypeAny, {
|
|
3333
3303
|
path: string;
|
|
3334
3304
|
id: string;
|
|
3335
3305
|
userId: number;
|
|
3336
|
-
|
|
3306
|
+
createdAt: Date;
|
|
3337
3307
|
signedUrl: string;
|
|
3338
|
-
createdAt?: unknown;
|
|
3339
3308
|
}, {
|
|
3340
3309
|
path: string;
|
|
3341
3310
|
id: string;
|
|
3342
3311
|
userId: number;
|
|
3343
|
-
|
|
3312
|
+
createdAt: Date;
|
|
3344
3313
|
signedUrl: string;
|
|
3345
|
-
createdAt?: unknown;
|
|
3346
3314
|
}>>>;
|
|
3347
3315
|
}, "strip", z.ZodTypeAny, {
|
|
3348
3316
|
id: string;
|
|
@@ -3353,9 +3321,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3353
3321
|
path: string;
|
|
3354
3322
|
id: string;
|
|
3355
3323
|
userId: number;
|
|
3356
|
-
|
|
3324
|
+
createdAt: Date;
|
|
3357
3325
|
signedUrl: string;
|
|
3358
|
-
createdAt?: unknown;
|
|
3359
3326
|
} | null | undefined;
|
|
3360
3327
|
}, {
|
|
3361
3328
|
id: string;
|
|
@@ -3366,9 +3333,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3366
3333
|
path: string;
|
|
3367
3334
|
id: string;
|
|
3368
3335
|
userId: number;
|
|
3369
|
-
|
|
3336
|
+
createdAt: Date;
|
|
3370
3337
|
signedUrl: string;
|
|
3371
|
-
createdAt?: unknown;
|
|
3372
3338
|
} | null | undefined;
|
|
3373
3339
|
}>, "many">>>;
|
|
3374
3340
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3802,9 +3768,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3802
3768
|
path: string;
|
|
3803
3769
|
id: string;
|
|
3804
3770
|
userId: number;
|
|
3805
|
-
|
|
3771
|
+
createdAt: Date;
|
|
3806
3772
|
signedUrl: string;
|
|
3807
|
-
createdAt?: unknown;
|
|
3808
3773
|
} | null | undefined;
|
|
3809
3774
|
}[] | null | undefined;
|
|
3810
3775
|
categoryId?: number | null | undefined;
|
|
@@ -3925,9 +3890,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3925
3890
|
path: string;
|
|
3926
3891
|
id: string;
|
|
3927
3892
|
userId: number;
|
|
3928
|
-
|
|
3893
|
+
createdAt: Date;
|
|
3929
3894
|
signedUrl: string;
|
|
3930
|
-
createdAt?: unknown;
|
|
3931
3895
|
} | null | undefined;
|
|
3932
3896
|
}[] | null | undefined;
|
|
3933
3897
|
categoryId?: number | null | undefined;
|
|
@@ -3996,9 +3960,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3996
3960
|
path: string;
|
|
3997
3961
|
id: string;
|
|
3998
3962
|
userId: number;
|
|
3999
|
-
|
|
3963
|
+
createdAt: Date;
|
|
4000
3964
|
signedUrl: string;
|
|
4001
|
-
createdAt?: unknown;
|
|
4002
3965
|
} | null | undefined;
|
|
4003
3966
|
}[] | null | undefined;
|
|
4004
3967
|
categoryId?: number | null | undefined;
|
|
@@ -4126,9 +4089,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4126
4089
|
path: string;
|
|
4127
4090
|
id: string;
|
|
4128
4091
|
userId: number;
|
|
4129
|
-
|
|
4092
|
+
createdAt: Date;
|
|
4130
4093
|
signedUrl: string;
|
|
4131
|
-
createdAt?: unknown;
|
|
4132
4094
|
} | null | undefined;
|
|
4133
4095
|
}[] | null | undefined;
|
|
4134
4096
|
categoryId?: number | null | undefined;
|
|
@@ -4332,9 +4294,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4332
4294
|
path: string;
|
|
4333
4295
|
id: string;
|
|
4334
4296
|
userId: number;
|
|
4335
|
-
|
|
4297
|
+
createdAt: Date;
|
|
4336
4298
|
signedUrl: string;
|
|
4337
|
-
createdAt?: unknown;
|
|
4338
4299
|
} | null | undefined;
|
|
4339
4300
|
}[] | null | undefined;
|
|
4340
4301
|
categoryId?: number | null | undefined;
|
|
@@ -5,26 +5,23 @@ export declare const ItemFileSchema: z.ZodObject<{
|
|
|
5
5
|
fileId: z.ZodString;
|
|
6
6
|
itemId: z.ZodNumber;
|
|
7
7
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8
|
-
parentId: z.ZodNumber;
|
|
9
8
|
id: z.ZodString;
|
|
10
9
|
userId: z.ZodNumber;
|
|
11
10
|
path: z.ZodString;
|
|
12
11
|
signedUrl: z.ZodString;
|
|
13
|
-
createdAt: z.
|
|
12
|
+
createdAt: z.ZodDate;
|
|
14
13
|
}, "strip", z.ZodTypeAny, {
|
|
15
14
|
path: string;
|
|
16
15
|
id: string;
|
|
17
16
|
userId: number;
|
|
18
|
-
|
|
17
|
+
createdAt: Date;
|
|
19
18
|
signedUrl: string;
|
|
20
|
-
createdAt?: unknown;
|
|
21
19
|
}, {
|
|
22
20
|
path: string;
|
|
23
21
|
id: string;
|
|
24
22
|
userId: number;
|
|
25
|
-
|
|
23
|
+
createdAt: Date;
|
|
26
24
|
signedUrl: string;
|
|
27
|
-
createdAt?: unknown;
|
|
28
25
|
}>>>;
|
|
29
26
|
}, "strip", z.ZodTypeAny, {
|
|
30
27
|
id: string;
|
|
@@ -35,9 +32,8 @@ export declare const ItemFileSchema: z.ZodObject<{
|
|
|
35
32
|
path: string;
|
|
36
33
|
id: string;
|
|
37
34
|
userId: number;
|
|
38
|
-
|
|
35
|
+
createdAt: Date;
|
|
39
36
|
signedUrl: string;
|
|
40
|
-
createdAt?: unknown;
|
|
41
37
|
} | null | undefined;
|
|
42
38
|
}, {
|
|
43
39
|
id: string;
|
|
@@ -48,9 +44,8 @@ export declare const ItemFileSchema: z.ZodObject<{
|
|
|
48
44
|
path: string;
|
|
49
45
|
id: string;
|
|
50
46
|
userId: number;
|
|
51
|
-
|
|
47
|
+
createdAt: Date;
|
|
52
48
|
signedUrl: string;
|
|
53
|
-
createdAt?: unknown;
|
|
54
49
|
} | null | undefined;
|
|
55
50
|
}>;
|
|
56
51
|
export type ItemFile = z.infer<typeof ItemFileSchema>;
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const FileSchema: z.ZodObject<{
|
|
3
|
-
parentId: z.ZodNumber;
|
|
4
3
|
id: z.ZodString;
|
|
5
4
|
userId: z.ZodNumber;
|
|
6
5
|
path: z.ZodString;
|
|
7
6
|
signedUrl: z.ZodString;
|
|
8
|
-
createdAt: z.
|
|
7
|
+
createdAt: z.ZodDate;
|
|
9
8
|
}, "strip", z.ZodTypeAny, {
|
|
10
9
|
path: string;
|
|
11
10
|
id: string;
|
|
12
11
|
userId: number;
|
|
13
|
-
|
|
12
|
+
createdAt: Date;
|
|
14
13
|
signedUrl: string;
|
|
15
|
-
createdAt?: unknown;
|
|
16
14
|
}, {
|
|
17
15
|
path: string;
|
|
18
16
|
id: string;
|
|
19
17
|
userId: number;
|
|
20
|
-
|
|
18
|
+
createdAt: Date;
|
|
21
19
|
signedUrl: string;
|
|
22
|
-
createdAt?: unknown;
|
|
23
20
|
}>;
|
|
24
21
|
export type File = z.infer<typeof FileSchema>;
|
|
@@ -3,10 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FileSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.FileSchema = zod_1.z.object({
|
|
6
|
-
parentId: zod_1.z.number(),
|
|
7
6
|
id: zod_1.z.string().uuid(),
|
|
8
7
|
userId: zod_1.z.number(),
|
|
9
8
|
path: zod_1.z.string(),
|
|
10
9
|
signedUrl: zod_1.z.string(),
|
|
11
|
-
createdAt: zod_1.z.
|
|
10
|
+
createdAt: zod_1.z.coerce.date(),
|
|
12
11
|
});
|