@escapenavigator/services 1.4.8 → 1.4.9
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.
|
@@ -20,5 +20,5 @@ declare type ApiDeclaration = {
|
|
|
20
20
|
findQuestroomsByTags: typeof findQuestroomsByTags;
|
|
21
21
|
findQuestroomsByTitle: typeof findQuestroomsByTitle;
|
|
22
22
|
};
|
|
23
|
-
export declare const
|
|
23
|
+
export declare const agregatorApiDeclaration: ApiDeclaration;
|
|
24
24
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.agregatorApiDeclaration = void 0;
|
|
4
4
|
var find_cities_by_country_1 = require("./find-cities-by-country");
|
|
5
5
|
var find_city_by_slug_1 = require("./find-city-by-slug");
|
|
6
6
|
var find_current_city_1 = require("./find-current-city");
|
|
@@ -11,7 +11,7 @@ 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
|
-
exports.
|
|
14
|
+
exports.agregatorApiDeclaration = {
|
|
15
15
|
findCitiesByCountry: find_cities_by_country_1.findCitiesByCountry,
|
|
16
16
|
findCityBySlug: find_city_by_slug_1.findCityBySlug,
|
|
17
17
|
findCurrentCity: find_current_city_1.findCurrentCity,
|
|
@@ -29,9 +29,11 @@ import { usersApiDeclaration } from './users-api';
|
|
|
29
29
|
import { widgetsApiDeclaration } from './widgets-api';
|
|
30
30
|
import { widgetsOpenApiDeclaration } from './widgets-openapi';
|
|
31
31
|
import { citiesApiDeclaration } from './cities-api';
|
|
32
|
+
import { agregatorApiDeclaration } from './agregator-api';
|
|
32
33
|
import { Api } from '.';
|
|
33
34
|
export declare type InitApiDeclaration = {
|
|
34
35
|
cities: Api<typeof citiesApiDeclaration>;
|
|
36
|
+
agregator: Api<typeof agregatorApiDeclaration>;
|
|
35
37
|
admins: Api<typeof adminsApiDeclaration>;
|
|
36
38
|
uploads: Api<typeof uploadsApiDeclaration>;
|
|
37
39
|
emails: Api<typeof emailsApiDeclaration>;
|
|
@@ -32,10 +32,12 @@ var users_api_1 = require("./users-api");
|
|
|
32
32
|
var widgets_api_1 = require("./widgets-api");
|
|
33
33
|
var widgets_openapi_1 = require("./widgets-openapi");
|
|
34
34
|
var cities_api_1 = require("./cities-api");
|
|
35
|
+
var agregator_api_1 = require("./agregator-api");
|
|
35
36
|
var _1 = require(".");
|
|
36
37
|
var initClientApi = function (url) {
|
|
37
38
|
return {
|
|
38
39
|
cities: (0, _1.initApi)(cities_api_1.citiesApiDeclaration, url),
|
|
40
|
+
agregator: (0, _1.initApi)(agregator_api_1.agregatorApiDeclaration, url),
|
|
39
41
|
agbs: (0, _1.initApi)(agb_api_1.agbApiDeclaration, url),
|
|
40
42
|
uploads: (0, _1.initApi)(uploads_api_1.uploadsApiDeclaration, url),
|
|
41
43
|
emails: (0, _1.initApi)(emails_api_1.emailsApiDeclaration, url),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.9",
|
|
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": "a49777ab9fae9baab1cd313d8380511210f365ca",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.9",
|
|
18
18
|
"axios": "^0.21.4",
|
|
19
19
|
"class-transformer": "^0.5.1",
|
|
20
20
|
"class-validator": "^0.13.1",
|