expo-backend-types 0.5.0-EXPO-286-EB-Location.10 → 0.5.0-EXPO-283-EB-Respuesta-Enlatada.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/cannedResponse/dto/canned-response.dto.d.ts +42 -0
- package/dist/src/cannedResponse/dto/canned-response.dto.js +23 -0
- package/dist/src/cannedResponse/dto/create-canned-response.dto.d.ts +66 -0
- package/dist/src/cannedResponse/dto/create-canned-response.dto.js +17 -0
- package/dist/src/cannedResponse/dto/delete-canned-response.dto.d.ts +41 -0
- package/dist/src/cannedResponse/dto/delete-canned-response.dto.js +10 -0
- package/dist/src/cannedResponse/dto/get-all-canned-response.dto.d.ts +78 -0
- package/dist/src/cannedResponse/dto/get-all-canned-response.dto.js +16 -0
- package/dist/src/cannedResponse/dto/update-canned-response.dto.d.ts +66 -0
- package/dist/src/cannedResponse/dto/update-canned-response.dto.js +17 -0
- package/dist/src/cannedResponse/exports.d.ts +5 -0
- package/dist/src/{location → cannedResponse}/exports.js +5 -7
- 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 +20 -19
- package/dist/src/i18n/es.js +20 -19
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/profile.dto.d.ts +12 -6
- package/dist/src/profile/dto/profile.dto.js +4 -2
- 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 +50 -30
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +50 -30
- package/dist/types/prisma-schema/edge.js +7 -6
- package/dist/types/prisma-schema/index-browser.js +4 -3
- package/dist/types/prisma-schema/index.d.ts +242 -113
- package/dist/types/prisma-schema/index.js +7 -6
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +7 -5
- package/dist/types/prisma-schema/wasm.js +4 -3
- package/dist/types/schema.d.ts +80 -101
- package/package.json +4 -2
- package/dist/src/location/dto/arg-city.dto.d.ts +0 -130
- package/dist/src/location/dto/arg-city.dto.js +0 -33
- package/dist/src/location/dto/find-all-countries.dto.d.ts +0 -48
- package/dist/src/location/dto/find-all-countries.dto.js +0 -18
- package/dist/src/location/dto/find-all-location.dto.d.ts +0 -192
- package/dist/src/location/dto/find-all-location.dto.js +0 -32
- package/dist/src/location/dto/find-cities-by-province.dto.d.ts +0 -141
- package/dist/src/location/dto/find-cities-by-province.dto.js +0 -20
- package/dist/src/location/dto/find-provinces.dto.d.ts +0 -18
- package/dist/src/location/dto/find-provinces.dto.js +0 -15
- package/dist/src/location/dto/location.dto.d.ts +0 -29
- package/dist/src/location/dto/location.dto.js +0 -35
- package/dist/src/location/dto/states-by-country.dto.d.ts +0 -88
- package/dist/src/location/dto/states-by-country.dto.js +0 -22
- package/dist/src/location/exports.d.ts +0 -7
package/dist/types/schema.d.ts
CHANGED
@@ -287,46 +287,30 @@ export interface paths {
|
|
287
287
|
patch: operations["CommentController_toggleSolveComment"];
|
288
288
|
trace?: never;
|
289
289
|
};
|
290
|
-
"/
|
290
|
+
"/cannedresponse/create": {
|
291
291
|
parameters: {
|
292
292
|
query?: never;
|
293
293
|
header?: never;
|
294
294
|
path?: never;
|
295
295
|
cookie?: never;
|
296
296
|
};
|
297
|
-
get
|
298
|
-
put?: never;
|
299
|
-
post?: never;
|
300
|
-
delete?: never;
|
301
|
-
options?: never;
|
302
|
-
head?: never;
|
303
|
-
patch?: never;
|
304
|
-
trace?: never;
|
305
|
-
};
|
306
|
-
"/location/provinces": {
|
307
|
-
parameters: {
|
308
|
-
query?: never;
|
309
|
-
header?: never;
|
310
|
-
path?: never;
|
311
|
-
cookie?: never;
|
312
|
-
};
|
313
|
-
get: operations["LocationController_findProvinces"];
|
297
|
+
get?: never;
|
314
298
|
put?: never;
|
315
|
-
post
|
299
|
+
post: operations["CannedResponseController_createCannedResponse"];
|
316
300
|
delete?: never;
|
317
301
|
options?: never;
|
318
302
|
head?: never;
|
319
303
|
patch?: never;
|
320
304
|
trace?: never;
|
321
305
|
};
|
322
|
-
"/
|
306
|
+
"/cannedresponse/all": {
|
323
307
|
parameters: {
|
324
308
|
query?: never;
|
325
309
|
header?: never;
|
326
310
|
path?: never;
|
327
311
|
cookie?: never;
|
328
312
|
};
|
329
|
-
get: operations["
|
313
|
+
get: operations["CannedResponseController_getAllCannedResponses"];
|
330
314
|
put?: never;
|
331
315
|
post?: never;
|
332
316
|
delete?: never;
|
@@ -335,33 +319,33 @@ export interface paths {
|
|
335
319
|
patch?: never;
|
336
320
|
trace?: never;
|
337
321
|
};
|
338
|
-
"/
|
322
|
+
"/cannedresponse/update/{id}": {
|
339
323
|
parameters: {
|
340
324
|
query?: never;
|
341
325
|
header?: never;
|
342
326
|
path?: never;
|
343
327
|
cookie?: never;
|
344
328
|
};
|
345
|
-
get
|
329
|
+
get?: never;
|
346
330
|
put?: never;
|
347
331
|
post?: never;
|
348
332
|
delete?: never;
|
349
333
|
options?: never;
|
350
334
|
head?: never;
|
351
|
-
patch
|
335
|
+
patch: operations["CannedResponseController_updateCannedResponse"];
|
352
336
|
trace?: never;
|
353
337
|
};
|
354
|
-
"/
|
338
|
+
"/cannedresponse/delete/{id}": {
|
355
339
|
parameters: {
|
356
340
|
query?: never;
|
357
341
|
header?: never;
|
358
342
|
path?: never;
|
359
343
|
cookie?: never;
|
360
344
|
};
|
361
|
-
get
|
345
|
+
get?: never;
|
362
346
|
put?: never;
|
363
347
|
post?: never;
|
364
|
-
delete
|
348
|
+
delete: operations["CannedResponseController_deleteCannedResponse"];
|
365
349
|
options?: never;
|
366
350
|
head?: never;
|
367
351
|
patch?: never;
|
@@ -502,8 +486,10 @@ export interface components {
|
|
502
486
|
mail: string | null;
|
503
487
|
dni: string | null;
|
504
488
|
alternativeNames: string[] | null;
|
505
|
-
|
506
|
-
|
489
|
+
birthLongitude: number | null;
|
490
|
+
birthLatitude: number | null;
|
491
|
+
residenceLongitude: number | null;
|
492
|
+
residenceLatitude: number | null;
|
507
493
|
isInTrash: boolean;
|
508
494
|
movedToTrashDate: string | null;
|
509
495
|
created_at: string;
|
@@ -529,8 +515,10 @@ export interface components {
|
|
529
515
|
mail: string | null;
|
530
516
|
dni: string | null;
|
531
517
|
alternativeNames: string[] | null;
|
532
|
-
|
533
|
-
|
518
|
+
birthLongitude: number | null;
|
519
|
+
birthLatitude: number | null;
|
520
|
+
residenceLongitude: number | null;
|
521
|
+
residenceLatitude: number | null;
|
534
522
|
isInTrash: boolean;
|
535
523
|
movedToTrashDate: string | null;
|
536
524
|
created_at: string;
|
@@ -747,52 +735,34 @@ export interface components {
|
|
747
735
|
created_at: string;
|
748
736
|
updated_at: string;
|
749
737
|
};
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
longitude: number;
|
754
|
-
latitude: number;
|
755
|
-
_count: {
|
756
|
-
birthProfiles: number;
|
757
|
-
};
|
758
|
-
}[];
|
759
|
-
residenceLocations: {
|
760
|
-
city: string;
|
761
|
-
longitude: number;
|
762
|
-
latitude: number;
|
763
|
-
_count: {
|
764
|
-
residenceProfiles: number;
|
765
|
-
};
|
766
|
-
}[];
|
738
|
+
CreateCannedResponseDto: {
|
739
|
+
name: string;
|
740
|
+
content: string;
|
767
741
|
};
|
768
|
-
|
769
|
-
|
742
|
+
CreateCannedResponseResponseDto: {
|
743
|
+
id: string;
|
744
|
+
name: string;
|
745
|
+
content: string;
|
746
|
+
created_at: string;
|
747
|
+
updated_at: string;
|
770
748
|
};
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
name: string;
|
775
|
-
centroid: {
|
776
|
-
lon: number;
|
777
|
-
lat: number;
|
778
|
-
};
|
779
|
-
}[];
|
749
|
+
UpdateCannedResponseDto: {
|
750
|
+
name: string;
|
751
|
+
content: string;
|
780
752
|
};
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
753
|
+
UpdateCannedResponseResponseDto: {
|
754
|
+
id: string;
|
755
|
+
name: string;
|
756
|
+
content: string;
|
757
|
+
created_at: string;
|
758
|
+
updated_at: string;
|
786
759
|
};
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
latitude?: string | null;
|
794
|
-
longitude?: string | null;
|
795
|
-
}[];
|
760
|
+
DeleteCannedResponseResponseDto: {
|
761
|
+
id: string;
|
762
|
+
name: string;
|
763
|
+
content: string;
|
764
|
+
created_at: string;
|
765
|
+
updated_at: string;
|
796
766
|
};
|
797
767
|
};
|
798
768
|
responses: never;
|
@@ -1332,7 +1302,9 @@ export interface operations {
|
|
1332
1302
|
parameters: {
|
1333
1303
|
query?: never;
|
1334
1304
|
header?: never;
|
1335
|
-
path
|
1305
|
+
path: {
|
1306
|
+
id: string;
|
1307
|
+
};
|
1336
1308
|
cookie?: never;
|
1337
1309
|
};
|
1338
1310
|
requestBody?: never;
|
@@ -1359,7 +1331,9 @@ export interface operations {
|
|
1359
1331
|
parameters: {
|
1360
1332
|
query?: never;
|
1361
1333
|
header?: never;
|
1362
|
-
path
|
1334
|
+
path: {
|
1335
|
+
id: string;
|
1336
|
+
};
|
1363
1337
|
cookie?: never;
|
1364
1338
|
};
|
1365
1339
|
requestBody?: never;
|
@@ -1390,26 +1364,38 @@ export interface operations {
|
|
1390
1364
|
};
|
1391
1365
|
};
|
1392
1366
|
};
|
1393
|
-
|
1367
|
+
CannedResponseController_createCannedResponse: {
|
1394
1368
|
parameters: {
|
1395
1369
|
query?: never;
|
1396
1370
|
header?: never;
|
1397
1371
|
path?: never;
|
1398
1372
|
cookie?: never;
|
1399
1373
|
};
|
1400
|
-
requestBody
|
1374
|
+
requestBody: {
|
1375
|
+
content: {
|
1376
|
+
"application/json": components["schemas"]["CreateCannedResponseDto"];
|
1377
|
+
};
|
1378
|
+
};
|
1401
1379
|
responses: {
|
1402
|
-
|
1380
|
+
201: {
|
1381
|
+
headers: {
|
1382
|
+
[name: string]: unknown;
|
1383
|
+
};
|
1384
|
+
content: {
|
1385
|
+
"application/json": components["schemas"]["CreateCannedResponseResponseDto"];
|
1386
|
+
};
|
1387
|
+
};
|
1388
|
+
409: {
|
1403
1389
|
headers: {
|
1404
1390
|
[name: string]: unknown;
|
1405
1391
|
};
|
1406
1392
|
content: {
|
1407
|
-
"application/json": components["schemas"]["
|
1393
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1408
1394
|
};
|
1409
1395
|
};
|
1410
1396
|
};
|
1411
1397
|
};
|
1412
|
-
|
1398
|
+
CannedResponseController_getAllCannedResponses: {
|
1413
1399
|
parameters: {
|
1414
1400
|
query?: never;
|
1415
1401
|
header?: never;
|
@@ -1423,57 +1409,50 @@ export interface operations {
|
|
1423
1409
|
[name: string]: unknown;
|
1424
1410
|
};
|
1425
1411
|
content: {
|
1426
|
-
"application/json": components["schemas"]["
|
1412
|
+
"application/json": components["schemas"]["CreateCannedResponseResponseDto"];
|
1427
1413
|
};
|
1428
1414
|
};
|
1429
1415
|
};
|
1430
1416
|
};
|
1431
|
-
|
1417
|
+
CannedResponseController_updateCannedResponse: {
|
1432
1418
|
parameters: {
|
1433
1419
|
query?: never;
|
1434
1420
|
header?: never;
|
1435
1421
|
path: {
|
1436
|
-
|
1422
|
+
id: string;
|
1437
1423
|
};
|
1438
1424
|
cookie?: never;
|
1439
1425
|
};
|
1440
|
-
requestBody
|
1426
|
+
requestBody: {
|
1427
|
+
content: {
|
1428
|
+
"application/json": components["schemas"]["UpdateCannedResponseDto"];
|
1429
|
+
};
|
1430
|
+
};
|
1441
1431
|
responses: {
|
1442
1432
|
200: {
|
1443
1433
|
headers: {
|
1444
1434
|
[name: string]: unknown;
|
1445
1435
|
};
|
1446
1436
|
content: {
|
1447
|
-
"application/json": components["schemas"]["
|
1437
|
+
"application/json": components["schemas"]["UpdateCannedResponseResponseDto"];
|
1448
1438
|
};
|
1449
1439
|
};
|
1450
|
-
|
1451
|
-
};
|
1452
|
-
LocationController_findAllCountries: {
|
1453
|
-
parameters: {
|
1454
|
-
query?: never;
|
1455
|
-
header?: never;
|
1456
|
-
path?: never;
|
1457
|
-
cookie?: never;
|
1458
|
-
};
|
1459
|
-
requestBody?: never;
|
1460
|
-
responses: {
|
1461
|
-
200: {
|
1440
|
+
404: {
|
1462
1441
|
headers: {
|
1463
1442
|
[name: string]: unknown;
|
1464
1443
|
};
|
1465
1444
|
content: {
|
1466
|
-
"application/json": components["schemas"]["
|
1445
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1467
1446
|
};
|
1468
1447
|
};
|
1469
1448
|
};
|
1470
1449
|
};
|
1471
|
-
|
1450
|
+
CannedResponseController_deleteCannedResponse: {
|
1472
1451
|
parameters: {
|
1473
1452
|
query?: never;
|
1474
1453
|
header?: never;
|
1475
1454
|
path: {
|
1476
|
-
|
1455
|
+
id: string;
|
1477
1456
|
};
|
1478
1457
|
cookie?: never;
|
1479
1458
|
};
|
@@ -1484,7 +1463,7 @@ export interface operations {
|
|
1484
1463
|
[name: string]: unknown;
|
1485
1464
|
};
|
1486
1465
|
content: {
|
1487
|
-
"application/json": components["schemas"]["
|
1466
|
+
"application/json": components["schemas"]["DeleteCannedResponseResponseDto"];
|
1488
1467
|
};
|
1489
1468
|
};
|
1490
1469
|
404: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.5.0-EXPO-
|
3
|
+
"version": "0.5.0-EXPO-283-EB-Respuesta-Enlatada.12",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -48,7 +48,6 @@
|
|
48
48
|
"bcrypt": "^5.1.1",
|
49
49
|
"class-transformer": "^0.5.1",
|
50
50
|
"class-validator": "^0.14.1",
|
51
|
-
"country-state-city": "^3.2.1",
|
52
51
|
"i18n-js": "^4.4.3",
|
53
52
|
"json-to-pretty-yaml": "^1.2.2",
|
54
53
|
"openapi3-ts": "^4.4.0",
|
@@ -103,6 +102,9 @@
|
|
103
102
|
"**/*.{js,ts,jsx,tsx}": [
|
104
103
|
"prettier --write",
|
105
104
|
"eslint --fix"
|
105
|
+
],
|
106
|
+
"*.json": [
|
107
|
+
"prettier --write"
|
106
108
|
]
|
107
109
|
}
|
108
110
|
}
|
@@ -1,130 +0,0 @@
|
|
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
|
-
}>;
|
@@ -1,33 +0,0 @@
|
|
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
|
@@ -1,48 +0,0 @@
|
|
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 {};
|
@@ -1,18 +0,0 @@
|
|
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
|