@lyxa.ai/types 1.4.205 → 1.4.206

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
@@ -22,7 +22,7 @@ Perfect for sharing types between frontend and backend applications.
22
22
 
23
23
  ## Version
24
24
 
25
- Version: 1.4.205
25
+ Version: 1.4.206
26
26
 
27
27
  ## Dependencies
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/types",
3
- "version": "1.4.205",
3
+ "version": "1.4.206",
4
4
  "description": "Lyxa type definitions and validation schemas for both frontend and backend",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -26,8 +26,8 @@ export declare const FilterSchema: z.ZodOptional<z.ZodObject<{
26
26
  searchFields?: string[] | undefined;
27
27
  } | undefined;
28
28
  sort?: Record<string, 1 | -1> | undefined;
29
- populate?: any;
30
29
  select?: Record<string, 0 | 1> | undefined;
30
+ populate?: any;
31
31
  query?: Record<string, any> | undefined;
32
32
  }, {
33
33
  search?: {
@@ -36,8 +36,8 @@ export declare const FilterSchema: z.ZodOptional<z.ZodObject<{
36
36
  } | undefined;
37
37
  sort?: Record<string, 1 | -1> | undefined;
38
38
  size?: number | undefined;
39
- populate?: any;
40
39
  select?: Record<string, 0 | 1> | undefined;
40
+ populate?: any;
41
41
  query?: Record<string, any> | undefined;
42
42
  page?: number | undefined;
43
43
  }>>;
@@ -735,12 +735,12 @@ export declare const GetByIdInputSchema: z.ZodObject<{
735
735
  populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
736
736
  }, "strip", z.ZodTypeAny, {
737
737
  _id: import("mongoose").Types.ObjectId;
738
- populate?: any;
739
738
  select?: Record<string, 0 | 1> | undefined;
739
+ populate?: any;
740
740
  }, {
741
741
  _id: string | import("mongoose").Types.ObjectId;
742
- populate?: any;
743
742
  select?: Record<string, 0 | 1> | undefined;
743
+ populate?: any;
744
744
  }>;
745
745
  export type GetByIdInputDTO = DTO<typeof GetByIdInputSchema>;
746
746
  export declare const GetProductByIdInputSchema: z.ZodObject<{
@@ -753,12 +753,12 @@ export declare const GetProductByIdInputSchema: z.ZodObject<{
753
753
  _id: import("mongoose").Types.ObjectId;
754
754
  withAttributeHiddenItems: boolean;
755
755
  withAddonsHiddenItems: boolean;
756
- populate?: any;
757
756
  select?: Record<string, 0 | 1> | undefined;
757
+ populate?: any;
758
758
  }, {
759
759
  _id: string | import("mongoose").Types.ObjectId;
760
- populate?: any;
761
760
  select?: Record<string, 0 | 1> | undefined;
761
+ populate?: any;
762
762
  withAttributeHiddenItems?: boolean | undefined;
763
763
  withAddonsHiddenItems?: boolean | undefined;
764
764
  }>;
@@ -772,15 +772,15 @@ export declare const GetOrderByIdInputSchema: z.ZodObject<{
772
772
  userOrderCompletionScope: z.ZodOptional<z.ZodNativeEnum<typeof UserOrderCompletionScope>>;
773
773
  }, "strip", z.ZodTypeAny, {
774
774
  _id: import("mongoose").Types.ObjectId;
775
- populate?: any;
776
775
  select?: Record<string, 0 | 1> | undefined;
776
+ populate?: any;
777
777
  groupByCategories?: boolean | undefined;
778
778
  getParentCategory?: boolean | undefined;
779
779
  userOrderCompletionScope?: UserOrderCompletionScope | undefined;
780
780
  }, {
781
781
  _id: string | import("mongoose").Types.ObjectId;
782
- populate?: any;
783
782
  select?: Record<string, 0 | 1> | undefined;
783
+ populate?: any;
784
784
  groupByCategories?: boolean | undefined;
785
785
  getParentCategory?: boolean | undefined;
786
786
  userOrderCompletionScope?: UserOrderCompletionScope | undefined;
@@ -790,11 +790,11 @@ export declare const GetByTokenInputSchema: z.ZodOptional<z.ZodObject<{
790
790
  select: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
791
791
  populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
792
792
  }, "strip", z.ZodTypeAny, {
793
- populate?: any;
794
793
  select?: Record<string, 0 | 1> | undefined;
795
- }, {
796
794
  populate?: any;
795
+ }, {
797
796
  select?: Record<string, 0 | 1> | undefined;
797
+ populate?: any;
798
798
  }>>;
799
799
  export type GetByTokenInputDTO = DTO<typeof GetByTokenInputSchema>;
800
800
  export declare const GetOneQuerySchema: z.ZodObject<{
@@ -802,12 +802,12 @@ export declare const GetOneQuerySchema: z.ZodObject<{
802
802
  select: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
803
803
  populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
804
804
  }, "strip", z.ZodTypeAny, {
805
- populate?: any;
806
805
  select?: Record<string, 0 | 1> | undefined;
806
+ populate?: any;
807
807
  query?: Record<string, any> | undefined;
808
808
  }, {
809
- populate?: any;
810
809
  select?: Record<string, 0 | 1> | undefined;
810
+ populate?: any;
811
811
  query?: Record<string, any> | undefined;
812
812
  }>;
813
813
  export type GetOneQueryDTO = DTO<typeof GetOneQuerySchema>;