expo-backend-types 0.14.0-EXPO-249-EB-Modelo.2 → 0.14.0-EXPO-249-EB-Modelo.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,21 +3,31 @@ export declare const findAllCountriesResponseSchema: z.ZodObject<{
3
3
  countries: z.ZodArray<z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  isoCode: z.ZodString;
6
+ latitude: z.ZodNumber;
7
+ longitude: z.ZodNumber;
6
8
  }, "strip", z.ZodTypeAny, {
7
9
  name: string;
10
+ latitude: number;
11
+ longitude: number;
8
12
  isoCode: string;
9
13
  }, {
10
14
  name: string;
15
+ latitude: number;
16
+ longitude: number;
11
17
  isoCode: string;
12
18
  }>, "many">;
13
19
  }, "strip", z.ZodTypeAny, {
14
20
  countries: {
15
21
  name: string;
22
+ latitude: number;
23
+ longitude: number;
16
24
  isoCode: string;
17
25
  }[];
18
26
  }, {
19
27
  countries: {
20
28
  name: string;
29
+ latitude: number;
30
+ longitude: number;
21
31
  isoCode: string;
22
32
  }[];
23
33
  }>;
@@ -25,21 +35,31 @@ declare const FindAllCountriesResponseDto_base: import("@anatine/zod-nestjs").Zo
25
35
  countries: z.ZodArray<z.ZodObject<{
26
36
  name: z.ZodString;
27
37
  isoCode: z.ZodString;
38
+ latitude: z.ZodNumber;
39
+ longitude: z.ZodNumber;
28
40
  }, z.UnknownKeysParam, z.ZodTypeAny, {
29
41
  name: string;
42
+ latitude: number;
43
+ longitude: number;
30
44
  isoCode: string;
31
45
  }, {
32
46
  name: string;
47
+ latitude: number;
48
+ longitude: number;
33
49
  isoCode: string;
34
50
  }>, "many">;
35
51
  }, z.UnknownKeysParam, z.ZodTypeAny, {
36
52
  countries: {
37
53
  name: string;
54
+ latitude: number;
55
+ longitude: number;
38
56
  isoCode: string;
39
57
  }[];
40
58
  }, {
41
59
  countries: {
42
60
  name: string;
61
+ latitude: number;
62
+ longitude: number;
43
63
  isoCode: string;
44
64
  }[];
45
65
  }>>;
@@ -10,6 +10,8 @@ exports.findAllCountriesResponseSchema = zod_1.default.object({
10
10
  countries: zod_1.default.array(zod_1.default.object({
11
11
  name: zod_1.default.string(),
12
12
  isoCode: zod_1.default.string(),
13
+ latitude: zod_1.default.number(),
14
+ longitude: zod_1.default.number(),
13
15
  })),
14
16
  });
15
17
  class FindAllCountriesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllCountriesResponseSchema) {
@@ -54,7 +54,7 @@ exports.profileSchema = zod_1.default.object({
54
54
  birthLocationId: zod_1.default.string().uuid().nullable(),
55
55
  residenceLocationId: zod_1.default.string().uuid().nullable(),
56
56
  isInTrash: zod_1.default.boolean(),
57
- movedToTrashDate: zod_1.default.date().nullable(),
57
+ movedToTrashDate: zod_1.default.coerce.date().nullable(),
58
58
  created_at: zod_1.default.date(),
59
59
  updated_at: zod_1.default.date(),
60
60
  });
@@ -1070,6 +1070,8 @@ export interface components {
1070
1070
  countries: {
1071
1071
  name: string;
1072
1072
  isoCode: string;
1073
+ latitude: number;
1074
+ longitude: number;
1073
1075
  }[];
1074
1076
  };
1075
1077
  FindAllStatesByCountryResponseDto: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.14.0-EXPO-249-EB-Modelo.2",
3
+ "version": "0.14.0-EXPO-249-EB-Modelo.4",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,