@plurid/plurid-data 0.0.0-20 → 0.0.0-21
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/distribution/index.d.mts +2678 -0
- package/distribution/index.d.ts +2678 -3
- package/distribution/index.js +1699 -1681
- package/distribution/index.js.map +1 -1
- package/distribution/index.mjs +1762 -0
- package/distribution/index.mjs.map +1 -0
- package/package.json +64 -62
- package/distribution/constants/compare/index.d.ts +0 -2
- package/distribution/constants/configuration/index.d.ts +0 -15
- package/distribution/constants/defaults/index.d.ts +0 -22
- package/distribution/constants/entities/index.d.ts +0 -18
- package/distribution/constants/events/index.d.ts +0 -2
- package/distribution/constants/general/index.d.ts +0 -6
- package/distribution/constants/index.d.ts +0 -13
- package/distribution/constants/internationalization/chinese/index.d.ts +0 -3
- package/distribution/constants/internationalization/english/index.d.ts +0 -3
- package/distribution/constants/internationalization/fields.d.ts +0 -83
- package/distribution/constants/internationalization/french/index.d.ts +0 -3
- package/distribution/constants/internationalization/german/index.d.ts +0 -3
- package/distribution/constants/internationalization/hindi/index.d.ts +0 -3
- package/distribution/constants/internationalization/index.d.ts +0 -95
- package/distribution/constants/internationalization/italian/index.d.ts +0 -3
- package/distribution/constants/internationalization/japanese/index.d.ts +0 -3
- package/distribution/constants/internationalization/languages.d.ts +0 -3
- package/distribution/constants/internationalization/romanian/index.d.ts +0 -3
- package/distribution/constants/internationalization/russian/index.d.ts +0 -3
- package/distribution/constants/internationalization/spanish/index.d.ts +0 -3
- package/distribution/constants/keys/index.d.ts +0 -2
- package/distribution/constants/protocols/index.d.ts +0 -9
- package/distribution/constants/pubsub/index.d.ts +0 -40
- package/distribution/constants/shortcuts/index.d.ts +0 -16
- package/distribution/constants/space/index.d.ts +0 -8
- package/distribution/constants/tree/index.d.ts +0 -2
- package/distribution/enumerations/general/index.d.ts +0 -77
- package/distribution/enumerations/index.d.ts +0 -1
- package/distribution/index.es.js +0 -1680
- package/distribution/index.es.js.map +0 -1
- package/distribution/interfaces/external/animation/index.d.ts +0 -18
- package/distribution/interfaces/external/application/index.d.ts +0 -95
- package/distribution/interfaces/external/compare/index.d.ts +0 -13
- package/distribution/interfaces/external/component/index.d.ts +0 -26
- package/distribution/interfaces/external/configuration/index.d.ts +0 -217
- package/distribution/interfaces/external/configurator/index.d.ts +0 -11
- package/distribution/interfaces/external/index.d.ts +0 -17
- package/distribution/interfaces/external/internationalization/index.d.ts +0 -15
- package/distribution/interfaces/external/keys/index.d.ts +0 -1
- package/distribution/interfaces/external/layout/index.d.ts +0 -159
- package/distribution/interfaces/external/link/index.d.ts +0 -131
- package/distribution/interfaces/external/metastate/index.d.ts +0 -5
- package/distribution/interfaces/external/plane/index.d.ts +0 -69
- package/distribution/interfaces/external/pubsub/index.d.ts +0 -10
- package/distribution/interfaces/external/pubsub/message.d.ts +0 -326
- package/distribution/interfaces/external/registrar/index.d.ts +0 -7
- package/distribution/interfaces/external/router/fragment/index.d.ts +0 -18
- package/distribution/interfaces/external/router/index.d.ts +0 -83
- package/distribution/interfaces/external/router/multispace/index.d.ts +0 -14
- package/distribution/interfaces/external/router/preserve/index.d.ts +0 -70
- package/distribution/interfaces/external/router/route/index.d.ts +0 -171
- package/distribution/interfaces/external/routing/index.d.ts +0 -58
- package/distribution/interfaces/external/universe/index.d.ts +0 -20
- package/distribution/interfaces/external/view/index.d.ts +0 -18
- package/distribution/interfaces/external/window/index.d.ts +0 -4
- package/distribution/interfaces/helpers/index.d.ts +0 -10
- package/distribution/interfaces/index.d.ts +0 -3
- package/distribution/interfaces/internal/context/index.d.ts +0 -16
- package/distribution/interfaces/internal/index.d.ts +0 -5
- package/distribution/interfaces/internal/shortcuts/index.d.ts +0 -10
- package/distribution/interfaces/internal/state/index.d.ts +0 -45
- package/distribution/interfaces/internal/transform/index.d.ts +0 -9
- package/distribution/interfaces/internal/tree/index.d.ts +0 -106
- package/distribution/interfaces/internal/utilities/index.d.ts +0 -19
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { PluridPartialConfiguration } from "../../configuration";
|
|
2
|
-
import { CompareType } from "../../compare";
|
|
3
|
-
import { PluridRouteMultispace } from '../multispace';
|
|
4
|
-
export declare type PluridRouteResolver<C> = Omit<PluridRoute<C>, 'value' | 'resolver'>;
|
|
5
|
-
/**
|
|
6
|
-
* A route can be `plurid space` or `exterior`-based.
|
|
7
|
-
*/
|
|
8
|
-
export interface PluridRoute<C, G = any> {
|
|
9
|
-
/**
|
|
10
|
-
* The route `value` can:
|
|
11
|
-
* + be a simple string, e.g. `'/route/to/page'`;
|
|
12
|
-
* + be a parametric location, e.g. `'/route/to/:page'`, where `:page` is the parameter name;
|
|
13
|
-
* + receive query `key=value` pairs,
|
|
14
|
-
* e.g. `'/route/to/page?id=1&show=true'`, where `id=1` and `show=true` are `key=value` pairs;
|
|
15
|
-
*/
|
|
16
|
-
value: string;
|
|
17
|
-
parameters?: Record<string, PluridRouteParameter>;
|
|
18
|
-
/**
|
|
19
|
-
* Accepts a component which will be rendered outside of the `spaces`.
|
|
20
|
-
*/
|
|
21
|
-
exterior?: C;
|
|
22
|
-
/**
|
|
23
|
-
* A route can have planes and/or spaces.
|
|
24
|
-
*/
|
|
25
|
-
planes?: PluridRoutePlane<C>[];
|
|
26
|
-
view?: string[];
|
|
27
|
-
/**
|
|
28
|
-
* A route can have planes and/or spaces.
|
|
29
|
-
*/
|
|
30
|
-
spaces?: PluridRouteSpace<C>[];
|
|
31
|
-
/**
|
|
32
|
-
* Pass the rendered `spaces[]` components as a property to the `exterior` component
|
|
33
|
-
* to be rendered in particular slots.
|
|
34
|
-
*/
|
|
35
|
-
slotted?: boolean;
|
|
36
|
-
multispace?: PluridRouteMultispace<C>;
|
|
37
|
-
defaultConfiguration?: PluridPartialConfiguration;
|
|
38
|
-
/**
|
|
39
|
-
* Resolve the route at request time.
|
|
40
|
-
*
|
|
41
|
-
* Receives the `globals` from the preserve, if any.
|
|
42
|
-
*/
|
|
43
|
-
resolver?: (globals: G | undefined) => PluridRouteResolver<C> | Promise<PluridRouteResolver<C>>;
|
|
44
|
-
}
|
|
45
|
-
export interface PluridRouteParameter {
|
|
46
|
-
/**
|
|
47
|
-
* Constrain the route parameter to be of a certain length.
|
|
48
|
-
*/
|
|
49
|
-
length?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Ensure that the `length` of the route parameter is of a certain type:
|
|
52
|
-
*
|
|
53
|
-
* * `'=='` - equal,
|
|
54
|
-
* * `'<='` - equal or less than,
|
|
55
|
-
* * `'<'` - less than,
|
|
56
|
-
* * `'>='` - equal or greater than,
|
|
57
|
-
* * `'>'` - greater than.
|
|
58
|
-
*
|
|
59
|
-
* Default `'<='`, if a `length` is provided.
|
|
60
|
-
*/
|
|
61
|
-
lengthType?: CompareType;
|
|
62
|
-
startsWith?: string;
|
|
63
|
-
endsWith?: string;
|
|
64
|
-
includes?: string[];
|
|
65
|
-
}
|
|
66
|
-
export interface PluridRouteSpace<C> {
|
|
67
|
-
value: string;
|
|
68
|
-
/**
|
|
69
|
-
* Accepts a component which will be rendered outside of the `space`.
|
|
70
|
-
*/
|
|
71
|
-
exterior?: C;
|
|
72
|
-
/**
|
|
73
|
-
* A space can have planes and/or universes.
|
|
74
|
-
*/
|
|
75
|
-
planes?: PluridRoutePlane<C>[];
|
|
76
|
-
view?: string[];
|
|
77
|
-
/**
|
|
78
|
-
* A space can have planes and/or universes.
|
|
79
|
-
*/
|
|
80
|
-
universes?: PluridRouteUniverse<C>[];
|
|
81
|
-
configuration?: PluridPartialConfiguration;
|
|
82
|
-
}
|
|
83
|
-
export interface PluridRouteUniverse<C> {
|
|
84
|
-
value: string;
|
|
85
|
-
planes?: PluridRoutePlane<C>[];
|
|
86
|
-
view?: string[];
|
|
87
|
-
/**
|
|
88
|
-
* By default, the order the documents are shown in is based on their index in the `documents[]`.
|
|
89
|
-
* The ordinal can be used to overrule the default order.
|
|
90
|
-
* If not unique, the documents with equal `ordinal` will be ordered by index.
|
|
91
|
-
*
|
|
92
|
-
* 0-based.
|
|
93
|
-
*/
|
|
94
|
-
ordinal?: number;
|
|
95
|
-
/**
|
|
96
|
-
* Set the document as active. By default the first document is active.
|
|
97
|
-
*
|
|
98
|
-
* Only one document can be active at a time.
|
|
99
|
-
*/
|
|
100
|
-
active?: boolean;
|
|
101
|
-
}
|
|
102
|
-
export interface PluridRoutePlaneOptions {
|
|
103
|
-
/**
|
|
104
|
-
* Map a direct link for a specific plane.
|
|
105
|
-
*
|
|
106
|
-
* e.g. `/plane-one` will route in browser the path `protocol://host/plane-one`
|
|
107
|
-
*
|
|
108
|
-
* Default composed from route and plane value, `/<route.value/<plane.value>`
|
|
109
|
-
*/
|
|
110
|
-
link?: string;
|
|
111
|
-
/**
|
|
112
|
-
* On direct link access (from the browser), show the plane in a `plurid` space,
|
|
113
|
-
* or as the legacy view of an web page.
|
|
114
|
-
*
|
|
115
|
-
* Default `'plurid'`
|
|
116
|
-
*/
|
|
117
|
-
linkView?: 'legacy' | 'plurid';
|
|
118
|
-
/**
|
|
119
|
-
* Injectable into other `plurid` spaces.
|
|
120
|
-
*
|
|
121
|
-
* Default `true`
|
|
122
|
-
*/
|
|
123
|
-
injectable?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Direct access to the plane from the browser.
|
|
126
|
-
*
|
|
127
|
-
* Default plane link composed from route and plane value, `/<route.value/<plane.value>`;
|
|
128
|
-
* changeable through the `link` property.
|
|
129
|
-
*
|
|
130
|
-
* Default `true`
|
|
131
|
-
*/
|
|
132
|
-
urlable?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Access to the plane through the `gateway` path.
|
|
135
|
-
*
|
|
136
|
-
* Default `true`
|
|
137
|
-
*/
|
|
138
|
-
gateable?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Render route exterior when directly accessed.
|
|
141
|
-
*
|
|
142
|
-
* Default `true`
|
|
143
|
-
*/
|
|
144
|
-
directExterior?: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* Render route exterior when injected into other `plurid` space.
|
|
147
|
-
*
|
|
148
|
-
* Default `false`
|
|
149
|
-
*/
|
|
150
|
-
injectExterior?: boolean;
|
|
151
|
-
/**
|
|
152
|
-
* Constraints for the parameters.
|
|
153
|
-
*/
|
|
154
|
-
parameters?: Record<string, PluridRouteParameter>;
|
|
155
|
-
}
|
|
156
|
-
export interface PluridRoutePlaneObject<C> extends PluridRoutePlaneOptions {
|
|
157
|
-
value: string;
|
|
158
|
-
component: C;
|
|
159
|
-
}
|
|
160
|
-
export declare type PluridRoutePlaneTuple<C> = [
|
|
161
|
-
/**
|
|
162
|
-
* See `PluridRoutePlaneObject<C>.value`.
|
|
163
|
-
*/
|
|
164
|
-
value: string,
|
|
165
|
-
/**
|
|
166
|
-
* See `PluridRoutePlaneObject<C>.component`.
|
|
167
|
-
*/
|
|
168
|
-
component: C,
|
|
169
|
-
options?: PluridRoutePlaneOptions
|
|
170
|
-
];
|
|
171
|
-
export declare type PluridRoutePlane<C> = PluridRoutePlaneObject<C> | PluridRoutePlaneTuple<C>;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { PluridRoute, PluridRoutePlane, PluridRoutePlaneObject, PluridRouteFragments } from '../router';
|
|
2
|
-
import { PluridPlane, PluridPlaneObject } from '../plane';
|
|
3
|
-
export interface IsoMatcherData<C> {
|
|
4
|
-
routes?: PluridRoute<C>[];
|
|
5
|
-
routePlanes?: PluridRoutePlane<C>[];
|
|
6
|
-
planes?: PluridPlane<C>[];
|
|
7
|
-
}
|
|
8
|
-
export declare type IsoMatcherContext = 'route' | 'plane';
|
|
9
|
-
export interface IsoMatcherResultBase {
|
|
10
|
-
value: string;
|
|
11
|
-
parameters: Record<string, string>;
|
|
12
|
-
query: Record<string, string>;
|
|
13
|
-
}
|
|
14
|
-
export interface IsoMatcherRouteResultBase {
|
|
15
|
-
match: IsoMatcherResultBase;
|
|
16
|
-
}
|
|
17
|
-
export interface IsoMatcherRouteResultRoute<C> extends IsoMatcherRouteResultBase {
|
|
18
|
-
kind: 'Route';
|
|
19
|
-
data: PluridRoute<C>;
|
|
20
|
-
}
|
|
21
|
-
export interface IsoMatcherRouteResultRoutePlane<C> extends IsoMatcherRouteResultBase {
|
|
22
|
-
kind: 'RoutePlane';
|
|
23
|
-
data: PluridRoutePlaneObject<C>;
|
|
24
|
-
}
|
|
25
|
-
export declare type IsoMatcherRouteResult<C> = IsoMatcherRouteResultRoute<C> | IsoMatcherRouteResultRoutePlane<C>;
|
|
26
|
-
export interface IsoMatcherIndexedRoute<C> {
|
|
27
|
-
data: PluridRoute<C>;
|
|
28
|
-
}
|
|
29
|
-
export declare type IsoMatcherPlaneType = 'Plane' | 'RoutePlane';
|
|
30
|
-
export interface IsoMatcherPlaneResultMatch extends IsoMatcherResultBase {
|
|
31
|
-
fragments: PluridRouteFragments;
|
|
32
|
-
}
|
|
33
|
-
export interface IsoMatcherPlaneResultBase<C> {
|
|
34
|
-
parent?: string;
|
|
35
|
-
match: IsoMatcherPlaneResultMatch;
|
|
36
|
-
}
|
|
37
|
-
export interface IsoMatcherPlaneResultPlane<C> extends IsoMatcherPlaneResultBase<C> {
|
|
38
|
-
kind: 'Plane';
|
|
39
|
-
data: PluridPlaneObject<C>;
|
|
40
|
-
}
|
|
41
|
-
export interface IsoMatcherPlaneResultRoutePlane<C> extends IsoMatcherPlaneResultBase<C> {
|
|
42
|
-
kind: 'RoutePlane';
|
|
43
|
-
data: PluridRoutePlaneObject<C>;
|
|
44
|
-
}
|
|
45
|
-
export declare type IsoMatcherPlaneResult<C> = IsoMatcherPlaneResultPlane<C> | IsoMatcherPlaneResultRoutePlane<C>;
|
|
46
|
-
export declare type IsoMatcherResult<C> = IsoMatcherRouteResult<C> | IsoMatcherPlaneResult<C>;
|
|
47
|
-
export interface IsoMatcherIndexedPlaneBase<C> {
|
|
48
|
-
parent?: string;
|
|
49
|
-
}
|
|
50
|
-
export interface IsoMatcherIndexedPlanePlane<C> extends IsoMatcherIndexedPlaneBase<C> {
|
|
51
|
-
kind: 'Plane';
|
|
52
|
-
data: PluridPlaneObject<C>;
|
|
53
|
-
}
|
|
54
|
-
export interface IsoMatcherIndexedPlaneRoutePlane<C> extends IsoMatcherIndexedPlaneBase<C> {
|
|
55
|
-
kind: 'RoutePlane';
|
|
56
|
-
data: PluridRoutePlaneObject<C>;
|
|
57
|
-
}
|
|
58
|
-
export declare type IsoMatcherIndexedPlane<C> = IsoMatcherIndexedPlanePlane<C> | IsoMatcherIndexedPlaneRoutePlane<C>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PluridPlane } from '../plane';
|
|
2
|
-
export interface PluridUniverse<C> {
|
|
3
|
-
value: string;
|
|
4
|
-
planes?: PluridPlane<C>[];
|
|
5
|
-
view?: string[];
|
|
6
|
-
/**
|
|
7
|
-
* By default, the order the documents are shown in is based on their index in the `documents[]`.
|
|
8
|
-
* The ordinal can be used to overrule the default order.
|
|
9
|
-
* If not unique, the documents with equal `ordinal` will be ordered by index.
|
|
10
|
-
*
|
|
11
|
-
* 0-based.
|
|
12
|
-
*/
|
|
13
|
-
ordinal?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Set the document as active. By default the first document is active.
|
|
16
|
-
*
|
|
17
|
-
* Only one document can be active at a time.
|
|
18
|
-
*/
|
|
19
|
-
active?: boolean;
|
|
20
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface PluridView {
|
|
2
|
-
/**
|
|
3
|
-
* Route to a `PluridPlane`.
|
|
4
|
-
*
|
|
5
|
-
* The route can be URL-like, e.g. `'/plane/one?query=true'`,
|
|
6
|
-
* for a plane in the same space, or fully defined,
|
|
7
|
-
* e.g. `'protocol://host://path://space://universe://cluster://plane`.
|
|
8
|
-
*/
|
|
9
|
-
plane: string;
|
|
10
|
-
/**
|
|
11
|
-
* By default, the order the planes are shown in is based on their index in the `view[]`.
|
|
12
|
-
* The ordinal can be used to overrule the default order.
|
|
13
|
-
* If not unique, the planes with equal `ordinal` will be ordered by index.
|
|
14
|
-
*
|
|
15
|
-
* 0-based.
|
|
16
|
-
*/
|
|
17
|
-
ordinal?: number;
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PluridPlaneContext } from "../../external/plane";
|
|
2
|
-
import { PluridPlanesRegistrar } from "../../external/registrar";
|
|
3
|
-
import { IsoMatcherRouteResult } from "../../external/routing";
|
|
4
|
-
import { PluridPubSub } from "../../external/pubsub";
|
|
5
|
-
export interface PluridContext<C> {
|
|
6
|
-
planesRegistrar?: PluridPlanesRegistrar<C>;
|
|
7
|
-
planeContext?: PluridPlaneContext<any>;
|
|
8
|
-
planeContextValue?: any;
|
|
9
|
-
customPlane?: C;
|
|
10
|
-
planeNotFound?: boolean | C;
|
|
11
|
-
planeRenderError?: boolean | C;
|
|
12
|
-
matchedRoute?: IsoMatcherRouteResult<C> | undefined;
|
|
13
|
-
hostname?: string;
|
|
14
|
-
defaultPubSub: PluridPubSub;
|
|
15
|
-
registerPubSub: (pubsub: PluridPubSub) => void;
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SHORTCUTS } from "../../../enumerations/index";
|
|
2
|
-
import { InternationalizationFieldType } from "../../external/internationalization";
|
|
3
|
-
export interface ShortcutName {
|
|
4
|
-
name: InternationalizationFieldType;
|
|
5
|
-
internationalizedKey?: boolean;
|
|
6
|
-
key: string;
|
|
7
|
-
modifier?: string | string[];
|
|
8
|
-
}
|
|
9
|
-
export declare type ShortcutNamesTypes = keyof typeof SHORTCUTS;
|
|
10
|
-
export declare type ShortcutNames = Record<ShortcutNamesTypes, ShortcutName>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
-
import { PluridApplicationView } from '../../external/application';
|
|
3
|
-
import { PluridConfiguration } from '../../external/configuration';
|
|
4
|
-
import { TreePlane } from '../tree';
|
|
5
|
-
import { Coordinates, ViewSize, SpaceSize } from '../utilities';
|
|
6
|
-
export interface PluridState {
|
|
7
|
-
configuration: PluridConfiguration;
|
|
8
|
-
shortcuts: PluridStateShortcuts;
|
|
9
|
-
space: PluridStateSpace;
|
|
10
|
-
themes: PluridStateThemes;
|
|
11
|
-
ui: PluridStateUI;
|
|
12
|
-
}
|
|
13
|
-
export interface PluridStateShortcuts {
|
|
14
|
-
global: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface PluridStateSpace {
|
|
17
|
-
loading: boolean;
|
|
18
|
-
resolvedLayout: boolean;
|
|
19
|
-
animatedTransform: boolean;
|
|
20
|
-
transformTime: number;
|
|
21
|
-
scale: number;
|
|
22
|
-
rotationX: number;
|
|
23
|
-
rotationY: number;
|
|
24
|
-
translationX: number;
|
|
25
|
-
translationY: number;
|
|
26
|
-
translationZ: number;
|
|
27
|
-
transform: string;
|
|
28
|
-
tree: TreePlane[];
|
|
29
|
-
activeUniverseID: string;
|
|
30
|
-
camera: Coordinates;
|
|
31
|
-
viewSize: ViewSize;
|
|
32
|
-
spaceSize: SpaceSize;
|
|
33
|
-
view: PluridApplicationView;
|
|
34
|
-
culledView: PluridApplicationView;
|
|
35
|
-
activePlaneID: string;
|
|
36
|
-
isolatePlane: string;
|
|
37
|
-
lastClosedPlane: string;
|
|
38
|
-
}
|
|
39
|
-
export interface PluridStateThemes {
|
|
40
|
-
general: Theme;
|
|
41
|
-
interaction: Theme;
|
|
42
|
-
}
|
|
43
|
-
export interface PluridStateUI {
|
|
44
|
-
toolbarScrollPosition: number;
|
|
45
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { PluridRouteFragments } from '../../external/router';
|
|
2
|
-
export interface TreePlane {
|
|
3
|
-
/**
|
|
4
|
-
* The application defined plane ID that is the source
|
|
5
|
-
*/
|
|
6
|
-
sourceID: string;
|
|
7
|
-
planeID: string;
|
|
8
|
-
parentPlaneID?: string;
|
|
9
|
-
/**
|
|
10
|
-
* The full route string, adequately formatted
|
|
11
|
-
* <protocol>://<host>://<path>://<space>://universe://cluster://<plane>
|
|
12
|
-
*/
|
|
13
|
-
route: string;
|
|
14
|
-
routeDivisions: RouteDivisions;
|
|
15
|
-
linkCoordinates?: LinkCoordinates;
|
|
16
|
-
height: number;
|
|
17
|
-
width: number;
|
|
18
|
-
location: TreePlaneLocation;
|
|
19
|
-
show: boolean;
|
|
20
|
-
children?: TreePlane[];
|
|
21
|
-
bridgeLength?: number;
|
|
22
|
-
planeAngle?: number;
|
|
23
|
-
}
|
|
24
|
-
export interface RouteDivisions {
|
|
25
|
-
protocol: RouteHostProtocol;
|
|
26
|
-
host: RouteHostDivision;
|
|
27
|
-
path: RoutePathDivision;
|
|
28
|
-
space: RouteSpaceDivision;
|
|
29
|
-
universe: RouteUniverseDivision;
|
|
30
|
-
cluster: RouteClusterDivision;
|
|
31
|
-
plane: RoutePlaneDivision;
|
|
32
|
-
valid: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface RouteDivision {
|
|
35
|
-
value: string;
|
|
36
|
-
parameters: Record<string, string>;
|
|
37
|
-
query: Record<string, string>;
|
|
38
|
-
}
|
|
39
|
-
export interface RouteHostProtocol {
|
|
40
|
-
value: string;
|
|
41
|
-
secure: boolean;
|
|
42
|
-
}
|
|
43
|
-
export interface RouteHostDivision {
|
|
44
|
-
value: string;
|
|
45
|
-
controlled: boolean;
|
|
46
|
-
}
|
|
47
|
-
export interface RoutePathDivision {
|
|
48
|
-
value: string;
|
|
49
|
-
parameters: Record<string, string>;
|
|
50
|
-
query: Record<string, string>;
|
|
51
|
-
}
|
|
52
|
-
export interface RouteSpaceDivision {
|
|
53
|
-
value: string;
|
|
54
|
-
parameters: Record<string, string>;
|
|
55
|
-
query: Record<string, string>;
|
|
56
|
-
}
|
|
57
|
-
export interface RouteUniverseDivision {
|
|
58
|
-
value: string;
|
|
59
|
-
parameters: Record<string, string>;
|
|
60
|
-
query: Record<string, string>;
|
|
61
|
-
}
|
|
62
|
-
export interface RouteClusterDivision {
|
|
63
|
-
value: string;
|
|
64
|
-
parameters: Record<string, string>;
|
|
65
|
-
query: Record<string, string>;
|
|
66
|
-
}
|
|
67
|
-
export interface RoutePlaneDivision {
|
|
68
|
-
value: string;
|
|
69
|
-
parameters: Record<string, string>;
|
|
70
|
-
query: Record<string, string>;
|
|
71
|
-
fragments: PluridRouteFragments;
|
|
72
|
-
}
|
|
73
|
-
export interface PathParameters {
|
|
74
|
-
[key: string]: string;
|
|
75
|
-
}
|
|
76
|
-
export interface PathQuery {
|
|
77
|
-
[key: string]: string;
|
|
78
|
-
}
|
|
79
|
-
export interface TreePlaneLocation {
|
|
80
|
-
translateX: number;
|
|
81
|
-
translateY: number;
|
|
82
|
-
translateZ: number;
|
|
83
|
-
rotateX: number;
|
|
84
|
-
rotateY: number;
|
|
85
|
-
}
|
|
86
|
-
export interface SpaceLocation {
|
|
87
|
-
translationX: number;
|
|
88
|
-
translationY: number;
|
|
89
|
-
translationZ: number;
|
|
90
|
-
rotationX: number;
|
|
91
|
-
rotationY: number;
|
|
92
|
-
scale: number;
|
|
93
|
-
}
|
|
94
|
-
export interface LocationCoordinates {
|
|
95
|
-
x: number;
|
|
96
|
-
y: number;
|
|
97
|
-
z: number;
|
|
98
|
-
}
|
|
99
|
-
export interface LinkCoordinates {
|
|
100
|
-
x: number;
|
|
101
|
-
y: number;
|
|
102
|
-
}
|
|
103
|
-
export interface TopPlanePoint {
|
|
104
|
-
x: number;
|
|
105
|
-
z: number;
|
|
106
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface Coordinates {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
z: number;
|
|
5
|
-
}
|
|
6
|
-
export interface ViewSize {
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
}
|
|
10
|
-
export interface SpaceSize {
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
depth: number;
|
|
14
|
-
topCorner: {
|
|
15
|
-
x: number;
|
|
16
|
-
y: number;
|
|
17
|
-
z: number;
|
|
18
|
-
};
|
|
19
|
-
}
|