@escapenavigator/services 1.4.11 → 1.4.15
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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AgregatorQuestroomRO } from '@escapenavigator/types/dist/agregator/agregator-questroom.ro';
|
|
2
|
+
import { AgregatorQuestroomBySlugDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-questroom-by-slug.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = AgregatorQuestroomBySlugDTO;
|
|
5
|
+
declare type ResponseData = AgregatorQuestroomRO;
|
|
6
|
+
export declare const findQuestroomBySlug: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findQuestroomBySlug = void 0;
|
|
4
|
+
var findQuestroomBySlug = function (query) { return ({
|
|
5
|
+
url: '/agregator/questroom/slug/',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
query: query
|
|
8
|
+
}); };
|
|
9
|
+
exports.findQuestroomBySlug = findQuestroomBySlug;
|
|
@@ -9,8 +9,10 @@ import { findQuestroomsByOrganizationId } from './find-questrooms-by-organizatio
|
|
|
9
9
|
import { findQuestroomsByTags } from './find-questrooms-by-tags';
|
|
10
10
|
import { findQuestroomsByTitle } from './find-questrooms-by-title';
|
|
11
11
|
import { findSimilaQuestroomsNear } from './find-similar-questrooms-near';
|
|
12
|
+
import { findQuestroomBySlug } from './find-questroom-by-slug';
|
|
12
13
|
declare type ApiDeclaration = {
|
|
13
14
|
findCitiesByCountry: typeof findCitiesByCountry;
|
|
15
|
+
findQuestroomBySlug: typeof findQuestroomBySlug;
|
|
14
16
|
findCityBySlug: typeof findCityBySlug;
|
|
15
17
|
findCurrentCity: typeof findCurrentCity;
|
|
16
18
|
findLocationsByCoordinates: typeof findLocationsByCoordinates;
|
|
@@ -12,8 +12,10 @@ var find_questrooms_by_organization_id_1 = require("./find-questrooms-by-organiz
|
|
|
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
14
|
var find_similar_questrooms_near_1 = require("./find-similar-questrooms-near");
|
|
15
|
+
var find_questroom_by_slug_1 = require("./find-questroom-by-slug");
|
|
15
16
|
exports.agregatorApiDeclaration = {
|
|
16
17
|
findCitiesByCountry: find_cities_by_country_1.findCitiesByCountry,
|
|
18
|
+
findQuestroomBySlug: find_questroom_by_slug_1.findQuestroomBySlug,
|
|
17
19
|
findCityBySlug: find_city_by_slug_1.findCityBySlug,
|
|
18
20
|
findCurrentCity: find_current_city_1.findCurrentCity,
|
|
19
21
|
findLocationsByCoordinates: find_locations_by_coordinates_1.findLocationsByCoordinates,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.15",
|
|
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": "bb7599aeb8c073e6591d25967173163182ad3e82",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.15",
|
|
18
18
|
"axios": "^0.21.4",
|
|
19
19
|
"class-transformer": "^0.5.1",
|
|
20
20
|
"class-validator": "^0.13.1",
|