@escapenavigator/services 1.4.54 → 1.4.55
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = number;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = CityRO;
|
|
5
5
|
export declare const getOne: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { getOne } from './get-one';
|
|
2
|
+
import { query } from './query';
|
|
2
3
|
import { remove } from './remove';
|
|
3
4
|
import { update } from './update';
|
|
4
5
|
declare type ApiDeclaration = {
|
|
5
6
|
getOne: typeof getOne;
|
|
6
7
|
update: typeof update;
|
|
8
|
+
query: typeof query;
|
|
7
9
|
remove: typeof remove;
|
|
8
10
|
};
|
|
9
11
|
export declare const citiesApiDeclaration: ApiDeclaration;
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.citiesApiDeclaration = void 0;
|
|
4
4
|
var get_one_1 = require("./get-one");
|
|
5
|
+
var query_1 = require("./query");
|
|
5
6
|
var remove_1 = require("./remove");
|
|
6
7
|
var update_1 = require("./update");
|
|
7
8
|
exports.citiesApiDeclaration = {
|
|
8
9
|
getOne: get_one_1.getOne,
|
|
9
10
|
update: update_1.update,
|
|
11
|
+
query: query_1.query,
|
|
10
12
|
remove: remove_1.remove,
|
|
11
13
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
|
|
3
|
+
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
3
4
|
import { ApiMethodDeclaration } from '..';
|
|
4
5
|
declare type ParamsData = QueryDto;
|
|
5
|
-
declare type ResponseData =
|
|
6
|
+
declare type ResponseData = QueryRO<CityRO>;
|
|
6
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
8
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
/** ID city */
|
|
4
4
|
declare type ParamsData = number;
|
|
5
|
-
declare type ResponseData =
|
|
5
|
+
declare type ResponseData = CityRO;
|
|
6
6
|
export declare const remove: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { UpdateCityDto } from '@escapenavigator/types/dist/city/update-city.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = {
|
|
5
5
|
id: number;
|
|
6
6
|
data: UpdateCityDto;
|
|
7
7
|
};
|
|
8
|
-
declare type ResponseData =
|
|
8
|
+
declare type ResponseData = CityRO;
|
|
9
9
|
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
10
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.55",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "54d7a447bea57a6994095d49e414e00dc0fddb33",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.55",
|
|
18
18
|
"@paypal/react-paypal-js": "^7.8.3",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
36
36
|
"rollup-plugin-babel": "^4.4.0",
|
|
37
37
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
38
|
-
"rollup-plugin-multi-input": "
|
|
38
|
+
"rollup-plugin-multi-input": "1.3.1",
|
|
39
39
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
40
40
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
41
41
|
"rollup-plugin-terser": "^7.0.2",
|