@lyxa.ai/types 1.4.351 → 1.4.352
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;
|
|
25
28
|
search?: {
|
|
26
29
|
searchKey: string;
|
|
27
30
|
searchFields?: string[] | undefined;
|
|
28
31
|
} | undefined;
|
|
29
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
30
|
-
populate?: any;
|
|
31
|
-
query?: Record<string, any> | undefined;
|
|
32
32
|
}, {
|
|
33
|
+
size?: number | undefined;
|
|
34
|
+
page?: number | undefined;
|
|
33
35
|
sort?: Record<string, 1 | -1> | undefined;
|
|
36
|
+
query?: Record<string, any> | undefined;
|
|
37
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
38
|
+
populate?: any;
|
|
34
39
|
search?: {
|
|
35
40
|
searchKey: string;
|
|
36
41
|
searchFields?: string[] | undefined;
|
|
37
42
|
} | 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,7 +181,6 @@ 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;
|
|
185
184
|
address: string;
|
|
186
185
|
country: string;
|
|
187
186
|
location: {
|
|
@@ -193,6 +192,7 @@ export declare const RegularOrderAddressSchema: z.ZodObject<{
|
|
|
193
192
|
addressLabel: string;
|
|
194
193
|
apartment: string;
|
|
195
194
|
buildingName: string;
|
|
195
|
+
_id: import("mongoose").Types.ObjectId;
|
|
196
196
|
description?: string | undefined;
|
|
197
197
|
city?: string | undefined;
|
|
198
198
|
state?: string | undefined;
|
|
@@ -200,7 +200,6 @@ 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;
|
|
204
203
|
address: string;
|
|
205
204
|
country: string;
|
|
206
205
|
location: {
|
|
@@ -212,6 +211,7 @@ export declare const RegularOrderAddressSchema: z.ZodObject<{
|
|
|
212
211
|
addressLabel: string;
|
|
213
212
|
apartment: string;
|
|
214
213
|
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;
|
|
806
807
|
select?: Record<string, 0 | 1> | undefined;
|
|
807
808
|
populate?: any;
|
|
808
|
-
query?: Record<string, any> | undefined;
|
|
809
809
|
}, {
|
|
810
|
+
query?: Record<string, any> | undefined;
|
|
810
811
|
select?: Record<string, 0 | 1> | undefined;
|
|
811
812
|
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.
|
|
8
|
-
instructions: z.ZodOptional<z.
|
|
7
|
+
deliveryOption: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>> | z.ZodOptional<z.ZodString>;
|
|
8
|
+
instructions: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>> | z.ZodOptional<z.ZodString>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
addressLabel: string;
|
|
11
11
|
apartment: string;
|