@escapenavigator/services 1.6.70 → 1.6.71
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.
- package/dist/api/agregator-api/index.d.ts +10 -0
- package/dist/api/agregator-api/index.js +10 -0
- package/dist/api/{players-api → agregator-api/players}/current-update.d.ts +1 -1
- package/dist/api/{players-api → agregator-api/players}/current.d.ts +1 -1
- package/dist/api/{players-api → agregator-api/players}/login.d.ts +1 -1
- package/dist/api/{players-api → agregator-api/players}/logout.d.ts +1 -1
- package/dist/api/{players-api → agregator-api/players}/send-code.d.ts +1 -1
- package/dist/api/players-api/index.d.ts +0 -10
- package/dist/api/players-api/index.js +0 -10
- package/package.json +4 -4
- /package/dist/api/{players-api → agregator-api/players}/current-update.js +0 -0
- /package/dist/api/{players-api → agregator-api/players}/current.js +0 -0
- /package/dist/api/{players-api → agregator-api/players}/login.js +0 -0
- /package/dist/api/{players-api → agregator-api/players}/logout.js +0 -0
- /package/dist/api/{players-api → agregator-api/players}/send-code.js +0 -0
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { current as currentPlayer } from './players/current';
|
|
2
|
+
import { currentUpdate as currentPlayerUpdate } from './players/current-update';
|
|
3
|
+
import { login } from './players/login';
|
|
4
|
+
import { logout } from './players/logout';
|
|
5
|
+
import { sendCode } from './players/send-code';
|
|
1
6
|
import { createSubscription } from './create-subscription';
|
|
2
7
|
import { findCitiesByCountry } from './find-cities-by-country';
|
|
3
8
|
import { findCityBySlug } from './find-city-by-slug';
|
|
@@ -20,6 +25,11 @@ import { reviewsCity } from './reviews-city';
|
|
|
20
25
|
import { reviewsProfile } from './reviews-profile';
|
|
21
26
|
import { reviewsQuestroom } from './reviews-questroom';
|
|
22
27
|
declare type ApiDeclaration = {
|
|
28
|
+
sendCode: typeof sendCode;
|
|
29
|
+
login: typeof login;
|
|
30
|
+
currentPlayer: typeof currentPlayer;
|
|
31
|
+
currentPlayerUpdate: typeof currentPlayerUpdate;
|
|
32
|
+
logout: typeof logout;
|
|
23
33
|
reviewsCity: typeof reviewsCity;
|
|
24
34
|
reviewsQuestroom: typeof reviewsQuestroom;
|
|
25
35
|
reviewsProfile: typeof reviewsProfile;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.agregatorApiDeclaration = void 0;
|
|
4
|
+
var current_1 = require("./players/current");
|
|
5
|
+
var current_update_1 = require("./players/current-update");
|
|
6
|
+
var login_1 = require("./players/login");
|
|
7
|
+
var logout_1 = require("./players/logout");
|
|
8
|
+
var send_code_1 = require("./players/send-code");
|
|
4
9
|
var create_subscription_1 = require("./create-subscription");
|
|
5
10
|
var find_cities_by_country_1 = require("./find-cities-by-country");
|
|
6
11
|
var find_city_by_slug_1 = require("./find-city-by-slug");
|
|
@@ -24,6 +29,11 @@ var reviews_profile_1 = require("./reviews-profile");
|
|
|
24
29
|
var reviews_questroom_1 = require("./reviews-questroom");
|
|
25
30
|
exports.agregatorApiDeclaration = {
|
|
26
31
|
findPopularCitiesAndQuestrooms: find_popular_cities_and_questrooms_1.findPopularCitiesAndQuestrooms,
|
|
32
|
+
currentPlayer: current_1.current,
|
|
33
|
+
login: login_1.login,
|
|
34
|
+
logout: logout_1.logout,
|
|
35
|
+
sendCode: send_code_1.sendCode,
|
|
36
|
+
currentPlayerUpdate: current_update_1.currentUpdate,
|
|
27
37
|
reviewsProfile: reviews_profile_1.reviewsProfile,
|
|
28
38
|
reviewsQuestroom: reviews_questroom_1.reviewsQuestroom,
|
|
29
39
|
reviewsCity: reviews_city_1.reviewsCity,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PlayerRO } from '@escapenavigator/types/dist/player/player.ro';
|
|
2
2
|
import { UpadteCurrentPlayerDto } from '@escapenavigator/types/dist/player/update-current.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = {
|
|
5
5
|
data: UpadteCurrentPlayerDto;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CheckCodeDto } from '@escapenavigator/types/dist/player/check-code.dto';
|
|
2
2
|
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = CheckCodeDto;
|
|
5
5
|
declare type ResponseData = SuccessRO;
|
|
6
6
|
export declare const login: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = undefined;
|
|
4
4
|
declare type ResponseData = SuccessRO;
|
|
5
5
|
export declare const logout: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = SuccessRO;
|
|
5
5
|
export declare const sendCode: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import { current } from './current';
|
|
2
|
-
import { currentUpdate } from './current-update';
|
|
3
|
-
import { login } from './login';
|
|
4
|
-
import { logout } from './logout';
|
|
5
1
|
import { query } from './query';
|
|
6
|
-
import { sendCode } from './send-code';
|
|
7
2
|
declare type ApiDeclaration = {
|
|
8
|
-
sendCode: typeof sendCode;
|
|
9
3
|
query: typeof query;
|
|
10
|
-
login: typeof login;
|
|
11
|
-
current: typeof current;
|
|
12
|
-
currentUpdate: typeof currentUpdate;
|
|
13
|
-
logout: typeof logout;
|
|
14
4
|
};
|
|
15
5
|
export declare const playersApiDeclaration: ApiDeclaration;
|
|
16
6
|
export {};
|
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.playersApiDeclaration = void 0;
|
|
4
|
-
var current_1 = require("./current");
|
|
5
|
-
var current_update_1 = require("./current-update");
|
|
6
|
-
var login_1 = require("./login");
|
|
7
|
-
var logout_1 = require("./logout");
|
|
8
4
|
var query_1 = require("./query");
|
|
9
|
-
var send_code_1 = require("./send-code");
|
|
10
5
|
exports.playersApiDeclaration = {
|
|
11
|
-
sendCode: send_code_1.sendCode,
|
|
12
|
-
login: login_1.login,
|
|
13
6
|
query: query_1.query,
|
|
14
|
-
current: current_1.current,
|
|
15
|
-
currentUpdate: current_update_1.currentUpdate,
|
|
16
|
-
logout: logout_1.logout,
|
|
17
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.71",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "b31668dad30180bbe1c70ee29fcebf988fa12410",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.67",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.69",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|