mftsccs-node 0.0.56 → 0.0.57
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/bundle.js +1 -0
- package/dist/types/Api/Create/CreateTheCharacter.d.ts +3 -0
- package/dist/types/Api/Create/CreateTheConceptApi.d.ts +2 -0
- package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +2 -0
- package/dist/types/Api/Create/CreateTheTextData.d.ts +2 -0
- package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +1 -0
- package/dist/types/Api/DeleteConnectionApiBulk.d.ts +1 -0
- package/dist/types/Api/DeleteTheConcept.d.ts +1 -0
- package/dist/types/Api/DeleteTheConnection.d.ts +1 -0
- package/dist/types/Api/GetAiData.d.ts +1 -0
- package/dist/types/Api/GetAllConcepts.d.ts +1 -0
- package/dist/types/Api/GetAllConceptsByType.d.ts +1 -0
- package/dist/types/Api/GetAllConnections.d.ts +1 -0
- package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +3 -0
- package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +3 -0
- package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +2 -0
- package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +2 -0
- package/dist/types/Api/GetAllPrefetchConnections.d.ts +1 -0
- package/dist/types/Api/GetCharacterDataByCharacter.d.ts +2 -0
- package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +2 -0
- package/dist/types/Api/GetConcept.d.ts +2 -0
- package/dist/types/Api/GetConceptBulk.d.ts +3 -0
- package/dist/types/Api/GetConceptByCharacterAndType.d.ts +3 -0
- package/dist/types/Api/GetConceptByCharacterValue.d.ts +2 -0
- package/dist/types/Api/GetConnection.d.ts +2 -0
- package/dist/types/Api/GetConnectionBulk.d.ts +2 -0
- package/dist/types/Api/GetConnectionOfTheConcept.d.ts +2 -0
- package/dist/types/Api/GetConnectionToTheConcept.d.ts +2 -0
- package/dist/types/Api/GetReservedConnectionIds.d.ts +1 -0
- package/dist/types/Api/GetReservedIds.d.ts +1 -0
- package/dist/types/Api/Login.d.ts +1 -0
- package/dist/types/Api/MakeTheNameInBackend.d.ts +1 -0
- package/dist/types/Api/MakeTheTypeConceptApi.d.ts +2 -0
- package/dist/types/Api/RecursiveSearch.d.ts +1 -0
- package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +2 -0
- package/dist/types/Api/Search/Search.d.ts +1 -0
- package/dist/types/Api/Search/SearchInternalApi.d.ts +2 -0
- package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +2 -0
- package/dist/types/Api/Search/SearchWithLinker.d.ts +2 -0
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +2 -0
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +2 -0
- package/dist/types/Api/Session/CreateSession.d.ts +2 -0
- package/dist/types/Api/Session/CreateSessionVisit.d.ts +1 -0
- package/dist/types/Api/Signin.d.ts +3 -0
- package/dist/types/Api/Signup.d.ts +3 -0
- package/dist/types/Api/View/ViewInternalDataApi.d.ts +1 -0
- package/dist/types/Constants/ApiConstants.d.ts +23 -0
- package/dist/types/Constants/FormatConstants.d.ts +7 -0
- package/dist/types/DataStructures/BaseUrl.d.ts +52 -0
- package/dist/types/DataStructures/BinaryCharacterTree.d.ts +16 -0
- package/dist/types/DataStructures/BinaryTree.d.ts +12 -0
- package/dist/types/DataStructures/BinaryTypeTree.d.ts +15 -0
- package/dist/types/DataStructures/CharacterRepository.d.ts +8 -0
- package/dist/types/DataStructures/Composition/Composition.d.ts +14 -0
- package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +10 -0
- package/dist/types/DataStructures/Composition/CompositionNode.d.ts +21 -0
- package/dist/types/DataStructures/Concept.d.ts +29 -0
- package/dist/types/DataStructures/ConceptData.d.ts +25 -0
- package/dist/types/DataStructures/ConceptsToDraw.d.ts +11 -0
- package/dist/types/DataStructures/Connection.d.ts +27 -0
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +11 -0
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +24 -0
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +13 -0
- package/dist/types/DataStructures/ConnectionData.d.ts +18 -0
- package/dist/types/DataStructures/Count/CountInfo.d.ts +6 -0
- package/dist/types/DataStructures/FilterSearch.d.ts +9 -0
- package/dist/types/DataStructures/IdentifierFlags.d.ts +11 -0
- package/dist/types/DataStructures/Local/LConcept.d.ts +21 -0
- package/dist/types/DataStructures/Local/LConnection.d.ts +18 -0
- package/dist/types/DataStructures/Local/LNode.d.ts +27 -0
- package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +12 -0
- package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +12 -0
- package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +13 -0
- package/dist/types/DataStructures/Local/LocalConceptData.d.ts +14 -0
- package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +16 -0
- package/dist/types/DataStructures/Local/LocalSyncData.d.ts +14 -0
- package/dist/types/DataStructures/Node.d.ts +29 -0
- package/dist/types/DataStructures/PatcherStructure.d.ts +8 -0
- package/dist/types/DataStructures/ReferentInfo.d.ts +7 -0
- package/dist/types/DataStructures/ReservedIds.d.ts +10 -0
- package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +74 -0
- package/dist/types/DataStructures/Responses/StandardResponses.d.ts +6 -0
- package/dist/types/DataStructures/Returner.d.ts +7 -0
- package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +22 -0
- package/dist/types/DataStructures/Search/SearchStructure.d.ts +9 -0
- package/dist/types/DataStructures/SearchQuery.d.ts +16 -0
- package/dist/types/DataStructures/Security/TokenStorage.d.ts +3 -0
- package/dist/types/DataStructures/Session/SessionData.d.ts +13 -0
- package/dist/types/DataStructures/SettingData.d.ts +5 -0
- package/dist/types/DataStructures/Settings.d.ts +4 -0
- package/dist/types/DataStructures/SigninModel.d.ts +4 -0
- package/dist/types/DataStructures/SignupModel.d.ts +4 -0
- package/dist/types/DataStructures/SyncData.d.ts +26 -0
- package/dist/types/DataStructures/TheCharacter.d.ts +13 -0
- package/dist/types/DataStructures/TheTexts.d.ts +14 -0
- package/dist/types/DataStructures/Transaction/Transaction.d.ts +30 -0
- package/dist/types/DataStructures/User/UserBinaryTree.d.ts +15 -0
- package/dist/types/DataStructures/User/UserNode.d.ts +20 -0
- package/dist/types/Database/GetConceptFromIndexDb.d.ts +0 -0
- package/dist/types/Database/NoIndexDb.d.ts +9 -0
- package/dist/types/Database/indexdblocal.d.ts +3 -0
- package/dist/types/Database/indexeddb.d.ts +3 -0
- package/dist/types/Drawing/ConceptDraw.d.ts +1 -0
- package/dist/types/Drawing/ConceptEvents.d.ts +1 -0
- package/dist/types/Helpers/CheckIfExists.d.ts +10 -0
- package/dist/types/Helpers/RemoveFromArray.d.ts +6 -0
- package/dist/types/Helpers/UniqueInsert.d.ts +1 -0
- package/dist/types/Services/CheckForConnectionDeletion.d.ts +3 -0
- package/dist/types/Services/Common/DecodeCountInfo.d.ts +3 -0
- package/dist/types/Services/Common/ErrorPosting.d.ts +2 -0
- package/dist/types/Services/Common/RegexFunction.d.ts +1 -0
- package/dist/types/Services/Composition/BuildComposition.d.ts +3 -0
- package/dist/types/Services/Composition/CompositionCache.d.ts +4 -0
- package/dist/types/Services/Composition/CreateCompositionCache.d.ts +3 -0
- package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +5 -0
- package/dist/types/Services/Conversion/ConvertConcepts.d.ts +7 -0
- package/dist/types/Services/CreateBinaryTreeFromData.d.ts +1 -0
- package/dist/types/Services/CreateCharacterBinaryTreeFromData.d.ts +1 -0
- package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +5 -0
- package/dist/types/Services/CreateDefaultConcept.d.ts +3 -0
- package/dist/types/Services/CreateTheComposition.d.ts +2 -0
- package/dist/types/Services/CreateTheConcept.d.ts +5 -0
- package/dist/types/Services/CreateTheConnection.d.ts +2 -0
- package/dist/types/Services/CreateTheConnectionGeneral.d.ts +5 -0
- package/dist/types/Services/CreateTypeTreeFromData.d.ts +1 -0
- package/dist/types/Services/Delete/DeleteConnectionByType.d.ts +13 -0
- package/dist/types/Services/Delete/GetAllConnectionByType.d.ts +16 -0
- package/dist/types/Services/DeleteConcept.d.ts +1 -0
- package/dist/types/Services/DeleteConnection.d.ts +2 -0
- package/dist/types/Services/FindConeceptsFromConnection.d.ts +2 -0
- package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +2 -0
- package/dist/types/Services/GenerateHexNumber.d.ts +1 -0
- package/dist/types/Services/GetAccessIdOfUser.d.ts +0 -0
- package/dist/types/Services/GetComposition.d.ts +11 -0
- package/dist/types/Services/GetCompositionBulk.d.ts +11 -0
- package/dist/types/Services/GetCompositionList.d.ts +2 -0
- package/dist/types/Services/GetConceptByCharacter.d.ts +3 -0
- package/dist/types/Services/GetConnections.d.ts +2 -0
- package/dist/types/Services/GetDataFromIndexDb.d.ts +2 -0
- package/dist/types/Services/GetLink.d.ts +3 -0
- package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +3 -0
- package/dist/types/Services/GetMaximumConnectionSyncTime.d.ts +2 -0
- package/dist/types/Services/GetRelation.d.ts +5 -0
- package/dist/types/Services/GetTheConcept.d.ts +2 -0
- package/dist/types/Services/GetTheReferent.d.ts +2 -0
- package/dist/types/Services/InitializeSystem.d.ts +2 -0
- package/dist/types/Services/Local/CreateConnectionListFromDatat.d.ts +0 -0
- package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +2 -0
- package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +1 -0
- package/dist/types/Services/Local/CreateLocalBinaryTypeTreeFromData.d.ts +1 -0
- package/dist/types/Services/Local/CreateLocalCharacterBinaryTree.d.ts +1 -0
- package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +2 -0
- package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +2 -0
- package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +2 -0
- package/dist/types/Services/Local/GetCompositionListLocal.d.ts +2 -0
- package/dist/types/Services/Local/GetCompositionLocal.d.ts +2 -0
- package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +1 -0
- package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +2 -0
- package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +2 -0
- package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +2 -0
- package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +2 -0
- package/dist/types/Services/MakeTheCharacter.d.ts +2 -0
- package/dist/types/Services/MakeTheCharacterData.d.ts +2 -0
- package/dist/types/Services/MakeTheConcept.d.ts +2 -0
- package/dist/types/Services/MakeTheInstanceConcept.d.ts +3 -0
- package/dist/types/Services/MakeTheLocalConcept.d.ts +0 -0
- package/dist/types/Services/MakeTheName.d.ts +2 -0
- package/dist/types/Services/MakeTheTimestamp.d.ts +2 -0
- package/dist/types/Services/MakeTheTypeConcept.d.ts +3 -0
- package/dist/types/Services/Mqtt/publishMessage.d.ts +1 -0
- package/dist/types/Services/Mqtt/subscribeMessage.d.ts +0 -0
- package/dist/types/Services/PatchComposition.d.ts +2 -0
- package/dist/types/Services/Search/DataIdFormat.d.ts +32 -0
- package/dist/types/Services/Search/FormatData.d.ts +26 -0
- package/dist/types/Services/Search/JustIdFormat.d.ts +23 -0
- package/dist/types/Services/Search/SearchLinkInternal.d.ts +2 -0
- package/dist/types/Services/Search/SearchLinkMultiple.d.ts +3 -0
- package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +34 -0
- package/dist/types/Services/Search/orderingConnections.d.ts +2 -0
- package/dist/types/Services/Security/GetRequestHeader.d.ts +10 -0
- package/dist/types/Services/SplitStrings.d.ts +1 -0
- package/dist/types/Services/UpdateComposition.d.ts +2 -0
- package/dist/types/Services/User/UserTranslation.d.ts +6 -0
- package/dist/types/Services/View/ViewInternalData.d.ts +1 -0
- package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +24 -0
- package/dist/types/app.d.ts +91 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const config: {
|
|
2
|
+
BASE_URL: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const BASE_URL: string;
|
|
5
|
+
export declare const GetConceptUrl: string;
|
|
6
|
+
export declare const GetConceptBulkUrl: string;
|
|
7
|
+
export declare const GetAllConceptsOfUserUrl: string;
|
|
8
|
+
export declare const GetAllConnectionsOfUserUrl: string;
|
|
9
|
+
export declare const GetAllConnectionsOfCompositionUrl: string;
|
|
10
|
+
export declare const GetAllConnectionsOfCompositionBulkUrl: string;
|
|
11
|
+
export declare const GetConceptByCharacterValueUrl: string;
|
|
12
|
+
export declare const GetConceptByCharacterAndTypeUrl: string;
|
|
13
|
+
export declare const GetCharacterByCharacterUrl: string;
|
|
14
|
+
export declare const GetAllConceptsByTypeUrl: string;
|
|
15
|
+
export declare const GetAllConnectionsOfConceptUrl: string;
|
|
16
|
+
export declare const GetAllAiData: string;
|
|
17
|
+
export declare const GetReservedIdUrl: string;
|
|
18
|
+
export declare const CreateTheTextDataUrl: string;
|
|
19
|
+
export declare const CreateTheCharacterDataUrl: string;
|
|
20
|
+
export declare const CreateTheConceptUrl: string;
|
|
21
|
+
export declare const CreateTheConnectionUrl: string;
|
|
22
|
+
export declare function changeBaseUrl(url: string): void;
|
|
23
|
+
export declare function getBaseUrl(): string;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare class BaseUrl {
|
|
2
|
+
static BASE_URL: string;
|
|
3
|
+
static AI_URL: string;
|
|
4
|
+
static MQTT_URL: string;
|
|
5
|
+
static NODE_URL: string;
|
|
6
|
+
static MQTT_CONNECTION: any;
|
|
7
|
+
static GetConceptUrl(): string;
|
|
8
|
+
static GetConnectionUrl(): string;
|
|
9
|
+
static GetConceptBulkUrl(): string;
|
|
10
|
+
static GetConnectionBulkUrl(): string;
|
|
11
|
+
static GetAllConceptsOfUserUrl(): string;
|
|
12
|
+
static GetAllConnectionsOfUserUrl(): string;
|
|
13
|
+
static GetAllConnectionsOfCompositionUrl(): string;
|
|
14
|
+
static GetAllConnectionsOfCompositionBulkUrl(): string;
|
|
15
|
+
static GetConceptByCharacterValueUrl(): string;
|
|
16
|
+
static GetConceptByCharacterAndTypeUrl(): string;
|
|
17
|
+
static GetConceptByCharacterAndCategoryUrl(): string;
|
|
18
|
+
static GetConceptByCharacterAndCategoryDirectUrl(): string;
|
|
19
|
+
static GetCharacterByCharacterUrl(): string;
|
|
20
|
+
static GetAllConceptsByTypeUrl(): string;
|
|
21
|
+
static GetAllConnectionsOfConceptUrl(): string;
|
|
22
|
+
static GetAllConnectionsToConceptUrl(): string;
|
|
23
|
+
static GetAllAiData(): string;
|
|
24
|
+
static GetAllPrefetchConnectionsUrl(): string;
|
|
25
|
+
static GetAllLinkerConnectionOfConceptUrl(): string;
|
|
26
|
+
static GetAllLinkerConnectionToConceptUrl(): string;
|
|
27
|
+
static DeleteConceptUrl(): string;
|
|
28
|
+
static RecursiveSearchUrl(): string;
|
|
29
|
+
static SearchLinkMultipleAllApiUrl(): string;
|
|
30
|
+
static MakeTheNameInBackendUrl(): string;
|
|
31
|
+
static LoginUrl(): string;
|
|
32
|
+
static SignupUrl(): string;
|
|
33
|
+
static GetCompositionConnectionBetweenTwoConceptsUrl(): string;
|
|
34
|
+
static SearchCompositionsUrl(): string;
|
|
35
|
+
static SearchLinkMultipleAll(): string;
|
|
36
|
+
static CreateSessionId(): string;
|
|
37
|
+
static CreateSessionVisitUrl(): string;
|
|
38
|
+
static ViewInternalDataUrl(): string;
|
|
39
|
+
static SearchInternalWithAuthenticatedCcsUrl(): string;
|
|
40
|
+
static GetReservedIdUrl(): string;
|
|
41
|
+
static GetReservedConnectionIdUrl(): string;
|
|
42
|
+
static CreateTheTextDataUrl(): string;
|
|
43
|
+
static CreateTheCharacterDataUrl(): string;
|
|
44
|
+
static CreateTheConceptUrl(): string;
|
|
45
|
+
static CreateTheConnectionUrl(): string;
|
|
46
|
+
static CreateTheConnectionNewUrl(): string;
|
|
47
|
+
static MakeTheTypeConceptUrl(): string;
|
|
48
|
+
static DeleteTheConnectionUrl(): string;
|
|
49
|
+
static DeleteTheConnectionBulkUrl(): string;
|
|
50
|
+
static FreeschemaQueryUrl(): string;
|
|
51
|
+
static GetConceptConnectionByType(): string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
import { Node } from "./Node";
|
|
3
|
+
export declare class BinaryCharacterTree {
|
|
4
|
+
static characterRoot: Node | null;
|
|
5
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
6
|
+
static checkFlag(resolve: any): any;
|
|
7
|
+
static addNodeToTree(node: Node): Promise<Node | null>;
|
|
8
|
+
static removeNodeByCharacter(character: string, id: number): Promise<void>;
|
|
9
|
+
static countNumberOfNodes(): number;
|
|
10
|
+
static addConceptToTree(concept: Concept): void;
|
|
11
|
+
static getNodeFromTree(value: string): Node | null;
|
|
12
|
+
static getNodeFromTreeUpdated(value: string): Node | null;
|
|
13
|
+
static getCharacterAndTypeFromTree(value: string, typeId: number): Promise<Node | null>;
|
|
14
|
+
static getCharacterAndCategoryFromTree(value: string, categoryId: number): Promise<Node | null>;
|
|
15
|
+
static removeConceptCharacter(id: number): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
import { Node } from "./Node";
|
|
3
|
+
export declare class BinaryTree {
|
|
4
|
+
static root: Node | null;
|
|
5
|
+
static addNodeToTree(node: Node): Node | undefined;
|
|
6
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
7
|
+
static checkFlag(resolve: any): any;
|
|
8
|
+
static addConceptToTree(concept: Concept): void;
|
|
9
|
+
static getNodeFromTree(id: number): Promise<Node | null>;
|
|
10
|
+
static removeNodeFromTree(id: number): Promise<void>;
|
|
11
|
+
static countNumberOfNodes(): number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
import { Node } from "./Node";
|
|
3
|
+
export declare class BinaryTypeTree {
|
|
4
|
+
static typeRoot: Node | null;
|
|
5
|
+
static addNodeToTree(node: Node): Promise<Node | null>;
|
|
6
|
+
static addConceptToTree(concept: Concept): void;
|
|
7
|
+
static removeTypeConcept(typeId: number, id: number): void;
|
|
8
|
+
static getNodeFromTree(id: number): Node | null;
|
|
9
|
+
static getTypeVariantsFromTree(typeId: number): Concept[] | undefined;
|
|
10
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
11
|
+
static checkFlag(resolve: any): any;
|
|
12
|
+
static getTypeVariantsFromTreeWithUserId(typeId: number, userId: number): Promise<Concept[]>;
|
|
13
|
+
static getTypeVariantsWithCharacterValue(characterValue: string, typeId: number): Promise<Concept>;
|
|
14
|
+
static countNumberOfNodes(): number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TheCharacter } from "./TheCharacter";
|
|
2
|
+
export declare class CharacterRepository {
|
|
3
|
+
name: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static characterData: TheCharacter[];
|
|
6
|
+
static AddCharacter(character: TheCharacter): void;
|
|
7
|
+
static GetCharacter(value: string): TheCharacter;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Connection } from '../../DataStructures/Connection';
|
|
2
|
+
import { Concept } from '../../DataStructures/Concept';
|
|
3
|
+
export declare class Composition {
|
|
4
|
+
id: number;
|
|
5
|
+
mainConcept: Concept;
|
|
6
|
+
connections: Connection[];
|
|
7
|
+
concepts: Concept[];
|
|
8
|
+
subcompositions: number[];
|
|
9
|
+
cached: any;
|
|
10
|
+
updateCache(): Promise<void>;
|
|
11
|
+
UpdateAcrossDistributedSystem(): void;
|
|
12
|
+
isUpdating(): void;
|
|
13
|
+
GetDataCache(): any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Composition } from './Composition';
|
|
2
|
+
import { CompositionNode } from './CompositionNode';
|
|
3
|
+
export declare class CompositionBinaryTree {
|
|
4
|
+
static root: CompositionNode | null;
|
|
5
|
+
static addNodeToTree(node: CompositionNode): CompositionNode | undefined;
|
|
6
|
+
static addCompositionToTree(composition: Composition): void;
|
|
7
|
+
static getNodeFromTree(id: number): Promise<CompositionNode | null>;
|
|
8
|
+
static removeNodeFromTree(id: number): Promise<void>;
|
|
9
|
+
static countNumberOfNodes(): number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Composition } from './Composition';
|
|
2
|
+
export declare class CompositionNode {
|
|
3
|
+
expiryTime: Date;
|
|
4
|
+
key: number;
|
|
5
|
+
value: Composition;
|
|
6
|
+
leftNode: CompositionNode | null;
|
|
7
|
+
rightNode: CompositionNode | null;
|
|
8
|
+
height: number;
|
|
9
|
+
constructor(key: number, value: Composition, leftNode: CompositionNode | null, rightNode: CompositionNode | null);
|
|
10
|
+
isValid(): boolean;
|
|
11
|
+
saveToCache(data: any): void;
|
|
12
|
+
addNode(passedNode: CompositionNode, node: CompositionNode | null, height: number): CompositionNode | null;
|
|
13
|
+
rightRotate(y: CompositionNode | null): CompositionNode | null;
|
|
14
|
+
leftRotate(x: CompositionNode | null): CompositionNode | null;
|
|
15
|
+
getHeight(node: CompositionNode | null): number;
|
|
16
|
+
getBalanceFactor(N: CompositionNode | null): number;
|
|
17
|
+
getFromNode(id: number, node: CompositionNode | null): CompositionNode | null;
|
|
18
|
+
removeNode(passedNode: CompositionNode | null, id: number): CompositionNode | null;
|
|
19
|
+
countNodeBelow(root: CompositionNode | null): number;
|
|
20
|
+
inOrderSuccessor(root: CompositionNode): CompositionNode;
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare class Concept {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
id: number;
|
|
5
|
+
ghostId: number;
|
|
6
|
+
userId: number;
|
|
7
|
+
typeId: number;
|
|
8
|
+
typeUserId: number;
|
|
9
|
+
categoryId: number;
|
|
10
|
+
categoryUserId: number;
|
|
11
|
+
referentId: number;
|
|
12
|
+
referentUserId: number;
|
|
13
|
+
characterValue: string;
|
|
14
|
+
securityId: number;
|
|
15
|
+
securityUserId: number;
|
|
16
|
+
accessId: number;
|
|
17
|
+
accessUserId: number;
|
|
18
|
+
sessionInformationId: number;
|
|
19
|
+
sessionInformationUserId: number;
|
|
20
|
+
entryTimeStamp: Date | string;
|
|
21
|
+
updatedTimeStamp: Date | string;
|
|
22
|
+
referent: Concept | null | void;
|
|
23
|
+
type: Concept | null | void;
|
|
24
|
+
isNew: boolean;
|
|
25
|
+
updateRecursion: boolean;
|
|
26
|
+
isTemp: boolean;
|
|
27
|
+
constructor(id: number, userId: number, typeId: number, typeUserId: number, categoryId: number, categoryUserId: number, referentId: number, referentUserId: number, characterValue: string, securityId: number, securityUserId: number, accessId: number, accessUserId: number, sessionId: number, sessionUserId: number, isNew: boolean | undefined, entryTimeStamp: Date | string, updatedTimeStamp: Date | string);
|
|
28
|
+
getType(): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Concept } from "./Concept";
|
|
2
|
+
export declare class ConceptsData {
|
|
3
|
+
name: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static conceptsArray: Concept[];
|
|
6
|
+
static NPC: number[];
|
|
7
|
+
static conceptDictionary: Concept[];
|
|
8
|
+
static CheckContains(concept: Concept): boolean;
|
|
9
|
+
static AddNpc(id: number): void;
|
|
10
|
+
static GetNpc(id: number): boolean;
|
|
11
|
+
static AddConceptToStorage(concept: Concept): void;
|
|
12
|
+
static AddConcept(concept: Concept): void;
|
|
13
|
+
static AddConceptToMemory(concept: Concept): void;
|
|
14
|
+
static AddConceptTemporary(concept: Concept): void;
|
|
15
|
+
static RemoveConcept(concept: Concept): void;
|
|
16
|
+
static GetConcept(id: number): Promise<Concept>;
|
|
17
|
+
static GetConceptByCharacter(characterValue: string): Promise<Concept>;
|
|
18
|
+
static GetConceptByCharacterUpdated(characterValue: string): Promise<Concept>;
|
|
19
|
+
static GetConceptByCharacterAndTypeLocal(character_value: string, typeId: number): Promise<Concept>;
|
|
20
|
+
static GetConceptByCharacterAndCategoryLocal(character_value: string, categoryId: number): Promise<Concept>;
|
|
21
|
+
static GetConceptsByTypeId(typeId: number): Concept[];
|
|
22
|
+
static GetConceptsByTypeIdAndUser(typeId: number, userId: number): Promise<Concept[]>;
|
|
23
|
+
static GetBinaryCharacterTree(): import("./Node").Node | null;
|
|
24
|
+
getName(): string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Concept } from "./Concept";
|
|
2
|
+
export declare class ConceptsToDraw {
|
|
3
|
+
name: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static conceptsArray: Concept[];
|
|
6
|
+
static CheckContains(concept: Concept): boolean;
|
|
7
|
+
static AddConcept(concept: Concept): void;
|
|
8
|
+
static RemoveConcept(concept: Concept): void;
|
|
9
|
+
static GetConcept(id: number): Concept | null;
|
|
10
|
+
getName(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Concept } from "./Concept";
|
|
2
|
+
export declare class Connection {
|
|
3
|
+
id: number;
|
|
4
|
+
userId: number;
|
|
5
|
+
ghostId: number;
|
|
6
|
+
ofTheConceptId: number;
|
|
7
|
+
toTheConceptId: number;
|
|
8
|
+
ofTheConceptUserId: number;
|
|
9
|
+
toTheConceptUserId: number;
|
|
10
|
+
entryTimeStamp: Date | string;
|
|
11
|
+
terminationDateTime: Date;
|
|
12
|
+
typeId: number;
|
|
13
|
+
typeUserId: number;
|
|
14
|
+
orderId: number;
|
|
15
|
+
orderUserId: number;
|
|
16
|
+
securityId: number;
|
|
17
|
+
securityUserId: number;
|
|
18
|
+
accessId: number;
|
|
19
|
+
accessUserId: number;
|
|
20
|
+
sessionInformationId: number;
|
|
21
|
+
sessionInformationUserId: number;
|
|
22
|
+
localSyncTime: Date;
|
|
23
|
+
isTemp: boolean;
|
|
24
|
+
toUpdate: boolean;
|
|
25
|
+
type: Concept;
|
|
26
|
+
constructor(id: number | undefined, ofTheConceptId: number, toTheConceptId: number, ofTheConceptUserId: number, toTheConceptUserId: number, userId: number, typeId: number, typeUserId: number, orderId: number, orderUserId: number, securityId: number, securityUserId: number, accessId: number, accessUserId: number, sessionInformationId: number, sessionInformationUserId: number);
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Connection } from "../../DataStructures/Connection";
|
|
2
|
+
import { ConnectionNode } from "./ConnectionNode";
|
|
3
|
+
export declare class ConnectionBinaryTree {
|
|
4
|
+
static connectionroot: ConnectionNode | null;
|
|
5
|
+
static addNodeToTree(node: ConnectionNode): ConnectionNode | undefined;
|
|
6
|
+
static addConnectionToTree(connection: Connection): void;
|
|
7
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
8
|
+
static checkFlag(resolve: any): any;
|
|
9
|
+
static removeNodeFromTree(id: number): Promise<void>;
|
|
10
|
+
static getNodeFromTree(id: number): Promise<ConnectionNode | null>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Connection } from "./../Connection";
|
|
2
|
+
export declare class ConnectionNode {
|
|
3
|
+
key: any;
|
|
4
|
+
value: Connection;
|
|
5
|
+
leftNode: ConnectionNode | null;
|
|
6
|
+
rightNode: ConnectionNode | null;
|
|
7
|
+
currentNode: ConnectionNode | null;
|
|
8
|
+
variants: ConnectionNode[];
|
|
9
|
+
height: number;
|
|
10
|
+
constructor(key: any, value: Connection, leftNode: ConnectionNode | null, rightNode: ConnectionNode | null);
|
|
11
|
+
addCurrentNode(passedNode: ConnectionNode, node: ConnectionNode | null): ConnectionNode;
|
|
12
|
+
addCurrentNodeType(passedNode: ConnectionNode, node: ConnectionNode | null): ConnectionNode;
|
|
13
|
+
addNode(passedNode: ConnectionNode, node: ConnectionNode | null, height: number): ConnectionNode | null;
|
|
14
|
+
addTypeNode(passedNode: ConnectionNode, node: ConnectionNode | null, height: number): ConnectionNode | null;
|
|
15
|
+
rightRotate(y: ConnectionNode | null): ConnectionNode | null;
|
|
16
|
+
leftRotate(x: ConnectionNode | null): ConnectionNode | null;
|
|
17
|
+
getHeight(node: ConnectionNode | null): number;
|
|
18
|
+
getBalanceFactor(N: ConnectionNode | null): number;
|
|
19
|
+
getFromNode(id: number, node: ConnectionNode | null): ConnectionNode | null;
|
|
20
|
+
getCharacterFromNode(value: string, node: ConnectionNode | null): ConnectionNode | null;
|
|
21
|
+
removeNode(passedNode: ConnectionNode | null, id: number): ConnectionNode | null;
|
|
22
|
+
removeNodeWithVariants(passedNode: ConnectionNode | null, typeIdentifier: any, conceptId: number): ConnectionNode | null;
|
|
23
|
+
inOrderSuccessor(root: ConnectionNode): ConnectionNode;
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Connection } from "../../DataStructures/Connection";
|
|
2
|
+
import { ConnectionNode } from "./ConnectionNode";
|
|
3
|
+
export declare class ConnectionTypeTree {
|
|
4
|
+
static connectionTypeRoot: ConnectionNode | null;
|
|
5
|
+
static addNodeToTree(node: ConnectionNode): Promise<ConnectionNode | null>;
|
|
6
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
7
|
+
static checkFlag(resolve: any): any;
|
|
8
|
+
static addConnectionToTree(connection: Connection): void;
|
|
9
|
+
static removeTypeConcept(typeId: number, id: number): void;
|
|
10
|
+
static getNodeFromTree(id: number): ConnectionNode | null;
|
|
11
|
+
static getTypeVariantsFromTree(typeId: number): Promise<Connection[] | undefined>;
|
|
12
|
+
static getTypeVariantsFromTreeWithUserId(typeId: number, userId: number): Promise<Connection[]>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Connection } from "./Connection";
|
|
2
|
+
export declare class ConnectionData {
|
|
3
|
+
name: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static connectionArray: Connection[];
|
|
6
|
+
static connectionDictionary: Connection[];
|
|
7
|
+
static CheckContains(connection: Connection): boolean;
|
|
8
|
+
static AddConnectionToStorage(connection: Connection): void;
|
|
9
|
+
static AddConnection(connection: Connection): void;
|
|
10
|
+
static AddConnectionToMemory(connection: Connection): void;
|
|
11
|
+
static AddToDictionary(connection: Connection): void;
|
|
12
|
+
static RemoveConnection(connection: Connection): void;
|
|
13
|
+
static GetConnectionTree(): import("./ConnectionBinaryTree/ConnectionNode").ConnectionNode | null;
|
|
14
|
+
static GetConnectionTypeTree(): import("./ConnectionBinaryTree/ConnectionNode").ConnectionNode | null;
|
|
15
|
+
static GetConnection(id: number): Promise<Connection>;
|
|
16
|
+
static GetConnectionsOfCompositionLocal(id: number): Promise<Connection[]>;
|
|
17
|
+
getName(): string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class IdentifierFlags {
|
|
2
|
+
static isTypeLoaded: boolean;
|
|
3
|
+
static isCharacterLoaded: boolean;
|
|
4
|
+
static isDataLoaded: boolean;
|
|
5
|
+
static isLocalDataLoaded: boolean;
|
|
6
|
+
static isLocalCharacterLoaded: boolean;
|
|
7
|
+
static isLocalTypeLoaded: boolean;
|
|
8
|
+
static isConnectionLoaded: boolean;
|
|
9
|
+
static isConnectionTypeLoaded: boolean;
|
|
10
|
+
static isLocalConnectionLoaded: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Concept } from "../Concept";
|
|
2
|
+
export declare class LConcept {
|
|
3
|
+
id: number;
|
|
4
|
+
ghostId: number;
|
|
5
|
+
userId: number;
|
|
6
|
+
typeId: number;
|
|
7
|
+
categoryId: number;
|
|
8
|
+
accessId: number;
|
|
9
|
+
characterValue: string;
|
|
10
|
+
typeCharacter: string;
|
|
11
|
+
entryTimeStamp: Date | string;
|
|
12
|
+
referentId: number;
|
|
13
|
+
updatedTimeStamp: Date | string;
|
|
14
|
+
type: LConcept | null | void | Concept;
|
|
15
|
+
isNew: boolean;
|
|
16
|
+
isComposition: boolean;
|
|
17
|
+
isTemp: boolean;
|
|
18
|
+
applicationId: number;
|
|
19
|
+
constructor(id: number, userId: number, typeId: number, categoryId: number, accessId: number, characterValue: string, typeCharacter: string, isNew: boolean | undefined, entryTimeStamp: Date | string, updatedTimeStamp: Date | string, referentId: number, applicationId?: number);
|
|
20
|
+
getType(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LConcept } from "./LConcept";
|
|
2
|
+
export declare class LConnection {
|
|
3
|
+
id: number;
|
|
4
|
+
ghostId: number;
|
|
5
|
+
ofTheConceptId: number;
|
|
6
|
+
toTheConceptId: number;
|
|
7
|
+
entryTimeStamp: Date | string;
|
|
8
|
+
terminationDateTime: Date;
|
|
9
|
+
accessId: number;
|
|
10
|
+
typeId: number;
|
|
11
|
+
orderId: number;
|
|
12
|
+
typeCharacter: string;
|
|
13
|
+
localSyncTime: Date;
|
|
14
|
+
isTemp: boolean;
|
|
15
|
+
applicationId: number;
|
|
16
|
+
type: LConcept;
|
|
17
|
+
constructor(id: number | undefined, ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId: number, accessId: number, applicationId?: number);
|
|
18
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LConcept } from "./LConcept";
|
|
2
|
+
export declare class LNode {
|
|
3
|
+
key: any;
|
|
4
|
+
value: LConcept;
|
|
5
|
+
leftNode: LNode | null;
|
|
6
|
+
rightNode: LNode | null;
|
|
7
|
+
currentNode: LNode | null;
|
|
8
|
+
variants: LNode[];
|
|
9
|
+
height: number;
|
|
10
|
+
constructor(key: any, value: LConcept, leftNode: LNode | null, rightNode: LNode | null);
|
|
11
|
+
addCurrentNode(passedNode: LNode, node: LNode | null): LNode;
|
|
12
|
+
addCurrentNodeType(passedNode: LNode, node: LNode | null): LNode;
|
|
13
|
+
addNode(passedNode: LNode, node: LNode | null, height: number): LNode | null;
|
|
14
|
+
addCharacterNode(passedNode: LNode, node: LNode | null, height: number): LNode | null;
|
|
15
|
+
addTypeNode(passedNode: LNode, node: LNode | null, height: number): LNode | null;
|
|
16
|
+
rightRotate(y: LNode | null): LNode | null;
|
|
17
|
+
leftRotate(x: LNode | null): LNode | null;
|
|
18
|
+
getHeight(node: LNode | null): number;
|
|
19
|
+
getBalanceFactor(N: LNode | null): number;
|
|
20
|
+
getFromNode(id: number, node: LNode | null): LNode | null;
|
|
21
|
+
getCharacterFromNode(value: string, node: LNode | null): LNode | null;
|
|
22
|
+
getFromNodeWithCharacterAndType(value: string, typeId: number, node: LNode | null): LNode | null;
|
|
23
|
+
removeNode(passedNode: LNode | null, id: number): LNode | null;
|
|
24
|
+
removeNodeWithVariants(passedNode: LNode | null, typeIdentifier: any, conceptId: number): LNode | null;
|
|
25
|
+
countNodeBelow(root: LNode | null): number;
|
|
26
|
+
inOrderSuccessor(root: LNode): LNode;
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LConcept } from "../../DataStructures/Local/LConcept";
|
|
2
|
+
import { LNode } from "./../Local/LNode";
|
|
3
|
+
export declare class LocalBinaryCharacterTree {
|
|
4
|
+
static LocalCharacterRoot: LNode | null;
|
|
5
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
6
|
+
static checkFlag(resolve: any): any;
|
|
7
|
+
static addNodeToTree(node: LNode): Promise<LNode | null>;
|
|
8
|
+
static addConceptToTree(concept: LConcept): void;
|
|
9
|
+
static getNodeFromTree(value: string): LNode | null;
|
|
10
|
+
static getCharacterAndTypeFromTree(value: string, typeId: number): Promise<LNode | null>;
|
|
11
|
+
static removeConceptType(character: string, id: number): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LConcept } from "../../DataStructures/Local/LConcept";
|
|
2
|
+
import { LNode } from "./../Local/LNode";
|
|
3
|
+
export declare class LocalBinaryTree {
|
|
4
|
+
static root: LNode | null;
|
|
5
|
+
static addNodeToTree(node: LNode): LNode | undefined;
|
|
6
|
+
static addConceptToTree(concept: LConcept): void;
|
|
7
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
8
|
+
static checkFlag(resolve: any): any;
|
|
9
|
+
static getNodeFromTree(id: number): Promise<LNode | null>;
|
|
10
|
+
static getCharacterAndTypeFromTree(value: string, typeId: number): LNode | null;
|
|
11
|
+
static removeNodeFromTree(id: number): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LConcept } from "../../DataStructures/Local/LConcept";
|
|
2
|
+
import { LNode } from "./LNode";
|
|
3
|
+
export declare class LocalBinaryTypeTree {
|
|
4
|
+
static LocalTypeRoot: LNode | null;
|
|
5
|
+
static addNodeToTree(node: LNode): Promise<LNode | null>;
|
|
6
|
+
static addConceptToTree(concept: LConcept): void;
|
|
7
|
+
static removeConceptType(typeId: number, id: number): void;
|
|
8
|
+
static getNodeFromTree(id: number): LNode | null;
|
|
9
|
+
static getTypeVariantsFromTree(typeId: number): LConcept[] | undefined;
|
|
10
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
11
|
+
static checkFlag(resolve: any): any;
|
|
12
|
+
static getTypeVariantsFromTreeWithUserId(typeId: number, userId: number): Promise<LConcept[]>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LConcept } from "./../Local/LConcept";
|
|
2
|
+
export declare class LocalConceptsData {
|
|
3
|
+
name: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static localconceptsArray: LConcept[];
|
|
6
|
+
static AddConcept(concept: LConcept): void;
|
|
7
|
+
static AddConceptToMemory(concept: LConcept): void;
|
|
8
|
+
static GetConcept(id: number): Promise<LConcept>;
|
|
9
|
+
static GetConceptByCharacter(characterValue: string): Promise<LConcept>;
|
|
10
|
+
static GetConceptByCharacterAndTypeLocal(character_value: string, typeId: number): Promise<LConcept>;
|
|
11
|
+
static GetConceptsByTypeId(typeId: number): LConcept[];
|
|
12
|
+
static GetConceptsByTypeIdAndUser(typeId: number, userId: number): Promise<LConcept[]>;
|
|
13
|
+
getName(): string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LConnection } from "./LConnection";
|
|
2
|
+
export declare class LocalConnectionData {
|
|
3
|
+
name: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static connectionArray: LConnection[];
|
|
6
|
+
static connectionDictionary: LConnection[];
|
|
7
|
+
static CheckContains(connection: LConnection): boolean;
|
|
8
|
+
static AddConnection(connection: LConnection): void;
|
|
9
|
+
static AddToDictionary(connection: LConnection): void;
|
|
10
|
+
static RemoveConnection(connection: LConnection): void;
|
|
11
|
+
static GetConnection(id: number): LConnection | null;
|
|
12
|
+
static waitForDataToLoad(): Promise<unknown>;
|
|
13
|
+
static checkFlag(resolve: any): any;
|
|
14
|
+
static GetConnectionsOfCompositionLocal(id: number): Promise<LConnection[]>;
|
|
15
|
+
getName(): string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LConcept } from "./LConcept";
|
|
2
|
+
import { LConnection } from "./LConnection";
|
|
3
|
+
export declare class LocalSyncData {
|
|
4
|
+
static conceptsSyncArray: LConcept[];
|
|
5
|
+
static connectionSyncArray: LConnection[];
|
|
6
|
+
static CheckContains(concept: LConcept): boolean;
|
|
7
|
+
static SyncDataDelete(id: number): void;
|
|
8
|
+
static CheckContainsConnection(connection: LConnection): boolean;
|
|
9
|
+
static AddConcept(concept: LConcept): void;
|
|
10
|
+
static RemoveConcept(concept: LConcept): void;
|
|
11
|
+
static AddConnection(connection: LConnection): void;
|
|
12
|
+
static RemoveConnection(connection: LConnection): void;
|
|
13
|
+
static syncDataLocalDb(): Promise<string>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Concept } from "./Concept";
|
|
2
|
+
export declare class Node {
|
|
3
|
+
key: any;
|
|
4
|
+
value: Concept;
|
|
5
|
+
leftNode: Node | null;
|
|
6
|
+
rightNode: Node | null;
|
|
7
|
+
currentNode: Node | null;
|
|
8
|
+
variants: Node[];
|
|
9
|
+
height: number;
|
|
10
|
+
constructor(key: any, value: Concept, leftNode: Node | null, rightNode: Node | null);
|
|
11
|
+
addCurrentNode(passedNode: Node, node: Node | null): Node;
|
|
12
|
+
addCurrentNodeType(passedNode: Node, node: Node | null): Node;
|
|
13
|
+
addNode(passedNode: Node, node: Node | null, height: number): Node | null;
|
|
14
|
+
addCharacterNode(passedNode: Node, node: Node | null, height: number): Node | null;
|
|
15
|
+
addTypeNode(passedNode: Node, node: Node | null, height: number): Node | null;
|
|
16
|
+
rightRotate(y: Node | null): Node | null;
|
|
17
|
+
leftRotate(x: Node | null): Node | null;
|
|
18
|
+
getHeight(node: Node | null): number;
|
|
19
|
+
getBalanceFactor(N: Node | null): number;
|
|
20
|
+
getFromNode(id: number, node: Node | null): Node | null;
|
|
21
|
+
getCharacterFromNode(value: string, node: Node | null): Node | null;
|
|
22
|
+
getCharacterFromNodeUpdated(value: string, node: Node | null): Node | null;
|
|
23
|
+
getFromNodeWithCharacterAndType(value: string, typeId: number, node: Node | null): Node | null;
|
|
24
|
+
getFromNodeWithCharacterAndCategory(value: string, categoryId: number, node: Node | null): Node | null;
|
|
25
|
+
removeNode(passedNode: Node | null, id: number): Node | null;
|
|
26
|
+
removeNodeWithVariants(passedNode: Node | null, typeIdentifier: any, conceptId: number): Node | null;
|
|
27
|
+
countNodeBelow(root: Node | null): number;
|
|
28
|
+
inOrderSuccessor(root: Node): Node;
|
|
29
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class ReferentInfo {
|
|
2
|
+
conceptDataId: number;
|
|
3
|
+
conceptDataUserId: number;
|
|
4
|
+
characterDataId: number;
|
|
5
|
+
characterDataUserId: number;
|
|
6
|
+
constructor(conceptDataId: number, conceptDataUserId: number, characterDataId: number, characterDataUserId: number);
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class ReservedIds {
|
|
2
|
+
static ids: number[];
|
|
3
|
+
static getId(): Promise<number>;
|
|
4
|
+
static AddId(id: number): void;
|
|
5
|
+
}
|
|
6
|
+
export declare class ReservedConnectionIds {
|
|
7
|
+
static connectionIds: number[];
|
|
8
|
+
static getId(): Promise<number>;
|
|
9
|
+
static AddId(id: number): void;
|
|
10
|
+
}
|