expo-backend-types 0.6.0 → 0.7.0-EXPO-287-EB-CarpetaEvento.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/dto/event.dto.d.ts +9 -9
- package/dist/src/event/dto/event.dto.js +5 -7
- package/dist/src/event-folder/dto/create-event-folder.dto.d.ts +66 -0
- package/dist/src/event-folder/dto/create-event-folder.dto.js +17 -0
- package/dist/src/event-folder/dto/delete-event-folder.dto.d.ts +41 -0
- package/dist/src/event-folder/dto/delete-event-folder.dto.js +10 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +2 -2
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +243 -0
- package/dist/src/event-folder/dto/get-all-event-folder.dto.js +19 -0
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +159 -0
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.js +17 -0
- package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +63 -0
- package/dist/src/event-folder/dto/update-event-folder.dto.js +19 -0
- package/dist/src/event-folder/exports.d.ts +5 -0
- package/dist/src/event-folder/exports.js +5 -0
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +54 -1
- package/dist/src/i18n/es.js +54 -1
- 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 +182 -0
- package/dist/src/location/dto/find-all-location.dto.js +32 -0
- package/dist/src/location/dto/find-arg-states.dto.d.ts +18 -0
- package/dist/src/location/dto/find-arg-states.dto.js +15 -0
- package/dist/src/location/dto/find-cities-by-arg-state.dto.d.ts +141 -0
- package/dist/src/location/dto/find-cities-by-arg-state.dto.js +20 -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/location/exports.js +24 -0
- package/dist/src/profile/dto/profile.dto.d.ts +6 -12
- package/dist/src/profile/dto/profile.dto.js +2 -4
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -40
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -40
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/prisma-schema/edge.js +7 -8
- package/dist/types/prisma-schema/index-browser.js +4 -5
- package/dist/types/prisma-schema/index.d.ts +148 -277
- package/dist/types/prisma-schema/index.js +7 -8
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +6 -8
- package/dist/types/prisma-schema/wasm.js +4 -5
- package/dist/types/schema.d.ts +246 -8
- package/package.json +2 -4
@@ -0,0 +1,63 @@
|
|
1
|
+
export declare const updateEventFolderSchema: import("zod").ZodObject<{
|
2
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
3
|
+
color: import("zod").ZodOptional<import("zod").ZodString>;
|
4
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5
|
+
name?: string | undefined;
|
6
|
+
color?: string | undefined;
|
7
|
+
}, {
|
8
|
+
name?: string | undefined;
|
9
|
+
color?: string | undefined;
|
10
|
+
}>;
|
11
|
+
declare const UpdateEventFolderDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
12
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
13
|
+
color: import("zod").ZodOptional<import("zod").ZodString>;
|
14
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
15
|
+
name?: string | undefined;
|
16
|
+
color?: string | undefined;
|
17
|
+
}, {
|
18
|
+
name?: string | undefined;
|
19
|
+
color?: string | undefined;
|
20
|
+
}>>;
|
21
|
+
export declare class UpdateEventFolderDto extends UpdateEventFolderDto_base {
|
22
|
+
}
|
23
|
+
export declare const updateEventFolderResponseSchema: import("zod").ZodObject<{
|
24
|
+
id: import("zod").ZodString;
|
25
|
+
name: import("zod").ZodString;
|
26
|
+
color: import("zod").ZodString;
|
27
|
+
created_at: import("zod").ZodDate;
|
28
|
+
updated_at: import("zod").ZodDate;
|
29
|
+
}, "strip", import("zod").ZodTypeAny, {
|
30
|
+
id: string;
|
31
|
+
name: string;
|
32
|
+
color: string;
|
33
|
+
created_at: Date;
|
34
|
+
updated_at: Date;
|
35
|
+
}, {
|
36
|
+
id: string;
|
37
|
+
name: string;
|
38
|
+
color: string;
|
39
|
+
created_at: Date;
|
40
|
+
updated_at: Date;
|
41
|
+
}>;
|
42
|
+
declare const UpdateEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
43
|
+
id: import("zod").ZodString;
|
44
|
+
name: import("zod").ZodString;
|
45
|
+
color: import("zod").ZodString;
|
46
|
+
created_at: import("zod").ZodString;
|
47
|
+
updated_at: import("zod").ZodString;
|
48
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
49
|
+
id: string;
|
50
|
+
name: string;
|
51
|
+
color: string;
|
52
|
+
created_at: string;
|
53
|
+
updated_at: string;
|
54
|
+
}, {
|
55
|
+
id: string;
|
56
|
+
name: string;
|
57
|
+
color: string;
|
58
|
+
created_at: string;
|
59
|
+
updated_at: string;
|
60
|
+
}>>;
|
61
|
+
export declare class UpdateEventFolderResponseDto extends UpdateEventFolderResponseDto_base {
|
62
|
+
}
|
63
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateEventFolderResponseDto = exports.updateEventFolderResponseSchema = exports.UpdateEventFolderDto = exports.updateEventFolderSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const event_folder_dto_1 = require("./event-folder.dto");
|
6
|
+
exports.updateEventFolderSchema = event_folder_dto_1.eventFolderSchema
|
7
|
+
.pick({
|
8
|
+
name: true,
|
9
|
+
color: true,
|
10
|
+
})
|
11
|
+
.partial();
|
12
|
+
class UpdateEventFolderDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventFolderSchema) {
|
13
|
+
}
|
14
|
+
exports.UpdateEventFolderDto = UpdateEventFolderDto;
|
15
|
+
exports.updateEventFolderResponseSchema = event_folder_dto_1.eventFolderSchema;
|
16
|
+
class UpdateEventFolderResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventFolderResponseSchema) {
|
17
|
+
}
|
18
|
+
exports.UpdateEventFolderResponseDto = UpdateEventFolderResponseDto;
|
19
|
+
//# sourceMappingURL=update-event-folder.dto.js.map
|
@@ -1 +1,6 @@
|
|
1
|
+
export * from './dto/create-event-folder.dto';
|
2
|
+
export * from './dto/delete-event-folder.dto';
|
1
3
|
export * from './dto/event-folder.dto';
|
4
|
+
export * from './dto/get-all-event-folder.dto';
|
5
|
+
export * from './dto/get-by-id-event-folder.dto';
|
6
|
+
export * from './dto/update-event-folder.dto';
|
@@ -14,5 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/create-event-folder.dto"), exports);
|
18
|
+
__exportStar(require("./dto/delete-event-folder.dto"), exports);
|
17
19
|
__exportStar(require("./dto/event-folder.dto"), exports);
|
20
|
+
__exportStar(require("./dto/get-all-event-folder.dto"), exports);
|
21
|
+
__exportStar(require("./dto/get-by-id-event-folder.dto"), exports);
|
22
|
+
__exportStar(require("./dto/update-event-folder.dto"), exports);
|
18
23
|
//# sourceMappingURL=exports.js.map
|
package/dist/src/exports.d.ts
CHANGED
@@ -4,6 +4,7 @@ export * from './canned-response/exports';
|
|
4
4
|
export * from './comment/exports';
|
5
5
|
export * from './event-folder/exports';
|
6
6
|
export * from './event/exports';
|
7
|
+
export * from './location/exports';
|
7
8
|
export * from './profile/exports';
|
8
9
|
export * from './tag-group/exports';
|
9
10
|
export * from './tag/exports';
|
package/dist/src/exports.js
CHANGED
@@ -20,6 +20,7 @@ __exportStar(require("./canned-response/exports"), exports);
|
|
20
20
|
__exportStar(require("./comment/exports"), exports);
|
21
21
|
__exportStar(require("./event-folder/exports"), exports);
|
22
22
|
__exportStar(require("./event/exports"), exports);
|
23
|
+
__exportStar(require("./location/exports"), exports);
|
23
24
|
__exportStar(require("./profile/exports"), exports);
|
24
25
|
__exportStar(require("./tag-group/exports"), exports);
|
25
26
|
__exportStar(require("./tag/exports"), exports);
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -86,7 +86,7 @@ declare const _default: {
|
|
86
86
|
readonly invalid: "El color debe tener el formato hexadecimal (#ABCDEF)";
|
87
87
|
};
|
88
88
|
};
|
89
|
-
readonly
|
89
|
+
readonly 'event-folder': {
|
90
90
|
readonly id: {
|
91
91
|
readonly uuid: "El ID debe ser un UUID";
|
92
92
|
};
|
@@ -112,6 +112,17 @@ declare const _default: {
|
|
112
112
|
readonly invalid: "La URL de la imagen de perfil no es válida";
|
113
113
|
};
|
114
114
|
};
|
115
|
+
readonly location: {
|
116
|
+
readonly id: {
|
117
|
+
readonly uuid: "El ID debe ser un UUID";
|
118
|
+
};
|
119
|
+
readonly latitude: {
|
120
|
+
readonly minmax: "La latitud debe estar entre -90 y 90";
|
121
|
+
};
|
122
|
+
readonly longitude: {
|
123
|
+
readonly minmax: "La longitud debe estar entre -180 y 180";
|
124
|
+
};
|
125
|
+
};
|
115
126
|
readonly 'canned-response': {
|
116
127
|
readonly id: {
|
117
128
|
readonly uuid: "El ID debe ser un UUID";
|
@@ -218,6 +229,26 @@ declare const _default: {
|
|
218
229
|
readonly conflict: "El comentario no es resoluble";
|
219
230
|
};
|
220
231
|
};
|
232
|
+
readonly location: {
|
233
|
+
readonly 'find-all': {
|
234
|
+
readonly success: "Ubicaciones obtenidas";
|
235
|
+
};
|
236
|
+
readonly 'find-cities-by-arg-state': {
|
237
|
+
readonly success: "Localidades de Argentina obtenidas";
|
238
|
+
readonly 'not-found': "Provincia \"{{argState}}\" no encontrada";
|
239
|
+
};
|
240
|
+
readonly 'arg-states': {
|
241
|
+
readonly success: "Provincias de Argentina obtenidas";
|
242
|
+
};
|
243
|
+
readonly 'all-countries': {
|
244
|
+
readonly success: "Países obtenidos";
|
245
|
+
};
|
246
|
+
readonly 'states-by-country': {
|
247
|
+
readonly success: "Estados obtenidos";
|
248
|
+
readonly 'not-found-error': "No se encontraron estados para el país {{countryCode}}";
|
249
|
+
readonly 'not-found': "País no encontrado";
|
250
|
+
};
|
251
|
+
};
|
221
252
|
readonly 'canned-response': {
|
222
253
|
readonly create: {
|
223
254
|
readonly success: "Respuesta enlatada creada con éxito";
|
@@ -236,6 +267,28 @@ declare const _default: {
|
|
236
267
|
readonly 'not-found': "Respuesta enlatada no encontrada";
|
237
268
|
};
|
238
269
|
};
|
270
|
+
readonly 'event-folder': {
|
271
|
+
readonly create: {
|
272
|
+
readonly success: "Carpeta de evento creada con éxito";
|
273
|
+
readonly conflict: "Error en la creación de la carpeta de evento";
|
274
|
+
};
|
275
|
+
readonly 'get-all': {
|
276
|
+
readonly success: "Carpetas de evento obtenidas con éxito";
|
277
|
+
readonly 'not-found': "No se encontraron carpetas de evento";
|
278
|
+
};
|
279
|
+
readonly 'get-by-id': {
|
280
|
+
readonly success: "Carpeta de evento obtenida con éxito";
|
281
|
+
readonly 'not-found': "Carpeta de evento no encontrada";
|
282
|
+
};
|
283
|
+
readonly update: {
|
284
|
+
readonly success: "Carpeta de evento actualizada con éxito";
|
285
|
+
readonly 'not-found': "Carpeta de evento no encontrada";
|
286
|
+
};
|
287
|
+
readonly delete: {
|
288
|
+
readonly success: "Carpeta de evento eliminada con éxito";
|
289
|
+
readonly 'not-found': "Carpeta de evento no encontrada";
|
290
|
+
};
|
291
|
+
};
|
239
292
|
};
|
240
293
|
};
|
241
294
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -88,7 +88,7 @@ exports.default = {
|
|
88
88
|
invalid: 'El color debe tener el formato hexadecimal (#ABCDEF)',
|
89
89
|
},
|
90
90
|
},
|
91
|
-
|
91
|
+
'event-folder': {
|
92
92
|
id: {
|
93
93
|
uuid: 'El ID debe ser un UUID',
|
94
94
|
},
|
@@ -114,6 +114,17 @@ exports.default = {
|
|
114
114
|
invalid: 'La URL de la imagen de perfil no es válida',
|
115
115
|
},
|
116
116
|
},
|
117
|
+
location: {
|
118
|
+
id: {
|
119
|
+
uuid: 'El ID debe ser un UUID',
|
120
|
+
},
|
121
|
+
latitude: {
|
122
|
+
minmax: 'La latitud debe estar entre -90 y 90',
|
123
|
+
},
|
124
|
+
longitude: {
|
125
|
+
minmax: 'La longitud debe estar entre -180 y 180',
|
126
|
+
},
|
127
|
+
},
|
117
128
|
'canned-response': {
|
118
129
|
id: {
|
119
130
|
uuid: 'El ID debe ser un UUID',
|
@@ -220,6 +231,26 @@ exports.default = {
|
|
220
231
|
conflict: 'El comentario no es resoluble',
|
221
232
|
},
|
222
233
|
},
|
234
|
+
location: {
|
235
|
+
'find-all': {
|
236
|
+
success: 'Ubicaciones obtenidas',
|
237
|
+
},
|
238
|
+
'find-cities-by-arg-state': {
|
239
|
+
success: 'Localidades de Argentina obtenidas',
|
240
|
+
'not-found': `Provincia "\{\{argState\}\}" no encontrada`,
|
241
|
+
},
|
242
|
+
'arg-states': {
|
243
|
+
success: 'Provincias de Argentina obtenidas',
|
244
|
+
},
|
245
|
+
'all-countries': {
|
246
|
+
success: 'Países obtenidos',
|
247
|
+
},
|
248
|
+
'states-by-country': {
|
249
|
+
success: 'Estados obtenidos',
|
250
|
+
'not-found-error': `No se encontraron estados para el país \{\{countryCode\}\}`,
|
251
|
+
'not-found': 'País no encontrado',
|
252
|
+
},
|
253
|
+
},
|
223
254
|
'canned-response': {
|
224
255
|
create: {
|
225
256
|
success: 'Respuesta enlatada creada con éxito',
|
@@ -238,6 +269,28 @@ exports.default = {
|
|
238
269
|
'not-found': 'Respuesta enlatada no encontrada',
|
239
270
|
},
|
240
271
|
},
|
272
|
+
'event-folder': {
|
273
|
+
create: {
|
274
|
+
success: 'Carpeta de evento creada con éxito',
|
275
|
+
conflict: 'Error en la creación de la carpeta de evento',
|
276
|
+
},
|
277
|
+
'get-all': {
|
278
|
+
success: 'Carpetas de evento obtenidas con éxito',
|
279
|
+
'not-found': 'No se encontraron carpetas de evento',
|
280
|
+
},
|
281
|
+
'get-by-id': {
|
282
|
+
success: 'Carpeta de evento obtenida con éxito',
|
283
|
+
'not-found': 'Carpeta de evento no encontrada',
|
284
|
+
},
|
285
|
+
update: {
|
286
|
+
success: 'Carpeta de evento actualizada con éxito',
|
287
|
+
'not-found': 'Carpeta de evento no encontrada',
|
288
|
+
},
|
289
|
+
delete: {
|
290
|
+
success: 'Carpeta de evento eliminada con éxito',
|
291
|
+
'not-found': 'Carpeta de evento no encontrada',
|
292
|
+
},
|
293
|
+
},
|
241
294
|
},
|
242
295
|
};
|
243
296
|
//# sourceMappingURL=es.js.map
|
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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AAM,EAAE;gBACN,OAAO,EAAE,wCAAwC;gBACjD,WAAW,EAAE,kCAAkC;aAChD;SACF;QACD,cAAc,EAAE;YACd,MAAM,EAAE;gBACN,OAAO,EAAE,oCAAoC;gBAC7C,QAAQ,EAAE,8CAA8C;aACzD;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,wCAAwC;gBACjD,WAAW,EAAE,sCAAsC;aACpD;YACD,WAAW,EAAE;gBACX,OAAO,EAAE,sCAAsC;gBAC/C,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,yCAAyC;gBAClD,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,uCAAuC;gBAChD,WAAW,EAAE,iCAAiC;aAC/C;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
|
+
state: 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
|
+
state: {
|
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
|
+
state: {
|
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
|
+
state: 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
|