expo-backend-types 0.18.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/dto/event.dto.js +1 -1
- package/dist/src/event/dto/get-all-event.dto.d.ts +160 -160
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -48
- package/dist/src/event/dto/update-event.dto.d.ts +20 -20
- package/dist/src/location/dto/find-all-location.dto.d.ts +16 -16
- package/dist/src/message/dto/message.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +86 -86
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +124 -124
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +52 -52
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +64 -64
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +84 -84
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +72 -72
- package/dist/src/profile/dto/update-profile.dto.d.ts +4 -4
- package/package.json +1 -1
@@ -8,7 +8,7 @@ const zod_1 = require("zod");
|
|
8
8
|
exports.eventSchema = zod_1.z.object({
|
9
9
|
id: zod_1.z.string().uuid({ message: (0, translate_1.translate)('model.event.id.uuid') }),
|
10
10
|
name: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.name.required')),
|
11
|
-
date: zod_1.z.date({
|
11
|
+
date: zod_1.z.coerce.date({
|
12
12
|
required_error: (0, translate_1.translate)('model.event.date.required'),
|
13
13
|
invalid_type_error: (0, translate_1.translate)('model.event.date.invalid'),
|
14
14
|
}),
|