expo-backend-types 0.7.0-EXPO-287-EB-CarpetaEvento.4 → 0.7.0-EXPO-287-EB-CarpetaEvento.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,6 +9,7 @@ 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
11
|
date: zod_1.z.date({
|
12
|
+
required_error: (0, translate_1.translate)('model.event.date.required'),
|
12
13
|
invalid_type_error: (0, translate_1.translate)('model.event.date.invalid'),
|
13
14
|
}),
|
14
15
|
location: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.location.required')),
|