@plurid/plurid-engine 0.0.0-1 → 0.0.0-10
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/functions/index.d.ts +2 -0
- package/distribution/functions/navigate/index.d.ts +1 -0
- package/distribution/functions/template/index.d.ts +1 -0
- package/distribution/index.d.ts +2 -2
- package/distribution/index.es.js +880 -845
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +863 -838
- package/distribution/index.js.map +1 -1
- package/distribution/modules/{setup/general → general}/configuration/index.d.ts +0 -0
- package/distribution/modules/general/index.d.ts +3 -0
- package/distribution/modules/{setup/general → general}/tree/index.d.ts +1 -1
- package/distribution/modules/index.d.ts +9 -12
- package/distribution/modules/interaction/direction/index.d.ts +1 -1
- package/distribution/modules/interaction/index.d.ts +5 -0
- package/distribution/modules/interaction/mathematics/transform/general/index.d.ts +9 -0
- package/distribution/modules/interaction/mathematics/transform/index.d.ts +3 -69
- package/distribution/modules/interaction/mathematics/transform/matrix3d/index.d.ts +69 -0
- package/distribution/modules/{setup/internationalization → internationalization}/index.d.ts +0 -0
- package/distribution/modules/planes/index.d.ts +2 -0
- package/distribution/modules/planes/logic/index.d.ts +6 -0
- package/distribution/modules/planes/registrar/index.d.ts +3 -0
- package/distribution/modules/{setup/objects/PlanesRegistrar → planes/registrar}/object.d.ts +6 -5
- package/distribution/modules/planes/registrar/utilities.d.ts +6 -0
- package/distribution/modules/routing/IsoMatcher/index.d.ts +44 -0
- package/distribution/modules/{setup/router → routing}/Parser/index.d.ts +4 -4
- package/distribution/modules/{setup/router → routing}/Parser/interfaces.d.ts +10 -2
- package/distribution/modules/{setup/router → routing}/Parser/logic.d.ts +1 -1
- package/distribution/modules/routing/index.d.ts +6 -0
- package/distribution/modules/routing/logic/general/index.d.ts +8 -0
- package/distribution/modules/routing/logic/index.d.ts +3 -0
- package/distribution/modules/{setup/router → routing/logic}/utilities/index.d.ts +10 -1
- package/distribution/modules/routing/logic/validity/index.d.ts +3 -0
- package/distribution/modules/space/index.d.ts +6 -0
- package/distribution/modules/{setup/space → space}/layout/column.d.ts +0 -0
- package/distribution/modules/{setup/space → space}/layout/faceToFace.d.ts +0 -0
- package/distribution/modules/space/layout/index.d.ts +6 -0
- package/distribution/modules/{setup/space → space}/layout/row.d.ts +0 -0
- package/distribution/modules/{setup/space → space}/layout/sheaves.d.ts +0 -0
- package/distribution/modules/{setup/space → space}/layout/zigZag.d.ts +0 -0
- package/distribution/modules/{setup/space → space}/location/index.d.ts +1 -1
- package/distribution/modules/{setup/space → space}/location/logic.d.ts +1 -1
- package/distribution/modules/space/tree/index.d.ts +3 -0
- package/distribution/modules/{setup/space → space}/tree/logic.d.ts +12 -8
- package/distribution/modules/space/tree/object.d.ts +13 -0
- package/distribution/modules/{setup/space → space}/utilities/index.d.ts +0 -0
- package/distribution/modules/{setup/space → space}/view/index.d.ts +1 -1
- package/distribution/modules/{setup/space → space}/view/logic.d.ts +0 -0
- package/distribution/modules/state/compute/index.d.ts +3 -0
- package/distribution/modules/state/compute/space/index.d.ts +3 -0
- package/distribution/modules/{setup/state → state}/compute/themes/index.d.ts +0 -0
- package/distribution/modules/state/index.d.ts +3 -0
- package/distribution/modules/{setup/state → state}/local/index.d.ts +0 -0
- package/package.json +30 -31
- package/distribution/data/constants/index.d.ts +0 -1
- package/distribution/data/interfaces/index.d.ts +0 -4
- package/distribution/modules/setup/general/helpers/identified.d.ts +0 -1
- package/distribution/modules/setup/general/helpers/index.d.ts +0 -2
- package/distribution/modules/setup/general/helpers/indexed.d.ts +0 -6
- package/distribution/modules/setup/general/index.d.ts +0 -7
- package/distribution/modules/setup/general/paths/index.d.ts +0 -8
- package/distribution/modules/setup/general/planes/index.d.ts +0 -4
- package/distribution/modules/setup/general/universes/index.d.ts +0 -21
- package/distribution/modules/setup/objects/PlanesRegistrar/index.d.ts +0 -3
- package/distribution/modules/setup/objects/PlanesRegistrar/utilities.d.ts +0 -6
- package/distribution/modules/setup/router/Matcher/index.d.ts +0 -15
- package/distribution/modules/setup/router/Matcher/interfaces.d.ts +0 -12
- package/distribution/modules/setup/router/Matcher/logic.d.ts +0 -4
- package/distribution/modules/setup/router/Router/index.d.ts +0 -28
- package/distribution/modules/setup/router/Router/interfaces.d.ts +0 -8
- package/distribution/modules/setup/router/URLRouter/data.d.ts +0 -27
- package/distribution/modules/setup/router/URLRouter/index.d.ts +0 -8
- package/distribution/modules/setup/router/URLRouter/logic.d.ts +0 -12
- package/distribution/modules/setup/router/index.d.ts +0 -11
- package/distribution/modules/setup/router/interfaces.d.ts +0 -3
- package/distribution/modules/setup/space/index.d.ts +0 -6
- package/distribution/modules/setup/space/layout/index.d.ts +0 -6
- package/distribution/modules/setup/space/tree/index.d.ts +0 -3
- package/distribution/modules/setup/space/tree/object.d.ts +0 -13
- package/distribution/modules/setup/state/compute/index.d.ts +0 -3
- package/distribution/modules/setup/state/compute/space/index.d.ts +0 -3
- package/distribution/modules/setup/state/index.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurid/plurid-engine",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-10",
|
|
4
4
|
"description": "Plurid Engine and Utility Functions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurid",
|
|
@@ -32,17 +32,18 @@
|
|
|
32
32
|
"npm": ">=6"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"clean": "
|
|
35
|
+
"clean": "rimraf ./distribution",
|
|
36
36
|
"clean.tests": "find ./distribution -type d -name \"__tests__\" -prune -exec rm -rf {} +",
|
|
37
37
|
"clean.performance": "find ./distribution -type d -name \"__performance__\" -prune -exec rm -rf {} +",
|
|
38
38
|
"test": "jest ./source --config ./configurations/jest.config.js --rootDir ./",
|
|
39
|
+
"test.suite": "jest -c configurations/jest.config.js",
|
|
39
40
|
"lint": "eslint -c ./configurations/.eslintrc.js ./source --ext .ts,.tsx",
|
|
40
|
-
"start": "
|
|
41
|
-
"build.local": "
|
|
42
|
-
"build.development": "
|
|
43
|
-
"build.production": "
|
|
44
|
-
"build": "
|
|
45
|
-
"prepublishOnly": "
|
|
41
|
+
"start": "pnpm clean && rollup -c ./scripts/rollup.config.js -w --environment ENV_MODE:local",
|
|
42
|
+
"build.local": "pnpm clean && rollup -c ./scripts/rollup.config.js --environment ENV_MODE:local",
|
|
43
|
+
"build.development": "pnpm clean && rollup -c ./scripts/rollup.config.js --environment ENV_MODE:development",
|
|
44
|
+
"build.production": "pnpm clean && rollup -c ./scripts/rollup.config.js --environment ENV_MODE:production",
|
|
45
|
+
"build": "pnpm lint && pnpm test && pnpm build.production && pnpm clean.tests && pnpm clean.performance",
|
|
46
|
+
"prepublishOnly": "pnpm build"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|
|
48
49
|
"@plurid/plurid-data": "*",
|
|
@@ -50,31 +51,29 @@
|
|
|
50
51
|
"@plurid/plurid-themes": "*"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
|
-
"@plurid/plurid-data": "0.0.0-
|
|
54
|
-
"@plurid/plurid-functions": "0.0.0-
|
|
55
|
-
"@plurid/plurid-pubsub": "0.0.0-
|
|
56
|
-
"@plurid/plurid-themes": "0.0.0-
|
|
57
|
-
"@rollup/plugin-commonjs": "^
|
|
58
|
-
"@types/jest": "^
|
|
59
|
-
"@types/node": "^
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^4.16.1",
|
|
63
|
-
"@typescript-eslint/parser": "^4.16.1",
|
|
54
|
+
"@plurid/plurid-data": "0.0.0-12",
|
|
55
|
+
"@plurid/plurid-functions": "0.0.0-22",
|
|
56
|
+
"@plurid/plurid-pubsub": "0.0.0-6",
|
|
57
|
+
"@plurid/plurid-themes": "0.0.0-2",
|
|
58
|
+
"@rollup/plugin-commonjs": "^21.1.0",
|
|
59
|
+
"@types/jest": "^27.4.1",
|
|
60
|
+
"@types/node": "^17.0.24",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
62
|
+
"@typescript-eslint/parser": "^5.19.0",
|
|
64
63
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
65
|
-
"coveralls": "^3.1.
|
|
66
|
-
"eslint": "^
|
|
67
|
-
"jest": "^
|
|
68
|
-
"jest-config": "^
|
|
69
|
-
"
|
|
70
|
-
"rollup": "^2.
|
|
64
|
+
"coveralls": "^3.1.1",
|
|
65
|
+
"eslint": "^8.13.0",
|
|
66
|
+
"jest": "^27.5.1",
|
|
67
|
+
"jest-config": "^27.5.1",
|
|
68
|
+
"rimraf": "^3.0.2",
|
|
69
|
+
"rollup": "^2.70.2",
|
|
71
70
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
72
71
|
"rollup-plugin-terser": "^7.0.2",
|
|
73
|
-
"rollup-plugin-typescript2": "^0.
|
|
74
|
-
"ts-jest": "^
|
|
75
|
-
"ts-node": "^
|
|
76
|
-
"ttypescript": "^1.5.
|
|
77
|
-
"typescript": "^4.
|
|
78
|
-
"typescript-transform-paths": "^
|
|
72
|
+
"rollup-plugin-typescript2": "^0.31.2",
|
|
73
|
+
"ts-jest": "^27.1.4",
|
|
74
|
+
"ts-node": "^10.7.0",
|
|
75
|
+
"ttypescript": "^1.5.13",
|
|
76
|
+
"typescript": "^4.6.3",
|
|
77
|
+
"typescript-transform-paths": "^3.3.1"
|
|
79
78
|
}
|
|
80
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as configuration from "./configuration/index";
|
|
2
|
-
import * as helpers from "./helpers/index";
|
|
3
|
-
import * as paths from "./paths/index";
|
|
4
|
-
import * as planes from "./planes/index";
|
|
5
|
-
import * as tree from "./tree/index";
|
|
6
|
-
import * as universes from "./universes/index";
|
|
7
|
-
export { configuration, universes, helpers, planes, paths, tree, };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PluridInternalStatePlane, PlanePath, PathParameters } from '@plurid/plurid-data';
|
|
2
|
-
export declare const registerPaths: (pages: PluridInternalStatePlane[]) => PlanePath[];
|
|
3
|
-
export interface PathHandler {
|
|
4
|
-
regex: string;
|
|
5
|
-
parameters?: PathParameters;
|
|
6
|
-
}
|
|
7
|
-
export declare const composePathRegex: (match: RegExpMatchArray) => string;
|
|
8
|
-
export declare const subpathIsParameter: (subpath: string) => boolean;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { PluridPlane, PluridInternalStatePlane, PluridInternalContextPlane } from '@plurid/plurid-data';
|
|
2
|
-
export declare const createInternalStatePlane: (plane: PluridPlane) => PluridInternalStatePlane;
|
|
3
|
-
export declare const createInternalContextPlane: (plane: PluridPlane) => PluridInternalContextPlane;
|
|
4
|
-
export declare const getPluridPlaneIDByData: (element: HTMLElement | null) => any;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PluridUniverse, PluridInternalStateUniverse, PluridInternalContextUniverse } from '@plurid/plurid-data';
|
|
2
|
-
/**
|
|
3
|
-
* From `PluridUniverse` create `PluridInternalStateUniverse`.
|
|
4
|
-
*
|
|
5
|
-
* @param universe
|
|
6
|
-
*/
|
|
7
|
-
export declare const createInternalStateUniverse: (universe: PluridUniverse) => PluridInternalStateUniverse;
|
|
8
|
-
/**
|
|
9
|
-
* From PluridUniverse create PluridInternalContextUniverse.
|
|
10
|
-
*
|
|
11
|
-
* @param universe
|
|
12
|
-
*/
|
|
13
|
-
export declare const createInternalContextUniverse: (universe: PluridUniverse) => PluridInternalContextUniverse;
|
|
14
|
-
/**
|
|
15
|
-
* Get the universeID if any of the `universes` is active.
|
|
16
|
-
*
|
|
17
|
-
* If no universe is active, returns the id of the first universe.
|
|
18
|
-
*
|
|
19
|
-
* @param universes
|
|
20
|
-
*/
|
|
21
|
-
export declare const findActiveUniverse: (universes: PluridInternalStateUniverse[]) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PluridPlane, PluridPlanesRegistrar as IPluridPlanesRegistrar } from '@plurid/plurid-data';
|
|
2
|
-
declare const registerPlanes: (planes?: PluridPlane[] | undefined, planesRegistrar?: IPluridPlanesRegistrar | undefined) => void;
|
|
3
|
-
declare const getPlanesRegistrar: (planesRegistrar: IPluridPlanesRegistrar | undefined) => IPluridPlanesRegistrar | undefined;
|
|
4
|
-
declare const getRegisteredPlanes: (planesRegistrar: IPluridPlanesRegistrar | undefined) => Map<any, any>;
|
|
5
|
-
declare const getRegisteredPlane: (route: string, planesRegistrar: IPluridPlanesRegistrar | undefined) => import("@plurid/plurid-data").RegisteredPluridPlane | undefined;
|
|
6
|
-
export { registerPlanes, getPlanesRegistrar, getRegisteredPlanes, getRegisteredPlane, };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PluridRoute } from '@plurid/plurid-data';
|
|
2
|
-
import { MatcherPartialOptions, MatcherResponse } from "./interfaces";
|
|
3
|
-
export default class Matcher<T> {
|
|
4
|
-
private location;
|
|
5
|
-
private path;
|
|
6
|
-
private options;
|
|
7
|
-
private matchedData;
|
|
8
|
-
constructor(location: string, path: PluridRoute, options?: MatcherPartialOptions);
|
|
9
|
-
private handleOptions;
|
|
10
|
-
private checkMatch;
|
|
11
|
-
/**
|
|
12
|
-
* Extract pathname, parameters, query, and fragment, if available.
|
|
13
|
-
*/
|
|
14
|
-
data(): MatcherResponse | undefined;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PluridRoute, PluridRouteFragments } from '@plurid/plurid-data';
|
|
2
|
-
export declare type MatcherPartialOptions = Partial<MatcherOptions>;
|
|
3
|
-
export interface MatcherOptions {
|
|
4
|
-
}
|
|
5
|
-
export interface MatcherResponse {
|
|
6
|
-
path: PluridRoute;
|
|
7
|
-
pathname: string;
|
|
8
|
-
parameters: Record<string, string>;
|
|
9
|
-
query: Record<string, string>;
|
|
10
|
-
fragments: PluridRouteFragments;
|
|
11
|
-
route: string;
|
|
12
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { CompareType } from '@plurid/plurid-data';
|
|
2
|
-
import { ParserResponse } from "../interfaces";
|
|
3
|
-
export declare const checkParameterLength: (parameter: string, length: number, compareType?: CompareType | undefined) => boolean;
|
|
4
|
-
export declare const checkValidPath: (data: ParserResponse) => boolean;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { PluridRoute } from '@plurid/plurid-data';
|
|
2
|
-
import { MatcherResponse } from "../Matcher/interfaces";
|
|
3
|
-
import { RouterPartialOptions } from "./interfaces";
|
|
4
|
-
export default class Router {
|
|
5
|
-
private paths;
|
|
6
|
-
private options;
|
|
7
|
-
private cachedMatched;
|
|
8
|
-
constructor(paths: PluridRoute[], options?: RouterPartialOptions);
|
|
9
|
-
private handleOptions;
|
|
10
|
-
/**
|
|
11
|
-
* Check if the cache exceeds the cache limit and reset if true.
|
|
12
|
-
*/
|
|
13
|
-
private checkCacheReset;
|
|
14
|
-
/**
|
|
15
|
-
* Extract pathname, parameters, query, and fragment, if available.
|
|
16
|
-
*/
|
|
17
|
-
match(location: string): MatcherResponse | {
|
|
18
|
-
path: any;
|
|
19
|
-
pathname: any;
|
|
20
|
-
parameters: {};
|
|
21
|
-
query: {};
|
|
22
|
-
fragments: {
|
|
23
|
-
texts: never[];
|
|
24
|
-
elements: never[];
|
|
25
|
-
};
|
|
26
|
-
route: string;
|
|
27
|
-
} | undefined;
|
|
28
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PluridRouteParameter } from '@plurid/plurid-data';
|
|
2
|
-
export declare const CATCH_ALL_ROUTE = "*";
|
|
3
|
-
export interface URLRoute {
|
|
4
|
-
value: string;
|
|
5
|
-
parameters?: Record<string, PluridRouteParameter>;
|
|
6
|
-
}
|
|
7
|
-
export interface MatchedRoute {
|
|
8
|
-
target: string;
|
|
9
|
-
source: string;
|
|
10
|
-
elements: RouteElements;
|
|
11
|
-
parameters?: Record<string, string>;
|
|
12
|
-
}
|
|
13
|
-
export interface ProcessedRoute {
|
|
14
|
-
value: string;
|
|
15
|
-
parametersValues: string[];
|
|
16
|
-
parameters?: Record<string, PluridRouteParameter>;
|
|
17
|
-
}
|
|
18
|
-
export interface InternalMatchedRoute {
|
|
19
|
-
target: string;
|
|
20
|
-
source: string;
|
|
21
|
-
parameters: Record<string, string>;
|
|
22
|
-
}
|
|
23
|
-
export interface RouteElements {
|
|
24
|
-
path: string;
|
|
25
|
-
query: string;
|
|
26
|
-
fragment: string;
|
|
27
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PluridRouteParameter } from '@plurid/plurid-data';
|
|
2
|
-
import { ProcessedRoute, URLRoute, InternalMatchedRoute, RouteElements } from "./data";
|
|
3
|
-
export declare const processRoute: (route: URLRoute) => ProcessedRoute;
|
|
4
|
-
export declare const matchRoutes: (route: string, routes: Record<string, ProcessedRoute>) => InternalMatchedRoute | undefined;
|
|
5
|
-
export declare const matchRoute: (route: string, processedRoute: ProcessedRoute) => InternalMatchedRoute | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* Separate the route into the path, the query, and the fragment.
|
|
8
|
-
*
|
|
9
|
-
* @param route
|
|
10
|
-
*/
|
|
11
|
-
export declare const extractRouteElements: (route: string) => RouteElements;
|
|
12
|
-
export declare const checkValidPath: (parameters: Record<string, string>, validationParameters: Record<string, PluridRouteParameter> | undefined) => boolean;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Router from "./Router/index";
|
|
2
|
-
import URLRouter from "./URLRouter/index";
|
|
3
|
-
import RouteMatcher from "./Matcher/index";
|
|
4
|
-
import RouteParser from "./Parser/index";
|
|
5
|
-
import { mapPathsToRoutes, pluridLinkPathDivider, resolveRoute } from "./utilities/index";
|
|
6
|
-
import { extractQuery } from "./Parser/logic";
|
|
7
|
-
export default Router;
|
|
8
|
-
export { URLRouter, RouteMatcher, RouteParser,
|
|
9
|
-
/** utilities */
|
|
10
|
-
mapPathsToRoutes, pluridLinkPathDivider, resolveRoute, extractQuery, };
|
|
11
|
-
export * from "./interfaces";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as layout from "./layout/index";
|
|
2
|
-
import * as location from "./location/index";
|
|
3
|
-
import * as tree from "./tree/index";
|
|
4
|
-
import * as utilities from "./utilities/index";
|
|
5
|
-
import * as view from "./view/index";
|
|
6
|
-
export { layout, location, tree, utilities, view, };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import computeColumnLayout from "./column";
|
|
2
|
-
import computeRowLayout from "./row";
|
|
3
|
-
import computeFaceToFaceLayout from "./faceToFace";
|
|
4
|
-
import computeSheavesLayout from "./sheaves";
|
|
5
|
-
import computeZigZagLayout from "./zigZag";
|
|
6
|
-
export { computeColumnLayout, computeRowLayout, computeFaceToFaceLayout, computeSheavesLayout, computeZigZagLayout, };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TreePlane, RegisteredPluridPlane, PluridConfiguration, PluridView, PluridCluster } from '@plurid/plurid-data';
|
|
2
|
-
export interface TreeData {
|
|
3
|
-
planes: Map<string, RegisteredPluridPlane>;
|
|
4
|
-
view: string[] | PluridView[];
|
|
5
|
-
configuration: PluridConfiguration;
|
|
6
|
-
clusters?: PluridCluster[];
|
|
7
|
-
previousTree?: TreePlane[];
|
|
8
|
-
}
|
|
9
|
-
export default class Tree {
|
|
10
|
-
private data;
|
|
11
|
-
constructor(data: TreeData);
|
|
12
|
-
compute(): TreePlane[];
|
|
13
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { PluridApplicationView, PluridConfiguration, PluridPlanesRegistrar as IPluridPlanesRegistrar, PluridState, PluridMetastateState, RecursivePartial } from '@plurid/plurid-data';
|
|
2
|
-
declare const compute: (view: PluridApplicationView, configuration: RecursivePartial<PluridConfiguration> | undefined, planesRegistrar: IPluridPlanesRegistrar | undefined, currentState: PluridState | undefined, localState: PluridState | undefined, precomputedState: Partial<PluridState> | undefined, contextState: PluridMetastateState | undefined) => PluridState;
|
|
3
|
-
export default compute;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { PluridApplicationView, PluridConfiguration, PluridPlanesRegistrar as IPluridPlanesRegistrar, PluridState, PluridMetastateState, PluridStateSpace } from '@plurid/plurid-data';
|
|
2
|
-
declare const resolveSpace: (view: PluridApplicationView, configuration: PluridConfiguration, planesRegistrar: IPluridPlanesRegistrar | undefined, currentState: PluridState | undefined, localState: PluridState | undefined, precomputedState: Partial<PluridState> | undefined, contextState: PluridMetastateState | undefined) => PluridStateSpace;
|
|
3
|
-
export { resolveSpace, };
|