@escapenavigator/services 1.6.73 → 1.6.74
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/find-questrooms-by-title.d.ts +2 -2
- package/dist/api/agregator-api/find-questrooms-for-main-page.js +1 -1
- package/dist/api/agregator-api/index.d.ts +0 -4
- package/dist/api/agregator-api/index.js +0 -4
- package/package.json +4 -4
- package/dist/api/agregator-api/find-current-city.d.ts +0 -7
- package/dist/api/agregator-api/find-current-city.js +0 -9
- package/dist/api/agregator-api/find-popular-cities-and-questrooms.d.ts +0 -7
- package/dist/api/agregator-api/find-popular-cities-and-questrooms.js +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorFindQuestroomByTitleRO } from '@escapenavigator/types/dist/agregator/agregator-find-questroom-by-title.ro';
|
|
2
2
|
import { AgregatorFindQuestroomByTitleDto } from '@escapenavigator/types/dist/agregator/dto/agregator-find-questroom-by-text.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = AgregatorFindQuestroomByTitleDto;
|
|
5
|
-
declare type ResponseData =
|
|
5
|
+
declare type ResponseData = AgregatorFindQuestroomByTitleRO;
|
|
6
6
|
export declare const findQuestroomsByTitle: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findQuestroomsForMainPage = void 0;
|
|
4
4
|
var findQuestroomsForMainPage = function (params) { return ({
|
|
5
|
-
url: '/agregator/questrooms/
|
|
5
|
+
url: '/agregator/questrooms/city-page',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
|
@@ -10,10 +10,8 @@ import { reviewsQuestroom } from './reviews/reviews-questroom';
|
|
|
10
10
|
import { createSubscription } from './create-subscription';
|
|
11
11
|
import { findCitiesByCountry } from './find-cities-by-country';
|
|
12
12
|
import { findCityBySlug } from './find-city-by-slug';
|
|
13
|
-
import { findCurrentCity } from './find-current-city';
|
|
14
13
|
import { findFavorites } from './find-favorites';
|
|
15
14
|
import { findLocationsByCoordinates } from './find-locations-by-coordinates';
|
|
16
|
-
import { findPopularCitiesAndQuestrooms } from './find-popular-cities-and-questrooms';
|
|
17
15
|
import { findPostBySlug } from './find-post-by-slug';
|
|
18
16
|
import { findPosts } from './find-posts';
|
|
19
17
|
import { findQuestroomBySlug } from './find-questroom-by-slug';
|
|
@@ -35,14 +33,12 @@ declare type ApiDeclaration = {
|
|
|
35
33
|
reviewsCity: typeof reviewsCity;
|
|
36
34
|
reviewsQuestroom: typeof reviewsQuestroom;
|
|
37
35
|
reviewsProfile: typeof reviewsProfile;
|
|
38
|
-
findPopularCitiesAndQuestrooms: typeof findPopularCitiesAndQuestrooms;
|
|
39
36
|
findFavorites: typeof findFavorites;
|
|
40
37
|
findQuestroomsWithCertificates: typeof findQuestroomsWithCertificates;
|
|
41
38
|
findQuestroomsForMainPage: typeof findQuestroomsForMainPage;
|
|
42
39
|
findCitiesByCountry: typeof findCitiesByCountry;
|
|
43
40
|
findQuestroomBySlug: typeof findQuestroomBySlug;
|
|
44
41
|
findCityBySlug: typeof findCityBySlug;
|
|
45
|
-
findCurrentCity: typeof findCurrentCity;
|
|
46
42
|
findLocationsByCoordinates: typeof findLocationsByCoordinates;
|
|
47
43
|
findQuestroomsByLocationId: typeof findQuestroomsByLocationId;
|
|
48
44
|
findQuestroomsByOrganizationId: typeof findQuestroomsByOrganizationId;
|
|
@@ -13,10 +13,8 @@ var reviews_questroom_1 = require("./reviews/reviews-questroom");
|
|
|
13
13
|
var create_subscription_1 = require("./create-subscription");
|
|
14
14
|
var find_cities_by_country_1 = require("./find-cities-by-country");
|
|
15
15
|
var find_city_by_slug_1 = require("./find-city-by-slug");
|
|
16
|
-
var find_current_city_1 = require("./find-current-city");
|
|
17
16
|
var find_favorites_1 = require("./find-favorites");
|
|
18
17
|
var find_locations_by_coordinates_1 = require("./find-locations-by-coordinates");
|
|
19
|
-
var find_popular_cities_and_questrooms_1 = require("./find-popular-cities-and-questrooms");
|
|
20
18
|
var find_post_by_slug_1 = require("./find-post-by-slug");
|
|
21
19
|
var find_posts_1 = require("./find-posts");
|
|
22
20
|
var find_questroom_by_slug_1 = require("./find-questroom-by-slug");
|
|
@@ -29,7 +27,6 @@ var find_questrooms_search_1 = require("./find-questrooms-search");
|
|
|
29
27
|
var find_questrooms_with_certificates_1 = require("./find-questrooms-with-certificates");
|
|
30
28
|
var find_similar_questrooms_near_1 = require("./find-similar-questrooms-near");
|
|
31
29
|
exports.agregatorApiDeclaration = {
|
|
32
|
-
findPopularCitiesAndQuestrooms: find_popular_cities_and_questrooms_1.findPopularCitiesAndQuestrooms,
|
|
33
30
|
createReview: create_review_1.createReview,
|
|
34
31
|
currentPlayer: current_1.current,
|
|
35
32
|
login: login_1.login,
|
|
@@ -45,7 +42,6 @@ exports.agregatorApiDeclaration = {
|
|
|
45
42
|
findCitiesByCountry: find_cities_by_country_1.findCitiesByCountry,
|
|
46
43
|
findQuestroomBySlug: find_questroom_by_slug_1.findQuestroomBySlug,
|
|
47
44
|
findCityBySlug: find_city_by_slug_1.findCityBySlug,
|
|
48
|
-
findCurrentCity: find_current_city_1.findCurrentCity,
|
|
49
45
|
findLocationsByCoordinates: find_locations_by_coordinates_1.findLocationsByCoordinates,
|
|
50
46
|
findQuestroomsByLocationId: find_questrooms_by_location_id_1.findQuestroomsByLocationId,
|
|
51
47
|
findQuestroomsByOrganizationId: find_questrooms_by_organization_id_1.findQuestroomsByOrganizationId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.74",
|
|
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": "f39aa2bfaece4c130e395a7d81d5565be03fb71a",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.69",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.71",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
|
-
import { AgregatorFindCityByIpDto } from '@escapenavigator/types/dist/agregator/dto/agregator-find-city-by-ip.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = AgregatorFindCityByIpDto;
|
|
5
|
-
declare type ResponseData = AgregatorCityRO;
|
|
6
|
-
export declare const findCurrentCity: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findCurrentCity = void 0;
|
|
4
|
-
var findCurrentCity = function (params) { return ({
|
|
5
|
-
url: '/agregator/city/current',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
params: params,
|
|
8
|
-
}); };
|
|
9
|
-
exports.findCurrentCity = findCurrentCity;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomsAndCitiesRO } from '@escapenavigator/types/dist/agregator/agregator-questrooms-and-cities.ro';
|
|
2
|
-
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = CountriesEnum;
|
|
5
|
-
declare type ResponseData = AgregatorQuestroomsAndCitiesRO[];
|
|
6
|
-
export declare const findPopularCitiesAndQuestrooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findPopularCitiesAndQuestrooms = void 0;
|
|
4
|
-
var findPopularCitiesAndQuestrooms = function (country) { return ({
|
|
5
|
-
url: "/agregator/popular/country/".concat(country),
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.findPopularCitiesAndQuestrooms = findPopularCitiesAndQuestrooms;
|