mftsccs-node 0.2.4 → 0.2.5
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 +2 -0
- package/dist/bundle.js.LICENSE.txt +1 -0
- package/dist/types/Api/Create/CreateTheConceptApi.d.ts +1 -1
- package/dist/types/Api/DeleteTheConcept.d.ts +1 -1
- package/dist/types/Api/DeleteTheConnection.d.ts +1 -1
- package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +1 -1
- package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +2 -2
- package/dist/types/Api/GetCharacterDataByCharacter.d.ts +1 -1
- package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +2 -1
- package/dist/types/Api/GetConcept.d.ts +2 -6
- package/dist/types/Api/GetConceptBulk.d.ts +1 -8
- package/dist/types/Api/GetConceptByCharacterAndType.d.ts +2 -1
- package/dist/types/Api/GetConnection.d.ts +1 -1
- package/dist/types/Api/GetConnectionBulk.d.ts +0 -5
- package/dist/types/Api/GetConnectionOfTheConcept.d.ts +2 -1
- package/dist/types/Api/Login.d.ts +1 -1
- package/dist/types/Api/MakeTheTypeConceptApi.d.ts +0 -7
- package/dist/types/Api/RecursiveSearch.d.ts +1 -6
- package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +1 -1
- package/dist/types/Api/Search/SearchInternalApi.d.ts +0 -1
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +1 -1
- package/dist/types/Api/Signin.d.ts +1 -1
- package/dist/types/Api/Signup.d.ts +1 -17
- package/dist/types/Constants/FormatConstants.d.ts +0 -1
- package/dist/types/DataStructures/BaseUrl.d.ts +0 -33
- package/dist/types/DataStructures/BinaryTree.d.ts +0 -1
- package/dist/types/DataStructures/BinaryTypeTree.d.ts +5 -7
- package/dist/types/DataStructures/Concept.d.ts +15 -11
- package/dist/types/DataStructures/ConceptData.d.ts +2 -7
- package/dist/types/DataStructures/Connection.d.ts +10 -6
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +1 -3
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +0 -3
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +9 -16
- package/dist/types/DataStructures/ConnectionData.d.ts +3 -11
- package/dist/types/DataStructures/Local/LConcept.d.ts +3 -5
- package/dist/types/DataStructures/Local/LConnection.d.ts +3 -3
- package/dist/types/DataStructures/Local/LNode.d.ts +3 -5
- package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +2 -3
- package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +2 -3
- package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +4 -4
- package/dist/types/DataStructures/Local/LocalConceptData.d.ts +9 -16
- package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +9 -13
- package/dist/types/DataStructures/Local/LocalSyncData.d.ts +10 -29
- package/dist/types/DataStructures/Node.d.ts +0 -1
- package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +1 -2
- package/dist/types/DataStructures/Search/SearchStructure.d.ts +0 -1
- package/dist/types/DataStructures/SearchQuery.d.ts +0 -1
- package/dist/types/DataStructures/Security/TokenStorage.d.ts +1 -2
- package/dist/types/DataStructures/SyncData.d.ts +13 -1
- package/dist/types/DataStructures/Transaction/Transaction.d.ts +30 -0
- package/dist/types/DataStructures/User/UserBinaryTree.d.ts +7 -5
- package/dist/types/DataStructures/User/UserNode.d.ts +5 -3
- package/dist/types/Database/NoIndexDb.d.ts +1 -1
- package/dist/types/Database/indexdblocal.d.ts +0 -40
- package/dist/types/Database/indexeddb.d.ts +0 -50
- package/dist/types/Helpers/CheckIfExists.d.ts +3 -2
- package/dist/types/Helpers/RemoveFromArray.d.ts +2 -1
- package/dist/types/Services/AccessControl/AccessControlCacheService.d.ts +19 -0
- package/dist/types/Services/AccessControl/AccessControlService.d.ts +267 -0
- package/dist/types/Services/AccessControl/PermissionSet.d.ts +8 -0
- package/dist/types/Services/Common/ErrorPosting.d.ts +0 -8
- package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +1 -0
- package/dist/types/Services/Conversion/ConvertConcepts.d.ts +5 -3
- package/dist/types/Services/CreateBinaryTreeFromData.d.ts +1 -4
- package/dist/types/Services/CreateCharacterBinaryTreeFromData.d.ts +0 -4
- package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +1 -1
- package/dist/types/Services/CreateTheComposition.d.ts +2 -1
- package/dist/types/Services/CreateTheConcept.d.ts +4 -3
- package/dist/types/Services/CreateTheConnection.d.ts +1 -9
- package/dist/types/Services/CreateTheConnectionGeneral.d.ts +4 -1
- package/dist/types/Services/Delete/GetAllConnectionByType.d.ts +16 -0
- package/dist/types/Services/DeleteConcept.d.ts +1 -2
- package/dist/types/Services/DeleteConnection.d.ts +1 -2
- package/dist/types/Services/FindConeceptsFromConnection.d.ts +0 -4
- package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +2 -1
- package/dist/types/Services/GetComposition.d.ts +2 -139
- package/dist/types/Services/GetCompositionBulk.d.ts +5 -94
- package/dist/types/Services/GetCompositionList.d.ts +0 -5
- package/dist/types/Services/GetConceptByCharacter.d.ts +3 -2
- package/dist/types/Services/GetConnections.d.ts +2 -1
- package/dist/types/Services/GetDataFromIndexDb.d.ts +2 -2
- package/dist/types/Services/GetLink.d.ts +1 -1
- package/dist/types/Services/GetRelation.d.ts +5 -2
- package/dist/types/Services/GetTheConcept.d.ts +0 -7
- package/dist/types/Services/InitializeSystem.d.ts +1 -1
- package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +2 -2
- package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +1 -29
- package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +2 -14
- package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +2 -22
- package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +2 -16
- package/dist/types/Services/Local/GetCompositionListLocal.d.ts +0 -12
- package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +1 -10
- package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +2 -2
- package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +2 -18
- package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +2 -16
- package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +2 -3
- package/dist/types/Services/MakeTheConcept.d.ts +1 -1
- package/dist/types/Services/MakeTheInstanceConcept.d.ts +3 -15
- 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 -1
- package/dist/types/Services/MakeTheTypeConcept.d.ts +3 -1
- package/dist/types/Services/Search/DataIdFormat.d.ts +18 -18
- package/dist/types/Services/Search/FormatData.d.ts +10 -20
- package/dist/types/Services/Search/SearchLinkInternal.d.ts +0 -1
- package/dist/types/Services/Search/SearchLinkMultiple.d.ts +1 -53
- package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +5 -53
- package/dist/types/Services/Security/GetRequestHeader.d.ts +10 -3
- package/dist/types/Services/UpdateComposition.d.ts +1 -1
- package/dist/types/Services/User/UserTranslation.d.ts +6 -3
- package/dist/types/Services/auth/AuthService.d.ts +1 -0
- package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +11 -9
- package/dist/types/app.d.ts +24 -128
- package/package.json +1 -1
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* There are two types of concepts. One type of concept is a type concept. These concepts have no actual value and do not mean
|
|
5
|
-
* anything unless they are associated with other values. These are placeholders like first_name, last_name, age etc that are required in the system.
|
|
6
|
-
* These types need to be created seperately.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* @param typeString type of the concept that needs to be created.
|
|
10
|
-
* @param sessionId SessionId of the user
|
|
11
|
-
* @param sessionUserId Not required pass 999
|
|
12
|
-
* @param userId UserId of the user creating this concept
|
|
13
|
-
* @param actions InnerActions|undefined actions to collect
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function MakeTheTypeConceptLocal(typeString: string, sessionId: number, sessionUserId: number, userId: number, actions?: InnerActions): Promise<Concept>;
|
|
1
|
+
import { LConcept } from "../../DataStructures/Local/LConcept";
|
|
2
|
+
export default function MakeTheTypeConceptLocal(typeString: string, sessionId: number, sessionUserId: number, userId: number): Promise<LConcept>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { PatcherStructure } from
|
|
2
|
-
|
|
3
|
-
export declare function UpdateCompositionLocal(patcherStructure: PatcherStructure, actions?: InnerActions): Promise<any>;
|
|
1
|
+
import { PatcherStructure } from '../../DataStructures/PatcherStructure';
|
|
2
|
+
export declare function UpdateCompositionLocal(patcherStructure: PatcherStructure): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Concept } from "../DataStructures/Concept";
|
|
2
|
-
export default function MakeTheConcept(referent: string, userId: number, categoryId: number, typeId: number, referentId: number, accessId: number,
|
|
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>;
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @param type this is the type of the concept. You can also think of this as the key of concept. first_name, last_name etc.
|
|
5
|
-
* @param referent the actual value of the concept. The actual name of value of the concept.
|
|
6
|
-
* @param composition this is a boolean that defines if the concept is a composition or not. If this is a composition then other things are also
|
|
7
|
-
* connected internally with this concept. If composition is true then always a new concept is created otherwise it checks if the concept already exists
|
|
8
|
-
* and creates only in the case that the concept does not already exists with its type and value as its unique identifier.
|
|
9
|
-
* @param userId the userId of the creator.
|
|
10
|
-
* @param passedAccessId this is the accessId of the creator. By default should be 4.
|
|
11
|
-
* @param passedSessionId this is the session that is created by the system.
|
|
12
|
-
* @param referentId In case we need this concept to refer to any other concept.
|
|
13
|
-
* @returns a concept which is either newly created or an older concept that already exists.
|
|
14
|
-
*/
|
|
15
|
-
export default function MakeTheInstanceConcept(type: string, referent: string, composition: boolean | undefined, userId: number, passedAccessId?: number, passedSessionId?: number, referentId?: number): Promise<any>;
|
|
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>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { Concept } from "../DataStructures/Concept";
|
|
2
|
+
export declare function MakeTheTimestamp(type: string, referent: string, userId: number, accessId: number, sessionInformationId?: number): Promise<Concept>;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
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>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Connection } from "../../app";
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare function FormatFunctionDataForData(connections: Connection[], compositionData
|
|
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
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
22
|
export declare function FormatFromConnectionsAlteredArrayExternal(connections: Connection[], compositionData: any[], newCompositionData: any, mainComposition: number[], reverse: number[] | undefined, CountDictionary: any[]): Promise<any[]>;
|
|
23
23
|
/**
|
|
24
24
|
* ## Format DATA-ID ##
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
import { Connection } from "../../app";
|
|
2
|
-
/**
|
|
3
|
-
* ######### Format is normal ######### used for listing. This only provides type connections.
|
|
4
|
-
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
5
|
-
* The list format is helpful because you do not have to go over each individual query.
|
|
6
|
-
* @param connections the type connections that need (external connections) to be passed
|
|
7
|
-
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
8
|
-
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
9
|
-
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare function FormatConceptsAndConnectionsNormalList(connections: Connection[], compositionData: any[], mainComposition: number[], newCompositionData: any, reverse?: number[]): Promise<any[]>;
|
|
13
2
|
/**
|
|
14
3
|
*
|
|
15
4
|
* ## Format Normal ##
|
|
@@ -25,12 +14,13 @@ export declare function formatFunction(connections: Connection[], compositionDat
|
|
|
25
14
|
*/
|
|
26
15
|
export declare function formatFunctionForData(connections: Connection[], compositionData: any, reverse: number[]): Promise<any>;
|
|
27
16
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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[]>;
|
|
@@ -1,55 +1,3 @@
|
|
|
1
1
|
import { SearchQuery } from "../../DataStructures/SearchQuery";
|
|
2
|
-
|
|
3
|
-
export declare function SearchLinkMultipleAll(searchQuery: SearchQuery[], token?: string, caller?: any, format?: number): Promise<any>;
|
|
4
|
-
/**
|
|
5
|
-
* ######### This layer builds the data. Format is dataid ##########
|
|
6
|
-
* @param linkers list of ids that help us
|
|
7
|
-
* @param conceptIds this is all the concept ids that need to be composited
|
|
8
|
-
* @param connections these are the internal connections of the compositions that help in creating individual compositions
|
|
9
|
-
* @param reverse this is the list of connection ids that need to show reverse connections(to->from)
|
|
10
|
-
* @param mainCompositionId this is the main centre point of this data.
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
export declare function DataIdBuildLayer(linkers: number[], conceptIds: number[], connections: number[], reverse: number[], mainCompositionId: number, searchQuery: SearchQuery, format?: number): Promise<any>;
|
|
14
|
-
/**
|
|
15
|
-
* ## Format is DATAID ##
|
|
16
|
-
* This is altered format and is different from others because it passes all the connections prebuilt/prefetched
|
|
17
|
-
* This will not let the connections to be again fetched from the memory.
|
|
18
|
-
* @param connections the type connections that need (external connections) to be passed
|
|
19
|
-
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
20
|
-
* @param mainComposition this is the id of the main composition that builds the tree
|
|
21
|
-
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
22
|
-
* @returns
|
|
23
|
-
*/
|
|
24
|
-
export declare function FormatFromConnectionsAltered(connections: Connection[], compositionData: any[], mainComposition: number, reverse?: number[]): Promise<any>;
|
|
25
|
-
/**
|
|
26
|
-
* ######### Format is normal ######### used for listing.
|
|
27
|
-
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
28
|
-
* The list format is helpful because you do not have to go over each individual query.
|
|
29
|
-
* @param connections the type connections that need (external connections) to be passed
|
|
30
|
-
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
31
|
-
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
32
|
-
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
33
|
-
* @returns
|
|
34
|
-
*/
|
|
35
|
-
export declare function FormatConceptsAndConnections(connections: Connection[], compositionData: any[], mainComposition: number[], reverse?: number[]): Promise<any[]>;
|
|
36
|
-
/**
|
|
37
|
-
* ############ Format is data-id and is used for list. ############
|
|
38
|
-
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
39
|
-
* The list format is helpful because you do not have to go over each individual query.
|
|
40
|
-
* @param connections the type connections that need (external connections) to be passed
|
|
41
|
-
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
42
|
-
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
43
|
-
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
44
|
-
* @returns
|
|
45
|
-
*/
|
|
46
|
-
export declare function FormatFromConnectionsAlteredArray(connections: Connection[], compositionData: any[], conceptIds: number[], mainComposition: number[], reverse?: number[]): Promise<any[]>;
|
|
47
|
-
/**
|
|
48
|
-
* ########## Format works with JUSTDATA / NORMAL ########### used for single origin concept
|
|
49
|
-
* @param linkers this is the list of linkers that
|
|
50
|
-
* @param compositionData
|
|
51
|
-
* @param mainComposition
|
|
52
|
-
* @param reverse list of connection ids that need to show reverse conneciton.
|
|
53
|
-
* @returns
|
|
54
|
-
*/
|
|
2
|
+
export declare function SearchLinkMultipleAll(searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
55
3
|
export declare function FormatFromConnections(linkers: number[], compositionData: any[], mainComposition: number, reverse?: number[]): Promise<any>;
|
|
@@ -1,51 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CountInfo } from '../../DataStructures/Count/CountInfo';
|
|
3
|
-
/**
|
|
4
|
-
* This function will help you search a concept by their type and also to query inside of it.
|
|
5
|
-
* Put the number of compositions you want to get in the searchStructure which can be set by inpage and page
|
|
6
|
-
* Then the type should be set in searchQuery for the compositionName.
|
|
7
|
-
* Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery.
|
|
8
|
-
* This will give the id of the structures.
|
|
9
|
-
*/
|
|
10
|
-
export declare function SearchWithTypeAndLinkerDataId(searchStructure: SearchStructure, searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
11
|
-
/**
|
|
12
|
-
* This function will help you search a concept by their type and also to query inside of it.
|
|
13
|
-
* Put the number of compositions you want to get in the searchStructure which can be set by inpage and page
|
|
14
|
-
* Then the type should be set in searchQuery for the compositionName.
|
|
15
|
-
* Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery.
|
|
16
|
-
* This will not give the id of the structures.
|
|
17
|
-
*/
|
|
18
|
-
export declare function SearchWithTypeAndLinker(searchStructure: SearchStructure, searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
19
|
-
/**
|
|
20
|
-
* ## Format dataid ##
|
|
21
|
-
* @param linkers
|
|
22
|
-
* @param conceptIds
|
|
23
|
-
* @param connections
|
|
24
|
-
* @param mainCompositionIds
|
|
25
|
-
* @param reverse
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare function formatDataArrayDataId(linkers: number[], conceptIds: number[], connections: number[], mainCompositionIds: number[], reverse: number[]): Promise<any>;
|
|
29
|
-
/**
|
|
30
|
-
* ## Format Normal ##
|
|
31
|
-
* @param linkers
|
|
32
|
-
* @param conceptIds
|
|
33
|
-
* @param connections
|
|
34
|
-
* @param mainCompositionIds
|
|
35
|
-
* @param reverse
|
|
36
|
-
* @returns
|
|
37
|
-
*/
|
|
38
|
-
export declare function formatDataArrayNormal(linkers: number[], conceptIds: number[], connections: number[], mainCompositionIds: number[], reverse: number[]): Promise<any>;
|
|
39
|
-
/**
|
|
40
|
-
* ## Format Normal ##
|
|
41
|
-
* @param linkers
|
|
42
|
-
* @param conceptIds
|
|
43
|
-
* @param connections
|
|
44
|
-
* @param mainCompositionIds
|
|
45
|
-
* @param reverse
|
|
46
|
-
* @returns
|
|
47
|
-
*/
|
|
48
|
-
export declare function formatLinkersNormal(linkers: number[], conceptIds: number[], connections: number[], mainCompositionIds: number[], reverse: number[]): Promise<any>;
|
|
1
|
+
import { CountInfo } from "../../DataStructures/Count/CountInfo";
|
|
49
2
|
/**
|
|
50
3
|
* ## Format Normal ##
|
|
51
4
|
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
@@ -58,7 +11,7 @@ export declare function formatLinkersNormal(linkers: number[], conceptIds: numbe
|
|
|
58
11
|
*/
|
|
59
12
|
export declare function formatConnections(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[]): Promise<any>;
|
|
60
13
|
/**
|
|
61
|
-
* ## Format
|
|
14
|
+
* ## Format DATA-ID ##
|
|
62
15
|
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
63
16
|
* Then those single level objects are then stiched together to create a complex json/ array.
|
|
64
17
|
* @param linkers
|
|
@@ -67,9 +20,9 @@ export declare function formatConnections(linkers: number[], conceptIds: number[
|
|
|
67
20
|
* @param reverse
|
|
68
21
|
* @returns
|
|
69
22
|
*/
|
|
70
|
-
export declare function
|
|
23
|
+
export declare function formatConnectionsDataId(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise<any>;
|
|
71
24
|
/**
|
|
72
|
-
* ## Format
|
|
25
|
+
* ## Format JustId ##
|
|
73
26
|
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
74
27
|
* Then those single level objects are then stiched together to create a complex json/ array.
|
|
75
28
|
* @param linkers
|
|
@@ -78,5 +31,4 @@ export declare function formatConnectionsJustId(linkers: number[], conceptIds: n
|
|
|
78
31
|
* @param reverse
|
|
79
32
|
* @returns
|
|
80
33
|
*/
|
|
81
|
-
export declare function
|
|
82
|
-
export declare function formatConnectionsV2(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise<any>;
|
|
34
|
+
export declare function formatConnectionsJustId(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise<any>;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
export declare function GetRequestHeader(contentType?: string,
|
|
2
|
-
|
|
3
|
-
|
|
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
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PatcherStructure } from
|
|
1
|
+
import { PatcherStructure } from '../DataStructures/PatcherStructure';
|
|
2
2
|
export default function UpdateComposition(patcherStructure: PatcherStructure): Promise<any>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare function
|
|
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 const getServerJwtToken: () => string;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { FreeschemaQuery } from "../
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { FreeschemaQuery } from "../DataStructures/Search/FreeschemaQuery";
|
|
2
|
+
export declare class SearchLinkMultipleAllObservable {
|
|
3
|
+
mainCompositionIds: number[];
|
|
4
4
|
query: FreeschemaQuery;
|
|
5
5
|
countInfoStrings: string[];
|
|
6
6
|
order: string;
|
|
7
|
-
|
|
7
|
+
format: number;
|
|
8
|
+
isDataLoaded: boolean;
|
|
9
|
+
conceptIds: number[];
|
|
10
|
+
internalConnections: number[];
|
|
11
|
+
linkers: number[];
|
|
12
|
+
reverse: number[];
|
|
13
|
+
data: any;
|
|
8
14
|
constructor(query: FreeschemaQuery, token: string);
|
|
9
|
-
run(): Promise<any>;
|
|
10
|
-
bind(): Promise<any>;
|
|
11
|
-
build(): Promise<any>;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
*
|
|
@@ -18,5 +21,4 @@ export declare class SearchLinkMultipleAllObservable extends DependencyObserver
|
|
|
18
21
|
* @param page the page which needs to be displayed as per the inpage parameter
|
|
19
22
|
* @param format the format in which the output should be displayed (NORMAL, DATAID,JUSTDATA,DATAIDDATE)
|
|
20
23
|
*/
|
|
21
|
-
export declare function SchemaQueryListener(query: FreeschemaQuery, token: string):
|
|
22
|
-
export declare function SchemaQuery(query: FreeschemaQuery, token: string): Promise<void>;
|
|
24
|
+
export declare function SchemaQueryListener(query: FreeschemaQuery, token: string): Promise<any>;
|
package/dist/types/app.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { init, updateAccessToken };
|
|
2
|
-
export { SearchLinkMultipleApi } from './Api/Search/SearchLinkMultipleApi';
|
|
3
2
|
export { SplitStrings } from './Services/SplitStrings';
|
|
4
3
|
export { GetCompositionList, GetCompositionListWithId } from './Services/GetCompositionList';
|
|
5
4
|
export { GetCompositionListLocal, GetCompositionListLocalWithId } from './Services/Local/GetCompositionListLocal';
|
|
@@ -12,22 +11,21 @@ export { CreateConnectionBetweenTwoConcepts, CreateConnectionBetweenTwoConceptsG
|
|
|
12
11
|
export { default as GetTheConcept } from './Services/GetTheConcept';
|
|
13
12
|
export { default as MakeTheInstanceConcept } from './Services/MakeTheInstanceConcept';
|
|
14
13
|
export { MakeTheInstanceConceptLocal } from './Services/Local/MakeTheInstanceConceptLocal';
|
|
15
|
-
export { storeToDatabase, getFromDatabaseWithType,
|
|
14
|
+
export { storeToDatabase, getFromDatabaseWithType, getFromDatabaseWithTypeOld } from './Database/NoIndexDb';
|
|
16
15
|
export { createTheConnection as CreateTheConnection } from './Services/CreateTheConnection';
|
|
17
16
|
export { default as GetConceptByCharacter } from './Services/GetConceptByCharacter';
|
|
18
17
|
export { GetLink, GetLinkRaw } from './Services/GetLink';
|
|
19
18
|
export { CreateDefaultConcept } from './Services/CreateDefaultConcept';
|
|
20
|
-
export {
|
|
19
|
+
export { MakeTheTypeConcept } from './Services/MakeTheTypeConcept';
|
|
21
20
|
export { MakeTheTypeConceptApi } from './Api/MakeTheTypeConceptApi';
|
|
22
21
|
export { GetLinkerConnectionFromConcepts, GetLinkerConnectionToConcepts } from './Services/GetLinkerConnectionFromConcept';
|
|
23
22
|
export { DeleteConceptById } from './Services/DeleteConcept';
|
|
24
|
-
export { DeleteConnectionById
|
|
23
|
+
export { DeleteConnectionById } from './Services/DeleteConnection';
|
|
25
24
|
export { TrashTheConcept } from './Api/Delete/DeleteConceptInBackend';
|
|
26
25
|
export { GetConnectionById } from './Services/GetConnections';
|
|
27
26
|
export { MakeTheTimestamp } from './Services/MakeTheTimestamp';
|
|
28
|
-
export { RecursiveSearchApi
|
|
29
|
-
export { GetCompositionBulkWithDataId,
|
|
30
|
-
export { uploadAttachment, uploadFile, uploadImage, uploadImageV2, validDocumentFormats, validImageFormats } from './Services/Upload';
|
|
27
|
+
export { RecursiveSearchApi } from './Api/RecursiveSearch';
|
|
28
|
+
export { GetCompositionBulkWithDataId, GetCompositionBulk, GetCompositionFromConnectionsWithDataId } from './Services/GetCompositionBulk';
|
|
31
29
|
export { GetConceptBulk } from './Api/GetConceptBulk';
|
|
32
30
|
export { GetConnectionBulk } from './Api/GetConnectionBulk';
|
|
33
31
|
export { GetAllConnectionsOfCompositionBulk } from './Api/GetAllConnectionsOfCompositionBulk';
|
|
@@ -35,7 +33,6 @@ export { LoginToBackend } from './Api/Login';
|
|
|
35
33
|
export { GetConnectionOfTheConcept } from './Api/GetConnectionOfTheConcept';
|
|
36
34
|
export { default as Signup } from './Api/Signup';
|
|
37
35
|
export { default as Signin } from './Api/Signin';
|
|
38
|
-
export { SignupEntity } from './Api/Signup';
|
|
39
36
|
export { default as UpdateComposition } from './Services/UpdateComposition';
|
|
40
37
|
export { SearchAllConcepts } from './Api/Search/Search';
|
|
41
38
|
export { SearchWithLinker } from './Api/Search/SearchWithLinker';
|
|
@@ -47,41 +44,20 @@ export { GetRelation, GetRelationRaw } from './Services/GetRelation';
|
|
|
47
44
|
export { recursiveFetchNew } from './Services/Composition/BuildComposition';
|
|
48
45
|
export { CreateTheCompositionWithCache } from './Services/Composition/CreateCompositionCache';
|
|
49
46
|
export { CreateDefaultLConcept } from './Services/Local/CreateDefaultLConcept';
|
|
50
|
-
export { CreateTheConnectionGeneral } from './Services/CreateTheConnectionGeneral';
|
|
51
|
-
export { CreateTheConnectionLocal
|
|
52
|
-
export {
|
|
53
|
-
export { GetUserGhostId, AddGhostConcept } from './Services/User/UserTranslation';
|
|
47
|
+
export { CreateTheConnectionGeneral, CreateConnection } from './Services/CreateTheConnectionGeneral';
|
|
48
|
+
export { CreateTheConnectionLocal } from './Services/Local/CreateTheConnectionLocal';
|
|
49
|
+
export { GetUserGhostId, AddGhostConcept, GetUserGhostConnectionId, AddGhostConnection } from './Services/User/UserTranslation';
|
|
54
50
|
export { SearchLinkMultipleAll, FormatFromConnections } from './Services/Search/SearchLinkMultiple';
|
|
55
|
-
export { GetTheConceptLocal } from './Services/Local/GetTheConceptLocal';
|
|
56
51
|
export { UpdateCompositionLocal } from './Services/Local/UpdateCompositionLocal';
|
|
57
|
-
export { GetCompositionFromConnectionsWithDataIdInObject
|
|
58
|
-
export { GetRelationLocal } from './Services/Local/GetRelationLocal';
|
|
59
|
-
export { GetConceptByCharacterAndCategoryLocal } from './Services/Local/GetConceptByCharacterLocal';
|
|
52
|
+
export { GetCompositionFromConnectionsWithDataIdInObject } from './Services/GetCompositionBulk';
|
|
60
53
|
export { ViewInternalData } from './Services/View/ViewInternalData';
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
64
|
-
export { CreateConnectionBetweenTwoConceptsLocal } from './Services/Local/CreateConnectionBetweenTwoConceptsLocal';
|
|
65
|
-
export { DeleteConceptLocal } from './Services/Local/DeleteConceptLocal';
|
|
66
|
-
export { GetConnectionBetweenTwoConceptsLinker } from './Services/GetConnectionBetweenTwoConceptsLinker';
|
|
67
|
-
export { DelayFunctionExecution } from './Services/Common/DelayFunction';
|
|
68
|
-
export { GetCompositionWithIdAndDateFromMemory, GetCompositionFromMemoryWithConnections } from './Services/GetComposition';
|
|
54
|
+
export { convertFromLConceptToConcept } from './Services/Conversion/ConvertConcepts';
|
|
55
|
+
export { SearchLinkInternal } from './Services/Search/SearchLinkInternal';
|
|
56
|
+
export { HandleHttpError } from './Services/Common/ErrorPosting';
|
|
69
57
|
export { GetConceptByCharacterAndType } from './Api/GetConceptByCharacterAndType';
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export { PRIVATE, PUBLIC, ADMIN } from './Constants/AccessConstants';
|
|
74
|
-
export { SearchWithTypeAndLinkerApi } from './Api/Search/SearchWithTypeAndLinker';
|
|
75
|
-
export { DependencyObserver } from './WrapperFunctions/DepenedencyObserver';
|
|
76
|
-
export { SearchLinkMultipleAllObservable, searchLinkMultipleListener } from './WrapperFunctions/SearchLinkMultipleAllObservable';
|
|
77
|
-
export { GetCompositionListener } from './WrapperFunctions/GetCompositionObservable';
|
|
78
|
-
export { GetCompositionListListener } from './WrapperFunctions/GetCompositionListObservable';
|
|
79
|
-
export { SearchWithTypeAndLinker } from './Services/Search/SearchWithTypeAndLinker';
|
|
80
|
-
export { GetLinkListener } from './WrapperFunctions/GetLinkObservable';
|
|
81
|
-
export { RecursiveSearchListener } from './WrapperFunctions/RecursiveSearchObservable';
|
|
82
|
-
export { GetLinkListListener } from './WrapperFunctions/GetLinkListObservable';
|
|
83
|
-
export { GetConnectionTypeForCount } from './Services/Common/DecodeCountInfo';
|
|
84
|
-
export { orderTheConnections } from './Services/Search/orderingConnections';
|
|
58
|
+
export { GetConceptByCharacterAndCategoryDirectApi } from './Api/SearchConcept/GetConceptByCharacterAndCategoryDirect';
|
|
59
|
+
export { SearchLinkMultipleApi } from './Api/Search/SearchLinkMultipleApi';
|
|
60
|
+
export { GetCompositionWithIdFromMemoryFromConnections, GetCompositionWithIdFromMemory } from './Services/GetComposition';
|
|
85
61
|
export { SyncData } from './DataStructures/SyncData';
|
|
86
62
|
export { Concept } from './DataStructures/Concept';
|
|
87
63
|
export { LConcept } from './DataStructures/Local/LConcept';
|
|
@@ -99,97 +75,17 @@ export { SessionData } from './DataStructures/Session/SessionData';
|
|
|
99
75
|
export { Composition } from './DataStructures/Composition/Composition';
|
|
100
76
|
export { CompositionBinaryTree } from './DataStructures/Composition/CompositionBinaryTree';
|
|
101
77
|
export { CompositionNode } from './DataStructures/Composition/CompositionNode';
|
|
102
|
-
export { LocalSyncData } from './DataStructures/Local/LocalSyncData';
|
|
103
78
|
export { UserBinaryTree } from './DataStructures/User/UserBinaryTree';
|
|
104
79
|
export { FilterSearch } from './DataStructures/FilterSearch';
|
|
105
80
|
export { SearchStructure } from './DataStructures/Search/SearchStructure';
|
|
106
|
-
export {
|
|
107
|
-
export { Logger } from "./Middleware/logger.service";
|
|
108
|
-
export { sendEmail } from "./Services/Mail";
|
|
109
|
-
export { BuilderStatefulWidget } from "./Widgets/BuilderStatefulWidget";
|
|
110
|
-
export { LocalTransaction } from "./Services/Transaction/LocalTransaction";
|
|
111
|
-
export { InnerActions } from "./Constants/general.const";
|
|
112
|
-
export { Anomaly } from './Anomaly/anomaly';
|
|
113
|
-
export { Validator } from './Validator/validator';
|
|
114
|
-
export { createFormFieldData } from './Validator/utils';
|
|
81
|
+
export { FreeSchemaResponse } from './DataStructures/Responses/ErrorResponse';
|
|
115
82
|
export { BaseUrl } from './DataStructures/BaseUrl';
|
|
116
|
-
export {
|
|
117
|
-
export { DeleteConnectionByType, DeleteConnectionByTypeBulk, GetAllTheConnectionsByTypeAndOfTheConcept } from './Services/DeleteConnectionByType';
|
|
83
|
+
export { SchemaQueryListener } from './WrapperFunctions/SchemaQueryObservable';
|
|
118
84
|
export { FreeschemaQuery } from './DataStructures/Search/FreeschemaQuery';
|
|
119
|
-
export {
|
|
120
|
-
export {
|
|
121
|
-
export {
|
|
122
|
-
export {
|
|
123
|
-
export {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
export { removeAllChildren } from './Services/Common/RemoveAllChild';
|
|
127
|
-
export { getUserDetails } from './Services/User/UserFromLocalStorage';
|
|
128
|
-
export { CountInfo } from './DataStructures/Count/CountInfo';
|
|
129
|
-
export { Selector } from './Api/Prototype/Selector';
|
|
130
|
-
export { AccessControlService } from './Services/AccessControl/AccessControl';
|
|
131
|
-
export { importLatestWidget, renderImportedWidget, renderLatestWidget, renderPage, renderWidget, convertWidgetTreeToWidgetWithWrapper, getWidgetFromId, convertWidgetTreeToWidget, unwrapContainers, getWidgetBulkFromId } from './Widgets/RenderWidgetService';
|
|
132
|
-
export { CreateData } from './Services/automated/automated-concept-connection';
|
|
133
|
-
export { Prototype } from './DataStructures/Prototype/Prototype';
|
|
134
|
-
export { createPrototypeLocal } from './prototype/prototype.service';
|
|
135
|
-
export { GetImageApi } from './Api/Images/GetImages';
|
|
136
|
-
export { GetAllLinkerConnectionsFromTheConcept } from "./Api/GetAllLinkerConnectionsFromTheConcept";
|
|
137
|
-
export { GetFreeschemaImage, GetFreeschemaImageUrl } from './Services/assets/GetImageService';
|
|
138
|
-
type listeners = {
|
|
139
|
-
listenerId: string | number;
|
|
140
|
-
callback: any;
|
|
141
|
-
createdAt: number;
|
|
142
|
-
};
|
|
143
|
-
export declare var serviceWorker: any;
|
|
144
|
-
export declare let subscribedListeners: listeners[];
|
|
145
|
-
export declare let hasActivatedSW: boolean;
|
|
146
|
-
export declare function setHasActivatedSW(value: boolean): void;
|
|
147
|
-
/**
|
|
148
|
-
* This function lets you update the access token that the package uses. If this is not passed you cannot create, update, view or delete
|
|
149
|
-
* Your concepts using this package.
|
|
150
|
-
* @param accessToken access token got from the sign in process
|
|
151
|
-
*/
|
|
152
|
-
declare function updateAccessToken(accessToken?: string, session?: any): void;
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* @param url This is the url for the backend c# system or our main data fabric server
|
|
156
|
-
* @param aiurl This is the AI url that pulls in the data using our AI system . If you do not enter this then also disable the enableAi flag.
|
|
157
|
-
* @param accessControlUrl This is the url for the access control system. This is another server in the data fabric that is used as server for business logic and security features.
|
|
158
|
-
* @param accessToken This is the JWT token that needs to be passed (But since you have just initilized the system). There is no way we can get access token
|
|
159
|
-
* So this access token can be empty string. You can set it afterwards with another function UpdateAccessToken();
|
|
160
|
-
* @param nodeUrl This is the url for the node server. This is another server in the data fabric that is used as server for business logic and security features.
|
|
161
|
-
* @param enableAi This flag is used to enable or disable the AI feature that preloads data in the indexdb.
|
|
162
|
-
* @param applicationName This is an unique name that is given to a program. Use this to discern one indexdb from another.
|
|
163
|
-
* @param enableSW {activate: boolean, scope?: string, pathToSW?: string, manual?: boolean} | undefined - This is for enabling service worker with its scope
|
|
164
|
-
*/
|
|
165
|
-
declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUrl?: string, enableAi?: boolean, applicationName?: string, enableSW?: {
|
|
166
|
-
activate: boolean;
|
|
167
|
-
scope?: string;
|
|
168
|
-
pathToSW?: string;
|
|
169
|
-
manual?: boolean;
|
|
170
|
-
} | undefined, flags?: {
|
|
171
|
-
logApplication?: boolean;
|
|
172
|
-
logPackage?: boolean;
|
|
173
|
-
accessTracker?: boolean;
|
|
174
|
-
isTest?: boolean;
|
|
175
|
-
}, parameters?: {
|
|
176
|
-
logserver?: string;
|
|
177
|
-
}, accessControlUrl?: string): Promise<true | undefined>;
|
|
178
|
-
/**
|
|
179
|
-
* Method to send message to the service worker from main thread
|
|
180
|
-
* @param type string
|
|
181
|
-
* @param payload any
|
|
182
|
-
* @returns Promise<any>
|
|
183
|
-
*/
|
|
184
|
-
export declare function sendMessage(type: string, payload: any, retryCount?: number): Promise<unknown>;
|
|
185
|
-
/**
|
|
186
|
-
* Method to dispatch Event received from SW
|
|
187
|
-
* @param id number|string
|
|
188
|
-
* @param data any
|
|
189
|
-
*/
|
|
190
|
-
export declare function dispatchIdEvent(id: number | string, data?: any): void;
|
|
191
|
-
/**
|
|
192
|
-
* Method to handle global exception occured in service worker
|
|
193
|
-
* @param error any
|
|
194
|
-
*/
|
|
195
|
-
export declare const handleServiceWorkerException: (error: any) => void;
|
|
85
|
+
export { GiveConnection, GetAllTheConnectionsByTypeAndOfTheConcept } from './Services/Delete/GetAllConnectionByType';
|
|
86
|
+
export { DATAID, NORMAL, JUSTDATA, ALLID, DATAIDDATE, RAW, LISTNORMAL } from './Constants/FormatConstants';
|
|
87
|
+
export { AccessControlService } from './Services/AccessControl/AccessControlService';
|
|
88
|
+
export { PermissionSet } from './Services/AccessControl/PermissionSet';
|
|
89
|
+
export { Transaction } from './DataStructures/Transaction/Transaction';
|
|
90
|
+
declare function updateAccessToken(accessToken?: string): void;
|
|
91
|
+
declare function init(url?: string, aiurl?: string, accessToken?: string, jwtSecret?: string): void;
|