@lyxa.ai/core 1.4.183 → 1.4.184
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/dist/libraries/mongo/models/delivery-charges.model.d.ts +4 -7
- package/dist/libraries/mongo/models/delivery-charges.model.js +26 -34
- package/dist/libraries/mongo/models/delivery-charges.model.js.map +1 -1
- package/dist/libraries/trpc/middlewares/auth.d.ts +1 -1
- package/dist/libraries/trpc/middlewares/createRoleProtectedProcedure.d.ts +1 -1
- package/dist/libraries/trpc/middlewares/phone-verified.d.ts +1 -1
- package/dist/libraries/trpc/middlewares/publicUserDecoder.d.ts +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/dist/types/utilities/validation/common-validation.d.ts +12 -12
- package/package.json +1 -1
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { Ref } from '@typegoose/typegoose';
|
|
2
2
|
import { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';
|
|
3
3
|
import { Zone } from './zone.model';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class DeliveryCharges extends TimeStamps {
|
|
5
|
+
zone?: Ref<Zone>;
|
|
6
|
+
type: string;
|
|
7
|
+
chargeType: string;
|
|
5
8
|
from: number;
|
|
6
9
|
to: number;
|
|
7
10
|
charge: number;
|
|
8
11
|
secondaryCharge?: number;
|
|
9
12
|
riderCut: number;
|
|
10
13
|
secondaryRiderCut?: number;
|
|
11
|
-
}
|
|
12
|
-
export declare class DeliveryCharges extends TimeStamps {
|
|
13
|
-
zone?: Ref<Zone>;
|
|
14
|
-
type: string;
|
|
15
|
-
chargeType: string;
|
|
16
|
-
charges: Charge[];
|
|
17
14
|
isActive?: boolean;
|
|
18
15
|
}
|
|
@@ -9,68 +9,60 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.DeliveryCharges =
|
|
12
|
+
exports.DeliveryCharges = void 0;
|
|
13
13
|
const typegoose_1 = require("@typegoose/typegoose");
|
|
14
14
|
const defaultClasses_1 = require("@typegoose/typegoose/lib/defaultClasses");
|
|
15
15
|
const enum_1 = require("../../../utilities/enum");
|
|
16
16
|
const zone_model_1 = require("./zone.model");
|
|
17
|
-
class
|
|
17
|
+
let DeliveryCharges = class DeliveryCharges extends defaultClasses_1.TimeStamps {
|
|
18
|
+
zone;
|
|
19
|
+
type;
|
|
20
|
+
chargeType;
|
|
18
21
|
from;
|
|
19
22
|
to;
|
|
20
23
|
charge;
|
|
21
24
|
secondaryCharge;
|
|
22
25
|
riderCut;
|
|
23
26
|
secondaryRiderCut;
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
isActive;
|
|
28
|
+
};
|
|
29
|
+
exports.DeliveryCharges = DeliveryCharges;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typegoose_1.prop)({ ref: () => zone_model_1.Zone }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], DeliveryCharges.prototype, "zone", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typegoose_1.prop)({ type: String, enum: enum_1.OrderType, default: enum_1.OrderType.REGULAR }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], DeliveryCharges.prototype, "type", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typegoose_1.prop)({ type: String, enum: enum_1.DeliveryChargeType, default: enum_1.DeliveryChargeType.DISTANCE_BASED }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], DeliveryCharges.prototype, "chargeType", void 0);
|
|
26
42
|
__decorate([
|
|
27
43
|
(0, typegoose_1.prop)({ required: true, type: Number, min: 0 }),
|
|
28
44
|
__metadata("design:type", Number)
|
|
29
|
-
],
|
|
45
|
+
], DeliveryCharges.prototype, "from", void 0);
|
|
30
46
|
__decorate([
|
|
31
47
|
(0, typegoose_1.prop)({ required: true, type: Number, min: 0 }),
|
|
32
48
|
__metadata("design:type", Number)
|
|
33
|
-
],
|
|
49
|
+
], DeliveryCharges.prototype, "to", void 0);
|
|
34
50
|
__decorate([
|
|
35
51
|
(0, typegoose_1.prop)({ required: true, type: Number, min: 0 }),
|
|
36
52
|
__metadata("design:type", Number)
|
|
37
|
-
],
|
|
53
|
+
], DeliveryCharges.prototype, "charge", void 0);
|
|
38
54
|
__decorate([
|
|
39
55
|
(0, typegoose_1.prop)({ required: true, type: Number, min: 0 }),
|
|
40
56
|
__metadata("design:type", Number)
|
|
41
|
-
],
|
|
57
|
+
], DeliveryCharges.prototype, "secondaryCharge", void 0);
|
|
42
58
|
__decorate([
|
|
43
59
|
(0, typegoose_1.prop)({ required: true, type: Number, min: 0 }),
|
|
44
60
|
__metadata("design:type", Number)
|
|
45
|
-
],
|
|
61
|
+
], DeliveryCharges.prototype, "riderCut", void 0);
|
|
46
62
|
__decorate([
|
|
47
63
|
(0, typegoose_1.prop)({ required: true, type: Number, min: 0 }),
|
|
48
64
|
__metadata("design:type", Number)
|
|
49
|
-
],
|
|
50
|
-
let DeliveryCharges = class DeliveryCharges extends defaultClasses_1.TimeStamps {
|
|
51
|
-
zone;
|
|
52
|
-
type;
|
|
53
|
-
chargeType;
|
|
54
|
-
charges;
|
|
55
|
-
isActive;
|
|
56
|
-
};
|
|
57
|
-
exports.DeliveryCharges = DeliveryCharges;
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, typegoose_1.prop)({ ref: () => zone_model_1.Zone }),
|
|
60
|
-
__metadata("design:type", Object)
|
|
61
|
-
], DeliveryCharges.prototype, "zone", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typegoose_1.prop)({ type: String, enum: enum_1.OrderType, default: enum_1.OrderType.REGULAR }),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], DeliveryCharges.prototype, "type", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, typegoose_1.prop)({ type: String, enum: enum_1.DeliveryChargeType, default: enum_1.DeliveryChargeType.DISTANCE_BASED }),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], DeliveryCharges.prototype, "chargeType", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, typegoose_1.prop)({ type: () => [Charge], default: [] }),
|
|
72
|
-
__metadata("design:type", Array)
|
|
73
|
-
], DeliveryCharges.prototype, "charges", void 0);
|
|
65
|
+
], DeliveryCharges.prototype, "secondaryRiderCut", void 0);
|
|
74
66
|
__decorate([
|
|
75
67
|
(0, typegoose_1.prop)({ type: Boolean, default: true }),
|
|
76
68
|
__metadata("design:type", Boolean)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery-charges.model.js","sourceRoot":"/","sources":["libraries/mongo/models/delivery-charges.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"delivery-charges.model.js","sourceRoot":"/","sources":["libraries/mongo/models/delivery-charges.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAsE;AACtE,4EAAqE;AACrE,kDAAwE;AACxE,6CAAoC;AAe7B,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,2BAAU;IAGvC,IAAI,CAAa;IAGjB,IAAI,CAAU;IAGd,UAAU,CAAU;IAGpB,IAAI,CAAU;IAGd,EAAE,CAAU;IAGZ,MAAM,CAAU;IAGhB,eAAe,CAAU;IAGzB,QAAQ,CAAU;IAGlB,iBAAiB,CAAU;IAI3B,QAAQ,CAAW;CAC1B,CAAA;AAhCY,0CAAe;AAGpB;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,iBAAI,EAAE,CAAC;;6CACF;AAGjB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAS,EAAE,OAAO,EAAE,gBAAS,CAAC,OAAO,EAAE,CAAC;;6CAC/C;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAkB,EAAE,OAAO,EAAE,yBAAkB,CAAC,cAAc,EAAE,CAAC;;mDAClE;AAGpB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;;6CAC1B;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;;2CAC5B;AAGZ;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;;+CACxB;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;;wDACf;AAGzB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;;iDACtB;AAGlB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;;0DACb;AAI3B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;iDACb;0BA/Bd,eAAe;IAL3B,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,iBAAiB,EAAE,EAAE,CAAC;IAIlE,IAAA,iBAAK,EAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;GAC/E,eAAe,CAgC3B","sourcesContent":["import { Index, modelOptions, prop, Ref } from '@typegoose/typegoose';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\nimport { DeliveryChargeType, OrderType } from '../../../utilities/enum';\nimport { Zone } from './zone.model';\n\n/**\n * Standalone delivery charge configuration, scoped to a single zone.\n *\n * This is the normalized counterpart of the embedded `Setting.deliveryCharges`\n * / `Zone.deliveryCharges` arrays. Each document represents one (zone, type)\n * combination so that delivery pricing can be managed, indexed and queried per\n * zone without rewriting the whole settings/zone document.\n */\n@modelOptions({ schemaOptions: { collection: 'deliveryCharges' } })\n// One active config per (zone, order type). A missing `zone` indexes as null, so\n// there is exactly one zone-less \"global\" config per type. `deletedAt` keeps\n// soft-deleted rows out of the uniqueness constraint so a row can be replaced.\n@Index({ zone: 1, type: 1 }, { unique: true, partialFilterExpression: { deletedAt: null } })\nexport class DeliveryCharges extends TimeStamps {\n\t// Optional: when absent this is the global/default config for the `type`.\n\t@prop({ ref: () => Zone })\n\tpublic zone?: Ref<Zone>;\n\n\t@prop({ type: String, enum: OrderType, default: OrderType.REGULAR })\n\tpublic type!: string;\n\n\t@prop({ type: String, enum: DeliveryChargeType, default: DeliveryChargeType.DISTANCE_BASED })\n\tpublic chargeType!: string;\n\n\t@prop({ required: true, type: Number, min: 0 })\n\tpublic from!: number;\n\n\t@prop({ required: true, type: Number, min: 0 })\n\tpublic to!: number;\n\n\t@prop({ required: true, type: Number, min: 0 })\n\tpublic charge!: number;\n\n\t@prop({ required: true, type: Number, min: 0 })\n\tpublic secondaryCharge?: number;\n\n\t@prop({ required: true, type: Number, min: 0 })\n\tpublic riderCut!: number;\n\n\t@prop({ required: true, type: Number, min: 0 })\n\tpublic secondaryRiderCut?: number;\n\n\t// Future-proofing: toggle a config without deleting it, e.g. seasonal pricing.\n\t@prop({ type: Boolean, default: true })\n\tpublic isActive?: boolean;\n}\n"]}
|
|
@@ -5,9 +5,9 @@ interface AuthOptions {
|
|
|
5
5
|
autoRefresh?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare function createAuthenticatedProcedure(options: AuthOptions): import("@trpc/server").TRPCProcedureBuilder<import("../context").LyxaHTTPContext, object, {
|
|
8
|
+
req: import("http").IncomingMessage;
|
|
8
9
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
9
10
|
tokenType: TokenType | undefined;
|
|
10
|
-
req: import("http").IncomingMessage;
|
|
11
11
|
requestId: string | undefined;
|
|
12
12
|
entity: import("../context").EntityContext | undefined;
|
|
13
13
|
usedRefreshToken: boolean | undefined;
|
|
@@ -4,9 +4,9 @@ interface RoleProtectedOptions {
|
|
|
4
4
|
allowedRoles: string[];
|
|
5
5
|
}
|
|
6
6
|
export declare function createRoleProtectedProcedure(options: RoleProtectedOptions): import("@trpc/server").TRPCProcedureBuilder<import("../context").LyxaHTTPContext, object, {
|
|
7
|
+
req: import("http").IncomingMessage;
|
|
7
8
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
8
9
|
tokenType: import("../../auth").TokenType | undefined;
|
|
9
|
-
req: import("http").IncomingMessage;
|
|
10
10
|
requestId: string | undefined;
|
|
11
11
|
entity: import("../context").EntityContext | undefined;
|
|
12
12
|
usedRefreshToken: boolean | undefined;
|
|
@@ -3,9 +3,9 @@ interface PhoneVerifiedOptions {
|
|
|
3
3
|
entityTypes: AuthEntityType[];
|
|
4
4
|
}
|
|
5
5
|
export declare function createPhoneVerifiedProcedure(options: PhoneVerifiedOptions): import("@trpc/server").TRPCProcedureBuilder<import("../context").LyxaHTTPContext, object, {
|
|
6
|
+
req: import("http").IncomingMessage;
|
|
6
7
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
7
8
|
tokenType: import("../../auth").TokenType | undefined;
|
|
8
|
-
req: import("http").IncomingMessage;
|
|
9
9
|
requestId: string | undefined;
|
|
10
10
|
entity: import("../context").EntityContext | undefined;
|
|
11
11
|
usedRefreshToken: boolean | undefined;
|
|
@@ -5,9 +5,9 @@ interface AuthOptions {
|
|
|
5
5
|
autoRefresh?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare function publicUserDecoder(options: AuthOptions): import("@trpc/server").TRPCProcedureBuilder<import("../context").LyxaHTTPContext, object, {
|
|
8
|
+
req: import("http").IncomingMessage;
|
|
8
9
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
9
10
|
tokenType: TokenType | undefined;
|
|
10
|
-
req: import("http").IncomingMessage;
|
|
11
11
|
requestId: string | undefined;
|
|
12
12
|
entity: import("../context").EntityContext | undefined;
|
|
13
13
|
usedRefreshToken: boolean | undefined;
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED
|
@@ -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
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
30
29
|
populate?: any;
|
|
30
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
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
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
40
39
|
populate?: any;
|
|
40
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
41
41
|
query?: Record<string, any> | undefined;
|
|
42
42
|
page?: number | undefined;
|
|
43
43
|
}>>;
|
|
@@ -736,12 +736,12 @@ export declare const GetByIdInputSchema: z.ZodObject<{
|
|
|
736
736
|
populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
|
|
737
737
|
}, "strip", z.ZodTypeAny, {
|
|
738
738
|
_id: import("mongoose").Types.ObjectId;
|
|
739
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
740
739
|
populate?: any;
|
|
740
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
741
741
|
}, {
|
|
742
742
|
_id: string | import("mongoose").Types.ObjectId;
|
|
743
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
744
743
|
populate?: any;
|
|
744
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
745
745
|
}>;
|
|
746
746
|
export type GetByIdInputDTO = DTO<typeof GetByIdInputSchema>;
|
|
747
747
|
export declare const GetProductByIdInputSchema: z.ZodObject<{
|
|
@@ -754,12 +754,12 @@ export declare const GetProductByIdInputSchema: z.ZodObject<{
|
|
|
754
754
|
_id: import("mongoose").Types.ObjectId;
|
|
755
755
|
withAttributeHiddenItems: boolean;
|
|
756
756
|
withAddonsHiddenItems: boolean;
|
|
757
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
758
757
|
populate?: any;
|
|
758
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
759
759
|
}, {
|
|
760
760
|
_id: string | import("mongoose").Types.ObjectId;
|
|
761
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
762
761
|
populate?: any;
|
|
762
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
763
763
|
withAttributeHiddenItems?: boolean | undefined;
|
|
764
764
|
withAddonsHiddenItems?: boolean | undefined;
|
|
765
765
|
}>;
|
|
@@ -773,15 +773,15 @@ export declare const GetOrderByIdInputSchema: z.ZodObject<{
|
|
|
773
773
|
userOrderCompletionScope: z.ZodOptional<z.ZodNativeEnum<typeof UserOrderCompletionScope>>;
|
|
774
774
|
}, "strip", z.ZodTypeAny, {
|
|
775
775
|
_id: import("mongoose").Types.ObjectId;
|
|
776
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
777
776
|
populate?: any;
|
|
777
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
778
778
|
groupByCategories?: boolean | undefined;
|
|
779
779
|
getParentCategory?: boolean | undefined;
|
|
780
780
|
userOrderCompletionScope?: UserOrderCompletionScope | undefined;
|
|
781
781
|
}, {
|
|
782
782
|
_id: string | import("mongoose").Types.ObjectId;
|
|
783
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
784
783
|
populate?: any;
|
|
784
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
785
785
|
groupByCategories?: boolean | undefined;
|
|
786
786
|
getParentCategory?: boolean | undefined;
|
|
787
787
|
userOrderCompletionScope?: UserOrderCompletionScope | undefined;
|
|
@@ -791,11 +791,11 @@ export declare const GetByTokenInputSchema: z.ZodOptional<z.ZodObject<{
|
|
|
791
791
|
select: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
792
792
|
populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
|
|
793
793
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
795
794
|
populate?: any;
|
|
796
|
-
}, {
|
|
797
795
|
select?: Record<string, 0 | 1> | undefined;
|
|
796
|
+
}, {
|
|
798
797
|
populate?: any;
|
|
798
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
799
799
|
}>>;
|
|
800
800
|
export type GetByTokenInputDTO = DTO<typeof GetByTokenInputSchema>;
|
|
801
801
|
export declare const GetOneQuerySchema: z.ZodObject<{
|
|
@@ -803,12 +803,12 @@ 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
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
807
806
|
populate?: any;
|
|
807
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
808
808
|
query?: Record<string, any> | undefined;
|
|
809
809
|
}, {
|
|
810
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
811
810
|
populate?: any;
|
|
811
|
+
select?: Record<string, 0 | 1> | undefined;
|
|
812
812
|
query?: Record<string, any> | undefined;
|
|
813
813
|
}>;
|
|
814
814
|
export type GetOneQueryDTO = DTO<typeof GetOneQuerySchema>;
|