mftsccs-browser 2.1.237-beta → 2.1.239-dev
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/main.bundle.js +43918 -2
- package/dist/main.bundle.js.map +1 -0
- package/dist/serviceWorker.bundle.js +44844 -2
- package/dist/serviceWorker.bundle.js.map +1 -0
- package/package.json +4 -1
- package/dist/main.bundle.js.LICENSE.txt +0 -1
- package/dist/serviceWorker.bundle.js.LICENSE.txt +0 -1
- package/dist/types/AccessTracker/accessTracker.d.ts +0 -67
- package/dist/types/Anomaly/anomaly.d.ts +0 -103
- package/dist/types/Api/Create/CreateTheCharacter.d.ts +0 -24
- package/dist/types/Api/Create/CreateTheConceptApi.d.ts +0 -20
- package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +0 -18
- package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +0 -28
- package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +0 -18
- package/dist/types/Api/Create/CreateTheTextData.d.ts +0 -18
- package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +0 -14
- package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +0 -19
- package/dist/types/Api/DeleteConnectionBulkApi.d.ts +0 -20
- package/dist/types/Api/DeleteTheConcept.d.ts +0 -20
- package/dist/types/Api/DeleteTheConnection.d.ts +0 -20
- package/dist/types/Api/GetAiData.d.ts +0 -10
- package/dist/types/Api/GetAllConceptsByType.d.ts +0 -12
- package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +0 -23
- package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +0 -23
- package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +0 -12
- package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +0 -12
- package/dist/types/Api/GetCharacterDataByCharacter.d.ts +0 -12
- package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +0 -13
- package/dist/types/Api/GetConcept.d.ts +0 -6
- package/dist/types/Api/GetConceptBulk.d.ts +0 -20
- package/dist/types/Api/GetConceptByCharacterAndType.d.ts +0 -15
- package/dist/types/Api/GetConceptByCharacterValue.d.ts +0 -12
- package/dist/types/Api/GetConnection.d.ts +0 -15
- package/dist/types/Api/GetConnectionBulk.d.ts +0 -7
- package/dist/types/Api/GetConnectionOfTheConcept.d.ts +0 -15
- package/dist/types/Api/GetConnectionToTheConcept.d.ts +0 -17
- package/dist/types/Api/GetConnections/GetConnectionsBetweenApi.d.ts +0 -40
- package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +0 -15
- package/dist/types/Api/GetInstanceConceptByCharacterType.d.ts +0 -9
- package/dist/types/Api/GetReservedConnectionIds.d.ts +0 -10
- package/dist/types/Api/GetReservedIds.d.ts +0 -10
- package/dist/types/Api/Images/GetImages.d.ts +0 -15
- package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +0 -13
- package/dist/types/Api/Login.d.ts +0 -78
- package/dist/types/Api/MakeTheNameInBackend.d.ts +0 -14
- package/dist/types/Api/MakeTheTypeConceptApi.d.ts +0 -9
- package/dist/types/Api/Prototype/Selector.d.ts +0 -26
- package/dist/types/Api/RecursiveSearch.d.ts +0 -67
- package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +0 -18
- package/dist/types/Api/Search/Search.d.ts +0 -73
- package/dist/types/Api/Search/SearchInternalApi.d.ts +0 -28
- package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +0 -15
- package/dist/types/Api/Search/SearchWithLinker.d.ts +0 -16
- package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +0 -14
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +0 -12
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +0 -13
- package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +0 -15
- package/dist/types/Api/Session/CreateSession.d.ts +0 -16
- package/dist/types/Api/Session/CreateSessionVisit.d.ts +0 -12
- package/dist/types/Api/Signin.d.ts +0 -24
- package/dist/types/Api/Signup.d.ts +0 -61
- package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +0 -12
- package/dist/types/Api/View/ViewInternalDataApi.d.ts +0 -15
- package/dist/types/Constants/AccessConstants.d.ts +0 -3
- package/dist/types/Constants/ApiConstants.d.ts +0 -23
- package/dist/types/Constants/FormatConstants.d.ts +0 -8
- package/dist/types/Constants/ckeditorCSS.d.ts +0 -1
- package/dist/types/Constants/general.const.d.ts +0 -6
- package/dist/types/Constants/page.const.d.ts +0 -5
- package/dist/types/DataStructures/BaseUrl.d.ts +0 -89
- package/dist/types/DataStructures/BinaryCharacterTree.d.ts +0 -16
- package/dist/types/DataStructures/BinaryTree.d.ts +0 -77
- package/dist/types/DataStructures/BinaryTypeTree.d.ts +0 -17
- package/dist/types/DataStructures/CharacterRepository.d.ts +0 -8
- package/dist/types/DataStructures/Composition/Composition.d.ts +0 -14
- package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +0 -10
- package/dist/types/DataStructures/Composition/CompositionNode.d.ts +0 -21
- package/dist/types/DataStructures/Concept.d.ts +0 -25
- package/dist/types/DataStructures/ConceptData.d.ts +0 -30
- package/dist/types/DataStructures/ConceptsToDraw.d.ts +0 -11
- package/dist/types/DataStructures/Connection.d.ts +0 -23
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +0 -81
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +0 -27
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +0 -10
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +0 -24
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +0 -10
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +0 -20
- package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +0 -15
- package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +0 -4
- package/dist/types/DataStructures/ConnectionData.d.ts +0 -26
- package/dist/types/DataStructures/Count/CountInfo.d.ts +0 -6
- package/dist/types/DataStructures/FetchConnection.d.ts +0 -64
- package/dist/types/DataStructures/FilterSearch.d.ts +0 -9
- package/dist/types/DataStructures/IdentifierFlags.d.ts +0 -11
- package/dist/types/DataStructures/Local/LConcept.d.ts +0 -23
- package/dist/types/DataStructures/Local/LConnection.d.ts +0 -18
- package/dist/types/DataStructures/Local/LNode.d.ts +0 -29
- package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +0 -13
- package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +0 -13
- package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +0 -13
- package/dist/types/DataStructures/Local/LocalConceptData.d.ts +0 -21
- package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +0 -20
- package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +0 -11
- package/dist/types/DataStructures/Local/LocalId.d.ts +0 -19
- package/dist/types/DataStructures/Local/LocalSyncData.d.ts +0 -33
- package/dist/types/DataStructures/Node.d.ts +0 -30
- package/dist/types/DataStructures/PatcherStructure.d.ts +0 -8
- package/dist/types/DataStructures/Prototype/Prototype.d.ts +0 -19
- package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +0 -4
- package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +0 -4
- package/dist/types/DataStructures/ReservedIds.d.ts +0 -10
- package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +0 -74
- package/dist/types/DataStructures/Responses/StandardResponses.d.ts +0 -6
- package/dist/types/DataStructures/Returner.d.ts +0 -7
- package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +0 -25
- package/dist/types/DataStructures/Search/SearchStructure.d.ts +0 -10
- package/dist/types/DataStructures/SearchQuery.d.ts +0 -17
- package/dist/types/DataStructures/Security/SecureStorage.d.ts +0 -14
- package/dist/types/DataStructures/Security/TokenStorage.d.ts +0 -24
- package/dist/types/DataStructures/Session/SessionData.d.ts +0 -13
- package/dist/types/DataStructures/SettingData.d.ts +0 -5
- package/dist/types/DataStructures/Settings.d.ts +0 -4
- package/dist/types/DataStructures/SigninModel.d.ts +0 -4
- package/dist/types/DataStructures/SignupModel.d.ts +0 -4
- package/dist/types/DataStructures/SyncData.d.ts +0 -14
- package/dist/types/DataStructures/TheCharacter.d.ts +0 -13
- package/dist/types/DataStructures/TheTexts.d.ts +0 -14
- package/dist/types/DataStructures/TypeLibrary.d.ts +0 -19
- package/dist/types/DataStructures/TypeNode.d.ts +0 -18
- package/dist/types/DataStructures/User/UserBinaryTree.d.ts +0 -13
- package/dist/types/DataStructures/User/UserNode.d.ts +0 -18
- package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +0 -10
- package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +0 -9
- package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +0 -18
- package/dist/types/DataStructures/environments/environments.d.ts +0 -48
- package/dist/types/Database/CacheDatabase.d.ts +0 -57
- package/dist/types/Database/IndexUpdate.d.ts +0 -47
- package/dist/types/Database/NoIndexDb.d.ts +0 -9
- package/dist/types/Database/indexdblocal.d.ts +0 -43
- package/dist/types/Database/indexeddb.d.ts +0 -58
- package/dist/types/Helpers/CheckIfExists.d.ts +0 -9
- package/dist/types/Helpers/RemoveFromArray.d.ts +0 -5
- package/dist/types/Helpers/UniqueInsert.d.ts +0 -1
- package/dist/types/Middleware/ApplicationMonitor.d.ts +0 -14
- package/dist/types/Middleware/logger.service.d.ts +0 -144
- package/dist/types/ServiceWorker/actions/connectionActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/createActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/deleteActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/getActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/index.d.ts +0 -15
- package/dist/types/ServiceWorker/actions/searchActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/syncActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/updateActions.d.ts +0 -2
- package/dist/types/ServiceWorker/index.d.ts +0 -11
- package/dist/types/Services/CacheClear.d.ts +0 -7
- package/dist/types/Services/CheckForConnectionDeletion.d.ts +0 -3
- package/dist/types/Services/Common/DecodeCountInfo.d.ts +0 -3
- package/dist/types/Services/Common/DelayFunction.d.ts +0 -7
- package/dist/types/Services/Common/ErrorPosting.d.ts +0 -10
- package/dist/types/Services/Common/MergeArrays.d.ts +0 -7
- package/dist/types/Services/Common/RegexFunction.d.ts +0 -1
- package/dist/types/Services/Common/RemoveAllChild.d.ts +0 -1
- package/dist/types/Services/Composition/BuildComposition.d.ts +0 -3
- package/dist/types/Services/Composition/CompositionCache.d.ts +0 -4
- package/dist/types/Services/Composition/CreateCompositionCache.d.ts +0 -3
- package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +0 -5
- package/dist/types/Services/Conversion/ConvertConcepts.d.ts +0 -5
- package/dist/types/Services/CreateBinaryTreeFromData.d.ts +0 -5
- package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +0 -2
- package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +0 -5
- package/dist/types/Services/CreateDefaultConcept.d.ts +0 -3
- package/dist/types/Services/CreateTheComposition.d.ts +0 -1
- package/dist/types/Services/CreateTheConcept.d.ts +0 -122
- package/dist/types/Services/CreateTheConnection.d.ts +0 -63
- package/dist/types/Services/CreateTheConnectionGeneral.d.ts +0 -2
- package/dist/types/Services/DeleteConcept.d.ts +0 -2
- package/dist/types/Services/DeleteConnection.d.ts +0 -2
- package/dist/types/Services/DeleteConnectionByType.d.ts +0 -22
- package/dist/types/Services/FindConeceptsFromConnection.d.ts +0 -6
- package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +0 -1
- package/dist/types/Services/GetComposition.d.ts +0 -205
- package/dist/types/Services/GetCompositionBulk.d.ts +0 -100
- package/dist/types/Services/GetCompositionList.d.ts +0 -7
- package/dist/types/Services/GetConceptByCharacter.d.ts +0 -2
- package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +0 -11
- package/dist/types/Services/GetConnections.d.ts +0 -1
- package/dist/types/Services/GetDataFromIndexDb.d.ts +0 -2
- package/dist/types/Services/GetLink.d.ts +0 -3
- package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +0 -3
- package/dist/types/Services/GetRelation.d.ts +0 -3
- package/dist/types/Services/GetTheConcept.d.ts +0 -96
- package/dist/types/Services/InitializeSystem.d.ts +0 -2
- package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +0 -41
- package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +0 -47
- package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +0 -44
- package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +0 -46
- package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +0 -34
- package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +0 -104
- package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +0 -84
- package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +0 -140
- package/dist/types/Services/Local/DeleteConceptLocal.d.ts +0 -47
- package/dist/types/Services/Local/GetCompositionListLocal.d.ts +0 -37
- package/dist/types/Services/Local/GetCompositionLocal.d.ts +0 -97
- package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +0 -56
- package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +0 -19
- package/dist/types/Services/Local/GetRelationLocal.d.ts +0 -21
- package/dist/types/Services/Local/GetTheConceptLocal.d.ts +0 -63
- package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +0 -22
- package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +0 -164
- package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +0 -36
- package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +0 -42
- package/dist/types/Services/Logs/LogEvent.d.ts +0 -1
- package/dist/types/Services/Mail.d.ts +0 -18
- package/dist/types/Services/MakeTheCharacter.d.ts +0 -2
- package/dist/types/Services/MakeTheCharacterData.d.ts +0 -2
- package/dist/types/Services/MakeTheConcept.d.ts +0 -2
- package/dist/types/Services/MakeTheInstanceConcept.d.ts +0 -15
- package/dist/types/Services/MakeTheTimestamp.d.ts +0 -1
- package/dist/types/Services/MakeTheTypeConcept.d.ts +0 -1
- package/dist/types/Services/Mqtt/publishMessage.d.ts +0 -1
- package/dist/types/Services/Search/DataIdFormat.d.ts +0 -32
- package/dist/types/Services/Search/FormatData.d.ts +0 -36
- package/dist/types/Services/Search/JustIdFormat.d.ts +0 -23
- package/dist/types/Services/Search/NewFormat.d.ts +0 -4
- package/dist/types/Services/Search/SearchLinkInternal.d.ts +0 -3
- package/dist/types/Services/Search/SearchLinkMultiple.d.ts +0 -55
- package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +0 -82
- package/dist/types/Services/Search/orderingConnections.d.ts +0 -2
- package/dist/types/Services/Security/GetRequestHeader.d.ts +0 -6
- package/dist/types/Services/SplitStrings.d.ts +0 -1
- package/dist/types/Services/Transaction/LocalTransaction.d.ts +0 -117
- package/dist/types/Services/UpdateComposition.d.ts +0 -2
- package/dist/types/Services/Upload.d.ts +0 -34
- package/dist/types/Services/User/UserFromLocalStorage.d.ts +0 -10
- package/dist/types/Services/User/UserTranslation.d.ts +0 -3
- package/dist/types/Services/View/ViewInternalData.d.ts +0 -1
- package/dist/types/Services/assets/GetImageService.d.ts +0 -14
- package/dist/types/Services/automated/automated-concept-connection.d.ts +0 -7
- package/dist/types/Services/cacheService.d.ts +0 -1
- package/dist/types/Validator/constant.d.ts +0 -3
- package/dist/types/Validator/interface.d.ts +0 -19
- package/dist/types/Validator/utils.d.ts +0 -7
- package/dist/types/Validator/validator.d.ts +0 -37
- package/dist/types/Visualize/ConceptCircle.d.ts +0 -35
- package/dist/types/Visualize/ConceptCircleList.d.ts +0 -9
- package/dist/types/Visualize/ConnectionLine.d.ts +0 -21
- package/dist/types/Visualize/ConnectionLineList.d.ts +0 -6
- package/dist/types/Visualize/drawExistingConcepts.d.ts +0 -8
- package/dist/types/Visualize/helper.d.ts +0 -15
- package/dist/types/Widgets/BaseObserver.d.ts +0 -25
- package/dist/types/Widgets/BaseWidget.d.ts +0 -37
- package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +0 -11
- package/dist/types/Widgets/BuilderStatefulWidget.d.ts +0 -392
- package/dist/types/Widgets/CacheWidget.service.d.ts +0 -77
- package/dist/types/Widgets/NormalizeStyles.service.d.ts +0 -10
- package/dist/types/Widgets/RenderPage.service.d.ts +0 -17
- package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +0 -22
- package/dist/types/Widgets/RenderWidgetService.d.ts +0 -187
- package/dist/types/Widgets/StatefulWidget.d.ts +0 -167
- package/dist/types/Widgets/WidgetBuild.d.ts +0 -45
- package/dist/types/Widgets/WidgetCacheManager.d.ts +0 -108
- package/dist/types/Widgets/WidgetTree.d.ts +0 -61
- package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +0 -95
- package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +0 -51
- package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +0 -35
- package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +0 -57
- package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +0 -50
- package/dist/types/WrapperFunctions/QueryCacheManager.d.ts +0 -107
- package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +0 -55
- package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +0 -60
- package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +0 -36
- package/dist/types/app.d.ts +0 -377
- package/dist/types/prototype/prototype.service.d.ts +0 -25
- package/dist/types/service-worker.d.ts +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Connection } from "../Connection";
|
|
2
|
-
import { ConnectionOfNode } from "./ConnectionOfNode";
|
|
3
|
-
/**
|
|
4
|
-
* This is a binary tree that is used to store the reference to the main connection of the concept.
|
|
5
|
-
*/
|
|
6
|
-
export declare class ConnectionOfTheTree {
|
|
7
|
-
static node: ConnectionOfNode | null;
|
|
8
|
-
static CreateCompositionKey(ofTheConceptId: number, typeId: number): number;
|
|
9
|
-
static GetConnectionByOfTheConceptAndTypeId(ofTheConceptId: number, typeId: number): any;
|
|
10
|
-
/**
|
|
11
|
-
* This function lets you add a connection by composite key with of the concept id and type id.
|
|
12
|
-
* This function checks if the connection already exists and then updates in the case that it does not
|
|
13
|
-
* If the connection of the concept id and type id combination is encountered first time then a node is created.
|
|
14
|
-
* @param connection connection that needs to be added.
|
|
15
|
-
*/
|
|
16
|
-
static addConnection(connection: Connection): void;
|
|
17
|
-
/**
|
|
18
|
-
* This is a function to add the connectionNode to the existing tree
|
|
19
|
-
* @param connectionOfNode This is the node that needs to be added to the tree.
|
|
20
|
-
* @returns ConnectionOfNode
|
|
21
|
-
*/
|
|
22
|
-
static addNodeToTree(connectionOfNode: ConnectionOfNode): Promise<ConnectionOfNode | null>;
|
|
23
|
-
static removeNodeFromTree(id: number): Promise<void>;
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NodePrimitive } from "./NodePrimitive";
|
|
2
|
-
export declare class ConnectionTypeNode extends NodePrimitive {
|
|
3
|
-
key: string;
|
|
4
|
-
value: number[];
|
|
5
|
-
height: number;
|
|
6
|
-
leftNode: ConnectionTypeNode | null;
|
|
7
|
-
rightNode: ConnectionTypeNode | null;
|
|
8
|
-
constructor(key: any, value: number[], leftNode: ConnectionTypeNode | null, rightNode: ConnectionTypeNode | null);
|
|
9
|
-
addNode(passedNode: ConnectionTypeNode, node: ConnectionTypeNode | null, height: number): any;
|
|
10
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Connection } from "../../DataStructures/Connection";
|
|
2
|
-
import { ConnectionTypeNode } from "./ConnectionTypeNode";
|
|
3
|
-
export declare class ConnectionTypeTree {
|
|
4
|
-
static connectionTypeRoot: ConnectionTypeNode | null;
|
|
5
|
-
static CreateCompositionKey(typeId: number): number;
|
|
6
|
-
/**
|
|
7
|
-
* This is a function to add the connectionNode to the existing tree
|
|
8
|
-
* @param connectionOfNode This is the node that needs to be added to the tree.
|
|
9
|
-
* @returns ConnectionOfNode
|
|
10
|
-
*/
|
|
11
|
-
static addNodeToTree(connectionOfNode: ConnectionTypeNode): Promise<ConnectionTypeNode | null>;
|
|
12
|
-
/**
|
|
13
|
-
* This function lets you add a connection by composite key with of the concept id and type id.
|
|
14
|
-
* This function checks if the connection already exists and then updates in the case that it does not
|
|
15
|
-
* If the connection of the concept id and type id combination is encountered first time then a node is created.
|
|
16
|
-
* @param connection connection that needs to be added.
|
|
17
|
-
*/
|
|
18
|
-
static addConnectionToTree(connection: Connection): void;
|
|
19
|
-
static GetConnectionByOfTheConceptAndTypeId(ofTheConceptId: number, typeId: number): any;
|
|
20
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class NodePrimitive {
|
|
2
|
-
key: string;
|
|
3
|
-
value: number[];
|
|
4
|
-
height: number;
|
|
5
|
-
leftNode: any | null;
|
|
6
|
-
rightNode: any | null;
|
|
7
|
-
constructor(key: any, value: number[], leftNode: NodePrimitive | null, rightNode: NodePrimitive | null);
|
|
8
|
-
getFromNode(id: any, node: any | null): any | null;
|
|
9
|
-
rightRotate(y: NodePrimitive | null): any;
|
|
10
|
-
leftRotate(x: NodePrimitive | null): any;
|
|
11
|
-
getHeight(node: NodePrimitive | null): number;
|
|
12
|
-
getBalanceFactor(N: NodePrimitive | null): number;
|
|
13
|
-
removeNode(passedNode: any | null, id: number): any;
|
|
14
|
-
inOrderSuccessor(root: any): any;
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Connection } from "./Connection";
|
|
2
|
-
export declare class ConnectionData {
|
|
3
|
-
name: string;
|
|
4
|
-
constructor();
|
|
5
|
-
static deletedConnections: number[];
|
|
6
|
-
static connectionArray: Connection[];
|
|
7
|
-
static connectionDictionary: Connection[];
|
|
8
|
-
static CheckContains(connection: Connection): boolean;
|
|
9
|
-
static AddConnectionToStorage(connection: Connection): void;
|
|
10
|
-
static AddNpConn(id: number): void;
|
|
11
|
-
static GetNpConn(id: number): boolean;
|
|
12
|
-
static AddConnection(connection: Connection): void;
|
|
13
|
-
static AddConnectionToMemory(connection: Connection): void;
|
|
14
|
-
static AddToDictionary(connection: Connection): void;
|
|
15
|
-
static RemoveConnection(connection: Connection): void;
|
|
16
|
-
static GetConnectionTypeOfTree(): void;
|
|
17
|
-
static GetConnectionByOfTheConceptAndType(ofTheConceptId: number, typeId: number): Promise<any>;
|
|
18
|
-
static GetConnectionByOfType(ofTheConceptId: number, typeId: number): any;
|
|
19
|
-
static GetConnectionTree(): import("./ConnectionBinaryTree/ConnectionNode").ConnectionNode | null;
|
|
20
|
-
static GetConnectionTypeTree(): import("./ConnectionBinaryTree/ConnectionTypeNode").ConnectionTypeNode | null;
|
|
21
|
-
static GetConnectionBulkData(ids: number[], connectionArray: Connection[], remainingIds: any): Promise<void>;
|
|
22
|
-
static GetConnection(id: number): Promise<any>;
|
|
23
|
-
static GetConnectionsOfCompositionLocal(id: number): Promise<any>;
|
|
24
|
-
static GetConnectionsOfConcept(id: number): Promise<any>;
|
|
25
|
-
getName(): string;
|
|
26
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Request/response shape for the POST /api/get-connection-between endpoint.
|
|
3
|
-
*
|
|
4
|
-
* Use only the fields relevant to your query permutation and leave the rest at their
|
|
5
|
-
* zero/empty defaults. The backend resolves `typeId` from the `type` string when
|
|
6
|
-
* `typeId` is 0, so you never need to supply both.
|
|
7
|
-
*
|
|
8
|
-
* **Query permutations:**
|
|
9
|
-
* 1. `ofTheConceptId` + `toTheConceptId` + `type` — connections between two specific concepts of that type
|
|
10
|
-
* 2. `ofTheConceptId` + `type` — all connections FROM a concept of that type
|
|
11
|
-
* 3. `toTheConceptId` + `type` — all connections TO a concept of that type
|
|
12
|
-
* 4. `typeId` + `isComposition: true` — all internal connections of a composition
|
|
13
|
-
*
|
|
14
|
-
* After the request, the backend populates `connectionIds` and the resolved `typeId`
|
|
15
|
-
* on each item and returns the same array.
|
|
16
|
-
*/
|
|
17
|
-
export interface FetchConnection {
|
|
18
|
-
/** Source concept ID. 0 means "not specified". */
|
|
19
|
-
ofTheConceptId: number;
|
|
20
|
-
/** Target concept ID. 0 means "not specified". */
|
|
21
|
-
toTheConceptId: number;
|
|
22
|
-
/** Resolved type concept ID. Set directly or leave 0 — backend resolves it from `type`. */
|
|
23
|
-
typeId: number;
|
|
24
|
-
/** Human-readable type string (e.g. "the_project_s_page"). Used when typeId is 0. */
|
|
25
|
-
type: string;
|
|
26
|
-
/** Legacy type string resolved relative to the source concept's type. Leave empty unless required. */
|
|
27
|
-
oldType: string;
|
|
28
|
-
/** When true, searches for connections in the reverse direction (toTheConceptId → ofTheConceptId). */
|
|
29
|
-
reverse: boolean;
|
|
30
|
-
/** When true, treats typeId as a composition ID and returns its internal connections. */
|
|
31
|
-
isComposition: boolean;
|
|
32
|
-
/** Populated by the backend after the request — the matching connection IDs. */
|
|
33
|
-
connectionIds: number[];
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Input-only shape for building a FetchConnection query.
|
|
37
|
-
* Omits `connectionIds` since that is an output field populated by the backend.
|
|
38
|
-
*/
|
|
39
|
-
export type FetchConnectionQuery = Omit<FetchConnection, 'connectionIds'>;
|
|
40
|
-
/**
|
|
41
|
-
* Builds a complete FetchConnection request object from a partial query,
|
|
42
|
-
* filling unspecified fields with their zero/empty defaults.
|
|
43
|
-
*
|
|
44
|
-
* Use this instead of constructing FetchConnection manually so you only
|
|
45
|
-
* need to specify the fields relevant to your query permutation.
|
|
46
|
-
*
|
|
47
|
-
* @param query - Partial query with only the fields you need.
|
|
48
|
-
* @returns A fully initialised FetchConnection ready to send to the API.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* // Between two concepts
|
|
52
|
-
* buildFetchConnection({ ofTheConceptId: 1, toTheConceptId: 2, type: "the_project_s_page" })
|
|
53
|
-
*
|
|
54
|
-
* @example
|
|
55
|
-
* // All connections from a concept
|
|
56
|
-
* buildFetchConnection({ ofTheConceptId: 1, type: "the_project_s_page" })
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* // All internal connections of a composition
|
|
60
|
-
* buildFetchConnection({ typeId: 101490186, isComposition: true })
|
|
61
|
-
*
|
|
62
|
-
* @see {@link GetConnectionsBetweenApi} to send the built query to the backend
|
|
63
|
-
*/
|
|
64
|
-
export declare function buildFetchConnection(query: Partial<FetchConnectionQuery>): FetchConnection;
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../Concept";
|
|
2
|
-
export declare class LConcept {
|
|
3
|
-
id: number;
|
|
4
|
-
structureType: string;
|
|
5
|
-
ghostId: number;
|
|
6
|
-
userId: number;
|
|
7
|
-
typeId: number;
|
|
8
|
-
categoryId: number;
|
|
9
|
-
accessId: number;
|
|
10
|
-
characterValue: string;
|
|
11
|
-
typeCharacter: string;
|
|
12
|
-
entryTimeStamp: Date;
|
|
13
|
-
referentId: number;
|
|
14
|
-
updatedTimeStamp: Date;
|
|
15
|
-
type: LConcept | null | void | Concept;
|
|
16
|
-
isNew: boolean;
|
|
17
|
-
isComposition: boolean;
|
|
18
|
-
isTemp: boolean;
|
|
19
|
-
isSynced: boolean;
|
|
20
|
-
applicationId: number;
|
|
21
|
-
constructor(id: number, userId: number, typeId: number, categoryId: number, accessId: number, characterValue: string, typeCharacter: string, isNew: boolean | undefined, entryTimeStamp: Date, updatedTimeStamp: Date, referentId: number);
|
|
22
|
-
getType(): void;
|
|
23
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../Concept";
|
|
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: Concept;
|
|
17
|
-
constructor(id: number, ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId: number, accessId: number);
|
|
18
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Concept } from "./../Concept";
|
|
2
|
-
export declare class LNode {
|
|
3
|
-
key: any;
|
|
4
|
-
value: Concept;
|
|
5
|
-
leftNode: LNode | null;
|
|
6
|
-
rightNode: LNode | null;
|
|
7
|
-
currentNode: LNode | null;
|
|
8
|
-
variants: LNode[];
|
|
9
|
-
height: number;
|
|
10
|
-
constructor(key: any, value: Concept, 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
|
-
updateNodeSyncStatus(id: number, value: any, node: LNode | null): LNode | null;
|
|
22
|
-
getCharacterFromNode(value: string, node: LNode | null): LNode | null;
|
|
23
|
-
getFromNodeWithCharacterAndType(value: string, typeId: number, node: LNode | null): LNode | null;
|
|
24
|
-
getFromNodeWithCharacterAndCategory(value: string, categoryId: number, node: LNode | null): LNode | null;
|
|
25
|
-
removeNode(passedNode: LNode | null, id: number): LNode | null;
|
|
26
|
-
removeNodeWithVariants(passedNode: LNode | null, typeIdentifier: any, conceptId: number): LNode | null;
|
|
27
|
-
countNodeBelow(root: LNode | null): number;
|
|
28
|
-
inOrderSuccessor(root: LNode): LNode;
|
|
29
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../DataStructures/Concept";
|
|
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: Concept): void;
|
|
9
|
-
static getNodeFromTree(value: string): LNode | null;
|
|
10
|
-
static getCharacterAndTypeFromTree(value: string, typeId: number): Promise<LNode | null>;
|
|
11
|
-
static getCharacterAndCategoryFromTree(value: string, categoryId: number): Promise<LNode | null>;
|
|
12
|
-
static removeConceptType(character: string, id: number): void;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../DataStructures/Concept";
|
|
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: Concept): 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 updateSyncStatus(id: number): LNode | null;
|
|
12
|
-
static removeNodeFromTree(id: number): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../DataStructures/Concept";
|
|
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: Concept): void;
|
|
7
|
-
static removeConceptType(typeId: number, id: number): void;
|
|
8
|
-
static getNodeFromTree(id: number): LNode | 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
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Concept } from "./../Concept";
|
|
2
|
-
export declare class LocalConceptsData {
|
|
3
|
-
name: string;
|
|
4
|
-
constructor();
|
|
5
|
-
static localconceptsArray: Concept[];
|
|
6
|
-
static AddConcept(concept: Concept): void;
|
|
7
|
-
static AddPermanentConcept(concept: Concept): void;
|
|
8
|
-
static RemoveConcept(concept: Concept): Promise<void>;
|
|
9
|
-
static RemoveConceptById(conceptId: number): Promise<void>;
|
|
10
|
-
static AddConceptToMemory(concept: Concept): void;
|
|
11
|
-
static GetConcept(id: number): Promise<Concept>;
|
|
12
|
-
static UpdateConceptSyncStatus(id: number): Promise<void>;
|
|
13
|
-
static GetConceptByGhostId(id: number): Promise<Concept>;
|
|
14
|
-
static GetConceptByCharacter(characterValue: string): Promise<Concept>;
|
|
15
|
-
static GetConceptByCharacterAndTypeLocal(character_value: string, typeId: number): Promise<Concept>;
|
|
16
|
-
static GetConceptByCharacterAndCategoryLocal(character_value: string, categoryId: number): Promise<Concept>;
|
|
17
|
-
static GetConceptsByTypeId(typeId: number): Concept[];
|
|
18
|
-
static GetConceptsByTypeIdAndUser(typeId: number, userId: number): Promise<Concept[]>;
|
|
19
|
-
static ClearData(): Promise<void>;
|
|
20
|
-
getName(): string;
|
|
21
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Connection } from "../Connection";
|
|
2
|
-
export declare class LocalConnectionData {
|
|
3
|
-
name: string;
|
|
4
|
-
constructor();
|
|
5
|
-
static connectionArray: Connection[];
|
|
6
|
-
static connectionDictionary: Connection[];
|
|
7
|
-
static CheckContains(connection: Connection): boolean;
|
|
8
|
-
static AddConnection(connection: Connection): void;
|
|
9
|
-
static AddConnectionToMemory(connection: Connection): void;
|
|
10
|
-
static AddToDictionary(connection: Connection): void;
|
|
11
|
-
static RemoveConnection(connection: Connection): void;
|
|
12
|
-
static RemoveConnectionById(connectionId: number): void;
|
|
13
|
-
static AddPermanentConnection(connection: Connection): void;
|
|
14
|
-
static GetConnection(id: number): Connection | null;
|
|
15
|
-
static waitForDataToLoad(): Promise<unknown>;
|
|
16
|
-
static checkFlag(resolve: any): any;
|
|
17
|
-
static GetConnectionsOfCompositionLocal(id: number): Promise<Connection[]>;
|
|
18
|
-
static GetConnectionOfCompositionAndTypeLocal(typeId: number, ofTheConceptId: number): Promise<Connection[]>;
|
|
19
|
-
getName(): string;
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../DataStructures/Concept";
|
|
2
|
-
import { LNode } from "./../Local/LNode";
|
|
3
|
-
export declare class LocalGhostIdTree {
|
|
4
|
-
static root: LNode | null;
|
|
5
|
-
static addNodeToTree(node: LNode): LNode | undefined;
|
|
6
|
-
static addConceptToTree(concept: Concept): void;
|
|
7
|
-
static waitForDataToLoad(): Promise<unknown>;
|
|
8
|
-
static checkFlag(resolve: any): any;
|
|
9
|
-
static getNodeFromTree(id: number): Promise<LNode | null>;
|
|
10
|
-
static removeNodeFromTree(id: number): Promise<void>;
|
|
11
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare class LocalId {
|
|
2
|
-
static localId: number;
|
|
3
|
-
static localConnectionId: number;
|
|
4
|
-
static ReservedLocalId: number[];
|
|
5
|
-
static ReservedConnectionId: number[];
|
|
6
|
-
static AddConceptId(id: any): void;
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* This function will get the local concept id from the indexdb
|
|
10
|
-
* @returns the local concept id
|
|
11
|
-
*/
|
|
12
|
-
static getConceptId(): Promise<number>;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param object This is the object that needs to be updated
|
|
16
|
-
*/
|
|
17
|
-
static AddConnectionId(object: any): void;
|
|
18
|
-
static getConnectionId(): Promise<number>;
|
|
19
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Concept } from "./../Concept";
|
|
2
|
-
import { Connection } from "../Connection";
|
|
3
|
-
import { InnerActions } from "../../app";
|
|
4
|
-
type syncContainer = {
|
|
5
|
-
id: string;
|
|
6
|
-
data: InnerActions;
|
|
7
|
-
createdDate: string;
|
|
8
|
-
};
|
|
9
|
-
export declare class LocalSyncData {
|
|
10
|
-
static conceptsSyncArray: Concept[];
|
|
11
|
-
static connectionSyncArray: Connection[];
|
|
12
|
-
static ghostIdMap: Map<any, any>;
|
|
13
|
-
static transactionCollections: syncContainer[];
|
|
14
|
-
static CheckContains(concept: Concept): boolean;
|
|
15
|
-
static SyncDataDelete(id: number): void;
|
|
16
|
-
static CheckContainsConnection(connection: Connection): boolean;
|
|
17
|
-
static AddConcept(concept: Concept): void;
|
|
18
|
-
static RemoveConcept(concept: Concept): void;
|
|
19
|
-
static SyncDataOnlineWithoutAuth(transactionId?: string, actions?: InnerActions, withAuth?: boolean): Promise<any>;
|
|
20
|
-
static SyncDataOnline(transactionId?: string, actions?: InnerActions, withAuth?: boolean): Promise<any>;
|
|
21
|
-
static ConvertGhostIdsInConnections(connectionArray: Connection[]): void;
|
|
22
|
-
static UpdateConceptListToIncludeRelatedConcepts(connectionArray: Connection[], conceptsArray: Concept[]): Promise<void>;
|
|
23
|
-
static AddConceptIfDoesNotExist(concept: Concept, conceptList?: Concept[]): void;
|
|
24
|
-
static CheckIfTheConceptIdExists(id: number, conceptList?: Concept[]): Concept;
|
|
25
|
-
static AddConnection(connection: Connection): void;
|
|
26
|
-
static RemoveConnection(connection: Connection): void;
|
|
27
|
-
static RemoveConnectionById(connectionId: number): void;
|
|
28
|
-
static syncDataLocalDb(): Promise<string>;
|
|
29
|
-
static initializeTransaction(transactionId: string): Promise<any>;
|
|
30
|
-
static markTransactionActions(transactionId: string, actions: InnerActions): Promise<any>;
|
|
31
|
-
static rollbackTransaction(transactionId: string, actions: InnerActions): Promise<any>;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
checkIfIdsInNode(node: Node | null, ids: number[], connectionArray: Concept[], remainingIds: any): void;
|
|
15
|
-
addCharacterNode(passedNode: Node, node: Node | null, height: number): Node | null;
|
|
16
|
-
addTypeNode(passedNode: Node, node: Node | null, height: number): Node | null;
|
|
17
|
-
rightRotate(y: Node | null): Node | null;
|
|
18
|
-
leftRotate(x: Node | null): Node | null;
|
|
19
|
-
getHeight(node: Node | null): number;
|
|
20
|
-
getBalanceFactor(N: Node | null): number;
|
|
21
|
-
getFromNode(id: number, node: Node | null): Node | null;
|
|
22
|
-
getCharacterFromNode(value: string, node: Node | null): Node | null;
|
|
23
|
-
getCharacterFromNodeUpdated(value: string, node: Node | null): Node | null;
|
|
24
|
-
getFromNodeWithCharacterAndType(value: string, typeId: number, node: Node | null): Node | null;
|
|
25
|
-
getFromNodeWithCharacterAndCategory(value: string, categoryId: number, node: Node | null): Node | null;
|
|
26
|
-
removeNode(passedNode: Node | null, id: number): Node | null;
|
|
27
|
-
removeNodeWithVariants(passedNode: Node | null, typeIdentifier: any, conceptId: number): Node | null;
|
|
28
|
-
countNodeBelow(root: Node | null): number;
|
|
29
|
-
inOrderSuccessor(root: Node): Node;
|
|
30
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../Concept";
|
|
2
|
-
import { Connection } from "../Connection";
|
|
3
|
-
import { PrototypeOption } from "./PrototypeOption";
|
|
4
|
-
import { QuerySelector } from "./QuerySelector";
|
|
5
|
-
export declare class Prototype {
|
|
6
|
-
prototype: string;
|
|
7
|
-
required: string[];
|
|
8
|
-
optional: string[];
|
|
9
|
-
field: string;
|
|
10
|
-
childPrototypes: Prototype[];
|
|
11
|
-
isCompositional: boolean;
|
|
12
|
-
options: PrototypeOption[];
|
|
13
|
-
isQueryType: boolean;
|
|
14
|
-
querySelector: QuerySelector | null;
|
|
15
|
-
concepts: Concept[];
|
|
16
|
-
connections: Connection[];
|
|
17
|
-
addedConcepts: Concept[];
|
|
18
|
-
addedConnections: Connection[];
|
|
19
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is a class that is used to standardize the Response that is sent by FreeSchema.
|
|
3
|
-
* This is done so that we do not have to send a HttpResponse codes.
|
|
4
|
-
*/
|
|
5
|
-
export declare class FreeSchemaResponse {
|
|
6
|
-
private message;
|
|
7
|
-
private status;
|
|
8
|
-
private data;
|
|
9
|
-
private ok;
|
|
10
|
-
private url;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param message this is the message for the response
|
|
14
|
-
* @param ok this is the status can be true or false boolean in case that request succeds or fails
|
|
15
|
-
* @param status this is the standard http codes 200 for ok, 500 for internal error etc.
|
|
16
|
-
* @param data this is the standard data that can be anything.
|
|
17
|
-
*/
|
|
18
|
-
constructor(message: string, ok: boolean, status: number, data: any);
|
|
19
|
-
/**
|
|
20
|
-
* This function gets the message of the error
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
getMessage(): string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @param message This allows you to set a message variable in the FreeSchemaResponse
|
|
27
|
-
* @returns
|
|
28
|
-
*/
|
|
29
|
-
setMessage(message: string): FreeSchemaResponse;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @returns status code of the FreeSchemaResponse
|
|
33
|
-
*/
|
|
34
|
-
getStatus(): number;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @param status standard http error codes (200 ok , 401 unauthorized, 500 internal server error etc.)
|
|
38
|
-
* @returns
|
|
39
|
-
*/
|
|
40
|
-
setStatus(status: number): FreeSchemaResponse;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @returns returns the data for the request
|
|
44
|
-
*/
|
|
45
|
-
getData(): any;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @param data any type of data can be given here
|
|
49
|
-
* @returns FreeSchemaReponse
|
|
50
|
-
*/
|
|
51
|
-
setData(data: any): FreeSchemaResponse;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @returns the status of the FreeSchemaReponse (either true or false)
|
|
55
|
-
*/
|
|
56
|
-
getOk(): boolean;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @param status if the status is true then the response was successful else the success was not achieved.
|
|
60
|
-
* @returns returns the FreeSchemaResponse
|
|
61
|
-
*/
|
|
62
|
-
setOk(ok: boolean): FreeSchemaResponse;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @returns the url that caused the error
|
|
66
|
-
*/
|
|
67
|
-
getUrl(): string;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @param url the url from which the error or response originates
|
|
71
|
-
* @returns FreeSchemaResponse
|
|
72
|
-
*/
|
|
73
|
-
setUrl(url: string): FreeSchemaResponse;
|
|
74
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../Concept";
|
|
2
|
-
import { FilterSearch } from "../FilterSearch";
|
|
3
|
-
export declare class FreeschemaQuery {
|
|
4
|
-
type: string;
|
|
5
|
-
inpage: number;
|
|
6
|
-
page: number;
|
|
7
|
-
concepts: Concept[];
|
|
8
|
-
conceptIds: number[];
|
|
9
|
-
selectors: string[];
|
|
10
|
-
freeschemaQueries: FreeschemaQuery[];
|
|
11
|
-
filters: FilterSearch[];
|
|
12
|
-
filterLogic: string;
|
|
13
|
-
typeConnection: string;
|
|
14
|
-
order: string;
|
|
15
|
-
outputFormat: number;
|
|
16
|
-
name: string;
|
|
17
|
-
filterAncestor: string;
|
|
18
|
-
reverse: boolean;
|
|
19
|
-
limit: boolean;
|
|
20
|
-
isSecure: boolean;
|
|
21
|
-
includeInFilter: boolean;
|
|
22
|
-
isOldConnectionType: boolean;
|
|
23
|
-
cache: boolean;
|
|
24
|
-
usePipelineQuery: boolean;
|
|
25
|
-
}
|