@escapenavigator/services 1.4.9 → 1.4.13
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-questroom-by-slug.d.ts +6 -0
- package/dist/api/agregator-api/find-questroom-by-slug.js +8 -0
- package/dist/api/agregator-api/find-similar-questrooms-near.d.ts +7 -0
- package/dist/api/agregator-api/find-similar-questrooms-near.js +9 -0
- package/dist/api/agregator-api/index.d.ts +4 -0
- package/dist/api/agregator-api/index.js +4 -0
- package/package.json +3 -3
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AgregatorQuestroomRO } from '@escapenavigator/types/dist/agregator/agregator-questroom.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = string;
|
|
4
|
+
declare type ResponseData = AgregatorQuestroomRO;
|
|
5
|
+
export declare const findQuestroomBySlug: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findQuestroomBySlug = void 0;
|
|
4
|
+
var findQuestroomBySlug = function (slug) { return ({
|
|
5
|
+
url: '/agregator/questroom/slug/' + slug,
|
|
6
|
+
method: 'GET'
|
|
7
|
+
}); };
|
|
8
|
+
exports.findQuestroomBySlug = findQuestroomBySlug;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AgregatorSimilarQuestromsNearQueryDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-similar-questrooms-near-query.dto';
|
|
2
|
+
import { AgregatorSimilarQuestroomsNearRO } from '@escapenavigator/types/dist/agregator/agregator-similar-questrooms-near.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = AgregatorSimilarQuestromsNearQueryDTO;
|
|
5
|
+
declare type ResponseData = AgregatorSimilarQuestroomsNearRO[];
|
|
6
|
+
export declare const findSimilaQuestroomsNear: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findSimilaQuestroomsNear = void 0;
|
|
4
|
+
var findSimilaQuestroomsNear = function (query) { return ({
|
|
5
|
+
url: '/agregator/questrooms/similar',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
query: query
|
|
8
|
+
}); };
|
|
9
|
+
exports.findSimilaQuestroomsNear = findSimilaQuestroomsNear;
|
|
@@ -8,8 +8,11 @@ import { findQuestroomsByLocationId } from './find-questrooms-by-location-id';
|
|
|
8
8
|
import { findQuestroomsByOrganizationId } from './find-questrooms-by-organization-id';
|
|
9
9
|
import { findQuestroomsByTags } from './find-questrooms-by-tags';
|
|
10
10
|
import { findQuestroomsByTitle } from './find-questrooms-by-title';
|
|
11
|
+
import { findSimilaQuestroomsNear } from './find-similar-questrooms-near';
|
|
12
|
+
import { findQuestroomBySlug } from './find-questroom-by-slug';
|
|
11
13
|
declare type ApiDeclaration = {
|
|
12
14
|
findCitiesByCountry: typeof findCitiesByCountry;
|
|
15
|
+
findQuestroomBySlug: typeof findQuestroomBySlug;
|
|
13
16
|
findCityBySlug: typeof findCityBySlug;
|
|
14
17
|
findCurrentCity: typeof findCurrentCity;
|
|
15
18
|
findLocationsByCoordinates: typeof findLocationsByCoordinates;
|
|
@@ -19,6 +22,7 @@ declare type ApiDeclaration = {
|
|
|
19
22
|
findQuestroomsByOrganizationId: typeof findQuestroomsByOrganizationId;
|
|
20
23
|
findQuestroomsByTags: typeof findQuestroomsByTags;
|
|
21
24
|
findQuestroomsByTitle: typeof findQuestroomsByTitle;
|
|
25
|
+
findSimilaQuestroomsNear: typeof findSimilaQuestroomsNear;
|
|
22
26
|
};
|
|
23
27
|
export declare const agregatorApiDeclaration: ApiDeclaration;
|
|
24
28
|
export {};
|
|
@@ -11,8 +11,11 @@ var find_questrooms_by_location_id_1 = require("./find-questrooms-by-location-id
|
|
|
11
11
|
var find_questrooms_by_organization_id_1 = require("./find-questrooms-by-organization-id");
|
|
12
12
|
var find_questrooms_by_tags_1 = require("./find-questrooms-by-tags");
|
|
13
13
|
var find_questrooms_by_title_1 = require("./find-questrooms-by-title");
|
|
14
|
+
var find_similar_questrooms_near_1 = require("./find-similar-questrooms-near");
|
|
15
|
+
var find_questroom_by_slug_1 = require("./find-questroom-by-slug");
|
|
14
16
|
exports.agregatorApiDeclaration = {
|
|
15
17
|
findCitiesByCountry: find_cities_by_country_1.findCitiesByCountry,
|
|
18
|
+
findQuestroomBySlug: find_questroom_by_slug_1.findQuestroomBySlug,
|
|
16
19
|
findCityBySlug: find_city_by_slug_1.findCityBySlug,
|
|
17
20
|
findCurrentCity: find_current_city_1.findCurrentCity,
|
|
18
21
|
findLocationsByCoordinates: find_locations_by_coordinates_1.findLocationsByCoordinates,
|
|
@@ -22,4 +25,5 @@ exports.agregatorApiDeclaration = {
|
|
|
22
25
|
findQuestroomsByOrganizationId: find_questrooms_by_organization_id_1.findQuestroomsByOrganizationId,
|
|
23
26
|
findQuestroomsByTags: find_questrooms_by_tags_1.findQuestroomsByTags,
|
|
24
27
|
findQuestroomsByTitle: find_questrooms_by_title_1.findQuestroomsByTitle,
|
|
28
|
+
findSimilaQuestroomsNear: find_similar_questrooms_near_1.findSimilaQuestroomsNear,
|
|
25
29
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.13",
|
|
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": "9898ad0d814ce4cd2d01990354c46a1ac4595193",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.13",
|
|
18
18
|
"axios": "^0.21.4",
|
|
19
19
|
"class-transformer": "^0.5.1",
|
|
20
20
|
"class-validator": "^0.13.1",
|