expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.10 → 0.5.0-EXPO-286-EB-Location.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/comment/dto/comment.dto.d.ts +3 -3
- package/dist/src/comment/dto/create-comment.dto.d.ts +3 -3
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +5 -5
- package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +3 -3
- package/dist/src/exports.d.ts +1 -1
- package/dist/src/exports.js +1 -1
- package/dist/src/i18n/es.d.ts +19 -20
- package/dist/src/i18n/es.js +19 -20
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/arg-city.dto.d.ts +130 -0
- package/dist/src/location/dto/arg-city.dto.js +33 -0
- package/dist/src/location/dto/find-all-countries.dto.d.ts +48 -0
- package/dist/src/location/dto/find-all-countries.dto.js +18 -0
- package/dist/src/location/dto/find-all-location.dto.d.ts +192 -0
- package/dist/src/location/dto/find-all-location.dto.js +32 -0
- package/dist/src/location/dto/find-cities-by-province.dto.d.ts +141 -0
- package/dist/src/location/dto/find-cities-by-province.dto.js +20 -0
- package/dist/src/location/dto/find-provinces.dto.d.ts +18 -0
- package/dist/src/location/dto/find-provinces.dto.js +15 -0
- package/dist/src/location/dto/location.dto.d.ts +29 -0
- package/dist/src/location/dto/location.dto.js +35 -0
- package/dist/src/location/dto/states-by-country.dto.d.ts +88 -0
- package/dist/src/location/dto/states-by-country.dto.js +22 -0
- package/dist/src/location/exports.d.ts +7 -0
- package/dist/src/{cannedResponse → location}/exports.js +7 -5
- package/dist/src/profile/dto/profile.dto.d.ts +6 -12
- package/dist/src/profile/dto/profile.dto.js +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -2
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +30 -50
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +30 -50
- package/dist/types/prisma-schema/edge.js +6 -7
- package/dist/types/prisma-schema/index-browser.js +3 -4
- package/dist/types/prisma-schema/index.d.ts +113 -242
- package/dist/types/prisma-schema/index.js +6 -7
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +5 -7
- package/dist/types/prisma-schema/wasm.js +3 -4
- package/dist/types/schema.d.ts +101 -80
- package/package.json +2 -4
- package/dist/src/cannedResponse/dto/cannedResponse.dto.d.ts +0 -42
- package/dist/src/cannedResponse/dto/cannedResponse.dto.js +0 -23
- package/dist/src/cannedResponse/dto/create-cannedResponse.dto.d.ts +0 -66
- package/dist/src/cannedResponse/dto/create-cannedResponse.dto.js +0 -17
- package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.d.ts +0 -41
- package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.js +0 -10
- package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.d.ts +0 -78
- package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.js +0 -16
- package/dist/src/cannedResponse/dto/update-cannedResponse.dto.d.ts +0 -66
- package/dist/src/cannedResponse/dto/update-cannedResponse.dto.js +0 -17
- 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.
|
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:
|
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:
|
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").
|
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:
|
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:
|
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.
|
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:
|
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:
|
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:
|
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:
|
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").
|
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:
|
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:
|
64
|
+
solvedAt: Date | null;
|
65
65
|
isSolvable?: boolean | undefined;
|
66
66
|
isSolved?: boolean | undefined;
|
67
67
|
solvedBy?: string | undefined;
|
package/dist/src/exports.d.ts
CHANGED
@@ -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';
|
package/dist/src/exports.js
CHANGED
@@ -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);
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -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
|
115
|
+
readonly location: {
|
116
116
|
readonly id: {
|
117
117
|
readonly uuid: "El ID debe ser un UUID";
|
118
118
|
};
|
119
|
-
readonly
|
120
|
-
readonly
|
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
|
124
|
-
readonly
|
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,23 @@ declare const _default: {
|
|
218
216
|
readonly conflict: "El comentario no es resoluble";
|
219
217
|
};
|
220
218
|
};
|
221
|
-
readonly
|
222
|
-
readonly
|
223
|
-
readonly success: "
|
224
|
-
readonly conflict: "Error en la creacion de la respuesta";
|
219
|
+
readonly location: {
|
220
|
+
readonly 'find-all': {
|
221
|
+
readonly success: "Ubicaciones obtenidas";
|
225
222
|
};
|
226
|
-
readonly '
|
227
|
-
readonly success: "
|
228
|
-
readonly 'not-found': "No se encontraron respuestas enlatadas";
|
223
|
+
readonly 'find-cities-by-province': {
|
224
|
+
readonly success: "Localidades de Argentina obtenidas";
|
229
225
|
};
|
230
|
-
readonly
|
231
|
-
readonly success: "
|
232
|
-
readonly 'not-found': "Respuesta enlatada no encontrada";
|
226
|
+
readonly provinces: {
|
227
|
+
readonly success: "Provincias de Argentina obtenidas";
|
233
228
|
};
|
234
|
-
readonly
|
235
|
-
readonly success: "
|
236
|
-
|
229
|
+
readonly 'all-countries': {
|
230
|
+
readonly success: "Países obtenidos";
|
231
|
+
};
|
232
|
+
readonly 'states-by-country': {
|
233
|
+
readonly success: "Estados obtenidos";
|
234
|
+
readonly 'not-found-error': "No se encontraron estados para el país {{countryCode}}";
|
235
|
+
readonly 'not-found': "País no encontrado";
|
237
236
|
};
|
238
237
|
};
|
239
238
|
};
|
package/dist/src/i18n/es.js
CHANGED
@@ -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
|
-
|
117
|
+
location: {
|
118
118
|
id: {
|
119
119
|
uuid: 'El ID debe ser un UUID',
|
120
120
|
},
|
121
|
-
|
122
|
-
|
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
|
-
|
126
|
-
|
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,23 @@ exports.default = {
|
|
220
218
|
conflict: 'El comentario no es resoluble',
|
221
219
|
},
|
222
220
|
},
|
223
|
-
|
224
|
-
|
225
|
-
success: '
|
226
|
-
conflict: 'Error en la creacion de la respuesta',
|
221
|
+
location: {
|
222
|
+
'find-all': {
|
223
|
+
success: 'Ubicaciones obtenidas',
|
227
224
|
},
|
228
|
-
'
|
229
|
-
success: '
|
230
|
-
'not-found': 'No se encontraron respuestas enlatadas',
|
225
|
+
'find-cities-by-province': {
|
226
|
+
success: 'Localidades de Argentina obtenidas',
|
231
227
|
},
|
232
|
-
|
233
|
-
success: '
|
234
|
-
'not-found': 'Respuesta enlatada no encontrada',
|
228
|
+
provinces: {
|
229
|
+
success: 'Provincias de Argentina obtenidas',
|
235
230
|
},
|
236
|
-
|
237
|
-
success: '
|
238
|
-
|
231
|
+
'all-countries': {
|
232
|
+
success: 'Países obtenidos',
|
233
|
+
},
|
234
|
+
'states-by-country': {
|
235
|
+
success: 'Estados obtenidos',
|
236
|
+
'not-found-error': `No se encontraron estados para el país \{\{countryCode\}\}`,
|
237
|
+
'not-found': 'País no encontrado',
|
239
238
|
},
|
240
239
|
},
|
241
240
|
},
|
package/dist/src/i18n/es.js.map
CHANGED
@@ -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;gBAC9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ACD,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,QAAQ,EAAE;YACR,UAAU,EAAE;gBACV,OAAO,EAAE,uBAAuB;aACjC;YACD,yBAAyB,EAAE;gBACzB,OAAO,EAAE,oCAAoC;aAC9C;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,mCAAmC;aAC7C;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,kBAAkB;aAC5B;YACD,mBAAmB,EAAE;gBACnB,OAAO,EAAE,mBAAmB;gBAC5B,iBAAiB,EAAE,4DAA4D;gBAC/E,WAAW,EAAE,oBAAoB;aAClC;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,48 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const findAllCountriesResponseSchema: z.ZodObject<{
|
3
|
+
countries: z.ZodArray<z.ZodObject<{
|
4
|
+
name: z.ZodString;
|
5
|
+
isoCode: z.ZodString;
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
7
|
+
name: string;
|
8
|
+
isoCode: string;
|
9
|
+
}, {
|
10
|
+
name: string;
|
11
|
+
isoCode: string;
|
12
|
+
}>, "many">;
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
14
|
+
countries: {
|
15
|
+
name: string;
|
16
|
+
isoCode: string;
|
17
|
+
}[];
|
18
|
+
}, {
|
19
|
+
countries: {
|
20
|
+
name: string;
|
21
|
+
isoCode: string;
|
22
|
+
}[];
|
23
|
+
}>;
|
24
|
+
declare const FindAllCountriesResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
25
|
+
countries: z.ZodArray<z.ZodObject<{
|
26
|
+
name: z.ZodString;
|
27
|
+
isoCode: z.ZodString;
|
28
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
29
|
+
name: string;
|
30
|
+
isoCode: string;
|
31
|
+
}, {
|
32
|
+
name: string;
|
33
|
+
isoCode: string;
|
34
|
+
}>, "many">;
|
35
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
36
|
+
countries: {
|
37
|
+
name: string;
|
38
|
+
isoCode: string;
|
39
|
+
}[];
|
40
|
+
}, {
|
41
|
+
countries: {
|
42
|
+
name: string;
|
43
|
+
isoCode: string;
|
44
|
+
}[];
|
45
|
+
}>>;
|
46
|
+
export declare class FindAllCountriesResponseDto extends FindAllCountriesResponseDto_base {
|
47
|
+
}
|
48
|
+
export {};
|
@@ -0,0 +1,18 @@
|
|
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.FindAllCountriesResponseDto = exports.findAllCountriesResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
exports.findAllCountriesResponseSchema = zod_1.default.object({
|
10
|
+
countries: zod_1.default.array(zod_1.default.object({
|
11
|
+
name: zod_1.default.string(),
|
12
|
+
isoCode: zod_1.default.string(),
|
13
|
+
})),
|
14
|
+
});
|
15
|
+
class FindAllCountriesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllCountriesResponseSchema) {
|
16
|
+
}
|
17
|
+
exports.FindAllCountriesResponseDto = FindAllCountriesResponseDto;
|
18
|
+
//# sourceMappingURL=find-all-countries.dto.js.map
|