c3nav 3.4.5 → 3.4.6
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/package.json +5 -6
- package/dist/Endpoints.d.ts +0 -68
- package/dist/Endpoints.js +0 -237
- package/dist/api/APIBase.d.ts +0 -12
- package/dist/api/APIBase.js +0 -17
- package/dist/api/AccessRestrictionGroupsAPI.d.ts +0 -11
- package/dist/api/AccessRestrictionGroupsAPI.js +0 -37
- package/dist/api/AccessRestrictionsAPI.d.ts +0 -11
- package/dist/api/AccessRestrictionsAPI.js +0 -37
- package/dist/api/AreasAPI.d.ts +0 -11
- package/dist/api/AreasAPI.js +0 -37
- package/dist/api/BuildingsAPI.d.ts +0 -11
- package/dist/api/BuildingsAPI.js +0 -37
- package/dist/api/ChangesetsAPI.d.ts +0 -11
- package/dist/api/ChangesetsAPI.js +0 -37
- package/dist/api/ColumnsAPI.d.ts +0 -11
- package/dist/api/ColumnsAPI.js +0 -37
- package/dist/api/CrossDescriptionsAPI.d.ts +0 -11
- package/dist/api/CrossDescriptionsAPI.js +0 -37
- package/dist/api/DoorsAPI.d.ts +0 -11
- package/dist/api/DoorsAPI.js +0 -37
- package/dist/api/EditorAPI.d.ts +0 -11
- package/dist/api/EditorAPI.js +0 -37
- package/dist/api/HolesAPI.d.ts +0 -11
- package/dist/api/HolesAPI.js +0 -37
- package/dist/api/LeaveDescriptionsAPI.d.ts +0 -11
- package/dist/api/LeaveDescriptionsAPI.js +0 -37
- package/dist/api/LevelListAPI.d.ts +0 -11
- package/dist/api/LevelListAPI.js +0 -37
- package/dist/api/LineObstaclesAPI.d.ts +0 -11
- package/dist/api/LineObstaclesAPI.js +0 -37
- package/dist/api/LocationGroupCategoriesAPI.d.ts +0 -11
- package/dist/api/LocationGroupCategoriesAPI.js +0 -37
- package/dist/api/LocationGroupsAPI.d.ts +0 -11
- package/dist/api/LocationGroupsAPI.js +0 -37
- package/dist/api/LocationsAPI.d.ts +0 -23
- package/dist/api/LocationsAPI.js +0 -64
- package/dist/api/MapAPI.d.ts +0 -8
- package/dist/api/MapAPI.js +0 -28
- package/dist/api/ObstaclesAPI.d.ts +0 -11
- package/dist/api/ObstaclesAPI.js +0 -37
- package/dist/api/POIs.d.ts +0 -11
- package/dist/api/POIs.js +0 -37
- package/dist/api/RampsAPI.d.ts +0 -11
- package/dist/api/RampsAPI.js +0 -37
- package/dist/api/RoutingAPI.d.ts +0 -11
- package/dist/api/RoutingAPI.js +0 -37
- package/dist/api/SessionAPI.d.ts +0 -11
- package/dist/api/SessionAPI.js +0 -37
- package/dist/api/SourcesAPI.d.ts +0 -11
- package/dist/api/SourcesAPI.js +0 -37
- package/dist/api/SpacesAPI.d.ts +0 -11
- package/dist/api/SpacesAPI.js +0 -37
- package/dist/api/StairsAPI.d.ts +0 -11
- package/dist/api/StairsAPI.js +0 -37
- package/dist/api/UpdatesAPI.d.ts +0 -11
- package/dist/api/UpdatesAPI.js +0 -37
- package/dist/api/index.d.ts +0 -26
- package/dist/api/index.js +0 -42
- package/dist/c3nav.d.ts +0 -12
- package/dist/c3nav.js +0 -49
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -18
- package/dist/interfaces/API.d.ts +0 -29
- package/dist/interfaces/API.js +0 -2
- package/dist/interfaces/AccessRestrictionGroups.d.ts +0 -2
- package/dist/interfaces/AccessRestrictionGroups.js +0 -2
- package/dist/interfaces/AccessRestrictions.d.ts +0 -2
- package/dist/interfaces/AccessRestrictions.js +0 -2
- package/dist/interfaces/Areas.d.ts +0 -2
- package/dist/interfaces/Areas.js +0 -2
- package/dist/interfaces/Bounds.d.ts +0 -3
- package/dist/interfaces/Bounds.js +0 -2
- package/dist/interfaces/Buildings.d.ts +0 -2
- package/dist/interfaces/Buildings.js +0 -2
- package/dist/interfaces/Changesets.d.ts +0 -2
- package/dist/interfaces/Changesets.js +0 -2
- package/dist/interfaces/Columns.d.ts +0 -2
- package/dist/interfaces/Columns.js +0 -2
- package/dist/interfaces/CrossDescriptions.d.ts +0 -2
- package/dist/interfaces/CrossDescriptions.js +0 -2
- package/dist/interfaces/Doors.d.ts +0 -2
- package/dist/interfaces/Doors.js +0 -2
- package/dist/interfaces/Editor.d.ts +0 -2
- package/dist/interfaces/Editor.js +0 -2
- package/dist/interfaces/Holes.d.ts +0 -2
- package/dist/interfaces/Holes.js +0 -2
- package/dist/interfaces/LeaveDescriptions.d.ts +0 -2
- package/dist/interfaces/LeaveDescriptions.js +0 -2
- package/dist/interfaces/Level.d.ts +0 -19
- package/dist/interfaces/Level.js +0 -2
- package/dist/interfaces/LineObstacles.d.ts +0 -2
- package/dist/interfaces/LineObstacles.js +0 -2
- package/dist/interfaces/Location.d.ts +0 -28
- package/dist/interfaces/Location.js +0 -2
- package/dist/interfaces/LocationGroupCategories.d.ts +0 -2
- package/dist/interfaces/LocationGroupCategories.js +0 -2
- package/dist/interfaces/LocationGroups.d.ts +0 -2
- package/dist/interfaces/LocationGroups.js +0 -2
- package/dist/interfaces/Obstacles.d.ts +0 -2
- package/dist/interfaces/Obstacles.js +0 -2
- package/dist/interfaces/Options.d.ts +0 -11
- package/dist/interfaces/Options.js +0 -2
- package/dist/interfaces/POIs.d.ts +0 -2
- package/dist/interfaces/POIs.js +0 -2
- package/dist/interfaces/Ramps.d.ts +0 -2
- package/dist/interfaces/Ramps.js +0 -2
- package/dist/interfaces/Root.d.ts +0 -135
- package/dist/interfaces/Root.js +0 -2
- package/dist/interfaces/Routing.d.ts +0 -2
- package/dist/interfaces/Routing.js +0 -2
- package/dist/interfaces/Session.d.ts +0 -2
- package/dist/interfaces/Session.js +0 -2
- package/dist/interfaces/Sources.d.ts +0 -2
- package/dist/interfaces/Sources.js +0 -2
- package/dist/interfaces/Spaces.d.ts +0 -2
- package/dist/interfaces/Spaces.js +0 -2
- package/dist/interfaces/Stairs.d.ts +0 -2
- package/dist/interfaces/Stairs.js +0 -2
- package/dist/interfaces/Updates.d.ts +0 -2
- package/dist/interfaces/Updates.js +0 -2
- package/dist/interfaces/index.d.ts +0 -29
- package/dist/interfaces/index.js +0 -45
package/dist/interfaces/Doors.js
DELETED
package/dist/interfaces/Holes.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface Level {
|
|
2
|
-
access_restriction: null;
|
|
3
|
-
base_altitude: number;
|
|
4
|
-
can_describe: boolean;
|
|
5
|
-
can_search: boolean;
|
|
6
|
-
default_height: number;
|
|
7
|
-
door_height: number;
|
|
8
|
-
groups: {};
|
|
9
|
-
icon: string;
|
|
10
|
-
id: number;
|
|
11
|
-
on_top_of: null | number;
|
|
12
|
-
short_label: string;
|
|
13
|
-
slug: string;
|
|
14
|
-
subtitle: string;
|
|
15
|
-
title: string;
|
|
16
|
-
titles: {
|
|
17
|
-
[lang: string]: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
package/dist/interfaces/Level.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface Location {
|
|
2
|
-
icon: string;
|
|
3
|
-
id: number;
|
|
4
|
-
on_top_of: null | number;
|
|
5
|
-
slug: string;
|
|
6
|
-
subtitle: string;
|
|
7
|
-
title: string;
|
|
8
|
-
type: string;
|
|
9
|
-
}
|
|
10
|
-
export interface LocationDetails {
|
|
11
|
-
display: Array<[string, string | null | number]>;
|
|
12
|
-
editor_url: string;
|
|
13
|
-
id: number;
|
|
14
|
-
}
|
|
15
|
-
export interface LocationGeometry {
|
|
16
|
-
geometry: {
|
|
17
|
-
coordinates: number[] | number[][];
|
|
18
|
-
type: string;
|
|
19
|
-
};
|
|
20
|
-
id: number;
|
|
21
|
-
level: number | null;
|
|
22
|
-
}
|
|
23
|
-
export interface LocationType {
|
|
24
|
-
name: string;
|
|
25
|
-
name_plural: string;
|
|
26
|
-
title: string;
|
|
27
|
-
title_plural: string;
|
|
28
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface ClientOptions {
|
|
2
|
-
apiUrl?: string;
|
|
3
|
-
}
|
|
4
|
-
export interface LevelListOptions {
|
|
5
|
-
/** filter by group */
|
|
6
|
-
group?: string | number;
|
|
7
|
-
/** filter by on_top_of */
|
|
8
|
-
on_top_of?: null | string | number;
|
|
9
|
-
}
|
|
10
|
-
export type RequestOptions = LevelListOptions;
|
|
11
|
-
export type HttpMethod = 'get' | 'head' | 'options' | 'post' | 'put';
|
package/dist/interfaces/POIs.js
DELETED
package/dist/interfaces/Ramps.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
export interface Root {
|
|
2
|
-
accessrestrictiongroups: {
|
|
3
|
-
detail: string;
|
|
4
|
-
list: string;
|
|
5
|
-
};
|
|
6
|
-
accessrestrictions: {
|
|
7
|
-
detail: string;
|
|
8
|
-
list: string;
|
|
9
|
-
};
|
|
10
|
-
areas: {
|
|
11
|
-
detail: string;
|
|
12
|
-
list: string;
|
|
13
|
-
};
|
|
14
|
-
buildings: {
|
|
15
|
-
detail: string;
|
|
16
|
-
list: string;
|
|
17
|
-
};
|
|
18
|
-
changesets: {
|
|
19
|
-
activate: string;
|
|
20
|
-
apply: string;
|
|
21
|
-
changes: string;
|
|
22
|
-
current: string;
|
|
23
|
-
deactivate: string;
|
|
24
|
-
delete: string;
|
|
25
|
-
detail: string;
|
|
26
|
-
'direct-editing': string;
|
|
27
|
-
edit: string;
|
|
28
|
-
list: string;
|
|
29
|
-
'pending-review': string;
|
|
30
|
-
propose: string;
|
|
31
|
-
reject: string;
|
|
32
|
-
'restore-object': string;
|
|
33
|
-
review: string;
|
|
34
|
-
reviewing: string;
|
|
35
|
-
unpropose: string;
|
|
36
|
-
unreject: string;
|
|
37
|
-
user: string;
|
|
38
|
-
};
|
|
39
|
-
columns: {
|
|
40
|
-
detail: string;
|
|
41
|
-
list: string;
|
|
42
|
-
};
|
|
43
|
-
crossdescriptions: {
|
|
44
|
-
detail: string;
|
|
45
|
-
list: string;
|
|
46
|
-
};
|
|
47
|
-
doors: {
|
|
48
|
-
detail: string;
|
|
49
|
-
list: string;
|
|
50
|
-
};
|
|
51
|
-
editor: {
|
|
52
|
-
api: string;
|
|
53
|
-
bounds: string;
|
|
54
|
-
geometries: string;
|
|
55
|
-
geometrystyles: string;
|
|
56
|
-
};
|
|
57
|
-
holes: {
|
|
58
|
-
detail: string;
|
|
59
|
-
list: string;
|
|
60
|
-
};
|
|
61
|
-
leavedescriptions: {
|
|
62
|
-
detail: string;
|
|
63
|
-
list: string;
|
|
64
|
-
};
|
|
65
|
-
levels: {
|
|
66
|
-
detail: string;
|
|
67
|
-
geometrytypes: string;
|
|
68
|
-
list: string;
|
|
69
|
-
};
|
|
70
|
-
lineobstacles: {
|
|
71
|
-
detail: string;
|
|
72
|
-
list: string;
|
|
73
|
-
};
|
|
74
|
-
locationgroupcategories: {
|
|
75
|
-
detail: string;
|
|
76
|
-
list: string;
|
|
77
|
-
};
|
|
78
|
-
locationgroups: {
|
|
79
|
-
detail: string;
|
|
80
|
-
list: string;
|
|
81
|
-
};
|
|
82
|
-
locations: {
|
|
83
|
-
'by-slug-detail': string;
|
|
84
|
-
'by-slug-details': string;
|
|
85
|
-
'by-slug-geometry': string;
|
|
86
|
-
detail: string;
|
|
87
|
-
details: string;
|
|
88
|
-
geometry: string;
|
|
89
|
-
list: string;
|
|
90
|
-
types: string;
|
|
91
|
-
};
|
|
92
|
-
map: {
|
|
93
|
-
bounds: string;
|
|
94
|
-
};
|
|
95
|
-
obstacles: {
|
|
96
|
-
detail: string;
|
|
97
|
-
list: string;
|
|
98
|
-
};
|
|
99
|
-
pois: {
|
|
100
|
-
detail: string;
|
|
101
|
-
list: string;
|
|
102
|
-
};
|
|
103
|
-
ramps: {
|
|
104
|
-
detail: string;
|
|
105
|
-
list: string;
|
|
106
|
-
};
|
|
107
|
-
routing: {
|
|
108
|
-
locate: string;
|
|
109
|
-
options: string;
|
|
110
|
-
route: string;
|
|
111
|
-
};
|
|
112
|
-
session: {
|
|
113
|
-
'get-token': string;
|
|
114
|
-
info: string;
|
|
115
|
-
login: string;
|
|
116
|
-
logout: string;
|
|
117
|
-
};
|
|
118
|
-
sources: {
|
|
119
|
-
detail: string;
|
|
120
|
-
image: string;
|
|
121
|
-
list: string;
|
|
122
|
-
};
|
|
123
|
-
spaces: {
|
|
124
|
-
detail: string;
|
|
125
|
-
geometrytypes: string;
|
|
126
|
-
list: string;
|
|
127
|
-
};
|
|
128
|
-
stairs: {
|
|
129
|
-
detail: string;
|
|
130
|
-
list: string;
|
|
131
|
-
};
|
|
132
|
-
updates: {
|
|
133
|
-
fetch: string;
|
|
134
|
-
};
|
|
135
|
-
}
|
package/dist/interfaces/Root.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from './AccessRestrictionGroups';
|
|
2
|
-
export * from './AccessRestrictions';
|
|
3
|
-
export * from './API';
|
|
4
|
-
export * from './Areas';
|
|
5
|
-
export * from './Buildings';
|
|
6
|
-
export * from './Changesets';
|
|
7
|
-
export * from './Columns';
|
|
8
|
-
export * from './CrossDescriptions';
|
|
9
|
-
export * from './Doors';
|
|
10
|
-
export * from './Editor';
|
|
11
|
-
export * from './Holes';
|
|
12
|
-
export * from './LeaveDescriptions';
|
|
13
|
-
export * from './Level';
|
|
14
|
-
export * from './LineObstacles';
|
|
15
|
-
export * from './LocationGroupCategories';
|
|
16
|
-
export * from './LocationGroups';
|
|
17
|
-
export * from './Location';
|
|
18
|
-
export * from './Bounds';
|
|
19
|
-
export * from './Obstacles';
|
|
20
|
-
export * from './Options';
|
|
21
|
-
export * from './POIs';
|
|
22
|
-
export * from './Ramps';
|
|
23
|
-
export * from './Root';
|
|
24
|
-
export * from './Routing';
|
|
25
|
-
export * from './Session';
|
|
26
|
-
export * from './Sources';
|
|
27
|
-
export * from './Spaces';
|
|
28
|
-
export * from './Stairs';
|
|
29
|
-
export * from './Updates';
|
package/dist/interfaces/index.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./AccessRestrictionGroups"), exports);
|
|
18
|
-
__exportStar(require("./AccessRestrictions"), exports);
|
|
19
|
-
__exportStar(require("./API"), exports);
|
|
20
|
-
__exportStar(require("./Areas"), exports);
|
|
21
|
-
__exportStar(require("./Buildings"), exports);
|
|
22
|
-
__exportStar(require("./Changesets"), exports);
|
|
23
|
-
__exportStar(require("./Columns"), exports);
|
|
24
|
-
__exportStar(require("./CrossDescriptions"), exports);
|
|
25
|
-
__exportStar(require("./Doors"), exports);
|
|
26
|
-
__exportStar(require("./Editor"), exports);
|
|
27
|
-
__exportStar(require("./Holes"), exports);
|
|
28
|
-
__exportStar(require("./LeaveDescriptions"), exports);
|
|
29
|
-
__exportStar(require("./Level"), exports);
|
|
30
|
-
__exportStar(require("./LineObstacles"), exports);
|
|
31
|
-
__exportStar(require("./LocationGroupCategories"), exports);
|
|
32
|
-
__exportStar(require("./LocationGroups"), exports);
|
|
33
|
-
__exportStar(require("./Location"), exports);
|
|
34
|
-
__exportStar(require("./Bounds"), exports);
|
|
35
|
-
__exportStar(require("./Obstacles"), exports);
|
|
36
|
-
__exportStar(require("./Options"), exports);
|
|
37
|
-
__exportStar(require("./POIs"), exports);
|
|
38
|
-
__exportStar(require("./Ramps"), exports);
|
|
39
|
-
__exportStar(require("./Root"), exports);
|
|
40
|
-
__exportStar(require("./Routing"), exports);
|
|
41
|
-
__exportStar(require("./Session"), exports);
|
|
42
|
-
__exportStar(require("./Sources"), exports);
|
|
43
|
-
__exportStar(require("./Spaces"), exports);
|
|
44
|
-
__exportStar(require("./Stairs"), exports);
|
|
45
|
-
__exportStar(require("./Updates"), exports);
|