mftsccs-node 0.0.55 → 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/README.md +11 -1386
- 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 @@
|
|
|
1
|
+
export declare function CreateLocalCharacterBinaryTreeFromData(): Promise<void>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { LConcept } from "../../DataStructures/Local/LConcept";
|
|
2
|
+
export declare function CreateTheCompositionLocal(json: any, ofTheConceptId?: number | null, ofTheConceptUserId?: number | null, mainKey?: number | null, userId?: number | null, accessId?: number | null, sessionInformationId?: number | null): Promise<LConcept>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function GetConceptByCharacterLocal(characterValue: string): Promise<import("../../app").LConcept>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { LConcept } from "../../DataStructures/Local/LConcept";
|
|
2
|
+
export declare function MakeTheInstanceConceptLocal(type: string, referent: string, composition: boolean | undefined, userId: number, accessId: number, sessionInformationId?: number, referentId?: number): Promise<LConcept>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
export default function MakeTheConcept(referent: string, userId: number, categoryId: number, categoryUserId: number, typeId: number, typeUserId: number, referentId: number, referentUserId: number, securityId: number, securityUserId: number, accessId: number, accessUserId: number, sessionInformationId: number, sessionInformationUserId: number): Promise<Concept>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
import { InnerActions } from "../DataStructures/Transaction/Transaction";
|
|
3
|
+
export default function MakeTheInstanceConcept(type: string, referent: string, composition: boolean | undefined, userId: number, passedAccessId: number, passedSessionId?: number, referentId?: number, actions?: InnerActions): Promise<Concept>;
|
|
File without changes
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
export declare function MakeTheName(theCharacterData: string, userId: number, securityId: number, securityUserId: number, accessId: number, accessUserId: number, sessionInformationId: number, sessionInformationUserId: number, typeId: number, typeUserId: number, existingConcept: Concept): Promise<Concept>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
import { InnerActions } from "../DataStructures/Transaction/Transaction";
|
|
3
|
+
export declare function MakeTheTypeConcept(typeString: string, sessionId: number, sessionUserId: number, userId: number, actions?: InnerActions): Promise<Concept>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function publishMessage(topic: string, message: any): void;
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Connection } from "../../app";
|
|
2
|
+
/**
|
|
3
|
+
* ## Format DATA-ID ##
|
|
4
|
+
* this function takes in connections and creates a single level objects so that all the data are added to its object/ array.
|
|
5
|
+
* This is then passed on further for stiching.
|
|
6
|
+
* @param connections
|
|
7
|
+
* @param compositionData
|
|
8
|
+
* @param reverse
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare function FormatFunctionDataForData(connections: Connection[], compositionData: any[], reverse?: number[]): Promise<any[]>;
|
|
12
|
+
/**
|
|
13
|
+
* ############ Format is data-id and is used for list. ############
|
|
14
|
+
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
15
|
+
* The list format is helpful because you do not have to go over each individual query.
|
|
16
|
+
* @param connections the type connections that need (external connections) to be passed
|
|
17
|
+
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
18
|
+
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
19
|
+
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
export declare function FormatFromConnectionsAlteredArrayExternal(connections: Connection[], compositionData: any[], newCompositionData: any, mainComposition: number[], reverse: number[] | undefined, CountDictionary: any[]): Promise<any[]>;
|
|
23
|
+
/**
|
|
24
|
+
* ## Format DATA-ID ##
|
|
25
|
+
* this function takes in connections and creates a single level objects so that all the data are added to its object/ array.
|
|
26
|
+
* This is then passed on further for stiching.
|
|
27
|
+
* @param connections
|
|
28
|
+
* @param compositionData
|
|
29
|
+
* @param reverse
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export declare function FormatFunctionData(connections: Connection[], compositionData: any[], reverse?: number[]): Promise<any[]>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Connection } from "../../app";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* ## Format Normal ##
|
|
5
|
+
* This function takes in the connections and then converts the connections to the single level objects for further processing
|
|
6
|
+
* This function is the builder of the arrays/ objects from the connections.
|
|
7
|
+
*/
|
|
8
|
+
export declare function formatFunction(connections: Connection[], compositionData: any, reverse: number[]): Promise<any>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* ## Format Normal ##
|
|
12
|
+
* This function takes in the connections and then converts the connections to the single level objects for further processing
|
|
13
|
+
* This function is the builder of the arrays/ objects from the connections.
|
|
14
|
+
*/
|
|
15
|
+
export declare function formatFunctionForData(connections: Connection[], compositionData: any, reverse: number[]): Promise<any>;
|
|
16
|
+
/**
|
|
17
|
+
* ######### Format is normal ######### used for listing. This only provides type connections.
|
|
18
|
+
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
19
|
+
* The list format is helpful because you do not have to go over each individual query.
|
|
20
|
+
* @param connections the type connections that need (external connections) to be passed
|
|
21
|
+
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
22
|
+
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
23
|
+
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export declare function FormatConceptsAndConnectionsNormalList(connections: Connection[] | undefined, compositionData: any[] | undefined, mainComposition: number[] | undefined, newCompositionData: any, reverse?: number[]): Promise<any[]>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Connection } from "../../app";
|
|
2
|
+
/**
|
|
3
|
+
* ## Format Just-Id ##
|
|
4
|
+
* this function takes in connections and creates a single level objects so that all the data are added to its object/ array.
|
|
5
|
+
* This is then passed on further for stiching.
|
|
6
|
+
* @param connections
|
|
7
|
+
* @param compositionData
|
|
8
|
+
* @param reverse
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare function FormatFunctionDataForDataJustId(connections: Connection[], compositionData: any[], reverse?: number[]): Promise<any[]>;
|
|
12
|
+
/**
|
|
13
|
+
* ############ Format is Just Id and is used for list. ############
|
|
14
|
+
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
15
|
+
* The list format is helpful because you do not have to go over each individual query.
|
|
16
|
+
* @param connections the type connections that need (external connections) to be passed
|
|
17
|
+
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
18
|
+
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
19
|
+
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
export declare function FormatFromConnectionsAlteredArrayExternalJustId(connections: Connection[], compositionData: any[], mainComposition: number[], reverse: number[] | undefined, CountDictionary: any[]): Promise<any[]>;
|
|
23
|
+
export declare function AddCount(ofTheConceptId: number, CountDictionary: any, newData: any): void;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SearchQuery } from "../../DataStructures/SearchQuery";
|
|
2
|
+
export declare function SearchLinkMultipleAll(searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
3
|
+
export declare function FormatFromConnections(linkers: number[], compositionData: any[], mainComposition: number, reverse?: number[]): Promise<any>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CountInfo } from "../../DataStructures/Count/CountInfo";
|
|
2
|
+
/**
|
|
3
|
+
* ## Format Normal ##
|
|
4
|
+
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
5
|
+
* Then those single level objects are then stiched together to create a complex json/ array.
|
|
6
|
+
* @param linkers
|
|
7
|
+
* @param conceptIds
|
|
8
|
+
* @param mainCompositionIds
|
|
9
|
+
* @param reverse
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare function formatConnections(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[]): Promise<any>;
|
|
13
|
+
/**
|
|
14
|
+
* ## Format DATA-ID ##
|
|
15
|
+
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
16
|
+
* Then those single level objects are then stiched together to create a complex json/ array.
|
|
17
|
+
* @param linkers
|
|
18
|
+
* @param conceptIds
|
|
19
|
+
* @param mainCompositionIds
|
|
20
|
+
* @param reverse
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
export declare function formatConnectionsDataId(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise<any>;
|
|
24
|
+
/**
|
|
25
|
+
* ## Format JustId ##
|
|
26
|
+
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
27
|
+
* Then those single level objects are then stiched together to create a complex json/ array.
|
|
28
|
+
* @param linkers
|
|
29
|
+
* @param conceptIds
|
|
30
|
+
* @param mainCompositionIds
|
|
31
|
+
* @param reverse
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
export declare function formatConnectionsJustId(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise<any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function GetRequestHeader(contentType?: string, Accept?: string): {
|
|
2
|
+
'Content-Type': string;
|
|
3
|
+
Authorization: string;
|
|
4
|
+
Accept: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function GetRequestHeaderWithAuthorization(contentType?: string, token?: string, Accept?: string): {
|
|
7
|
+
'Content-Type': string;
|
|
8
|
+
Authorization: string;
|
|
9
|
+
Accept: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SplitStrings(typeString: string): string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LConcept } from './../../DataStructures/Local/LConcept';
|
|
2
|
+
import { LConnection } from '../../app';
|
|
3
|
+
export declare function GetUserGhostId(userId: number, ghostId: number, sessionId?: number, randomizer?: number): Promise<LConcept>;
|
|
4
|
+
export declare function GetUserGhostConnectionId(userId: number, ghostId: number, sessionId?: number, randomizer?: number): Promise<LConnection>;
|
|
5
|
+
export declare function AddGhostConcept(concept: LConcept, userId: number, sessionId?: number): Promise<void>;
|
|
6
|
+
export declare function AddGhostConnection(connection: LConnection, userId: number, sessionId?: number): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ViewInternalData(ids: number[]): Promise<any[]>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FreeschemaQuery } from "../DataStructures/Search/FreeschemaQuery";
|
|
2
|
+
export declare class SearchLinkMultipleAllObservable {
|
|
3
|
+
mainCompositionIds: number[];
|
|
4
|
+
query: FreeschemaQuery;
|
|
5
|
+
countInfoStrings: string[];
|
|
6
|
+
order: string;
|
|
7
|
+
format: number;
|
|
8
|
+
isDataLoaded: boolean;
|
|
9
|
+
conceptIds: number[];
|
|
10
|
+
internalConnections: number[];
|
|
11
|
+
linkers: number[];
|
|
12
|
+
reverse: number[];
|
|
13
|
+
data: any;
|
|
14
|
+
constructor(query: FreeschemaQuery, token: string);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param id this is the id whose links need to be found
|
|
19
|
+
* @param linker this is the type connection that is connected to the mainConcept(id)
|
|
20
|
+
* @param inpage number of outputs that has to be displayed
|
|
21
|
+
* @param page the page which needs to be displayed as per the inpage parameter
|
|
22
|
+
* @param format the format in which the output should be displayed (NORMAL, DATAID,JUSTDATA,DATAIDDATE)
|
|
23
|
+
*/
|
|
24
|
+
export declare function SchemaQueryListener(query: FreeschemaQuery, token: string): Promise<any>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
export { init, updateAccessToken };
|
|
2
|
+
export { SplitStrings } from './Services/SplitStrings';
|
|
3
|
+
export { GetCompositionList, GetCompositionListWithId } from './Services/GetCompositionList';
|
|
4
|
+
export { GetCompositionListLocal, GetCompositionListLocalWithId } from './Services/Local/GetCompositionListLocal';
|
|
5
|
+
export { GetAllConnectionsOfComposition } from './Api/GetAllConnectionsOfComposition';
|
|
6
|
+
export { GetComposition, GetCompositionWithId, recursiveFetch, GetCompositionWithAllIds } from './Services/GetComposition';
|
|
7
|
+
export { GetCompositionLocal, GetCompositionLocalWithId } from './Services/Local/GetCompositionLocal';
|
|
8
|
+
export { default as CreateComposition } from './Services/CreateTheComposition';
|
|
9
|
+
export { CreateTheCompositionLocal } from './Services/Local/CreateTheCompositionLocal';
|
|
10
|
+
export { CreateConnectionBetweenTwoConcepts, CreateConnectionBetweenTwoConceptsGeneral } from './Services/CreateConnectionBetweenTwoConcepts';
|
|
11
|
+
export { default as GetTheConcept } from './Services/GetTheConcept';
|
|
12
|
+
export { default as MakeTheInstanceConcept } from './Services/MakeTheInstanceConcept';
|
|
13
|
+
export { MakeTheInstanceConceptLocal } from './Services/Local/MakeTheInstanceConceptLocal';
|
|
14
|
+
export { storeToDatabase, getFromDatabaseWithType, getFromDatabaseWithTypeOld } from './Database/NoIndexDb';
|
|
15
|
+
export { createTheConnection as CreateTheConnection } from './Services/CreateTheConnection';
|
|
16
|
+
export { default as GetConceptByCharacter } from './Services/GetConceptByCharacter';
|
|
17
|
+
export { GetLink, GetLinkRaw } from './Services/GetLink';
|
|
18
|
+
export { CreateDefaultConcept } from './Services/CreateDefaultConcept';
|
|
19
|
+
export { MakeTheTypeConcept } from './Services/MakeTheTypeConcept';
|
|
20
|
+
export { MakeTheTypeConceptApi } from './Api/MakeTheTypeConceptApi';
|
|
21
|
+
export { GetLinkerConnectionFromConcepts, GetLinkerConnectionToConcepts } from './Services/GetLinkerConnectionFromConcept';
|
|
22
|
+
export { DeleteConceptById } from './Services/DeleteConcept';
|
|
23
|
+
export { DeleteConnectionById } from './Services/DeleteConnection';
|
|
24
|
+
export { TrashTheConcept } from './Api/Delete/DeleteConceptInBackend';
|
|
25
|
+
export { GetConnectionById } from './Services/GetConnections';
|
|
26
|
+
export { MakeTheTimestamp } from './Services/MakeTheTimestamp';
|
|
27
|
+
export { RecursiveSearchApi } from './Api/RecursiveSearch';
|
|
28
|
+
export { GetCompositionBulkWithDataId, GetCompositionBulk, GetCompositionFromConnectionsWithDataId } from './Services/GetCompositionBulk';
|
|
29
|
+
export { GetConceptBulk } from './Api/GetConceptBulk';
|
|
30
|
+
export { GetConnectionBulk } from './Api/GetConnectionBulk';
|
|
31
|
+
export { GetAllConnectionsOfCompositionBulk } from './Api/GetAllConnectionsOfCompositionBulk';
|
|
32
|
+
export { LoginToBackend } from './Api/Login';
|
|
33
|
+
export { GetConnectionOfTheConcept } from './Api/GetConnectionOfTheConcept';
|
|
34
|
+
export { default as Signup } from './Api/Signup';
|
|
35
|
+
export { default as Signin } from './Api/Signin';
|
|
36
|
+
export { default as UpdateComposition } from './Services/UpdateComposition';
|
|
37
|
+
export { SearchAllConcepts } from './Api/Search/Search';
|
|
38
|
+
export { SearchWithLinker } from './Api/Search/SearchWithLinker';
|
|
39
|
+
export { GetCompositionWithCache, GetCompositionWithDataIdWithCache, GetCompositionWithDataIdBulk } from './Services/Composition/CompositionCache';
|
|
40
|
+
export { CreateSession } from './Api/Session/CreateSession';
|
|
41
|
+
export { CreateSessionVisit } from './Api/Session/CreateSessionVisit';
|
|
42
|
+
export {} from './Api/GetConceptByCharacterAndType';
|
|
43
|
+
export { GetRelation, GetRelationRaw } from './Services/GetRelation';
|
|
44
|
+
export { recursiveFetchNew } from './Services/Composition/BuildComposition';
|
|
45
|
+
export { CreateTheCompositionWithCache } from './Services/Composition/CreateCompositionCache';
|
|
46
|
+
export { CreateDefaultLConcept } from './Services/Local/CreateDefaultLConcept';
|
|
47
|
+
export { CreateTheConnectionGeneral, CreateConnection } from './Services/CreateTheConnectionGeneral';
|
|
48
|
+
export { CreateTheConnectionLocal } from './Services/Local/CreateTheConnectionLocal';
|
|
49
|
+
export { GetUserGhostId, AddGhostConcept, GetUserGhostConnectionId, AddGhostConnection } from './Services/User/UserTranslation';
|
|
50
|
+
export { SearchLinkMultipleAll, FormatFromConnections } from './Services/Search/SearchLinkMultiple';
|
|
51
|
+
export { UpdateCompositionLocal } from './Services/Local/UpdateCompositionLocal';
|
|
52
|
+
export { GetCompositionFromConnectionsWithDataIdInObject } from './Services/GetCompositionBulk';
|
|
53
|
+
export { ViewInternalData } from './Services/View/ViewInternalData';
|
|
54
|
+
export { convertFromLConceptToConcept } from './Services/Conversion/ConvertConcepts';
|
|
55
|
+
export { SearchLinkInternal } from './Services/Search/SearchLinkInternal';
|
|
56
|
+
export { HandleHttpError } from './Services/Common/ErrorPosting';
|
|
57
|
+
export { GetConceptByCharacterAndType } from './Api/GetConceptByCharacterAndType';
|
|
58
|
+
export { GetConceptByCharacterAndCategoryDirectApi } from './Api/SearchConcept/GetConceptByCharacterAndCategoryDirect';
|
|
59
|
+
export { SearchLinkMultipleApi } from './Api/Search/SearchLinkMultipleApi';
|
|
60
|
+
export { GetCompositionWithIdFromMemoryFromConnections, GetCompositionWithIdFromMemory } from './Services/GetComposition';
|
|
61
|
+
export { GetConceptByTypeBulk } from './Api/GetConceptByCharacterAndType';
|
|
62
|
+
export { DeleteConnectionByTypeBulk, GetConnectionByTypeBulk } from './Services/Delete/DeleteConnectionByType';
|
|
63
|
+
export { SyncData } from './DataStructures/SyncData';
|
|
64
|
+
export { Concept } from './DataStructures/Concept';
|
|
65
|
+
export { LConcept } from './DataStructures/Local/LConcept';
|
|
66
|
+
export { LConnection } from './DataStructures/Local/LConnection';
|
|
67
|
+
export { Connection } from './DataStructures/Connection';
|
|
68
|
+
export { ConceptsData } from './DataStructures/ConceptData';
|
|
69
|
+
export { ConnectionData } from './DataStructures/ConnectionData';
|
|
70
|
+
export { BinaryTree } from './DataStructures/BinaryTree';
|
|
71
|
+
export { SearchQuery } from './DataStructures/SearchQuery';
|
|
72
|
+
export { SignupModel } from './DataStructures/SignupModel';
|
|
73
|
+
export { SigninModel } from './DataStructures/SigninModel';
|
|
74
|
+
export { FreeschemaResponse } from './DataStructures/Responses/StandardResponses';
|
|
75
|
+
export { PatcherStructure } from './DataStructures/PatcherStructure';
|
|
76
|
+
export { SessionData } from './DataStructures/Session/SessionData';
|
|
77
|
+
export { Composition } from './DataStructures/Composition/Composition';
|
|
78
|
+
export { CompositionBinaryTree } from './DataStructures/Composition/CompositionBinaryTree';
|
|
79
|
+
export { CompositionNode } from './DataStructures/Composition/CompositionNode';
|
|
80
|
+
export { UserBinaryTree } from './DataStructures/User/UserBinaryTree';
|
|
81
|
+
export { FilterSearch } from './DataStructures/FilterSearch';
|
|
82
|
+
export { SearchStructure } from './DataStructures/Search/SearchStructure';
|
|
83
|
+
export { FreeSchemaResponse } from './DataStructures/Responses/ErrorResponse';
|
|
84
|
+
export { BaseUrl } from './DataStructures/BaseUrl';
|
|
85
|
+
export { SchemaQueryListener } from './WrapperFunctions/SchemaQueryObservable';
|
|
86
|
+
export { FreeschemaQuery } from './DataStructures/Search/FreeschemaQuery';
|
|
87
|
+
export { GiveConnection, GetAllTheConnectionsByTypeAndOfTheConcept } from './Services/Delete/GetAllConnectionByType';
|
|
88
|
+
export { DATAID, NORMAL, JUSTDATA, ALLID, DATAIDDATE, RAW, LISTNORMAL } from './Constants/FormatConstants';
|
|
89
|
+
export { Transaction } from './DataStructures/Transaction/Transaction';
|
|
90
|
+
declare function updateAccessToken(accessToken?: string): void;
|
|
91
|
+
declare function init(url?: string, aiurl?: string, accessToken?: string): void;
|