expo-backend-types 0.5.0-EXPO-286-EB-Location.2 → 0.5.0-EXPO-286-EB-Location.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/i18n/es.d.ts +3 -0
- package/dist/src/i18n/es.js +3 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/{find-cities-by-province-location.dto.js → find-cities-by-province.dto.js} +1 -1
- 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/exports.d.ts +2 -1
- package/dist/src/location/exports.js +2 -1
- package/dist/types/schema.d.ts +38 -0
- package/package.json +1 -1
- /package/dist/src/location/dto/{find-cities-by-province-location.dto.d.ts → find-cities-by-province.dto.d.ts} +0 -0
package/dist/src/i18n/es.d.ts
CHANGED
package/dist/src/i18n/es.js
CHANGED
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,Q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BAC9B,WAAW,EAAE,kCAAkC;aAChD;YACD,oBAAoB,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,QAAQ,EAAE;YACR,UAAU,EAAE;gBACV,OAAO,EAAE,uBAAuB;aACjC;YACD,yBAAyB,EAAE;gBACzB,OAAO,EAAE,oCAAoC;aAC9C;SACF;KACF;CACO,CAAC"}
|
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;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,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;SACF;KACF;CACO,CAAC"}
|
@@ -17,4 +17,4 @@ exports.findCitiesByProvinceLocationResponseSchema = zod_1.default.object({
|
|
17
17
|
class FindCitiesByProvinceLocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findCitiesByProvinceLocationResponseSchema) {
|
18
18
|
}
|
19
19
|
exports.FindCitiesByProvinceLocationResponseDto = FindCitiesByProvinceLocationResponseDto;
|
20
|
-
//# sourceMappingURL=find-cities-by-province
|
20
|
+
//# sourceMappingURL=find-cities-by-province.dto.js.map
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const findProvincesResponseSchema: z.ZodObject<{
|
3
|
+
provinces: z.ZodArray<z.ZodString, "many">;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
provinces: string[];
|
6
|
+
}, {
|
7
|
+
provinces: string[];
|
8
|
+
}>;
|
9
|
+
declare const FindProvincesResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
provinces: z.ZodArray<z.ZodString, "many">;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
provinces: string[];
|
13
|
+
}, {
|
14
|
+
provinces: string[];
|
15
|
+
}>>;
|
16
|
+
export declare class FindProvincesResponseDto extends FindProvincesResponseDto_base {
|
17
|
+
}
|
18
|
+
export {};
|
@@ -0,0 +1,15 @@
|
|
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.FindProvincesResponseDto = exports.findProvincesResponseSchema = 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.findProvincesResponseSchema = zod_1.default.object({
|
10
|
+
provinces: zod_1.default.array(zod_1.default.string()),
|
11
|
+
});
|
12
|
+
class FindProvincesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findProvincesResponseSchema) {
|
13
|
+
}
|
14
|
+
exports.FindProvincesResponseDto = FindProvincesResponseDto;
|
15
|
+
//# sourceMappingURL=find-provinces.dto.js.map
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export * from './dto/arg-city.dto';
|
2
2
|
export * from './dto/find-all-location.dto';
|
3
|
-
export * from './dto/find-cities-by-province
|
3
|
+
export * from './dto/find-cities-by-province.dto';
|
4
|
+
export * from './dto/find-provinces.dto';
|
4
5
|
export * from './dto/location.dto';
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./dto/arg-city.dto"), exports);
|
18
18
|
__exportStar(require("./dto/find-all-location.dto"), exports);
|
19
|
-
__exportStar(require("./dto/find-cities-by-province
|
19
|
+
__exportStar(require("./dto/find-cities-by-province.dto"), exports);
|
20
|
+
__exportStar(require("./dto/find-provinces.dto"), exports);
|
20
21
|
__exportStar(require("./dto/location.dto"), exports);
|
21
22
|
//# sourceMappingURL=exports.js.map
|
package/dist/types/schema.d.ts
CHANGED
@@ -303,6 +303,22 @@ export interface paths {
|
|
303
303
|
patch?: never;
|
304
304
|
trace?: never;
|
305
305
|
};
|
306
|
+
"/location/provinces": {
|
307
|
+
parameters: {
|
308
|
+
query?: never;
|
309
|
+
header?: never;
|
310
|
+
path?: never;
|
311
|
+
cookie?: never;
|
312
|
+
};
|
313
|
+
get: operations["LocationController_findProvinces"];
|
314
|
+
put?: never;
|
315
|
+
post?: never;
|
316
|
+
delete?: never;
|
317
|
+
options?: never;
|
318
|
+
head?: never;
|
319
|
+
patch?: never;
|
320
|
+
trace?: never;
|
321
|
+
};
|
306
322
|
"/location/find-cities-by-province/{province}": {
|
307
323
|
parameters: {
|
308
324
|
query?: never;
|
@@ -717,6 +733,9 @@ export interface components {
|
|
717
733
|
};
|
718
734
|
}[];
|
719
735
|
};
|
736
|
+
FindProvincesResponseDto: {
|
737
|
+
provinces: string[];
|
738
|
+
};
|
720
739
|
FindCitiesByProvinceLocationResponseDto: {
|
721
740
|
cities: {
|
722
741
|
id: string;
|
@@ -1342,6 +1361,25 @@ export interface operations {
|
|
1342
1361
|
};
|
1343
1362
|
};
|
1344
1363
|
};
|
1364
|
+
LocationController_findProvinces: {
|
1365
|
+
parameters: {
|
1366
|
+
query?: never;
|
1367
|
+
header?: never;
|
1368
|
+
path?: never;
|
1369
|
+
cookie?: never;
|
1370
|
+
};
|
1371
|
+
requestBody?: never;
|
1372
|
+
responses: {
|
1373
|
+
200: {
|
1374
|
+
headers: {
|
1375
|
+
[name: string]: unknown;
|
1376
|
+
};
|
1377
|
+
content: {
|
1378
|
+
"application/json": components["schemas"]["FindProvincesResponseDto"];
|
1379
|
+
};
|
1380
|
+
};
|
1381
|
+
};
|
1382
|
+
};
|
1345
1383
|
LocationController_findArgCityByProvince: {
|
1346
1384
|
parameters: {
|
1347
1385
|
query?: never;
|
package/package.json
CHANGED
File without changes
|