mftsccs-node 0.2.7 → 0.2.8
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 +1148 -11
- package/dist/bundle.js +1 -1
- package/dist/types/Api/Create/CreateTheCharacter.d.ts +42 -0
- package/dist/types/Api/Create/CreateTheConceptApi.d.ts +50 -0
- package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +51 -0
- package/dist/types/Api/Create/CreateTheTextData.d.ts +56 -0
- package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +43 -0
- package/dist/types/Api/DeleteConnectionApiBulk.d.ts +55 -0
- package/dist/types/Api/DeleteTheConcept.d.ts +64 -0
- package/dist/types/Api/DeleteTheConnection.d.ts +76 -0
- package/dist/types/Api/GetAiData.d.ts +36 -0
- package/dist/types/Api/GetAllConcepts.d.ts +42 -0
- package/dist/types/Api/GetAllConceptsByType.d.ts +45 -0
- package/dist/types/Api/GetAllConnections.d.ts +48 -0
- package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +79 -0
- package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +90 -0
- package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +52 -0
- package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +61 -0
- package/dist/types/Api/GetAllPrefetchConnections.d.ts +51 -0
- package/dist/types/Api/GetCharacterDataByCharacter.d.ts +31 -0
- package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +39 -0
- package/dist/types/Api/GetConcept.d.ts +47 -0
- package/dist/types/Api/GetConceptBulk.d.ts +68 -0
- package/dist/types/Api/GetConceptByCharacterAndType.d.ts +75 -0
- package/dist/types/Api/GetConceptByCharacterValue.d.ts +47 -0
- package/dist/types/Api/GetConnection.d.ts +49 -0
- package/dist/types/Api/GetConnectionBulk.d.ts +46 -0
- package/dist/types/Api/GetConnectionOfTheConcept.d.ts +50 -0
- package/dist/types/Api/GetConnectionToTheConcept.d.ts +56 -0
- package/dist/types/Api/GetReservedConnectionIds.d.ts +36 -0
- package/dist/types/Api/GetReservedIds.d.ts +37 -0
- package/dist/types/Api/Login.d.ts +38 -0
- package/dist/types/Api/MakeTheNameInBackend.d.ts +39 -0
- package/dist/types/Api/MakeTheTypeConceptApi.d.ts +40 -0
- package/dist/types/Api/RecursiveSearch.d.ts +43 -0
- package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +46 -0
- package/dist/types/Api/Search/Search.d.ts +67 -0
- package/dist/types/Api/Search/SearchInternalApi.d.ts +69 -0
- package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +90 -0
- package/dist/types/Api/Search/SearchWithLinker.d.ts +97 -0
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +39 -0
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +47 -0
- package/dist/types/Api/Session/CreateSession.d.ts +45 -0
- package/dist/types/Api/Session/CreateSessionVisit.d.ts +43 -0
- package/dist/types/Api/Signin.d.ts +48 -0
- package/dist/types/Api/Signup.d.ts +44 -0
- package/dist/types/Api/View/ViewInternalDataApi.d.ts +50 -0
- package/dist/types/Constants/ApiConstants.d.ts +226 -0
- package/dist/types/Constants/FormatConstants.d.ts +81 -0
- package/dist/types/DataStructures/BaseUrl.d.ts +210 -0
- package/dist/types/DataStructures/BinaryCharacterTree.d.ts +211 -0
- package/dist/types/DataStructures/BinaryTree.d.ts +139 -0
- package/dist/types/DataStructures/BinaryTypeTree.d.ts +196 -0
- package/dist/types/DataStructures/CharacterRepository.d.ts +109 -0
- package/dist/types/DataStructures/Composition/Composition.d.ts +103 -0
- package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +104 -0
- package/dist/types/DataStructures/Composition/CompositionNode.d.ts +202 -0
- package/dist/types/DataStructures/Concept.d.ts +110 -0
- package/dist/types/DataStructures/ConceptData.d.ts +292 -0
- package/dist/types/DataStructures/ConceptsToDraw.d.ts +168 -0
- package/dist/types/DataStructures/Connection.d.ts +76 -0
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +115 -0
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +169 -0
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +82 -0
- package/dist/types/DataStructures/ConnectionData.d.ts +191 -0
- package/dist/types/DataStructures/Count/CountInfo.d.ts +73 -0
- package/dist/types/DataStructures/FilterSearch.d.ts +84 -0
- package/dist/types/DataStructures/IdentifierFlags.d.ts +34 -0
- package/dist/types/DataStructures/Local/LConcept.d.ts +105 -0
- package/dist/types/DataStructures/Local/LConnection.d.ts +83 -0
- package/dist/types/DataStructures/Local/LNode.d.ts +190 -0
- package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +133 -0
- package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +135 -0
- package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +147 -0
- package/dist/types/DataStructures/Local/LocalConceptData.d.ts +100 -0
- package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +109 -0
- package/dist/types/DataStructures/Local/LocalSyncData.d.ts +89 -0
- package/dist/types/DataStructures/PatcherStructure.d.ts +86 -0
- package/dist/types/DataStructures/ReferentInfo.d.ts +68 -0
- package/dist/types/DataStructures/ReservedIds.d.ts +101 -0
- package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +184 -22
- package/dist/types/DataStructures/Responses/StandardResponses.d.ts +65 -0
- package/dist/types/DataStructures/Returner.d.ts +59 -0
- package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +165 -0
- package/dist/types/DataStructures/Search/SearchStructure.d.ts +69 -0
- package/dist/types/DataStructures/SearchQuery.d.ts +130 -0
- package/dist/types/DataStructures/Security/TokenStorage.d.ts +48 -0
- package/dist/types/DataStructures/Session/SessionData.d.ts +118 -0
- package/dist/types/DataStructures/SettingData.d.ts +32 -0
- package/dist/types/DataStructures/Settings.d.ts +27 -0
- package/dist/types/DataStructures/SigninModel.d.ts +50 -0
- package/dist/types/DataStructures/SignupModel.d.ts +50 -0
- package/dist/types/DataStructures/SyncData.d.ts +206 -0
- package/dist/types/DataStructures/TheCharacter.d.ts +87 -0
- package/dist/types/DataStructures/TheTexts.d.ts +92 -0
- package/dist/types/DataStructures/Transaction/Transaction.d.ts +294 -4
- package/dist/types/DataStructures/User/UserBinaryTree.d.ts +117 -0
- package/dist/types/DataStructures/User/UserNode.d.ts +130 -0
- package/dist/types/Database/GetConceptFromIndexDb.d.ts +9 -0
- package/dist/types/Database/NoIndexDb.d.ts +169 -0
- package/dist/types/Database/indexdblocal.d.ts +42 -0
- package/dist/types/Database/indexeddb.d.ts +43 -0
- package/dist/types/Drawing/ConceptDraw.d.ts +28 -0
- package/dist/types/Drawing/ConceptEvents.d.ts +46 -0
- package/dist/types/Helpers/CheckIfExists.d.ts +159 -0
- package/dist/types/Helpers/RemoveFromArray.d.ts +66 -0
- package/dist/types/Helpers/UniqueInsert.d.ts +28 -0
- package/dist/types/Services/CheckForConnectionDeletion.d.ts +190 -0
- package/dist/types/Services/Common/DecodeCountInfo.d.ts +54 -0
- package/dist/types/Services/Common/ErrorPosting.d.ts +49 -0
- package/dist/types/Services/Common/RegexFunction.d.ts +28 -0
- package/dist/types/Services/Composition/BuildComposition.d.ts +37 -0
- package/dist/types/Services/Composition/CompositionCache.d.ts +89 -0
- package/dist/types/Services/Composition/CreateCompositionCache.d.ts +43 -0
- package/dist/types/Services/Conversion/ConvertConcepts.d.ts +83 -0
- package/dist/types/Services/CreateBinaryTreeFromData.d.ts +38 -0
- package/dist/types/Services/CreateCharacterBinaryTreeFromData.d.ts +42 -0
- package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +206 -0
- package/dist/types/Services/CreateDefaultConcept.d.ts +114 -0
- package/dist/types/Services/CreateTheComposition.d.ts +101 -0
- package/dist/types/Services/CreateTheConcept.d.ts +179 -0
- package/dist/types/Services/CreateTheConnection.d.ts +59 -0
- package/dist/types/Services/CreateTheConnectionGeneral.d.ts +127 -0
- package/dist/types/Services/CreateTypeTreeFromData.d.ts +43 -0
- package/dist/types/Services/Delete/DeleteConnectionByType.d.ts +52 -5
- package/dist/types/Services/Delete/GetAllConnectionByType.d.ts +57 -9
- package/dist/types/Services/DeleteConcept.d.ts +136 -0
- package/dist/types/Services/DeleteConnection.d.ts +194 -0
- package/dist/types/Services/FindConeceptsFromConnection.d.ts +179 -0
- package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +157 -0
- package/dist/types/Services/GenerateHexNumber.d.ts +64 -0
- package/dist/types/Services/GetComposition.d.ts +331 -0
- package/dist/types/Services/GetCompositionBulk.d.ts +251 -3
- package/dist/types/Services/GetCompositionList.d.ts +130 -0
- package/dist/types/Services/GetConceptByCharacter.d.ts +84 -0
- package/dist/types/Services/GetConnections.d.ts +72 -0
- package/dist/types/Services/GetDataFromIndexDb.d.ts +79 -0
- package/dist/types/Services/GetLink.d.ts +104 -0
- package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +99 -0
- package/dist/types/Services/GetMaximumConnectionSyncTime.d.ts +57 -0
- package/dist/types/Services/GetRelation.d.ts +162 -0
- package/dist/types/Services/GetTheConcept.d.ts +71 -0
- package/dist/types/Services/GetTheReferent.d.ts +74 -0
- package/dist/types/Services/InitializeSystem.d.ts +119 -0
- package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +48 -0
- package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +49 -0
- package/dist/types/Services/Local/CreateLocalBinaryTypeTreeFromData.d.ts +54 -0
- package/dist/types/Services/Local/CreateLocalCharacterBinaryTree.d.ts +60 -0
- package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +70 -0
- package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +58 -0
- package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +56 -0
- package/dist/types/Services/Local/GetCompositionListLocal.d.ts +103 -0
- package/dist/types/Services/Local/GetCompositionLocal.d.ts +96 -0
- package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +57 -0
- package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +71 -0
- package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +89 -0
- package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +71 -0
- package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +101 -0
- package/dist/types/Services/MakeTheCharacter.d.ts +74 -0
- package/dist/types/Services/MakeTheCharacterData.d.ts +65 -0
- package/dist/types/Services/MakeTheInstanceConcept.d.ts +75 -0
- package/dist/types/Services/MakeTheName.d.ts +81 -0
- package/dist/types/Services/MakeTheTimestamp.d.ts +68 -0
- package/dist/types/Services/MakeTheTypeConcept.d.ts +68 -0
- package/dist/types/Services/Mqtt/publishMessage.d.ts +27 -0
- package/dist/types/Services/Mqtt/subscribeMessage.d.ts +23 -0
- package/dist/types/Services/PatchComposition.d.ts +105 -0
- package/dist/types/Services/Search/DataIdFormat.d.ts +96 -24
- package/dist/types/Services/Search/FormatData.d.ts +92 -17
- package/dist/types/Services/Search/JustIdFormat.d.ts +91 -16
- package/dist/types/Services/Search/NewFormat.d.ts +4 -0
- package/dist/types/Services/Search/SearchLinkInternal.d.ts +28 -0
- package/dist/types/Services/Search/SearchLinkMultiple.d.ts +58 -0
- package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +92 -24
- package/dist/types/Services/Search/orderingConnections.d.ts +34 -0
- package/dist/types/Services/SplitStrings.d.ts +50 -0
- package/dist/types/Services/UpdateComposition.d.ts +123 -0
- package/dist/types/Services/User/UserTranslation.d.ts +102 -0
- package/dist/types/Services/View/ViewInternalData.d.ts +32 -0
- package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +140 -5
- package/dist/types/app.d.ts +72 -1
- package/package.json +1 -1
|
@@ -1,2 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal Search API module for querying concepts within nested compositions.
|
|
3
|
+
* This module provides specialized search functionality for searching concepts that exist
|
|
4
|
+
* within internal (nested) compositions, enabling hierarchical concept retrieval in the
|
|
5
|
+
* Concept Connection System.
|
|
6
|
+
*
|
|
7
|
+
* @module Api/Search/SearchInternalApi
|
|
8
|
+
* @see https://documentation.freeschema.com for internal composition structure and search patterns
|
|
9
|
+
*/
|
|
1
10
|
import { SearchStructure } from "../../app";
|
|
11
|
+
/**
|
|
12
|
+
* Searches for concepts within internal (nested) compositions with authentication.
|
|
13
|
+
* This function enables searching for concepts that are part of internal compositions,
|
|
14
|
+
* which are compositions nested within other compositions. It performs a GET request
|
|
15
|
+
* with query parameters to search both the parent composition and internal composition.
|
|
16
|
+
*
|
|
17
|
+
* @param search - SearchStructure object containing all search parameters including composition, internal composition, type, search text, and pagination
|
|
18
|
+
* @param token - Optional authentication token for authorized access (defaults to empty string for public queries)
|
|
19
|
+
* @returns Promise resolving to an array of matching concepts from the internal composition, or empty array on error
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```typescript
|
|
23
|
+
* // Search for concepts in an internal composition
|
|
24
|
+
* const searchParams: SearchStructure = {
|
|
25
|
+
* composition: "parent-composition-123",
|
|
26
|
+
* internalComposition: "nested-composition-456",
|
|
27
|
+
* type: "Task",
|
|
28
|
+
* search: "urgent",
|
|
29
|
+
* inpage: 15,
|
|
30
|
+
* page: 1
|
|
31
|
+
* };
|
|
32
|
+
* const results = await SearchInternalApi(searchParams, "auth-token-789");
|
|
33
|
+
* console.log(`Found ${results.length} urgent tasks in nested composition`);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```typescript
|
|
38
|
+
* // Search in a deeply nested composition structure
|
|
39
|
+
* const searchParams: SearchStructure = {
|
|
40
|
+
* composition: "organization",
|
|
41
|
+
* internalComposition: "department.team.projects",
|
|
42
|
+
* type: "Project",
|
|
43
|
+
* search: "active",
|
|
44
|
+
* inpage: 10,
|
|
45
|
+
* page: 1
|
|
46
|
+
* };
|
|
47
|
+
* const activeProjects = await SearchInternalApi(searchParams, authToken);
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* This function is specifically designed for hierarchical concept structures where
|
|
52
|
+
* compositions can contain other compositions. It's particularly useful for:
|
|
53
|
+
* - Searching within organizational hierarchies
|
|
54
|
+
* - Querying nested data structures
|
|
55
|
+
* - Accessing concepts in private or protected sub-compositions
|
|
56
|
+
* - Filtering results within specific composition contexts
|
|
57
|
+
*
|
|
58
|
+
* Error handling:
|
|
59
|
+
* - HTTP errors are logged with status and handled via HandleHttpError
|
|
60
|
+
* - Network errors are caught, logged, and re-thrown
|
|
61
|
+
* - Returns empty array on HTTP errors to prevent null reference issues
|
|
62
|
+
*
|
|
63
|
+
* Query construction:
|
|
64
|
+
* - All parameters are URL-encoded as query strings
|
|
65
|
+
* - The URL pattern: ?composition=X&search=Y&internalComposition=Z&type=T&inpage=N&page=P
|
|
66
|
+
* - Uses authenticated CCS endpoint for secure access
|
|
67
|
+
*
|
|
68
|
+
* @see SearchAllConcepts for searching in top-level compositions
|
|
69
|
+
* @see FreeschemaQueryApi for complex nested queries
|
|
70
|
+
*/
|
|
2
71
|
export declare function SearchInternalApi(search: SearchStructure, token?: string): Promise<any>;
|
|
@@ -1,2 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search Link Multiple API module for executing batch searches across multiple queries.
|
|
3
|
+
* This module provides functionality to search for concepts using multiple search queries
|
|
4
|
+
* in a single API call, optimizing performance for applications that need to retrieve
|
|
5
|
+
* related or linked concepts efficiently.
|
|
6
|
+
*
|
|
7
|
+
* @module Api/Search/SearchLinkMultipleApi
|
|
8
|
+
* @see https://documentation.freeschema.com for batch search patterns and optimization techniques
|
|
9
|
+
*/
|
|
1
10
|
import { SearchQuery } from '../../DataStructures/SearchQuery';
|
|
11
|
+
/**
|
|
12
|
+
* Executes multiple search queries in a single API call to retrieve linked concepts.
|
|
13
|
+
* This function sends an array of SearchQuery objects to the backend, which processes
|
|
14
|
+
* all queries and returns the combined results. This is significantly more efficient
|
|
15
|
+
* than making individual API calls for each query, especially when searching for
|
|
16
|
+
* related or linked concepts.
|
|
17
|
+
*
|
|
18
|
+
* @param searchQuery - Array of SearchQuery objects, each containing search parameters for a specific query
|
|
19
|
+
* @param token - Optional authentication token for authorized access (defaults to empty string for public queries)
|
|
20
|
+
* @returns Promise resolving to an array of search results (one result set per query), or empty array on error
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```typescript
|
|
24
|
+
* // Search for multiple related concepts simultaneously
|
|
25
|
+
* const queries: SearchQuery[] = [
|
|
26
|
+
* {
|
|
27
|
+
* type: "Person",
|
|
28
|
+
* search: "John",
|
|
29
|
+
* composition: "users",
|
|
30
|
+
* inpage: 10,
|
|
31
|
+
* page: 1
|
|
32
|
+
* },
|
|
33
|
+
* {
|
|
34
|
+
* type: "Organization",
|
|
35
|
+
* search: "Company",
|
|
36
|
+
* composition: "organizations",
|
|
37
|
+
* inpage: 5,
|
|
38
|
+
* page: 1
|
|
39
|
+
* },
|
|
40
|
+
* {
|
|
41
|
+
* type: "Document",
|
|
42
|
+
* search: "contract",
|
|
43
|
+
* composition: "documents",
|
|
44
|
+
* inpage: 20,
|
|
45
|
+
* page: 1
|
|
46
|
+
* }
|
|
47
|
+
* ];
|
|
48
|
+
* const results = await SearchLinkMultipleApi(queries, "auth-token-123");
|
|
49
|
+
* console.log(`Retrieved ${results.length} result sets`);
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```typescript
|
|
54
|
+
* // Search for a person and their associated data in one call
|
|
55
|
+
* const linkedQueries: SearchQuery[] = [
|
|
56
|
+
* { type: "Person", search: "Alice", composition: "main", inpage: 1, page: 1 },
|
|
57
|
+
* { type: "Post", search: "Alice", composition: "social", inpage: 10, page: 1 },
|
|
58
|
+
* { type: "Comment", search: "Alice", composition: "social", inpage: 10, page: 1 }
|
|
59
|
+
* ];
|
|
60
|
+
* const [person, posts, comments] = await SearchLinkMultipleApi(linkedQueries, token);
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* This function is optimized for scenarios where you need to:
|
|
65
|
+
* - Retrieve multiple related concepts in a single request
|
|
66
|
+
* - Reduce network round-trips and improve performance
|
|
67
|
+
* - Maintain consistency across related queries (all executed at the same time)
|
|
68
|
+
* - Search for linked or connected concepts efficiently
|
|
69
|
+
*
|
|
70
|
+
* Performance benefits:
|
|
71
|
+
* - Single HTTP connection instead of multiple
|
|
72
|
+
* - Reduced network latency
|
|
73
|
+
* - Server-side query optimization
|
|
74
|
+
* - Atomic execution of all queries
|
|
75
|
+
*
|
|
76
|
+
* Error handling:
|
|
77
|
+
* - HTTP errors are logged with status and handled via HandleHttpError
|
|
78
|
+
* - Network errors are caught, logged, and re-thrown
|
|
79
|
+
* - Returns empty array on HTTP errors to prevent null reference issues
|
|
80
|
+
* - If any query fails, the entire operation returns an empty array
|
|
81
|
+
*
|
|
82
|
+
* Query execution:
|
|
83
|
+
* - All queries are executed server-side
|
|
84
|
+
* - Results maintain the same order as input queries
|
|
85
|
+
* - Each query can have different pagination settings
|
|
86
|
+
* - Each query is independent but executed atomically
|
|
87
|
+
*
|
|
88
|
+
* @see SearchWithLinker for alternative batch search with linker functionality
|
|
89
|
+
* @see SearchAllConcepts for single concept searches
|
|
90
|
+
* @see FreeschemaQueryApi for complex queries
|
|
91
|
+
*/
|
|
2
92
|
export declare function SearchLinkMultipleApi(searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
@@ -1,2 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search With Linker API module for executing linked searches across related concepts.
|
|
3
|
+
* This module provides functionality to search for concepts with automatic link resolution,
|
|
4
|
+
* enabling efficient retrieval of connected concepts and their relationships in the
|
|
5
|
+
* Concept Connection System. The linker functionality automatically resolves and includes
|
|
6
|
+
* related concepts based on defined relationships.
|
|
7
|
+
*
|
|
8
|
+
* @module Api/Search/SearchWithLinker
|
|
9
|
+
* @see https://documentation.freeschema.com for linker patterns and relationship traversal
|
|
10
|
+
*/
|
|
1
11
|
import { SearchQuery } from '../../DataStructures/SearchQuery';
|
|
12
|
+
/**
|
|
13
|
+
* Executes multiple search queries with automatic link resolution and relationship traversal.
|
|
14
|
+
* This function searches for concepts while automatically resolving and including linked
|
|
15
|
+
* concepts based on defined relationships. The linker functionality intelligently follows
|
|
16
|
+
* concept connections, providing a complete view of related data in a single API call.
|
|
17
|
+
*
|
|
18
|
+
* @param searchQuery - Array of SearchQuery objects defining search criteria and relationship paths to follow
|
|
19
|
+
* @param token - Optional authentication token for authorized access (defaults to empty string for public queries)
|
|
20
|
+
* @returns Promise resolving to an array of search results with linked concepts resolved, or empty array on error
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```typescript
|
|
24
|
+
* // Search for a person and automatically include their related concepts
|
|
25
|
+
* const queries: SearchQuery[] = [
|
|
26
|
+
* {
|
|
27
|
+
* type: "Person",
|
|
28
|
+
* search: "John Doe",
|
|
29
|
+
* composition: "users",
|
|
30
|
+
* inpage: 1,
|
|
31
|
+
* page: 1
|
|
32
|
+
* }
|
|
33
|
+
* ];
|
|
34
|
+
* // The linker will automatically include related organizations, posts, etc.
|
|
35
|
+
* const results = await SearchWithLinker(queries, "auth-token-123");
|
|
36
|
+
* console.log("Person with all linked data:", results);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```typescript
|
|
41
|
+
* // Search for multiple concepts with link resolution
|
|
42
|
+
* const queries: SearchQuery[] = [
|
|
43
|
+
* {
|
|
44
|
+
* type: "Project",
|
|
45
|
+
* search: "Alpha",
|
|
46
|
+
* composition: "projects",
|
|
47
|
+
* inpage: 5,
|
|
48
|
+
* page: 1
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* type: "Team",
|
|
52
|
+
* search: "Engineering",
|
|
53
|
+
* composition: "teams",
|
|
54
|
+
* inpage: 5,
|
|
55
|
+
* page: 1
|
|
56
|
+
* }
|
|
57
|
+
* ];
|
|
58
|
+
* // Results will include projects with linked tasks, team members, etc.
|
|
59
|
+
* const linkedResults = await SearchWithLinker(queries, token);
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @remarks
|
|
63
|
+
* The SearchWithLinker function differs from SearchLinkMultipleApi by automatically
|
|
64
|
+
* resolving concept relationships and including linked concepts in the results.
|
|
65
|
+
* This is particularly useful for:
|
|
66
|
+
* - Retrieving complete object graphs in one call
|
|
67
|
+
* - Following relationship chains automatically
|
|
68
|
+
* - Reducing the need for multiple follow-up queries
|
|
69
|
+
* - Building comprehensive views of related data
|
|
70
|
+
*
|
|
71
|
+
* Link resolution behavior:
|
|
72
|
+
* - Automatically follows defined relationships between concepts
|
|
73
|
+
* - Includes linked concepts in the response
|
|
74
|
+
* - Respects composition boundaries and access controls
|
|
75
|
+
* - Optimizes server-side to prevent N+1 query problems
|
|
76
|
+
*
|
|
77
|
+
* Performance considerations:
|
|
78
|
+
* - More comprehensive than simple searches but single round-trip
|
|
79
|
+
* - Server-side optimization for relationship traversal
|
|
80
|
+
* - May return larger payloads due to included linked concepts
|
|
81
|
+
* - Ideal for reducing client-side data fetching complexity
|
|
82
|
+
*
|
|
83
|
+
* Error handling:
|
|
84
|
+
* - HTTP errors are logged with status and handled via HandleHttpError
|
|
85
|
+
* - Network errors are caught, logged, and re-thrown
|
|
86
|
+
* - Returns empty array on HTTP errors to maintain consistent error handling
|
|
87
|
+
* - Link resolution errors are handled gracefully server-side
|
|
88
|
+
*
|
|
89
|
+
* Use cases:
|
|
90
|
+
* - Building detailed profile views with all related data
|
|
91
|
+
* - Dashboard displays requiring multiple related entities
|
|
92
|
+
* - Report generation needing complete relationship graphs
|
|
93
|
+
* - Mobile applications minimizing network requests
|
|
94
|
+
*
|
|
95
|
+
* @see SearchLinkMultipleApi for batch searches without automatic link resolution
|
|
96
|
+
* @see SearchAllConcepts for simple single-concept searches
|
|
97
|
+
* @see FreeschemaQueryApi for custom relationship queries
|
|
98
|
+
*/
|
|
2
99
|
export declare function SearchWithLinker(searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
@@ -1,2 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API module for searching concepts by their character value and category.
|
|
3
|
+
* Retrieves concepts from the backend based on their character representation.
|
|
4
|
+
*
|
|
5
|
+
* @module Api/SearchConcept/GetConceptByCharacterAndCategoryApi
|
|
6
|
+
* @see https://documentation.freeschema.com for reference
|
|
7
|
+
*/
|
|
1
8
|
import { Concept } from "../../DataStructures/Concept";
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a concept from the backend by its character value.
|
|
11
|
+
* The character value is a string representation that uniquely identifies a concept.
|
|
12
|
+
*
|
|
13
|
+
* This function queries the backend for a concept matching the provided character value,
|
|
14
|
+
* automatically determining the appropriate category. Retrieved concepts are added to
|
|
15
|
+
* the local ConceptsData cache for faster subsequent access.
|
|
16
|
+
*
|
|
17
|
+
* @param characterValue - The character string identifying the concept (e.g., "the_person", "john_doe")
|
|
18
|
+
* @returns A promise that resolves to the matching Concept object, or a default concept if not found
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```typescript
|
|
22
|
+
* // Find a concept by its character value
|
|
23
|
+
* const concept = await GetConceptByCharacterAndCategoryApi('the_person');
|
|
24
|
+
* if (concept.id !== 0) {
|
|
25
|
+
* console.log('Found concept:', concept.characterValue);
|
|
26
|
+
* } else {
|
|
27
|
+
* console.log('Concept not found');
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* - Returns a default concept (id=0) if the concept is not found or an error occurs
|
|
33
|
+
* - Automatically caches the retrieved concept in ConceptsData
|
|
34
|
+
* - HTTP errors are handled through HandleHttpError but do not throw
|
|
35
|
+
* - Errors are logged to console and re-thrown for caller handling
|
|
36
|
+
*
|
|
37
|
+
* @see GetConceptByCharacterAndCategoryDirectApi for searching with explicit category
|
|
38
|
+
* @see CreateDefaultConcept for the default concept structure
|
|
39
|
+
* @see ConceptsData for the local concept cache
|
|
40
|
+
*/
|
|
2
41
|
export declare function GetConceptByCharacterAndCategoryApi(characterValue: string): Promise<Concept>;
|
|
@@ -1,2 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API module for searching concepts by character value with explicit category specification.
|
|
3
|
+
* Provides direct category-based concept retrieval with request caching.
|
|
4
|
+
*
|
|
5
|
+
* @module Api/SearchConcept/GetConceptByCharacterAndCategoryDirect
|
|
6
|
+
* @see https://documentation.freeschema.com for reference
|
|
7
|
+
*/
|
|
1
8
|
import { Concept } from "./../../DataStructures/Concept";
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a concept from the backend by its character value and specific category ID.
|
|
11
|
+
* This is a more precise search than GetConceptByCharacterAndCategoryApi as it requires
|
|
12
|
+
* an explicit category ID.
|
|
13
|
+
*
|
|
14
|
+
* The function uses request caching to prevent duplicate simultaneous requests for the
|
|
15
|
+
* same character-category combination. Retrieved concepts are automatically added to
|
|
16
|
+
* the local ConceptsData cache.
|
|
17
|
+
*
|
|
18
|
+
* @param characterValue - The character string identifying the concept (e.g., "john_doe", "building_a")
|
|
19
|
+
* @param category_id - The specific category ID to search within
|
|
20
|
+
* @returns A promise that resolves to the matching Concept object, or a default concept if not found
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```typescript
|
|
24
|
+
* // Find a specific person concept in category 5
|
|
25
|
+
* const person = await GetConceptByCharacterAndCategoryDirectApi('john_doe', 5);
|
|
26
|
+
* if (person.id !== 0) {
|
|
27
|
+
* console.log('Found person:', person);
|
|
28
|
+
* }
|
|
29
|
+
*
|
|
30
|
+
* // Simultaneous calls for the same concept will use the same cached promise
|
|
31
|
+
* const promise1 = GetConceptByCharacterAndCategoryDirectApi('jane_doe', 5);
|
|
32
|
+
* const promise2 = GetConceptByCharacterAndCategoryDirectApi('jane_doe', 5);
|
|
33
|
+
* // Both will resolve to the same result without making duplicate API calls
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* - Uses local caching (conceptCache) to prevent duplicate simultaneous requests
|
|
38
|
+
* - Cache key is the concatenation of characterValue and category_id
|
|
39
|
+
* - Returns a default concept (id=0) if the concept is not found or an error occurs
|
|
40
|
+
* - Automatically caches the retrieved concept in ConceptsData for subsequent use
|
|
41
|
+
* - Cache entries are cleaned up in the finally block after fetch completes
|
|
42
|
+
* - HTTP errors are handled through HandleHttpError but do not throw
|
|
43
|
+
* - Errors are logged with full diagnostic information including the endpoint URL
|
|
44
|
+
*
|
|
45
|
+
* @see GetConceptByCharacterAndCategoryApi for searching without explicit category
|
|
46
|
+
* @see CreateDefaultConcept for the default concept structure
|
|
47
|
+
* @see ConceptsData for the local concept cache
|
|
48
|
+
*/
|
|
2
49
|
export declare function GetConceptByCharacterAndCategoryDirectApi(characterValue: string, category_id: number): Promise<Concept>;
|
|
@@ -1,2 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API module for creating user session records.
|
|
3
|
+
* Tracks user sessions for analytics and activity monitoring purposes.
|
|
4
|
+
*
|
|
5
|
+
* @module Api/Session/CreateSession
|
|
6
|
+
* @see https://documentation.freeschema.com for reference
|
|
7
|
+
*/
|
|
1
8
|
import { SessionData } from "../../app";
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new session record in the backend for tracking user activity.
|
|
11
|
+
* Sessions are used to monitor user interactions, track analytics, and maintain
|
|
12
|
+
* activity logs within the Concept Connection System.
|
|
13
|
+
*
|
|
14
|
+
* This function initiates a new session with the provided session data, which
|
|
15
|
+
* typically includes user information, timestamps, and session metadata.
|
|
16
|
+
*
|
|
17
|
+
* @param sessionData - The session data object containing session initialization information
|
|
18
|
+
* @returns A promise that resolves to the created session response, or null if creation fails
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```typescript
|
|
22
|
+
* // Create a new user session
|
|
23
|
+
* const sessionInfo: SessionData = {
|
|
24
|
+
* userId: 123,
|
|
25
|
+
* startTime: new Date().toISOString(),
|
|
26
|
+
* userAgent: navigator.userAgent
|
|
27
|
+
* };
|
|
28
|
+
*
|
|
29
|
+
* const session = await CreateSession(sessionInfo);
|
|
30
|
+
* if (session) {
|
|
31
|
+
* console.log('Session created:', session.sessionId);
|
|
32
|
+
* } else {
|
|
33
|
+
* console.log('Session creation failed');
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* - Returns null if the session creation fails
|
|
39
|
+
* - HTTP errors are handled through HandleHttpError
|
|
40
|
+
* - Requires authentication via GetRequestHeader
|
|
41
|
+
* - Error details are logged to console for debugging
|
|
42
|
+
* - Errors are re-thrown for caller handling
|
|
43
|
+
*
|
|
44
|
+
* @see CreateSessionVisit for tracking URL visits within a session
|
|
45
|
+
* @see SessionData for the session data structure
|
|
46
|
+
*/
|
|
2
47
|
export declare function CreateSession(sessionData: SessionData): Promise<any>;
|
|
@@ -1 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API module for tracking URL visits within user sessions.
|
|
3
|
+
* Records individual page/URL visits as part of session activity tracking.
|
|
4
|
+
*
|
|
5
|
+
* @module Api/Session/CreateSessionVisit
|
|
6
|
+
* @see https://documentation.freeschema.com for reference
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Records a URL visit within an existing session for activity tracking.
|
|
10
|
+
* This function creates a session visit record that tracks which URLs a user
|
|
11
|
+
* accesses during their session, useful for analytics and navigation tracking.
|
|
12
|
+
*
|
|
13
|
+
* Session visits help build a complete picture of user activity by recording
|
|
14
|
+
* each page or resource accessed during a session in the Concept Connection System.
|
|
15
|
+
*
|
|
16
|
+
* @param sessionId - The unique identifier of the session to associate this visit with
|
|
17
|
+
* @param url - The URL that was visited (page path or full URL)
|
|
18
|
+
* @returns A promise that resolves to the created visit response, or null if creation fails
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```typescript
|
|
22
|
+
* // Track a page visit within a session
|
|
23
|
+
* const visit = await CreateSessionVisit(456, '/concepts/dashboard');
|
|
24
|
+
* if (visit) {
|
|
25
|
+
* console.log('Visit tracked:', visit);
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* // Track multiple visits in sequence
|
|
29
|
+
* await CreateSessionVisit(456, '/concepts/search');
|
|
30
|
+
* await CreateSessionVisit(456, '/concepts/create');
|
|
31
|
+
* await CreateSessionVisit(456, '/concepts/view/123');
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* - Returns null if the visit creation fails
|
|
36
|
+
* - HTTP errors are handled through HandleHttpError
|
|
37
|
+
* - Requires authentication via GetRequestHeader
|
|
38
|
+
* - Uses URL-encoded form data for the request body
|
|
39
|
+
* - Error details are logged to console for debugging
|
|
40
|
+
* - Errors are re-thrown for caller handling
|
|
41
|
+
*
|
|
42
|
+
* @see CreateSession for creating the initial session
|
|
43
|
+
*/
|
|
1
44
|
export declare function CreateSessionVisit(sessionId: number, url: string): Promise<any>;
|
|
@@ -1,3 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API module for user sign-in operations.
|
|
3
|
+
* Provides standardized authentication with structured response handling.
|
|
4
|
+
*
|
|
5
|
+
* @module Api/Signin
|
|
6
|
+
* @see https://documentation.freeschema.com for reference
|
|
7
|
+
*/
|
|
1
8
|
import { FreeschemaResponse } from "../DataStructures/Responses/StandardResponses";
|
|
2
9
|
import { SigninModel } from "../DataStructures/SigninModel";
|
|
10
|
+
/**
|
|
11
|
+
* Authenticates a user and returns a standardized Freeschema response.
|
|
12
|
+
* This function provides a more structured authentication approach compared to LoginToBackend,
|
|
13
|
+
* returning a FreeschemaResponse object with consistent status and data fields.
|
|
14
|
+
*
|
|
15
|
+
* The signin process validates user credentials and returns authentication data including
|
|
16
|
+
* tokens and user information in a standardized response format.
|
|
17
|
+
*
|
|
18
|
+
* @param signinInfo - The signin model containing user credentials (email and password)
|
|
19
|
+
* @returns A promise that resolves to a FreeschemaResponse containing authentication data
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```typescript
|
|
23
|
+
* // Sign in a user with standardized response
|
|
24
|
+
* const signinData: SigninModel = {
|
|
25
|
+
* email: 'user@example.com',
|
|
26
|
+
* password: 'securePassword123'
|
|
27
|
+
* };
|
|
28
|
+
*
|
|
29
|
+
* const response = await Signin(signinData);
|
|
30
|
+
* if (response.status && response.statusCode === 200) {
|
|
31
|
+
* console.log('Signin successful:', response.data);
|
|
32
|
+
* // Use response.data.token for subsequent API calls
|
|
33
|
+
* } else {
|
|
34
|
+
* console.error('Signin failed:', response.message);
|
|
35
|
+
* }
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* - Returns a FreeschemaResponse with status, statusCode, message, and data fields
|
|
40
|
+
* - On success: status=true, statusCode=200, data contains authentication information
|
|
41
|
+
* - On failure: status=false, statusCode and message indicate the error
|
|
42
|
+
* - HTTP errors are handled through HandleHttpError
|
|
43
|
+
* - Errors are logged to console and re-thrown for caller handling
|
|
44
|
+
* - Uses JSON content-type for request body
|
|
45
|
+
*
|
|
46
|
+
* @see LoginToBackend for alternative login implementation
|
|
47
|
+
* @see Signup for user registration
|
|
48
|
+
* @see SigninModel for the signin data structure
|
|
49
|
+
* @see FreeschemaResponse for the response structure
|
|
50
|
+
*/
|
|
3
51
|
export default function Signin(signinInfo: SigninModel): Promise<FreeschemaResponse>;
|
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API module for user registration and signup operations.
|
|
3
|
+
* Handles new user account creation with standardized response handling.
|
|
4
|
+
*
|
|
5
|
+
* @module Api/Signup
|
|
6
|
+
* @see https://documentation.freeschema.com for reference
|
|
7
|
+
*/
|
|
1
8
|
import { FreeschemaResponse } from "../DataStructures/Responses/StandardResponses";
|
|
2
9
|
import { SignupModel } from "../DataStructures/SignupModel";
|
|
10
|
+
/**
|
|
11
|
+
* Registers a new user account in the Concept Connection System.
|
|
12
|
+
* This function creates a new user with the provided signup information and returns
|
|
13
|
+
* a standardized response containing registration results.
|
|
14
|
+
*
|
|
15
|
+
* @param signupModel - The signup model containing user registration information (name, email, password, etc.)
|
|
16
|
+
* @returns A promise that resolves to a FreeschemaResponse indicating success or failure
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* // Register a new user
|
|
21
|
+
* const newUser: SignupModel = {
|
|
22
|
+
* name: 'John Doe',
|
|
23
|
+
* email: 'john@example.com',
|
|
24
|
+
* password: 'securePassword123'
|
|
25
|
+
* };
|
|
26
|
+
*
|
|
27
|
+
* const response = await Signup(newUser);
|
|
28
|
+
* if (response.status && response.statusCode === 200) {
|
|
29
|
+
* console.log('Signup successful:', response.data);
|
|
30
|
+
* } else {
|
|
31
|
+
* console.error('Signup failed:', response.message);
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* - Returns a FreeschemaResponse with status, statusCode, message, and data fields
|
|
37
|
+
* - On success: status=true, statusCode=200, data contains user information
|
|
38
|
+
* - On failure: status=false with error details
|
|
39
|
+
* - HTTP errors are handled through HandleHttpError
|
|
40
|
+
* - Errors are logged to console and re-thrown for caller handling
|
|
41
|
+
*
|
|
42
|
+
* @see Signin for user authentication after signup
|
|
43
|
+
* @see LoginToBackend for alternative login
|
|
44
|
+
* @see SignupModel for the signup data structure
|
|
45
|
+
* @see FreeschemaResponse for the response structure
|
|
46
|
+
*/
|
|
3
47
|
export default function Signup(signupModel: SignupModel): Promise<FreeschemaResponse>;
|
|
@@ -1 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API module for viewing internal concept data and connections.
|
|
3
|
+
* Retrieves detailed internal structure including connections for specified concepts.
|
|
4
|
+
*
|
|
5
|
+
* @module Api/View/ViewInternalDataApi
|
|
6
|
+
* @see https://documentation.freeschema.com for reference
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves internal data and connections for a list of concept IDs.
|
|
10
|
+
* This function fetches the internal composition structure of concepts, including all
|
|
11
|
+
* sub-concepts and their interconnections, providing a complete view of concept internals.
|
|
12
|
+
*
|
|
13
|
+
* In the Concept Connection System, concepts can contain other concepts as part of their
|
|
14
|
+
* internal structure (composition). This function retrieves those internal concepts and
|
|
15
|
+
* the connections between them, returning a dictionary mapping concept IDs to their
|
|
16
|
+
* internal connection lists.
|
|
17
|
+
*
|
|
18
|
+
* @param ids - Array of concept IDs to retrieve internal data for
|
|
19
|
+
* @returns A promise that resolves to a dictionary mapping concept IDs to their internal connections,
|
|
20
|
+
* or an empty connection list if the request fails
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```typescript
|
|
24
|
+
* // View internal data for multiple concepts
|
|
25
|
+
* const conceptIds = [100, 101, 102];
|
|
26
|
+
* const internalData = await ViewInternalDataApi(conceptIds);
|
|
27
|
+
*
|
|
28
|
+
* // Access connections for a specific concept
|
|
29
|
+
* const concept100Connections = internalData[100];
|
|
30
|
+
* if (concept100Connections) {
|
|
31
|
+
* console.log('Concept 100 has', concept100Connections.length, 'internal connections');
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* // Process all internal structures
|
|
35
|
+
* for (const [conceptId, connections] of Object.entries(internalData)) {
|
|
36
|
+
* console.log(`Concept ${conceptId}:`, connections);
|
|
37
|
+
* }
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* - Returns an object where keys are concept IDs and values are arrays of Connection objects
|
|
42
|
+
* - Automatically fetches and caches all sub-concepts via GetConceptBulk
|
|
43
|
+
* - Returns an empty connection list on error
|
|
44
|
+
* - HTTP errors are handled through HandleHttpError but do not throw
|
|
45
|
+
* - Requires authentication via GetRequestHeader
|
|
46
|
+
* - Errors are logged to console and re-thrown for caller handling
|
|
47
|
+
*
|
|
48
|
+
* @see GetConceptBulk for bulk concept retrieval
|
|
49
|
+
* @see Connection for the connection data structure
|
|
50
|
+
*/
|
|
1
51
|
export declare function ViewInternalDataApi(ids: number[]): Promise<any>;
|