@lyxa.ai/types 1.4.332 → 1.4.333
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.
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -22,24 +22,24 @@ export declare const FilterSchema: z.ZodOptional<z.ZodObject<{
|
|
|
22
22
|
size: number;
|
|
23
23
|
page: number;
|
|
24
24
|
sort?: Record<string, 1 | -1> | undefined;
|
|
25
|
-
query?: Record<string, any> | undefined;
|
|
26
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
27
|
-
populate?: any;
|
|
28
25
|
search?: {
|
|
29
26
|
searchKey: string;
|
|
30
27
|
searchFields?: string[] | undefined;
|
|
31
28
|
} | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
size?: number | undefined;
|
|
34
|
-
page?: number | undefined;
|
|
35
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
36
|
-
query?: Record<string, any> | undefined;
|
|
37
29
|
select?: Record<string, 0 | 1> | undefined;
|
|
38
30
|
populate?: any;
|
|
31
|
+
query?: Record<string, any> | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
sort?: Record<string, 1 | -1> | undefined;
|
|
39
34
|
search?: {
|
|
40
35
|
searchKey: string;
|
|
41
36
|
searchFields?: string[] | undefined;
|
|
42
37
|
} | undefined;
|
|
38
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
39
|
+
populate?: any;
|
|
40
|
+
size?: number | undefined;
|
|
41
|
+
page?: number | undefined;
|
|
42
|
+
query?: Record<string, any> | undefined;
|
|
43
43
|
}>>;
|
|
44
44
|
export type FilterDTO = z.infer<typeof FilterSchema>;
|
|
45
45
|
export declare const StringSchema: z.ZodString;
|
|
@@ -181,6 +181,7 @@ export declare const RegularOrderAddressSchema: z.ZodObject<{
|
|
|
181
181
|
} & {
|
|
182
182
|
_id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
_id: import("mongoose").Types.ObjectId;
|
|
184
185
|
address: string;
|
|
185
186
|
country: string;
|
|
186
187
|
location: {
|
|
@@ -192,7 +193,6 @@ export declare const RegularOrderAddressSchema: z.ZodObject<{
|
|
|
192
193
|
addressLabel: string;
|
|
193
194
|
apartment: string;
|
|
194
195
|
buildingName: string;
|
|
195
|
-
_id: import("mongoose").Types.ObjectId;
|
|
196
196
|
description?: string | undefined;
|
|
197
197
|
city?: string | undefined;
|
|
198
198
|
state?: string | undefined;
|
|
@@ -200,6 +200,7 @@ export declare const RegularOrderAddressSchema: z.ZodObject<{
|
|
|
200
200
|
deliveryOption?: string | undefined;
|
|
201
201
|
instructions?: string | undefined;
|
|
202
202
|
}, {
|
|
203
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
203
204
|
address: string;
|
|
204
205
|
country: string;
|
|
205
206
|
location: {
|
|
@@ -211,7 +212,6 @@ export declare const RegularOrderAddressSchema: z.ZodObject<{
|
|
|
211
212
|
addressLabel: string;
|
|
212
213
|
apartment: string;
|
|
213
214
|
buildingName: string;
|
|
214
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
215
215
|
description?: string | undefined;
|
|
216
216
|
city?: string | undefined;
|
|
217
217
|
state?: string | undefined;
|
|
@@ -803,13 +803,13 @@ export declare const GetOneQuerySchema: z.ZodObject<{
|
|
|
803
803
|
select: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
804
804
|
populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
|
-
query?: Record<string, any> | undefined;
|
|
807
806
|
select?: Record<string, 0 | 1> | undefined;
|
|
808
807
|
populate?: any;
|
|
809
|
-
}, {
|
|
810
808
|
query?: Record<string, any> | undefined;
|
|
809
|
+
}, {
|
|
811
810
|
select?: Record<string, 0 | 1> | undefined;
|
|
812
811
|
populate?: any;
|
|
812
|
+
query?: Record<string, any> | undefined;
|
|
813
813
|
}>;
|
|
814
814
|
export type GetOneQueryDTO = DTO<typeof GetOneQuerySchema>;
|
|
815
815
|
declare const ShareableLinkSchema: z.ZodObject<{
|
|
@@ -4,8 +4,8 @@ export declare const UserAddressFrontendSchema: z.ZodObject<{
|
|
|
4
4
|
addressLabel: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5
5
|
apartment: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
6
6
|
buildingName: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
7
|
-
deliveryOption: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string
|
|
8
|
-
instructions: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string
|
|
7
|
+
deliveryOption: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
8
|
+
instructions: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
addressLabel: string;
|
|
11
11
|
apartment: string;
|