expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.7 → 0.5.0-EXPO-286-EB-Location.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/src/comment/dto/comment.dto.d.ts +3 -3
  2. package/dist/src/comment/dto/create-comment.dto.d.ts +3 -3
  3. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +5 -5
  4. package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +3 -3
  5. package/dist/src/exports.d.ts +1 -1
  6. package/dist/src/exports.js +1 -1
  7. package/dist/src/i18n/es.d.ts +10 -22
  8. package/dist/src/i18n/es.js +10 -22
  9. package/dist/src/i18n/es.js.map +1 -1
  10. package/dist/src/location/dto/arg-city.dto.d.ts +130 -0
  11. package/dist/src/location/dto/arg-city.dto.js +33 -0
  12. package/dist/src/location/dto/find-all-location.dto.d.ts +192 -0
  13. package/dist/src/location/dto/find-all-location.dto.js +32 -0
  14. package/dist/src/location/dto/find-cities-by-province-location.dto.d.ts +141 -0
  15. package/dist/src/location/dto/find-cities-by-province-location.dto.js +20 -0
  16. package/dist/src/location/dto/location.dto.d.ts +29 -0
  17. package/dist/src/location/dto/location.dto.js +35 -0
  18. package/dist/src/location/exports.d.ts +4 -0
  19. package/dist/src/{cannedResponse → location}/exports.js +4 -5
  20. package/dist/src/profile/dto/profile.dto.d.ts +6 -12
  21. package/dist/src/profile/dto/profile.dto.js +2 -4
  22. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -2
  23. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  24. package/dist/src/tag/dto/massive-allocation.dto.d.ts +30 -50
  25. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +30 -50
  26. package/dist/types/prisma-schema/edge.js +6 -7
  27. package/dist/types/prisma-schema/index-browser.js +3 -4
  28. package/dist/types/prisma-schema/index.d.ts +113 -242
  29. package/dist/types/prisma-schema/index.js +6 -7
  30. package/dist/types/prisma-schema/package.json +1 -1
  31. package/dist/types/prisma-schema/schema.prisma +5 -7
  32. package/dist/types/prisma-schema/wasm.js +3 -4
  33. package/dist/types/schema.d.ts +41 -154
  34. package/package.json +3 -1
  35. package/dist/src/cannedResponse/dto/cannedResponse.dto.d.ts +0 -42
  36. package/dist/src/cannedResponse/dto/cannedResponse.dto.js +0 -23
  37. package/dist/src/cannedResponse/dto/create-cannedResponse.dto.d.ts +0 -66
  38. package/dist/src/cannedResponse/dto/create-cannedResponse.dto.js +0 -17
  39. package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.d.ts +0 -41
  40. package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.js +0 -10
  41. package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.d.ts +0 -78
  42. package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.js +0 -16
  43. package/dist/src/cannedResponse/dto/update-cannedResponse.dto.d.ts +0 -66
  44. package/dist/src/cannedResponse/dto/update-cannedResponse.dto.js +0 -17
  45. package/dist/src/cannedResponse/exports.d.ts +0 -5
@@ -40,7 +40,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
40
40
  profileId: z.ZodString;
41
41
  isSolvable: z.ZodDefault<z.ZodBoolean>;
42
42
  isSolved: z.ZodDefault<z.ZodBoolean>;
43
- solvedAt: z.ZodNullable<z.ZodString>;
43
+ solvedAt: z.ZodNullable<z.ZodDate>;
44
44
  solvedBy: z.ZodOptional<z.ZodString>;
45
45
  created_at: z.ZodString;
46
46
  updated_at: z.ZodString;
@@ -53,7 +53,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
53
53
  createdBy: string;
54
54
  profileId: string;
55
55
  isSolved: boolean;
56
- solvedAt: string | null;
56
+ solvedAt: Date | null;
57
57
  solvedBy?: string | undefined;
58
58
  }, {
59
59
  id: string;
@@ -62,7 +62,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
62
62
  updated_at: string;
63
63
  createdBy: string;
64
64
  profileId: string;
65
- solvedAt: string | null;
65
+ solvedAt: Date | null;
66
66
  isSolvable?: boolean | undefined;
67
67
  isSolved?: boolean | undefined;
68
68
  solvedBy?: string | undefined;
@@ -74,7 +74,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
74
74
  profileId: import("zod").ZodString;
75
75
  isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
76
76
  isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
77
- solvedAt: import("zod").ZodNullable<import("zod").ZodString>;
77
+ solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
78
78
  solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
79
79
  created_at: import("zod").ZodString;
80
80
  updated_at: import("zod").ZodString;
@@ -87,7 +87,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
87
87
  createdBy: string;
88
88
  profileId: string;
89
89
  isSolved: boolean;
90
- solvedAt: string | null;
90
+ solvedAt: Date | null;
91
91
  solvedBy?: string | undefined;
92
92
  }, {
93
93
  id: string;
@@ -96,7 +96,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
96
96
  updated_at: string;
97
97
  createdBy: string;
98
98
  profileId: string;
99
- solvedAt: string | null;
99
+ solvedAt: Date | null;
100
100
  isSolvable?: boolean | undefined;
101
101
  isSolved?: boolean | undefined;
102
102
  solvedBy?: string | undefined;
@@ -99,7 +99,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
99
99
  profileId: z.ZodString;
100
100
  isSolvable: z.ZodDefault<z.ZodBoolean>;
101
101
  isSolved: z.ZodDefault<z.ZodBoolean>;
102
- solvedAt: z.ZodNullable<z.ZodString>;
102
+ solvedAt: z.ZodNullable<z.ZodDate>;
103
103
  solvedBy: z.ZodOptional<z.ZodString>;
104
104
  created_at: z.ZodString;
105
105
  updated_at: z.ZodString;
@@ -122,7 +122,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
122
122
  createdBy: string;
123
123
  profileId: string;
124
124
  isSolved: boolean;
125
- solvedAt: string | null;
125
+ solvedAt: Date | null;
126
126
  solvedBy?: string | undefined;
127
127
  }, {
128
128
  account: {
@@ -134,7 +134,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
134
134
  updated_at: string;
135
135
  createdBy: string;
136
136
  profileId: string;
137
- solvedAt: string | null;
137
+ solvedAt: Date | null;
138
138
  isSolvable?: boolean | undefined;
139
139
  isSolved?: boolean | undefined;
140
140
  solvedBy?: string | undefined;
@@ -152,7 +152,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
152
152
  createdBy: string;
153
153
  profileId: string;
154
154
  isSolved: boolean;
155
- solvedAt: string | null;
155
+ solvedAt: Date | null;
156
156
  solvedBy?: string | undefined;
157
157
  }[];
158
158
  }, {
@@ -166,7 +166,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
166
166
  updated_at: string;
167
167
  createdBy: string;
168
168
  profileId: string;
169
- solvedAt: string | null;
169
+ solvedAt: Date | null;
170
170
  isSolvable?: boolean | undefined;
171
171
  isSolved?: boolean | undefined;
172
172
  solvedBy?: string | undefined;
@@ -39,7 +39,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
39
39
  profileId: import("zod").ZodString;
40
40
  isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
41
41
  isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
42
- solvedAt: import("zod").ZodNullable<import("zod").ZodString>;
42
+ solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
43
43
  solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
44
44
  created_at: import("zod").ZodString;
45
45
  updated_at: import("zod").ZodString;
@@ -52,7 +52,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
52
52
  createdBy: string;
53
53
  profileId: string;
54
54
  isSolved: boolean;
55
- solvedAt: string | null;
55
+ solvedAt: Date | null;
56
56
  solvedBy?: string | undefined;
57
57
  }, {
58
58
  id: string;
@@ -61,7 +61,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
61
61
  updated_at: string;
62
62
  createdBy: string;
63
63
  profileId: string;
64
- solvedAt: string | null;
64
+ solvedAt: Date | null;
65
65
  isSolvable?: boolean | undefined;
66
66
  isSolved?: boolean | undefined;
67
67
  solvedBy?: string | undefined;
@@ -1,9 +1,9 @@
1
1
  export * from './account/exports';
2
2
  export * from './auth/exports';
3
- export * from './cannedResponse/exports';
4
3
  export * from './comment/exports';
5
4
  export * from './event-folder/exports';
6
5
  export * from './event/exports';
6
+ export * from './location/exports';
7
7
  export * from './profile/exports';
8
8
  export * from './tag-group/exports';
9
9
  export * from './tag/exports';
@@ -16,10 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./account/exports"), exports);
18
18
  __exportStar(require("./auth/exports"), exports);
19
- __exportStar(require("./cannedResponse/exports"), exports);
20
19
  __exportStar(require("./comment/exports"), exports);
21
20
  __exportStar(require("./event-folder/exports"), exports);
22
21
  __exportStar(require("./event/exports"), exports);
22
+ __exportStar(require("./location/exports"), exports);
23
23
  __exportStar(require("./profile/exports"), exports);
24
24
  __exportStar(require("./tag-group/exports"), exports);
25
25
  __exportStar(require("./tag/exports"), exports);
@@ -112,17 +112,15 @@ declare const _default: {
112
112
  readonly invalid: "La URL de la imagen de perfil no es válida";
113
113
  };
114
114
  };
115
- readonly cannedResponse: {
115
+ readonly location: {
116
116
  readonly id: {
117
117
  readonly uuid: "El ID debe ser un UUID";
118
118
  };
119
- readonly name: {
120
- readonly required: "El nombre es requerido";
121
- readonly min: "El nombre debe tener al menos 1 caracter";
119
+ readonly latitude: {
120
+ readonly minmax: "La latitud debe estar entre -90 y 90";
122
121
  };
123
- readonly content: {
124
- readonly required: "El contenido es requerido";
125
- readonly min: "El contenido debe tener al menos 1 caracter";
122
+ readonly longitude: {
123
+ readonly minmax: "La longitud debe estar entre -180 y 180";
126
124
  };
127
125
  };
128
126
  };
@@ -218,22 +216,12 @@ declare const _default: {
218
216
  readonly conflict: "El comentario no es resoluble";
219
217
  };
220
218
  };
221
- readonly cannedResponse: {
222
- readonly create: {
223
- readonly success: "Respuesta enlatada creada con éxito";
224
- readonly conflict: "Error en la creacion de la respuesta";
225
- };
226
- readonly 'get-all': {
227
- readonly success: "Respuestas enlatadas obtenidas con éxito";
228
- readonly 'not-found': "No se encontraron respuestas enlatadas";
229
- };
230
- readonly update: {
231
- readonly success: "Respuesta enlatada actualizada con éxito";
232
- readonly 'not-found': "Respuesta enlatada no encontrada";
219
+ readonly location: {
220
+ readonly 'find-all': {
221
+ readonly success: "Ubicaciones obtenidas";
233
222
  };
234
- readonly delete: {
235
- readonly success: "Respuesta enlatada eliminada con éxito";
236
- readonly 'not-found': "Respuesta enlatada no encontrada";
223
+ readonly 'find-cities-by-province': {
224
+ readonly success: "Localidades de Argentina obtenidas";
237
225
  };
238
226
  };
239
227
  };
@@ -114,17 +114,15 @@ exports.default = {
114
114
  invalid: 'La URL de la imagen de perfil no es válida',
115
115
  },
116
116
  },
117
- cannedResponse: {
117
+ location: {
118
118
  id: {
119
119
  uuid: 'El ID debe ser un UUID',
120
120
  },
121
- name: {
122
- required: 'El nombre es requerido',
123
- min: 'El nombre debe tener al menos 1 caracter',
121
+ latitude: {
122
+ minmax: 'La latitud debe estar entre -90 y 90',
124
123
  },
125
- content: {
126
- required: 'El contenido es requerido',
127
- min: 'El contenido debe tener al menos 1 caracter',
124
+ longitude: {
125
+ minmax: 'La longitud debe estar entre -180 y 180',
128
126
  },
129
127
  },
130
128
  },
@@ -220,22 +218,12 @@ exports.default = {
220
218
  conflict: 'El comentario no es resoluble',
221
219
  },
222
220
  },
223
- cannedResponse: {
224
- create: {
225
- success: 'Respuesta enlatada creada con éxito',
226
- conflict: 'Error en la creacion de la respuesta',
227
- },
228
- 'get-all': {
229
- success: 'Respuestas enlatadas obtenidas con éxito',
230
- 'not-found': 'No se encontraron respuestas enlatadas',
231
- },
232
- update: {
233
- success: 'Respuesta enlatada actualizada con éxito',
234
- 'not-found': 'Respuesta enlatada no encontrada',
221
+ location: {
222
+ 'find-all': {
223
+ success: 'Ubicaciones obtenidas',
235
224
  },
236
- delete: {
237
- success: 'Respuesta enlatada eliminada con éxito',
238
- 'not-found': 'Respuesta enlatada no encontrada',
225
+ 'find-cities-by-province': {
226
+ success: 'Localidades de Argentina obtenidas',
239
227
  },
240
228
  },
241
229
  },
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAAE,6CAA6C;aACnD;YACD,UAAU,EAAE;gBACV,QAAQ,EAAE,4CAA4C;aACvD;SACF;QACD,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,QAAQ,EAAE,oBAAoB;gBAC9B,IAAI,EAAE,wBAAwB;aAC/B;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,m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BAAoB,EAAE;gBACpB,OAAO,EAAE,+BAA+B;aACzC;YACD,sBAAsB,EAAE;gBACtB,OAAO,EAAE,kCAAkC;aAC5C;SACF;QACD,WAAW,EAAE;YACX,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;aAC/C;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,+BAA+B;aACzC;YACD,oBAAoB,EAAE;gBACpB,OAAO,EAAE,qBAAqB;aAC/B;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,gCAAgC;gBACzC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,kCAAkC;aAChD;SACF;QACD,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,sBAAsB;aACpC;YACD,gBAAgB,EAAE;gBAChB,OAAO,EAAE,uBAAuB;gBAChC,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,kDAAkD;gBAC3D,WAAW,EAAE,0BAA0B;gBACvC,QAAQ,EAAE,+BAA+B;aAC1C;SACF;QACD,cAAc,EAAE;YACd,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;gBAC9C,QAAQ,EAAE,sCAAsC;aACjD;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,0CAA0C;gBACnD,WAAW,EAAE,wCAAwC;aACtD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,0CAA0C;gBACnD,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,wCAAwC;gBACjD,WAAW,EAAE,kCAAkC;aAChD;SACF;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe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gBAAgB,EAAE;gBAChB,OAAO,EAAE,uBAAuB;gBAChC,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,kDAAkD;gBAC3D,WAAW,EAAE,0BAA0B;gBACvC,QAAQ,EAAE,+BAA+B;aAC1C;SACF;QACD,QAAQ,EAAE;YACR,UAAU,EAAE;gBACV,OAAO,EAAE,uBAAuB;aACjC;YACD,yBAAyB,EAAE;gBACzB,OAAO,EAAE,oCAAoC;aAC9C;SACF;KACF;CACO,CAAC"}
@@ -0,0 +1,130 @@
1
+ import z from 'zod';
2
+ export type ArgCity = {
3
+ id: string;
4
+ nombre: string;
5
+ fuente: string;
6
+ provincia: {
7
+ id: string;
8
+ nombre: string;
9
+ };
10
+ departamento: {
11
+ id: string;
12
+ nombre: string;
13
+ };
14
+ municipio: {
15
+ id: string;
16
+ nombre: string;
17
+ };
18
+ localidad_censal: {
19
+ id: string;
20
+ nombre: string;
21
+ };
22
+ categoria: string;
23
+ centroide: {
24
+ lon: number;
25
+ lat: number;
26
+ };
27
+ };
28
+ export declare const argCitySchema: z.ZodObject<{
29
+ id: z.ZodString;
30
+ name: z.ZodString;
31
+ province: z.ZodObject<{
32
+ id: z.ZodString;
33
+ name: z.ZodString;
34
+ }, "strip", z.ZodTypeAny, {
35
+ id: string;
36
+ name: string;
37
+ }, {
38
+ id: string;
39
+ name: string;
40
+ }>;
41
+ department: z.ZodObject<{
42
+ id: z.ZodString;
43
+ name: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ id: string;
46
+ name: string;
47
+ }, {
48
+ id: string;
49
+ name: string;
50
+ }>;
51
+ municipality: z.ZodObject<{
52
+ id: z.ZodString;
53
+ name: z.ZodString;
54
+ }, "strip", z.ZodTypeAny, {
55
+ id: string;
56
+ name: string;
57
+ }, {
58
+ id: string;
59
+ name: string;
60
+ }>;
61
+ censusLocality: z.ZodObject<{
62
+ id: z.ZodString;
63
+ name: z.ZodString;
64
+ }, "strip", z.ZodTypeAny, {
65
+ id: string;
66
+ name: string;
67
+ }, {
68
+ id: string;
69
+ name: string;
70
+ }>;
71
+ category: z.ZodString;
72
+ centroid: z.ZodObject<{
73
+ lon: z.ZodNumber;
74
+ lat: z.ZodNumber;
75
+ }, "strip", z.ZodTypeAny, {
76
+ lon: number;
77
+ lat: number;
78
+ }, {
79
+ lon: number;
80
+ lat: number;
81
+ }>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ id: string;
84
+ name: string;
85
+ province: {
86
+ id: string;
87
+ name: string;
88
+ };
89
+ department: {
90
+ id: string;
91
+ name: string;
92
+ };
93
+ municipality: {
94
+ id: string;
95
+ name: string;
96
+ };
97
+ censusLocality: {
98
+ id: string;
99
+ name: string;
100
+ };
101
+ category: string;
102
+ centroid: {
103
+ lon: number;
104
+ lat: number;
105
+ };
106
+ }, {
107
+ id: string;
108
+ name: string;
109
+ province: {
110
+ id: string;
111
+ name: string;
112
+ };
113
+ department: {
114
+ id: string;
115
+ name: string;
116
+ };
117
+ municipality: {
118
+ id: string;
119
+ name: string;
120
+ };
121
+ censusLocality: {
122
+ id: string;
123
+ name: string;
124
+ };
125
+ category: string;
126
+ centroid: {
127
+ lon: number;
128
+ lat: number;
129
+ };
130
+ }>;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.argCitySchema = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ exports.argCitySchema = zod_1.default.object({
9
+ id: zod_1.default.string(),
10
+ name: zod_1.default.string(),
11
+ province: zod_1.default.object({
12
+ id: zod_1.default.string(),
13
+ name: zod_1.default.string(),
14
+ }),
15
+ department: zod_1.default.object({
16
+ id: zod_1.default.string(),
17
+ name: zod_1.default.string(),
18
+ }),
19
+ municipality: zod_1.default.object({
20
+ id: zod_1.default.string(),
21
+ name: zod_1.default.string(),
22
+ }),
23
+ censusLocality: zod_1.default.object({
24
+ id: zod_1.default.string(),
25
+ name: zod_1.default.string(),
26
+ }),
27
+ category: zod_1.default.string(),
28
+ centroid: zod_1.default.object({
29
+ lon: zod_1.default.number(),
30
+ lat: zod_1.default.number(),
31
+ }),
32
+ });
33
+ //# sourceMappingURL=arg-city.dto.js.map
@@ -0,0 +1,192 @@
1
+ import z from 'zod';
2
+ export declare const findAllLocationResponseSchema: z.ZodObject<{
3
+ birthLocations: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
4
+ id: z.ZodString;
5
+ latitude: z.ZodNumber;
6
+ longitude: z.ZodNumber;
7
+ country: z.ZodString;
8
+ province: z.ZodString;
9
+ city: z.ZodString;
10
+ created_at: z.ZodDate;
11
+ updated_at: z.ZodDate;
12
+ }, "latitude" | "longitude" | "city">, {
13
+ _count: z.ZodObject<{
14
+ birthProfiles: z.ZodNumber;
15
+ }, "strip", z.ZodTypeAny, {
16
+ birthProfiles: number;
17
+ }, {
18
+ birthProfiles: number;
19
+ }>;
20
+ }>, "strip", z.ZodTypeAny, {
21
+ latitude: number;
22
+ longitude: number;
23
+ _count: {
24
+ birthProfiles: number;
25
+ };
26
+ city: string;
27
+ }, {
28
+ latitude: number;
29
+ longitude: number;
30
+ _count: {
31
+ birthProfiles: number;
32
+ };
33
+ city: string;
34
+ }>, "many">;
35
+ residenceLocations: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
36
+ id: z.ZodString;
37
+ latitude: z.ZodNumber;
38
+ longitude: z.ZodNumber;
39
+ country: z.ZodString;
40
+ province: z.ZodString;
41
+ city: z.ZodString;
42
+ created_at: z.ZodDate;
43
+ updated_at: z.ZodDate;
44
+ }, "latitude" | "longitude" | "city">, {
45
+ _count: z.ZodObject<{
46
+ residenceProfiles: z.ZodNumber;
47
+ }, "strip", z.ZodTypeAny, {
48
+ residenceProfiles: number;
49
+ }, {
50
+ residenceProfiles: number;
51
+ }>;
52
+ }>, "strip", z.ZodTypeAny, {
53
+ latitude: number;
54
+ longitude: number;
55
+ _count: {
56
+ residenceProfiles: number;
57
+ };
58
+ city: string;
59
+ }, {
60
+ latitude: number;
61
+ longitude: number;
62
+ _count: {
63
+ residenceProfiles: number;
64
+ };
65
+ city: string;
66
+ }>, "many">;
67
+ }, "strip", z.ZodTypeAny, {
68
+ birthLocations: {
69
+ latitude: number;
70
+ longitude: number;
71
+ _count: {
72
+ birthProfiles: number;
73
+ };
74
+ city: string;
75
+ }[];
76
+ residenceLocations: {
77
+ latitude: number;
78
+ longitude: number;
79
+ _count: {
80
+ residenceProfiles: number;
81
+ };
82
+ city: string;
83
+ }[];
84
+ }, {
85
+ birthLocations: {
86
+ latitude: number;
87
+ longitude: number;
88
+ _count: {
89
+ birthProfiles: number;
90
+ };
91
+ city: string;
92
+ }[];
93
+ residenceLocations: {
94
+ latitude: number;
95
+ longitude: number;
96
+ _count: {
97
+ residenceProfiles: number;
98
+ };
99
+ city: string;
100
+ }[];
101
+ }>;
102
+ declare const FindAllLocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
103
+ birthLocations: z.ZodArray<z.ZodObject<{
104
+ latitude: z.ZodNumber;
105
+ longitude: z.ZodNumber;
106
+ city: z.ZodString;
107
+ _count: z.ZodObject<{
108
+ birthProfiles: z.ZodNumber;
109
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
110
+ birthProfiles: number;
111
+ }, {
112
+ birthProfiles: number;
113
+ }>;
114
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
115
+ latitude: number;
116
+ longitude: number;
117
+ _count: {
118
+ birthProfiles: number;
119
+ };
120
+ city: string;
121
+ }, {
122
+ latitude: number;
123
+ longitude: number;
124
+ _count: {
125
+ birthProfiles: number;
126
+ };
127
+ city: string;
128
+ }>, "many">;
129
+ residenceLocations: z.ZodArray<z.ZodObject<{
130
+ latitude: z.ZodNumber;
131
+ longitude: z.ZodNumber;
132
+ city: z.ZodString;
133
+ _count: z.ZodObject<{
134
+ residenceProfiles: z.ZodNumber;
135
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
136
+ residenceProfiles: number;
137
+ }, {
138
+ residenceProfiles: number;
139
+ }>;
140
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
141
+ latitude: number;
142
+ longitude: number;
143
+ _count: {
144
+ residenceProfiles: number;
145
+ };
146
+ city: string;
147
+ }, {
148
+ latitude: number;
149
+ longitude: number;
150
+ _count: {
151
+ residenceProfiles: number;
152
+ };
153
+ city: string;
154
+ }>, "many">;
155
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
156
+ birthLocations: {
157
+ latitude: number;
158
+ longitude: number;
159
+ _count: {
160
+ birthProfiles: number;
161
+ };
162
+ city: string;
163
+ }[];
164
+ residenceLocations: {
165
+ latitude: number;
166
+ longitude: number;
167
+ _count: {
168
+ residenceProfiles: number;
169
+ };
170
+ city: string;
171
+ }[];
172
+ }, {
173
+ birthLocations: {
174
+ latitude: number;
175
+ longitude: number;
176
+ _count: {
177
+ birthProfiles: number;
178
+ };
179
+ city: string;
180
+ }[];
181
+ residenceLocations: {
182
+ latitude: number;
183
+ longitude: number;
184
+ _count: {
185
+ residenceProfiles: number;
186
+ };
187
+ city: string;
188
+ }[];
189
+ }>>;
190
+ export declare class FindAllLocationResponseDto extends FindAllLocationResponseDto_base {
191
+ }
192
+ export {};
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FindAllLocationResponseDto = exports.findAllLocationResponseSchema = void 0;
7
+ const location_dto_1 = require("./location.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ function locationPickedSchema() {
11
+ return location_dto_1.locationSchema.pick({
12
+ city: true,
13
+ longitude: true,
14
+ latitude: true,
15
+ });
16
+ }
17
+ exports.findAllLocationResponseSchema = zod_1.default.object({
18
+ birthLocations: zod_1.default.array(locationPickedSchema().merge(zod_1.default.object({
19
+ _count: zod_1.default.object({
20
+ birthProfiles: zod_1.default.number(),
21
+ }),
22
+ }))),
23
+ residenceLocations: zod_1.default.array(locationPickedSchema().merge(zod_1.default.object({
24
+ _count: zod_1.default.object({
25
+ residenceProfiles: zod_1.default.number(),
26
+ }),
27
+ }))),
28
+ });
29
+ class FindAllLocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllLocationResponseSchema) {
30
+ }
31
+ exports.FindAllLocationResponseDto = FindAllLocationResponseDto;
32
+ //# sourceMappingURL=find-all-location.dto.js.map