expo-backend-types 0.17.0-EXPO-289-EB-Filtro-base.2 → 0.17.0-EXPO-289-EB-Filtro-base.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
}),
|