expo-backend-types 0.18.0 → 0.19.0

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
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,