@rsconcept/domain 1.0.0 → 1.1.0
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/README.md +3 -3
- package/dist/analyzer-DlSq3Y3r.d.ts +39 -0
- package/dist/arguments-extractor-1acwjQNc.d.ts +38 -0
- package/dist/ast-C8sIpKdL.d.ts +51 -0
- package/dist/ast-annotations-BiMjkKvz.d.ts +16 -0
- package/dist/branded-ZlzIcxzu.d.ts +9 -0
- package/dist/calculator-C9W2jkSx.d.ts +39 -0
- package/dist/cctext/index.d.ts +2 -1
- package/dist/cctext/index.js +2 -42
- package/dist/cctext/language-api.d.ts +10 -12
- package/dist/cctext/language-api.js +157 -227
- package/dist/cctext/language-api.js.map +1 -1
- package/dist/cctext/language.d.ts +24 -22
- package/dist/cctext/language.js +43 -39
- package/dist/cctext/language.js.map +1 -1
- package/dist/error-E1LVq_3w.d.ts +87 -0
- package/dist/graph/graph.d.ts +2 -62
- package/dist/graph/graph.js +339 -382
- package/dist/graph/graph.js.map +1 -1
- package/dist/graph/index.d.ts +2 -1
- package/dist/graph/index.js +2 -384
- package/dist/graph-DR8rL2o3.d.ts +64 -0
- package/dist/hash-Y8I4c6Al.d.ts +8 -0
- package/dist/index-BKZ67WMa.d.ts +1 -0
- package/dist/index-BVVgDSdq.d.ts +1 -0
- package/dist/index-DmtQKWjk.d.ts +1 -0
- package/dist/index-_6s0AX1B.d.ts +1 -0
- package/dist/index.d.ts +27 -28
- package/dist/index.js +23 -5851
- package/dist/lezer-tree-iS7LpLBJ.d.ts +14 -0
- package/dist/library/folder-tree.d.ts +22 -20
- package/dist/library/folder-tree.js +108 -130
- package/dist/library/folder-tree.js.map +1 -1
- package/dist/library/index.d.ts +8 -17
- package/dist/library/index.js +7 -2800
- package/dist/library/library-api.d.ts +3 -1
- package/dist/library/library-api.js +9 -8
- package/dist/library/library-api.js.map +1 -1
- package/dist/library/library.d.ts +2 -56
- package/dist/library/library.js +23 -19
- package/dist/library/library.js.map +1 -1
- package/dist/library/oss-api.d.ts +26 -37
- package/dist/library/oss-api.js +257 -1096
- package/dist/library/oss-api.js.map +1 -1
- package/dist/library/oss-layout-api.d.ts +28 -28
- package/dist/library/oss-layout-api.js +239 -316
- package/dist/library/oss-layout-api.js.map +1 -1
- package/dist/library/oss-layout.d.ts +2 -25
- package/dist/library/oss-layout.js +1 -1
- package/dist/library/oss.d.ts +87 -89
- package/dist/library/oss.js +27 -26
- package/dist/library/oss.js.map +1 -1
- package/dist/library/rsengine.d.ts +100 -106
- package/dist/library/rsengine.js +439 -2599
- package/dist/library/rsengine.js.map +1 -1
- package/dist/library/rsform-api.d.ts +11 -16
- package/dist/library/rsform-api.js +313 -825
- package/dist/library/rsform-api.js.map +1 -1
- package/dist/library/rsform.d.ts +159 -167
- package/dist/library/rsform.js +29 -28
- package/dist/library/rsform.js.map +1 -1
- package/dist/library/rsmodel-api.d.ts +8 -15
- package/dist/library/rsmodel-api.js +172 -813
- package/dist/library/rsmodel-api.js.map +1 -1
- package/dist/library/rsmodel.d.ts +27 -33
- package/dist/library/rsmodel.js +16 -23
- package/dist/library/rsmodel.js.map +1 -1
- package/dist/library/structure-planner.d.ts +20 -26
- package/dist/library/structure-planner.js +106 -474
- package/dist/library/structure-planner.js.map +1 -1
- package/dist/library-CYun28Xz.d.ts +58 -0
- package/dist/oss-layout-3glgAqfn.d.ts +27 -0
- package/dist/parser-Bwd8LxJ1.d.ts +7 -0
- package/dist/parsing/ast.d.ts +2 -49
- package/dist/parsing/ast.js +68 -76
- package/dist/parsing/ast.js.map +1 -1
- package/dist/parsing/index.d.ts +3 -3
- package/dist/parsing/index.js +3 -141
- package/dist/parsing/lezer-tree.d.ts +2 -13
- package/dist/parsing/lezer-tree.js +50 -43
- package/dist/parsing/lezer-tree.js.map +1 -1
- package/dist/rslang/api.d.ts +9 -14
- package/dist/rslang/api.js +114 -827
- package/dist/rslang/api.js.map +1 -1
- package/dist/rslang/ast-annotations.d.ts +2 -18
- package/dist/rslang/ast-annotations.js +34 -45
- package/dist/rslang/ast-annotations.js.map +1 -1
- package/dist/rslang/error.d.ts +2 -85
- package/dist/rslang/error.js +88 -150
- package/dist/rslang/error.js.map +1 -1
- package/dist/rslang/eval/calculator.d.ts +2 -43
- package/dist/rslang/eval/calculator.js +81 -1636
- package/dist/rslang/eval/calculator.js.map +1 -1
- package/dist/rslang/eval/evaluation-cache.d.ts +22 -26
- package/dist/rslang/eval/evaluation-cache.js +168 -287
- package/dist/rslang/eval/evaluation-cache.js.map +1 -1
- package/dist/rslang/eval/evaluator.d.ts +59 -63
- package/dist/rslang/eval/evaluator.js +602 -1509
- package/dist/rslang/eval/evaluator.js.map +1 -1
- package/dist/rslang/eval/value-api.d.ts +2 -48
- package/dist/rslang/eval/value-api.js +2 -490
- package/dist/rslang/eval/value.d.ts +2 -36
- package/dist/rslang/eval/value.js +2 -118
- package/dist/rslang/index.d.ts +14 -17
- package/dist/rslang/index.js +12 -4314
- package/dist/rslang/labels.d.ts +6 -6
- package/dist/rslang/labels.js +139 -305
- package/dist/rslang/labels.js.map +1 -1
- package/dist/rslang/parser/expression-generator.d.ts +5 -5
- package/dist/rslang/parser/expression-generator.js +248 -446
- package/dist/rslang/parser/expression-generator.js.map +1 -1
- package/dist/rslang/parser/normalize.d.ts +4 -8
- package/dist/rslang/parser/normalize.js +286 -481
- package/dist/rslang/parser/normalize.js.map +1 -1
- package/dist/rslang/parser/parser.d.ts +2 -5
- package/dist/rslang/parser/parser.js +30 -21
- package/dist/rslang/parser/parser.js.map +1 -1
- package/dist/rslang/parser/parser.terms.d.ts +43 -41
- package/dist/rslang/parser/parser.terms.js +44 -83
- package/dist/rslang/parser/parser.terms.js.map +1 -1
- package/dist/rslang/parser/syntax-errors.d.ts +5 -8
- package/dist/rslang/parser/syntax-errors.js +113 -382
- package/dist/rslang/parser/syntax-errors.js.map +1 -1
- package/dist/rslang/parser/token.d.ts +2 -79
- package/dist/rslang/parser/token.js +81 -93
- package/dist/rslang/parser/token.js.map +1 -1
- package/dist/rslang/semantic/analyzer.d.ts +2 -39
- package/dist/rslang/semantic/analyzer.js +186 -2600
- package/dist/rslang/semantic/analyzer.js.map +1 -1
- package/dist/rslang/semantic/arguments-extractor.d.ts +2 -42
- package/dist/rslang/semantic/arguments-extractor.js +202 -361
- package/dist/rslang/semantic/arguments-extractor.js.map +1 -1
- package/dist/rslang/semantic/type-auditor.d.ts +64 -68
- package/dist/rslang/semantic/type-auditor.js +594 -1564
- package/dist/rslang/semantic/type-auditor.js.map +1 -1
- package/dist/rslang/semantic/typification-api.d.ts +4 -7
- package/dist/rslang/semantic/typification-api.js +162 -303
- package/dist/rslang/semantic/typification-api.js.map +1 -1
- package/dist/rslang/semantic/typification-parser.d.ts +2 -12
- package/dist/rslang/semantic/typification-parser.js +165 -219
- package/dist/rslang/semantic/typification-parser.js.map +1 -1
- package/dist/rslang/semantic/typification.d.ts +2 -119
- package/dist/rslang/semantic/typification.js +66 -52
- package/dist/rslang/semantic/typification.js.map +1 -1
- package/dist/rslang/semantic/value-auditor.d.ts +32 -38
- package/dist/rslang/semantic/value-auditor.js +206 -518
- package/dist/rslang/semantic/value-auditor.js.map +1 -1
- package/dist/rslang/semantic/value-class.d.ts +2 -10
- package/dist/rslang/semantic/value-class.js +8 -7
- package/dist/rslang/semantic/value-class.js.map +1 -1
- package/dist/rslang/typification-graph.d.ts +2 -33
- package/dist/rslang/typification-graph.js +94 -306
- package/dist/rslang/typification-graph.js.map +1 -1
- package/dist/shared/branded.d.ts +2 -7
- package/dist/shared/branded.js +1 -1
- package/dist/shared/hash.d.ts +2 -6
- package/dist/shared/hash.js +13 -13
- package/dist/shared/hash.js.map +1 -1
- package/dist/shared/index.d.ts +3 -2
- package/dist/shared/index.js +2 -18
- package/dist/token-DeXAmzwr.d.ts +81 -0
- package/dist/typification-Dk-fisgO.d.ts +120 -0
- package/dist/typification-graph-6HcZ-rKH.d.ts +30 -0
- package/dist/typification-parser-BBVx1RxP.d.ts +13 -0
- package/dist/value-B8UtCqaK.js +366 -0
- package/dist/value-B8UtCqaK.js.map +1 -0
- package/dist/value-CTjX6825.d.ts +33 -0
- package/dist/value-api-Bw-SgaYY.d.ts +49 -0
- package/dist/value-class-CNI-lqXJ.d.ts +12 -0
- package/package.json +8 -8
- package/src/library/rsform-api.test.ts +24 -0
- package/src/library/rsform-api.ts +12 -4
- package/dist/cctext/index.js.map +0 -1
- package/dist/graph/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/library/index.js.map +0 -1
- package/dist/library/oss-layout.js.map +0 -1
- package/dist/parsing/index.js.map +0 -1
- package/dist/rslang/eval/value-api.js.map +0 -1
- package/dist/rslang/eval/value.js.map +0 -1
- package/dist/rslang/index.js.map +0 -1
- package/dist/shared/branded.js.map +0 -1
- package/dist/shared/index.js.map +0 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
//#region src/library/library-api.d.ts
|
|
1
2
|
/** Combining head and body into location. */
|
|
2
3
|
declare function combineLocation(head: string, body?: string): string;
|
|
3
4
|
/** Validation location against regexp. */
|
|
4
5
|
declare function validateLocationFormat(location: string): boolean;
|
|
5
|
-
|
|
6
|
+
//#endregion
|
|
6
7
|
export { combineLocation, validateLocationFormat };
|
|
8
|
+
//# sourceMappingURL=library-api.d.ts.map
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/library/library-api.ts
|
|
2
|
+
const LOCATION_REGEXP = /^\/[PLUS]((\/[!\d\p{L}]([!\d\p{L}\- ]*[!\d\p{L}])?)*)?$/u;
|
|
3
|
+
/** Combining head and body into location. */
|
|
3
4
|
function combineLocation(head, body) {
|
|
4
|
-
|
|
5
|
+
return body ? `${head}/${body}` : head;
|
|
5
6
|
}
|
|
7
|
+
/** Validation location against regexp. */
|
|
6
8
|
function validateLocationFormat(location) {
|
|
7
|
-
|
|
9
|
+
return LOCATION_REGEXP.test(location);
|
|
8
10
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { combineLocation, validateLocationFormat };
|
|
13
|
+
|
|
13
14
|
//# sourceMappingURL=library-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/library/library-api.ts"],"sourcesContent":["const LOCATION_REGEXP = /^\\/[PLUS]((\\/[!\\d\\p{L}]([!\\d\\p{L}\\- ]*[!\\d\\p{L}])?)*)?$/u; // cspell:disable-line\n\n/** Combining head and body into location. */\nexport function combineLocation(head: string, body?: string): string {\n return body ? `${head}/${body}` : head;\n}\n\n/** Validation location against regexp. */\nexport function validateLocationFormat(location: string): boolean {\n return LOCATION_REGEXP.test(location);\n}\n"],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"library-api.js","names":[],"sources":["../../src/library/library-api.ts"],"sourcesContent":["const LOCATION_REGEXP = /^\\/[PLUS]((\\/[!\\d\\p{L}]([!\\d\\p{L}\\- ]*[!\\d\\p{L}])?)*)?$/u; // cspell:disable-line\n\n/** Combining head and body into location. */\nexport function combineLocation(head: string, body?: string): string {\n return body ? `${head}/${body}` : head;\n}\n\n/** Validation location against regexp. */\nexport function validateLocationFormat(location: string): boolean {\n return LOCATION_REGEXP.test(location);\n}\n"],"mappings":";AAAA,MAAM,kBAAkB;;AAGxB,SAAgB,gBAAgB,MAAc,MAAuB;CACnE,OAAO,OAAO,GAAG,KAAK,GAAG,SAAS;AACpC;;AAGA,SAAgB,uBAAuB,UAA2B;CAChE,OAAO,gBAAgB,KAAK,QAAQ;AACtC"}
|
|
@@ -1,56 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
/** Represents type of library items. */
|
|
5
|
-
declare const LibraryItemType: {
|
|
6
|
-
readonly RSFORM: "rsform";
|
|
7
|
-
readonly OSS: "oss";
|
|
8
|
-
readonly RSMODEL: "rsmodel";
|
|
9
|
-
};
|
|
10
|
-
type LibraryItemType = (typeof LibraryItemType)[keyof typeof LibraryItemType];
|
|
11
|
-
/** Represents Access policy for library items.*/
|
|
12
|
-
declare const AccessPolicy: {
|
|
13
|
-
readonly PUBLIC: "public";
|
|
14
|
-
readonly PROTECTED: "protected";
|
|
15
|
-
readonly PRIVATE: "private";
|
|
16
|
-
};
|
|
17
|
-
type AccessPolicy = (typeof AccessPolicy)[keyof typeof AccessPolicy];
|
|
18
|
-
/** Represents valid location headers. */
|
|
19
|
-
declare const LocationHead: {
|
|
20
|
-
readonly USER: "/U";
|
|
21
|
-
readonly COMMON: "/S";
|
|
22
|
-
readonly LIBRARY: "/L";
|
|
23
|
-
readonly PROJECTS: "/P";
|
|
24
|
-
};
|
|
25
|
-
type LocationHead = (typeof LocationHead)[keyof typeof LocationHead];
|
|
26
|
-
/** Represents {@link LibraryItem} minimal reference data. */
|
|
27
|
-
interface LibraryItemReference {
|
|
28
|
-
id: number;
|
|
29
|
-
alias: string;
|
|
30
|
-
}
|
|
31
|
-
/** Represents library item common data typical for all item types. */
|
|
32
|
-
interface LibraryItem {
|
|
33
|
-
id: number;
|
|
34
|
-
item_type: LibraryItemType;
|
|
35
|
-
alias: string;
|
|
36
|
-
title: string;
|
|
37
|
-
description: string;
|
|
38
|
-
visible: boolean;
|
|
39
|
-
read_only: boolean;
|
|
40
|
-
location: string;
|
|
41
|
-
access_policy: AccessPolicy;
|
|
42
|
-
time_create: string;
|
|
43
|
-
time_update: string;
|
|
44
|
-
owner: number | null;
|
|
45
|
-
}
|
|
46
|
-
/** Represents library item version information. */
|
|
47
|
-
interface VersionInfo {
|
|
48
|
-
id: number;
|
|
49
|
-
version: string;
|
|
50
|
-
description: string;
|
|
51
|
-
time_create: string;
|
|
52
|
-
}
|
|
53
|
-
/** Represents current version */
|
|
54
|
-
type CurrentVersion = number | 'latest';
|
|
55
|
-
|
|
56
|
-
export { AccessPolicy, type CurrentVersion, type LibraryItem, type LibraryItemReference, LibraryItemType, LocationHead, type VersionInfo };
|
|
1
|
+
import { a as LibraryItemType, i as LibraryItemReference, n as CurrentVersion, o as LocationHead, r as LibraryItem, s as VersionInfo, t as AccessPolicy } from "../library-CYun28Xz.js";
|
|
2
|
+
export { AccessPolicy, CurrentVersion, LibraryItem, LibraryItemReference, LibraryItemType, LocationHead, VersionInfo };
|
package/dist/library/library.js
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
//#region src/library/library.ts
|
|
2
|
+
/**
|
|
3
|
+
* Module: Models for LibraryItem.
|
|
4
|
+
*/
|
|
5
|
+
/** Represents type of library items. */
|
|
6
|
+
const LibraryItemType = {
|
|
7
|
+
RSFORM: "rsform",
|
|
8
|
+
OSS: "oss",
|
|
9
|
+
RSMODEL: "rsmodel"
|
|
6
10
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
/** Represents Access policy for library items.*/
|
|
12
|
+
const AccessPolicy = {
|
|
13
|
+
PUBLIC: "public",
|
|
14
|
+
PROTECTED: "protected",
|
|
15
|
+
PRIVATE: "private"
|
|
11
16
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
AccessPolicy,
|
|
20
|
-
LibraryItemType,
|
|
21
|
-
LocationHead
|
|
17
|
+
/** Represents valid location headers. */
|
|
18
|
+
const LocationHead = {
|
|
19
|
+
USER: "/U",
|
|
20
|
+
COMMON: "/S",
|
|
21
|
+
LIBRARY: "/L",
|
|
22
|
+
PROJECTS: "/P"
|
|
22
23
|
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { AccessPolicy, LibraryItemType, LocationHead };
|
|
26
|
+
|
|
23
27
|
//# sourceMappingURL=library.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/library/library.ts"],"sourcesContent":["/**\n * Module: Models for LibraryItem.\n */\n\n/** Represents type of library items. */\nexport const LibraryItemType = {\n RSFORM: 'rsform',\n OSS: 'oss',\n RSMODEL: 'rsmodel'\n} as const;\nexport type LibraryItemType = (typeof LibraryItemType)[keyof typeof LibraryItemType];\n\n/** Represents Access policy for library items.*/\nexport const AccessPolicy = {\n PUBLIC: 'public',\n PROTECTED: 'protected',\n PRIVATE: 'private'\n} as const;\nexport type AccessPolicy = (typeof AccessPolicy)[keyof typeof AccessPolicy];\n\n/** Represents valid location headers. */\nexport const LocationHead = {\n USER: '/U',\n COMMON: '/S',\n LIBRARY: '/L',\n PROJECTS: '/P'\n} as const;\nexport type LocationHead = (typeof LocationHead)[keyof typeof LocationHead];\n\n/** Represents {@link LibraryItem} minimal reference data. */\nexport interface LibraryItemReference {\n id: number;\n alias: string;\n}\n\n/** Represents library item common data typical for all item types. */\nexport interface LibraryItem {\n id: number;\n item_type: LibraryItemType;\n alias: string;\n title: string;\n description: string;\n visible: boolean;\n read_only: boolean;\n location: string;\n access_policy: AccessPolicy;\n time_create: string;\n time_update: string;\n owner: number | null;\n}\n\n/** Represents library item version information. */\nexport interface VersionInfo {\n id: number;\n version: string;\n description: string;\n time_create: string;\n}\n\n/** Represents current version */\nexport type CurrentVersion = number | 'latest';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"library.js","names":[],"sources":["../../src/library/library.ts"],"sourcesContent":["/**\n * Module: Models for LibraryItem.\n */\n\n/** Represents type of library items. */\nexport const LibraryItemType = {\n RSFORM: 'rsform',\n OSS: 'oss',\n RSMODEL: 'rsmodel'\n} as const;\nexport type LibraryItemType = (typeof LibraryItemType)[keyof typeof LibraryItemType];\n\n/** Represents Access policy for library items.*/\nexport const AccessPolicy = {\n PUBLIC: 'public',\n PROTECTED: 'protected',\n PRIVATE: 'private'\n} as const;\nexport type AccessPolicy = (typeof AccessPolicy)[keyof typeof AccessPolicy];\n\n/** Represents valid location headers. */\nexport const LocationHead = {\n USER: '/U',\n COMMON: '/S',\n LIBRARY: '/L',\n PROJECTS: '/P'\n} as const;\nexport type LocationHead = (typeof LocationHead)[keyof typeof LocationHead];\n\n/** Represents {@link LibraryItem} minimal reference data. */\nexport interface LibraryItemReference {\n id: number;\n alias: string;\n}\n\n/** Represents library item common data typical for all item types. */\nexport interface LibraryItem {\n id: number;\n item_type: LibraryItemType;\n alias: string;\n title: string;\n description: string;\n visible: boolean;\n read_only: boolean;\n location: string;\n access_policy: AccessPolicy;\n time_create: string;\n time_update: string;\n owner: number | null;\n}\n\n/** Represents library item version information. */\nexport interface VersionInfo {\n id: number;\n version: string;\n description: string;\n time_create: string;\n}\n\n/** Represents current version */\nexport type CurrentVersion = number | 'latest';\n"],"mappings":";;;;;AAKA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,KAAK;CACL,SAAS;AACX;;AAIA,MAAa,eAAe;CAC1B,QAAQ;CACR,WAAW;CACX,SAAS;AACX;;AAIA,MAAa,eAAe;CAC1B,MAAM;CACN,QAAQ;CACR,SAAS;CACT,UAAU;AACZ"}
|
|
@@ -1,47 +1,36 @@
|
|
|
1
|
-
import { LibraryItem } from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import '../graph/graph.js';
|
|
5
|
-
import './oss-layout.js';
|
|
6
|
-
import '../rslang/semantic/typification.js';
|
|
7
|
-
import '../shared/branded.js';
|
|
8
|
-
import '../rslang/semantic/analyzer.js';
|
|
9
|
-
import '../parsing/ast.js';
|
|
10
|
-
import '@lezer/common';
|
|
11
|
-
import '../rslang/error.js';
|
|
12
|
-
import '../rslang/semantic/value-class.js';
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Module: API for OperationSystem.
|
|
16
|
-
*/
|
|
1
|
+
import { r as LibraryItem } from "../library-CYun28Xz.js";
|
|
2
|
+
import { NodeType, OperationSchema, SubstitutionErrorDescription } from "./oss.js";
|
|
3
|
+
import { Constituenta, RSForm, Substitution } from "./rsform.js";
|
|
17
4
|
|
|
5
|
+
//#region src/library/oss-api.d.ts
|
|
18
6
|
declare function constructNodeID(type: NodeType, itemID: number): string;
|
|
19
7
|
/** Sorts library items relevant for the specified {@link OperationSchema}. */
|
|
20
8
|
declare function sortItemsForOSS(oss: OperationSchema, items: readonly LibraryItem[]): LibraryItem[];
|
|
21
9
|
/** Validator for Substitution table. */
|
|
22
10
|
declare class SubstitutionValidator {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
11
|
+
errors: SubstitutionErrorDescription[];
|
|
12
|
+
suggestions: Substitution[];
|
|
13
|
+
private schemas;
|
|
14
|
+
private substitutions;
|
|
15
|
+
private constituents;
|
|
16
|
+
private originals;
|
|
17
|
+
private mapping;
|
|
18
|
+
private cstByID;
|
|
19
|
+
private schemaByID;
|
|
20
|
+
private schemaByCst;
|
|
21
|
+
constructor(schemas: RSForm[], substitutions: Substitution[]);
|
|
22
|
+
validate(): boolean;
|
|
23
|
+
private calculateSuggestions;
|
|
24
|
+
private checkTypes;
|
|
25
|
+
private checkCycles;
|
|
26
|
+
private checkSubstitutions;
|
|
27
|
+
private prepareBaseMappings;
|
|
28
|
+
private calculateSubstituteMappings;
|
|
29
|
+
private checkEqual;
|
|
30
|
+
private reportError;
|
|
43
31
|
}
|
|
44
32
|
/** Filter relocate candidates from gives schema. */
|
|
45
33
|
declare function getRelocateCandidates(source: number, destination: number, schema: RSForm, oss: OperationSchema): Constituenta[];
|
|
46
|
-
|
|
34
|
+
//#endregion
|
|
47
35
|
export { SubstitutionValidator, constructNodeID, getRelocateCandidates, sortItemsForOSS };
|
|
36
|
+
//# sourceMappingURL=oss-api.d.ts.map
|