@escapenavigator/services 1.4.78 → 1.4.79
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/slot-templates-api/get-all.d.ts +6 -0
- package/dist/api/slot-templates-api/get-all.js +8 -0
- package/dist/api/slot-templates-api/{get.d.ts → get-one.d.ts} +1 -1
- package/dist/api/slot-templates-api/get-one.js +8 -0
- package/dist/api/slot-templates-api/index.d.ts +4 -2
- package/dist/api/slot-templates-api/index.js +4 -2
- package/dist/api/slot-templates-api/update.d.ts +0 -1
- package/dist/api/slot-templates-api/update.js +1 -1
- package/dist/api/slots-api/index.d.ts +0 -2
- package/dist/api/slots-api/index.js +0 -2
- package/package.json +3 -3
- package/dist/api/slot-templates-api/get.js +0 -8
- package/dist/api/slots-api/conflicts.d.ts +0 -6
- package/dist/api/slots-api/conflicts.js +0 -8
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SlotTemplateResponseObject } from '@escapenavigator/types/dist/slot-template/slot-template.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = SlotTemplateResponseObject[];
|
|
5
|
+
export declare const getAll: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -4,5 +4,5 @@ import { ApiMethodDeclaration } from '..';
|
|
|
4
4
|
/** ID квеста */
|
|
5
5
|
declare type ParamsData = ResponseObject['id'];
|
|
6
6
|
declare type ResponseData = SlotTemplateResponseObject;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const getOne: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
8
|
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { copy } from './copy';
|
|
2
|
-
import {
|
|
2
|
+
import { getAll } from './get-all';
|
|
3
|
+
import { getOne } from './get-one';
|
|
3
4
|
import { update } from './update';
|
|
4
5
|
declare type ApiDeclaration = {
|
|
5
|
-
|
|
6
|
+
getAll: typeof getAll;
|
|
7
|
+
getOne: typeof getOne;
|
|
6
8
|
update: typeof update;
|
|
7
9
|
copy: typeof copy;
|
|
8
10
|
};
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.slotTemplatesApiDeclaration = void 0;
|
|
4
4
|
var copy_1 = require("./copy");
|
|
5
|
-
var
|
|
5
|
+
var get_all_1 = require("./get-all");
|
|
6
|
+
var get_one_1 = require("./get-one");
|
|
6
7
|
var update_1 = require("./update");
|
|
7
8
|
exports.slotTemplatesApiDeclaration = {
|
|
8
|
-
|
|
9
|
+
getAll: get_all_1.getAll,
|
|
10
|
+
getOne: get_one_1.getOne,
|
|
9
11
|
copy: copy_1.copy,
|
|
10
12
|
update: update_1.update,
|
|
11
13
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
2
|
import { UpdateSlotTemplateDto } from '@escapenavigator/types/dist/slot-template/update-slot-template.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
/** ID квеста */
|
|
5
4
|
declare type ParamsData = {
|
|
6
5
|
data: UpdateSlotTemplateDto;
|
|
7
6
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { addOrRemoveBreak } from './add-or-remove-break';
|
|
2
2
|
import { calendar } from './calendar';
|
|
3
|
-
import { conflicts } from './conflicts';
|
|
4
3
|
import { create } from './create';
|
|
5
4
|
import { daily } from './daily';
|
|
6
5
|
import { remove } from './remove';
|
|
@@ -9,7 +8,6 @@ import { updateMinHours } from './update-min-hours';
|
|
|
9
8
|
import { weekly } from './weekly';
|
|
10
9
|
declare type ApiDeclaration = {
|
|
11
10
|
updateBreaks: typeof updateBreaks;
|
|
12
|
-
conflicts: typeof conflicts;
|
|
13
11
|
calendar: typeof calendar;
|
|
14
12
|
daily: typeof daily;
|
|
15
13
|
updateMinHours: typeof updateMinHours;
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.slotsApiDeclaration = void 0;
|
|
4
4
|
var add_or_remove_break_1 = require("./add-or-remove-break");
|
|
5
5
|
var calendar_1 = require("./calendar");
|
|
6
|
-
var conflicts_1 = require("./conflicts");
|
|
7
6
|
var create_1 = require("./create");
|
|
8
7
|
var daily_1 = require("./daily");
|
|
9
8
|
var remove_1 = require("./remove");
|
|
@@ -12,7 +11,6 @@ var update_min_hours_1 = require("./update-min-hours");
|
|
|
12
11
|
var weekly_1 = require("./weekly");
|
|
13
12
|
exports.slotsApiDeclaration = {
|
|
14
13
|
updateBreaks: update_breaks_1.updateBreaks,
|
|
15
|
-
conflicts: conflicts_1.conflicts,
|
|
16
14
|
calendar: calendar_1.calendar,
|
|
17
15
|
daily: daily_1.daily,
|
|
18
16
|
updateMinHours: update_min_hours_1.updateMinHours,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.79",
|
|
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": "27eaf80713f5cddf2e2eab2319bde5fada63f8bb",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.78",
|
|
18
18
|
"@paypal/react-paypal-js": "^7.8.3",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SlotRO } from '@escapenavigator/types/dist/slot/slot.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
declare type ParamsData = undefined;
|
|
4
|
-
declare type ResponseData = SlotRO[];
|
|
5
|
-
export declare const conflicts: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|