mftsccs-browser 2.1.237-beta → 2.1.239-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.bundle.js +43918 -2
- package/dist/main.bundle.js.map +1 -0
- package/dist/serviceWorker.bundle.js +44844 -2
- package/dist/serviceWorker.bundle.js.map +1 -0
- package/package.json +4 -1
- package/dist/main.bundle.js.LICENSE.txt +0 -1
- package/dist/serviceWorker.bundle.js.LICENSE.txt +0 -1
- package/dist/types/AccessTracker/accessTracker.d.ts +0 -67
- package/dist/types/Anomaly/anomaly.d.ts +0 -103
- package/dist/types/Api/Create/CreateTheCharacter.d.ts +0 -24
- package/dist/types/Api/Create/CreateTheConceptApi.d.ts +0 -20
- package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +0 -18
- package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +0 -28
- package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +0 -18
- package/dist/types/Api/Create/CreateTheTextData.d.ts +0 -18
- package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +0 -14
- package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +0 -19
- package/dist/types/Api/DeleteConnectionBulkApi.d.ts +0 -20
- package/dist/types/Api/DeleteTheConcept.d.ts +0 -20
- package/dist/types/Api/DeleteTheConnection.d.ts +0 -20
- package/dist/types/Api/GetAiData.d.ts +0 -10
- package/dist/types/Api/GetAllConceptsByType.d.ts +0 -12
- package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +0 -23
- package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +0 -23
- package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +0 -12
- package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +0 -12
- package/dist/types/Api/GetCharacterDataByCharacter.d.ts +0 -12
- package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +0 -13
- package/dist/types/Api/GetConcept.d.ts +0 -6
- package/dist/types/Api/GetConceptBulk.d.ts +0 -20
- package/dist/types/Api/GetConceptByCharacterAndType.d.ts +0 -15
- package/dist/types/Api/GetConceptByCharacterValue.d.ts +0 -12
- package/dist/types/Api/GetConnection.d.ts +0 -15
- package/dist/types/Api/GetConnectionBulk.d.ts +0 -7
- package/dist/types/Api/GetConnectionOfTheConcept.d.ts +0 -15
- package/dist/types/Api/GetConnectionToTheConcept.d.ts +0 -17
- package/dist/types/Api/GetConnections/GetConnectionsBetweenApi.d.ts +0 -40
- package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +0 -15
- package/dist/types/Api/GetInstanceConceptByCharacterType.d.ts +0 -9
- package/dist/types/Api/GetReservedConnectionIds.d.ts +0 -10
- package/dist/types/Api/GetReservedIds.d.ts +0 -10
- package/dist/types/Api/Images/GetImages.d.ts +0 -15
- package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +0 -13
- package/dist/types/Api/Login.d.ts +0 -78
- package/dist/types/Api/MakeTheNameInBackend.d.ts +0 -14
- package/dist/types/Api/MakeTheTypeConceptApi.d.ts +0 -9
- package/dist/types/Api/Prototype/Selector.d.ts +0 -26
- package/dist/types/Api/RecursiveSearch.d.ts +0 -67
- package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +0 -18
- package/dist/types/Api/Search/Search.d.ts +0 -73
- package/dist/types/Api/Search/SearchInternalApi.d.ts +0 -28
- package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +0 -15
- package/dist/types/Api/Search/SearchWithLinker.d.ts +0 -16
- package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +0 -14
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +0 -12
- package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +0 -13
- package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +0 -15
- package/dist/types/Api/Session/CreateSession.d.ts +0 -16
- package/dist/types/Api/Session/CreateSessionVisit.d.ts +0 -12
- package/dist/types/Api/Signin.d.ts +0 -24
- package/dist/types/Api/Signup.d.ts +0 -61
- package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +0 -12
- package/dist/types/Api/View/ViewInternalDataApi.d.ts +0 -15
- package/dist/types/Constants/AccessConstants.d.ts +0 -3
- package/dist/types/Constants/ApiConstants.d.ts +0 -23
- package/dist/types/Constants/FormatConstants.d.ts +0 -8
- package/dist/types/Constants/ckeditorCSS.d.ts +0 -1
- package/dist/types/Constants/general.const.d.ts +0 -6
- package/dist/types/Constants/page.const.d.ts +0 -5
- package/dist/types/DataStructures/BaseUrl.d.ts +0 -89
- package/dist/types/DataStructures/BinaryCharacterTree.d.ts +0 -16
- package/dist/types/DataStructures/BinaryTree.d.ts +0 -77
- package/dist/types/DataStructures/BinaryTypeTree.d.ts +0 -17
- package/dist/types/DataStructures/CharacterRepository.d.ts +0 -8
- package/dist/types/DataStructures/Composition/Composition.d.ts +0 -14
- package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +0 -10
- package/dist/types/DataStructures/Composition/CompositionNode.d.ts +0 -21
- package/dist/types/DataStructures/Concept.d.ts +0 -25
- package/dist/types/DataStructures/ConceptData.d.ts +0 -30
- package/dist/types/DataStructures/ConceptsToDraw.d.ts +0 -11
- package/dist/types/DataStructures/Connection.d.ts +0 -23
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +0 -81
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +0 -27
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +0 -10
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +0 -24
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +0 -10
- package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +0 -20
- package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +0 -15
- package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +0 -4
- package/dist/types/DataStructures/ConnectionData.d.ts +0 -26
- package/dist/types/DataStructures/Count/CountInfo.d.ts +0 -6
- package/dist/types/DataStructures/FetchConnection.d.ts +0 -64
- package/dist/types/DataStructures/FilterSearch.d.ts +0 -9
- package/dist/types/DataStructures/IdentifierFlags.d.ts +0 -11
- package/dist/types/DataStructures/Local/LConcept.d.ts +0 -23
- package/dist/types/DataStructures/Local/LConnection.d.ts +0 -18
- package/dist/types/DataStructures/Local/LNode.d.ts +0 -29
- package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +0 -13
- package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +0 -13
- package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +0 -13
- package/dist/types/DataStructures/Local/LocalConceptData.d.ts +0 -21
- package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +0 -20
- package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +0 -11
- package/dist/types/DataStructures/Local/LocalId.d.ts +0 -19
- package/dist/types/DataStructures/Local/LocalSyncData.d.ts +0 -33
- package/dist/types/DataStructures/Node.d.ts +0 -30
- package/dist/types/DataStructures/PatcherStructure.d.ts +0 -8
- package/dist/types/DataStructures/Prototype/Prototype.d.ts +0 -19
- package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +0 -4
- package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +0 -4
- package/dist/types/DataStructures/ReservedIds.d.ts +0 -10
- package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +0 -74
- package/dist/types/DataStructures/Responses/StandardResponses.d.ts +0 -6
- package/dist/types/DataStructures/Returner.d.ts +0 -7
- package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +0 -25
- package/dist/types/DataStructures/Search/SearchStructure.d.ts +0 -10
- package/dist/types/DataStructures/SearchQuery.d.ts +0 -17
- package/dist/types/DataStructures/Security/SecureStorage.d.ts +0 -14
- package/dist/types/DataStructures/Security/TokenStorage.d.ts +0 -24
- package/dist/types/DataStructures/Session/SessionData.d.ts +0 -13
- package/dist/types/DataStructures/SettingData.d.ts +0 -5
- package/dist/types/DataStructures/Settings.d.ts +0 -4
- package/dist/types/DataStructures/SigninModel.d.ts +0 -4
- package/dist/types/DataStructures/SignupModel.d.ts +0 -4
- package/dist/types/DataStructures/SyncData.d.ts +0 -14
- package/dist/types/DataStructures/TheCharacter.d.ts +0 -13
- package/dist/types/DataStructures/TheTexts.d.ts +0 -14
- package/dist/types/DataStructures/TypeLibrary.d.ts +0 -19
- package/dist/types/DataStructures/TypeNode.d.ts +0 -18
- package/dist/types/DataStructures/User/UserBinaryTree.d.ts +0 -13
- package/dist/types/DataStructures/User/UserNode.d.ts +0 -18
- package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +0 -10
- package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +0 -9
- package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +0 -18
- package/dist/types/DataStructures/environments/environments.d.ts +0 -48
- package/dist/types/Database/CacheDatabase.d.ts +0 -57
- package/dist/types/Database/IndexUpdate.d.ts +0 -47
- package/dist/types/Database/NoIndexDb.d.ts +0 -9
- package/dist/types/Database/indexdblocal.d.ts +0 -43
- package/dist/types/Database/indexeddb.d.ts +0 -58
- package/dist/types/Helpers/CheckIfExists.d.ts +0 -9
- package/dist/types/Helpers/RemoveFromArray.d.ts +0 -5
- package/dist/types/Helpers/UniqueInsert.d.ts +0 -1
- package/dist/types/Middleware/ApplicationMonitor.d.ts +0 -14
- package/dist/types/Middleware/logger.service.d.ts +0 -144
- package/dist/types/ServiceWorker/actions/connectionActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/createActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/deleteActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/getActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/index.d.ts +0 -15
- package/dist/types/ServiceWorker/actions/searchActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/syncActions.d.ts +0 -2
- package/dist/types/ServiceWorker/actions/updateActions.d.ts +0 -2
- package/dist/types/ServiceWorker/index.d.ts +0 -11
- package/dist/types/Services/CacheClear.d.ts +0 -7
- package/dist/types/Services/CheckForConnectionDeletion.d.ts +0 -3
- package/dist/types/Services/Common/DecodeCountInfo.d.ts +0 -3
- package/dist/types/Services/Common/DelayFunction.d.ts +0 -7
- package/dist/types/Services/Common/ErrorPosting.d.ts +0 -10
- package/dist/types/Services/Common/MergeArrays.d.ts +0 -7
- package/dist/types/Services/Common/RegexFunction.d.ts +0 -1
- package/dist/types/Services/Common/RemoveAllChild.d.ts +0 -1
- package/dist/types/Services/Composition/BuildComposition.d.ts +0 -3
- package/dist/types/Services/Composition/CompositionCache.d.ts +0 -4
- package/dist/types/Services/Composition/CreateCompositionCache.d.ts +0 -3
- package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +0 -5
- package/dist/types/Services/Conversion/ConvertConcepts.d.ts +0 -5
- package/dist/types/Services/CreateBinaryTreeFromData.d.ts +0 -5
- package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +0 -2
- package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +0 -5
- package/dist/types/Services/CreateDefaultConcept.d.ts +0 -3
- package/dist/types/Services/CreateTheComposition.d.ts +0 -1
- package/dist/types/Services/CreateTheConcept.d.ts +0 -122
- package/dist/types/Services/CreateTheConnection.d.ts +0 -63
- package/dist/types/Services/CreateTheConnectionGeneral.d.ts +0 -2
- package/dist/types/Services/DeleteConcept.d.ts +0 -2
- package/dist/types/Services/DeleteConnection.d.ts +0 -2
- package/dist/types/Services/DeleteConnectionByType.d.ts +0 -22
- package/dist/types/Services/FindConeceptsFromConnection.d.ts +0 -6
- package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +0 -1
- package/dist/types/Services/GetComposition.d.ts +0 -205
- package/dist/types/Services/GetCompositionBulk.d.ts +0 -100
- package/dist/types/Services/GetCompositionList.d.ts +0 -7
- package/dist/types/Services/GetConceptByCharacter.d.ts +0 -2
- package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +0 -11
- package/dist/types/Services/GetConnections.d.ts +0 -1
- package/dist/types/Services/GetDataFromIndexDb.d.ts +0 -2
- package/dist/types/Services/GetLink.d.ts +0 -3
- package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +0 -3
- package/dist/types/Services/GetRelation.d.ts +0 -3
- package/dist/types/Services/GetTheConcept.d.ts +0 -96
- package/dist/types/Services/InitializeSystem.d.ts +0 -2
- package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +0 -41
- package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +0 -47
- package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +0 -44
- package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +0 -46
- package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +0 -34
- package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +0 -104
- package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +0 -84
- package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +0 -140
- package/dist/types/Services/Local/DeleteConceptLocal.d.ts +0 -47
- package/dist/types/Services/Local/GetCompositionListLocal.d.ts +0 -37
- package/dist/types/Services/Local/GetCompositionLocal.d.ts +0 -97
- package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +0 -56
- package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +0 -19
- package/dist/types/Services/Local/GetRelationLocal.d.ts +0 -21
- package/dist/types/Services/Local/GetTheConceptLocal.d.ts +0 -63
- package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +0 -22
- package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +0 -164
- package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +0 -36
- package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +0 -42
- package/dist/types/Services/Logs/LogEvent.d.ts +0 -1
- package/dist/types/Services/Mail.d.ts +0 -18
- package/dist/types/Services/MakeTheCharacter.d.ts +0 -2
- package/dist/types/Services/MakeTheCharacterData.d.ts +0 -2
- package/dist/types/Services/MakeTheConcept.d.ts +0 -2
- package/dist/types/Services/MakeTheInstanceConcept.d.ts +0 -15
- package/dist/types/Services/MakeTheTimestamp.d.ts +0 -1
- package/dist/types/Services/MakeTheTypeConcept.d.ts +0 -1
- package/dist/types/Services/Mqtt/publishMessage.d.ts +0 -1
- package/dist/types/Services/Search/DataIdFormat.d.ts +0 -32
- package/dist/types/Services/Search/FormatData.d.ts +0 -36
- package/dist/types/Services/Search/JustIdFormat.d.ts +0 -23
- package/dist/types/Services/Search/NewFormat.d.ts +0 -4
- package/dist/types/Services/Search/SearchLinkInternal.d.ts +0 -3
- package/dist/types/Services/Search/SearchLinkMultiple.d.ts +0 -55
- package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +0 -82
- package/dist/types/Services/Search/orderingConnections.d.ts +0 -2
- package/dist/types/Services/Security/GetRequestHeader.d.ts +0 -6
- package/dist/types/Services/SplitStrings.d.ts +0 -1
- package/dist/types/Services/Transaction/LocalTransaction.d.ts +0 -117
- package/dist/types/Services/UpdateComposition.d.ts +0 -2
- package/dist/types/Services/Upload.d.ts +0 -34
- package/dist/types/Services/User/UserFromLocalStorage.d.ts +0 -10
- package/dist/types/Services/User/UserTranslation.d.ts +0 -3
- package/dist/types/Services/View/ViewInternalData.d.ts +0 -1
- package/dist/types/Services/assets/GetImageService.d.ts +0 -14
- package/dist/types/Services/automated/automated-concept-connection.d.ts +0 -7
- package/dist/types/Services/cacheService.d.ts +0 -1
- package/dist/types/Validator/constant.d.ts +0 -3
- package/dist/types/Validator/interface.d.ts +0 -19
- package/dist/types/Validator/utils.d.ts +0 -7
- package/dist/types/Validator/validator.d.ts +0 -37
- package/dist/types/Visualize/ConceptCircle.d.ts +0 -35
- package/dist/types/Visualize/ConceptCircleList.d.ts +0 -9
- package/dist/types/Visualize/ConnectionLine.d.ts +0 -21
- package/dist/types/Visualize/ConnectionLineList.d.ts +0 -6
- package/dist/types/Visualize/drawExistingConcepts.d.ts +0 -8
- package/dist/types/Visualize/helper.d.ts +0 -15
- package/dist/types/Widgets/BaseObserver.d.ts +0 -25
- package/dist/types/Widgets/BaseWidget.d.ts +0 -37
- package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +0 -11
- package/dist/types/Widgets/BuilderStatefulWidget.d.ts +0 -392
- package/dist/types/Widgets/CacheWidget.service.d.ts +0 -77
- package/dist/types/Widgets/NormalizeStyles.service.d.ts +0 -10
- package/dist/types/Widgets/RenderPage.service.d.ts +0 -17
- package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +0 -22
- package/dist/types/Widgets/RenderWidgetService.d.ts +0 -187
- package/dist/types/Widgets/StatefulWidget.d.ts +0 -167
- package/dist/types/Widgets/WidgetBuild.d.ts +0 -45
- package/dist/types/Widgets/WidgetCacheManager.d.ts +0 -108
- package/dist/types/Widgets/WidgetTree.d.ts +0 -61
- package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +0 -95
- package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +0 -51
- package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +0 -35
- package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +0 -57
- package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +0 -50
- package/dist/types/WrapperFunctions/QueryCacheManager.d.ts +0 -107
- package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +0 -55
- package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +0 -60
- package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +0 -36
- package/dist/types/app.d.ts +0 -377
- package/dist/types/prototype/prototype.service.d.ts +0 -25
- package/dist/types/service-worker.d.ts +0 -1
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieves connections originating from a specific concept.
|
|
3
|
-
* Fetches connections filtered by type, concept, user, and pagination.
|
|
4
|
-
*
|
|
5
|
-
* @param typeId - Type ID to filter connections by
|
|
6
|
-
* @param ofTheConceptId - Concept ID that is the source of connections
|
|
7
|
-
* @param userId - User ID to filter by
|
|
8
|
-
* @param inpage - Number of results per page (default: 10)
|
|
9
|
-
* @param page - Page number (default: 1)
|
|
10
|
-
* @returns Array of Connection objects
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* const connections = await GetConnectionOfTheConcept(5, 123, 456, 20, 1);
|
|
14
|
-
*/
|
|
15
|
-
export declare function GetConnectionOfTheConcept(typeId: number, ofTheConceptId: number, userId: number, inpage?: number, page?: number): Promise<any>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Connection } from "../DataStructures/Connection";
|
|
2
|
-
/**
|
|
3
|
-
* Retrieves connections pointing to a specific concept.
|
|
4
|
-
* Fetches connections filtered by type, target concept, user, and pagination.
|
|
5
|
-
*
|
|
6
|
-
* @param typeId - Type ID to filter connections by
|
|
7
|
-
* @param toTheConceptId - Concept ID that is the target of connections
|
|
8
|
-
* @param userId - User ID to filter by
|
|
9
|
-
* @param inpage - Number of results per page (default: 10)
|
|
10
|
-
* @param page - Page number (default: 1)
|
|
11
|
-
* @returns Array of Connection objects
|
|
12
|
-
* @throws Error if fetch fails
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* const connections = await GetConnectionToTheConcept(5, 123, 456, 20, 1);
|
|
16
|
-
*/
|
|
17
|
-
export declare function GetConnectionToTheConcept(typeId: number, toTheConceptId: number, userId: number, inpage?: number, page?: number): Promise<Connection[]>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { FetchConnection } from "../../DataStructures/FetchConnection";
|
|
2
|
-
/**
|
|
3
|
-
* Fetches connections matching the given criteria from POST /api/get-connection-between.
|
|
4
|
-
*
|
|
5
|
-
* Accepts an array so multiple independent queries can be resolved in one HTTP request.
|
|
6
|
-
* Each item in the array is resolved independently by the backend; results are returned
|
|
7
|
-
* in the same order with `connectionIds` and the resolved `typeId` populated.
|
|
8
|
-
*
|
|
9
|
-
* **Supported query permutations (per item):**
|
|
10
|
-
* 1. `ofTheConceptId` + `toTheConceptId` + `type` — connections between two specific concepts of that type
|
|
11
|
-
* 2. `ofTheConceptId` + `type` — all connections FROM a concept of that type
|
|
12
|
-
* 3. `toTheConceptId` + `type` — all connections TO a concept of that type
|
|
13
|
-
* 4. `typeId` + `isComposition: true` — all internal connections of a composition
|
|
14
|
-
*
|
|
15
|
-
* Fields not relevant to the chosen permutation should be left at their zero/empty defaults.
|
|
16
|
-
* Use {@link buildFetchConnection} to build items without specifying every field manually.
|
|
17
|
-
*
|
|
18
|
-
* @param fetchConnections - Array of query objects; each item is resolved independently.
|
|
19
|
-
* @returns The same array with `connectionIds` and resolved `typeId` populated by the backend.
|
|
20
|
-
* Returns an empty array on error (error is logged internally).
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* // Single query — connections between two concepts
|
|
24
|
-
* const results = await GetConnectionsBetweenApi([
|
|
25
|
-
* buildFetchConnection({ ofTheConceptId: 103927382, toTheConceptId: 103927389, type: "the_project_s_page" })
|
|
26
|
-
* ]);
|
|
27
|
-
* console.log(results[0].connectionIds); // [18161211]
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* // Multiple queries in one request
|
|
31
|
-
* const results = await GetConnectionsBetweenApi([
|
|
32
|
-
* buildFetchConnection({ ofTheConceptId: 103927382, type: "the_project_s_page" }),
|
|
33
|
-
* buildFetchConnection({ typeId: 101490186, isComposition: true }),
|
|
34
|
-
* ]);
|
|
35
|
-
* const allIds = results.flatMap(r => r.connectionIds);
|
|
36
|
-
*
|
|
37
|
-
* @see {@link buildFetchConnection} for constructing query items without filling all defaults
|
|
38
|
-
* @see {@link FetchConnection} for the full field reference
|
|
39
|
-
*/
|
|
40
|
-
export declare function GetConnectionsBetweenApi(fetchConnections: FetchConnection[]): Promise<FetchConnection[]>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Connection } from "../../app";
|
|
2
|
-
import { GetConnectionsByTypes } from "../../DataStructures/ConnectionByType/GetConnectionByType";
|
|
3
|
-
/**
|
|
4
|
-
* Retrieves connections filtered by multiple connection type criteria.
|
|
5
|
-
* Fetches connections matching the specified type filters.
|
|
6
|
-
*
|
|
7
|
-
* @param connectionTypes - GetConnectionsByTypes object containing type filter criteria
|
|
8
|
-
* @returns Array of Connection objects matching the type filters
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const types = new GetConnectionsByTypes();
|
|
12
|
-
* types.typeIds = [1, 2, 3];
|
|
13
|
-
* const connections = await GetConnectionsByApiTypes(types);
|
|
14
|
-
*/
|
|
15
|
-
export declare function GetConnectionsByApiTypes(connectionTypes: GetConnectionsByTypes): Promise<Connection[]>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../DataStructures/Concept";
|
|
2
|
-
/**
|
|
3
|
-
* Fetches an instance concept from the backend API by its character value and type.
|
|
4
|
-
*
|
|
5
|
-
* @param characterValue - The character value of the concept, such as a URL or identifier.
|
|
6
|
-
* @param type - The type string that qualifies the character value, such as "the_source_url".
|
|
7
|
-
* @returns The matching Concept object, or a default empty Concept if not found.
|
|
8
|
-
*/
|
|
9
|
-
export declare function GetInstanceConceptByCharacterType(characterValue: string, type: string): Promise<Concept>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fetches reserved connection IDs from the backend.
|
|
3
|
-
* Loads system-reserved connection IDs into ReservedConnectionIds cache.
|
|
4
|
-
*
|
|
5
|
-
* @returns void - Updates ReservedConnectionIds cache with reserved IDs
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* await GetReservedConnectionIds(); // Loads reserved connection IDs
|
|
9
|
-
*/
|
|
10
|
-
export declare function GetReservedConnectionIds(): Promise<void>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fetches reserved concept IDs from the backend.
|
|
3
|
-
* Loads system-reserved concept IDs into ReservedIds cache.
|
|
4
|
-
*
|
|
5
|
-
* @returns void - Updates ReservedIds cache with reserved concept IDs
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* await GetReservedIds(); // Loads reserved concept IDs
|
|
9
|
-
*/
|
|
10
|
-
export declare function GetReservedIds(): Promise<void>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieves an image by name from the cached images endpoint.
|
|
3
|
-
* Returns a readable stream for the image data.
|
|
4
|
-
*
|
|
5
|
-
* @param imageName - Name/identifier of the image to retrieve
|
|
6
|
-
* @returns Promise resolving to ReadableStream of image data, or null/undefined on error
|
|
7
|
-
* @throws Image stream on error (legacy behavior)
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* const imageStream = await GetImageApi("profile-pic-123.jpg");
|
|
11
|
-
* if (imageStream) {
|
|
12
|
-
* // Process image stream
|
|
13
|
-
* }
|
|
14
|
-
*/
|
|
15
|
-
export declare function GetImageApi(imageName: string): Promise<ReadableStream<Uint8Array> | null | undefined>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../DataStructures/Concept";
|
|
2
|
-
/**
|
|
3
|
-
* Retrieves a local concept by its character value.
|
|
4
|
-
* Fetches from backend and caches in LocalConceptsData.
|
|
5
|
-
*
|
|
6
|
-
* @param characterValue - Character value string to search for
|
|
7
|
-
* @returns Local Concept object or default local concept if not found
|
|
8
|
-
* @throws Default concept on error (legacy behavior)
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const localConcept = await GetLocalConceptByCharacterValue("the_local_person");
|
|
12
|
-
*/
|
|
13
|
-
export declare function GetLocalConceptByCharacterValue(characterValue: string): Promise<Concept>;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Authenticates a user with the backend API and obtains an access token.
|
|
3
|
-
*
|
|
4
|
-
* This is the primary authentication function that validates user credentials against the backend
|
|
5
|
-
* server and retrieves a JWT bearer token for subsequent API requests.
|
|
6
|
-
*
|
|
7
|
-
* **Authentication Flow:**
|
|
8
|
-
* 1. Sends email and password to backend login endpoint
|
|
9
|
-
* 2. Receives JWT token in response
|
|
10
|
-
* 3. Automatically stores token in TokenStorage.BearerAccessToken
|
|
11
|
-
* 4. Token is used for all subsequent authenticated API calls
|
|
12
|
-
* 5. Logs the authentication attempt for audit purposes
|
|
13
|
-
*
|
|
14
|
-
* **Features:**
|
|
15
|
-
* - Automatic token storage (no manual handling required)
|
|
16
|
-
* - Error handling and logging
|
|
17
|
-
* - Application-specific authentication
|
|
18
|
-
* - Performance and audit logging
|
|
19
|
-
*
|
|
20
|
-
* **Security Notes:**
|
|
21
|
-
* - Credentials are sent over HTTPS (ensure BaseUrl uses HTTPS)
|
|
22
|
-
* - Token is stored in memory (TokenStorage)
|
|
23
|
-
* - Token should be refreshed before expiration
|
|
24
|
-
* - Never log or expose the token in client-side code
|
|
25
|
-
*
|
|
26
|
-
* @param email - The user's email address. Must be a valid registered email.
|
|
27
|
-
* Used as the primary login identifier.
|
|
28
|
-
* @param password - The user's password. Sent to backend for verification.
|
|
29
|
-
* Should meet password complexity requirements.
|
|
30
|
-
* @param application - The application identifier for multi-tenant authentication.
|
|
31
|
-
* Defaults to "boomconsole.com". Used to scope authentication
|
|
32
|
-
* to specific applications in the system.
|
|
33
|
-
*
|
|
34
|
-
* @returns Promise resolving to the authentication result object containing:
|
|
35
|
-
* - data.token: The JWT bearer token
|
|
36
|
-
* - user information
|
|
37
|
-
* - session details
|
|
38
|
-
* Returns undefined on error
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* // Basic login
|
|
42
|
-
* const result = await LoginToBackend(
|
|
43
|
-
* "user@example.com",
|
|
44
|
-
* "securePassword123"
|
|
45
|
-
* );
|
|
46
|
-
* if (result) {
|
|
47
|
-
* console.log("Logged in successfully");
|
|
48
|
-
* console.log("Token:", result.data.token); // Now stored in TokenStorage
|
|
49
|
-
* }
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* // Login for specific application
|
|
53
|
-
* const result = await LoginToBackend(
|
|
54
|
-
* "admin@company.com",
|
|
55
|
-
* "adminPass",
|
|
56
|
-
* "admin.company.com" // Custom application
|
|
57
|
-
* );
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* // Use with other authenticated operations
|
|
61
|
-
* const loginResult = await LoginToBackend("user@example.com", "pass123");
|
|
62
|
-
* if (loginResult) {
|
|
63
|
-
* // Token is automatically available for subsequent calls
|
|
64
|
-
* const concepts = await SearchAllConcepts("", "search term", "", TokenStorage.BearerAccessToken);
|
|
65
|
-
* }
|
|
66
|
-
*
|
|
67
|
-
* @throws Does not throw but logs errors. Returns undefined on failure.
|
|
68
|
-
* Error scenarios include:
|
|
69
|
-
* - Invalid credentials (401 Unauthorized)
|
|
70
|
-
* - Network errors
|
|
71
|
-
* - Server errors (5xx)
|
|
72
|
-
* - Malformed request
|
|
73
|
-
*
|
|
74
|
-
* @see {@link Signin} for alternative sign-in function
|
|
75
|
-
* @see {@link Signup} for user registration
|
|
76
|
-
* @see {@link updateAccessToken} for manually updating the stored token
|
|
77
|
-
*/
|
|
78
|
-
export declare function LoginToBackend(email: string, password: string, application?: string): Promise<any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a name/referent association for a concept in the backend.
|
|
3
|
-
* Associates a human-readable name with a concept ID.
|
|
4
|
-
*
|
|
5
|
-
* @param newConceptId - ID of the concept to name
|
|
6
|
-
* @param referent - Human-readable name/referent string
|
|
7
|
-
* @param typeId - Type ID for the name association
|
|
8
|
-
* @param typeUserId - User ID who owns the type
|
|
9
|
-
* @returns void
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* await MakeTheNameInBackend(123, "John Doe", 5, 456);
|
|
13
|
-
*/
|
|
14
|
-
export declare function MakeTheNameInBackend(newConceptId: number, referent: string, typeId: number, typeUserId: number): Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../DataStructures/Concept";
|
|
2
|
-
/**
|
|
3
|
-
* This function is used to check the type concpet of a passed string
|
|
4
|
-
* if the text is "the_person" then the function finds the related concept
|
|
5
|
-
* @param type This is the type of the concept that needs to be created.
|
|
6
|
-
* @param userId This is the userId of the creator.
|
|
7
|
-
* @returns the concept created.
|
|
8
|
-
*/
|
|
9
|
-
export declare function MakeTheTypeConceptApi(type: string, userId: number): Promise<Concept>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { StatefulWidget } from "../../app";
|
|
2
|
-
/**
|
|
3
|
-
* Selector widget for searchable dropdown selection.
|
|
4
|
-
* Provides a UI component with search filtering and freeschema query integration.
|
|
5
|
-
*
|
|
6
|
-
* **Complex Logic**: Builds a searchable select element that queries data using
|
|
7
|
-
* FreeschemaQuery, filters results dynamically, and populates options based on
|
|
8
|
-
* nested data structures.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const selector = new Selector("person", "has_name", parentElement, "text", 10);
|
|
12
|
-
*/
|
|
13
|
-
export declare class Selector extends StatefulWidget {
|
|
14
|
-
selector: string;
|
|
15
|
-
mainType: string;
|
|
16
|
-
mainDetails: any;
|
|
17
|
-
filterType: string;
|
|
18
|
-
query: any;
|
|
19
|
-
inpage: number;
|
|
20
|
-
parentDomElement: HTMLElement;
|
|
21
|
-
constructor(mainType: string, selector: string, parentElement: HTMLElement, filterType?: string, inpage?: number);
|
|
22
|
-
before_render(): void;
|
|
23
|
-
addFilter(value: string): void;
|
|
24
|
-
after_render(): void;
|
|
25
|
-
getHtml(): string;
|
|
26
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Performs recursive search through composition hierarchy.
|
|
3
|
-
* Searches through nested compositions using linker relationships.
|
|
4
|
-
*
|
|
5
|
-
* **Complex Logic**: Constructs SearchQuery, fetches composition IDs and connections,
|
|
6
|
-
* processes internal/external connections, and builds composition objects from results.
|
|
7
|
-
*
|
|
8
|
-
* @param composition - Root composition ID to start search from (default: 0)
|
|
9
|
-
* @param listLinkers - Array of linker strings to traverse (default: [])
|
|
10
|
-
* @param textSearch - Text search filter (default: "")
|
|
11
|
-
* @param fullLinkers - Array of full linker paths (default: [])
|
|
12
|
-
* @returns Array of composition objects with connections
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* const results = await RecursiveSearchApi(123, ["has_child", "has_property"], "search text");
|
|
16
|
-
*/
|
|
17
|
-
export declare function RecursiveSearchApi(composition?: number, listLinkers?: string[], textSearch?: string, fullLinkers?: string[]): Promise<any>;
|
|
18
|
-
/**
|
|
19
|
-
* Performs recursive search returning results with internal connections.
|
|
20
|
-
* Similar to RecursiveSearchApi but uses different connection formatting.
|
|
21
|
-
*
|
|
22
|
-
* @param composition - Root composition ID to start search from (default: 0)
|
|
23
|
-
* @param listLinkers - Array of linker strings to traverse (default: [])
|
|
24
|
-
* @param textSearch - Text search filter (default: "")
|
|
25
|
-
* @returns Array of composition objects with internal connections
|
|
26
|
-
*/
|
|
27
|
-
export declare function RecursiveSearchApiWithInternalConnections(composition?: number, listLinkers?: string[], textSearch?: string): Promise<any>;
|
|
28
|
-
/**
|
|
29
|
-
* Performs recursive search returning raw API response.
|
|
30
|
-
* Returns unprocessed result with composition IDs and connection arrays.
|
|
31
|
-
*
|
|
32
|
-
* @param composition - Root composition ID (default: 0)
|
|
33
|
-
* @param listLinkers - Array of linker strings (default: [])
|
|
34
|
-
* @param textSearch - Text search filter (default: "")
|
|
35
|
-
* @param fullLinkers - Array of full linker paths (default: [])
|
|
36
|
-
* @returns Raw API response object with compositionIds, internalConnections, externalConnections
|
|
37
|
-
*/
|
|
38
|
-
export declare function RecursiveSearchApiRaw(composition?: number, listLinkers?: string[], textSearch?: string, fullLinkers?: string[]): Promise<any>;
|
|
39
|
-
/**
|
|
40
|
-
* Performs recursive search using full linker paths, returning raw response.
|
|
41
|
-
* Uses complete linker path specifications instead of partial linkers.
|
|
42
|
-
*
|
|
43
|
-
* @param composition - Root composition ID (default: 0)
|
|
44
|
-
* @param fullLinkers - Array of complete linker path strings (default: [])
|
|
45
|
-
* @param textSearch - Text search filter (default: "")
|
|
46
|
-
* @returns Raw API response object with compositionIds and connections
|
|
47
|
-
*/
|
|
48
|
-
export declare function RecursiveSearchApiRawFullLinker(composition?: number, fullLinkers?: string[], textSearch?: string): Promise<any>;
|
|
49
|
-
/**
|
|
50
|
-
* New version of recursive search with full linker paths.
|
|
51
|
-
* Alternative implementation of RecursiveSearchApiRawFullLinker.
|
|
52
|
-
*
|
|
53
|
-
* @param composition - Root composition ID (default: 0)
|
|
54
|
-
* @param fullLinkers - Array of complete linker path strings (default: [])
|
|
55
|
-
* @param textSearch - Text search filter (default: "")
|
|
56
|
-
* @returns Raw API response object with compositionIds and connections
|
|
57
|
-
*/
|
|
58
|
-
export declare function RecursiveSearchApiNewRawFullLinker(composition?: number, fullLinkers?: string[], textSearch?: string): Promise<any>;
|
|
59
|
-
/**
|
|
60
|
-
* Performs recursive search using local data only.
|
|
61
|
-
* Placeholder for local-only search implementation.
|
|
62
|
-
*
|
|
63
|
-
* @param composition - Root composition ID
|
|
64
|
-
* @param listLinkers - Array of linker strings (default: [])
|
|
65
|
-
* @param textSearch - Text search filter (default: "")
|
|
66
|
-
*/
|
|
67
|
-
export declare function RecursiveSearchLocal(composition: number, listLinkers?: string[], textSearch?: string): Promise<void>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FreeschemaQuery } from "../../app";
|
|
2
|
-
/**
|
|
3
|
-
* Executes a freeschema query for flexible, schema-free data retrieval.
|
|
4
|
-
* Supports custom query structures with filters, pagination, and nested queries.
|
|
5
|
-
*
|
|
6
|
-
* @param query - FreeschemaQuery object containing query parameters, filters, and nested queries
|
|
7
|
-
* @param token - Authentication token (optional, defaults to empty string)
|
|
8
|
-
* @returns Query results array or empty array on error
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const results = await FreeschemaQueryApi({
|
|
12
|
-
* type: "person",
|
|
13
|
-
* filters: [{ field: "name", operator: "like", value: "John" }],
|
|
14
|
-
* inpage: 10,
|
|
15
|
-
* page: 1
|
|
16
|
-
* }, "auth-token");
|
|
17
|
-
*/
|
|
18
|
-
export declare function FreeschemaQueryApi(query: FreeschemaQuery, token?: string): Promise<any>;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Searches for concepts matching specified criteria with pagination support.
|
|
3
|
-
*
|
|
4
|
-
* This is the primary search function for querying concepts in the system. It performs a
|
|
5
|
-
* backend API search with multiple filter parameters and returns paginated results.
|
|
6
|
-
*
|
|
7
|
-
* **Search Capabilities:**
|
|
8
|
-
* - Text-based search on concept character values
|
|
9
|
-
* - Type filtering (search within specific concept types)
|
|
10
|
-
* - Composition filtering (search within specific compositions)
|
|
11
|
-
* - Pagination support (page size and page number)
|
|
12
|
-
* - Authenticated requests (requires valid access token)
|
|
13
|
-
*
|
|
14
|
-
* **Use Cases:**
|
|
15
|
-
* - Finding concepts by name or partial text match
|
|
16
|
-
* - Filtering results by concept type (e.g., only "Person" concepts)
|
|
17
|
-
* - Searching within a specific composition context
|
|
18
|
-
* - Building paginated search UIs
|
|
19
|
-
*
|
|
20
|
-
* @param type - The type filter for the search. Can be a type name (e.g., "Person", "Document")
|
|
21
|
-
* or empty string to search all types. Used to narrow results to specific concept types.
|
|
22
|
-
* @param search - The search query string. Searches against concept character values (names/titles).
|
|
23
|
-
* Can be partial matches depending on backend implementation.
|
|
24
|
-
* @param composition - Composition context filter. Can be a composition ID or identifier to limit
|
|
25
|
-
* search scope to concepts within a specific composition. Use empty string for global search.
|
|
26
|
-
* @param token - The JWT authentication token. Required for authorized access to backend search API.
|
|
27
|
-
* Should be the BearerAccessToken from TokenStorage.
|
|
28
|
-
* @param inpage - Number of results per page. Controls page size for pagination. Defaults to 10.
|
|
29
|
-
* Must be a positive integer.
|
|
30
|
-
* @param page - The page number to retrieve (1-indexed). Defaults to 1 (first page).
|
|
31
|
-
* Use for pagination: page 1, page 2, etc.
|
|
32
|
-
*
|
|
33
|
-
* @returns Promise resolving to an array of matching Concept objects, or empty array on error/no results
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* // Simple search for all concepts containing "Alice"
|
|
37
|
-
* const results = await SearchAllConcepts(
|
|
38
|
-
* "", // all types
|
|
39
|
-
* "Alice", // search term
|
|
40
|
-
* "", // all compositions
|
|
41
|
-
* accessToken, // auth token
|
|
42
|
-
* 10, // 10 per page
|
|
43
|
-
* 1 // first page
|
|
44
|
-
* );
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* // Search for "Person" type concepts with "Smith" in name
|
|
48
|
-
* const people = await SearchAllConcepts(
|
|
49
|
-
* "Person", // only Person types
|
|
50
|
-
* "Smith", // search term
|
|
51
|
-
* "", // all compositions
|
|
52
|
-
* accessToken,
|
|
53
|
-
* 20, // 20 per page
|
|
54
|
-
* 1
|
|
55
|
-
* );
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* // Paginated search - get second page
|
|
59
|
-
* const page2 = await SearchAllConcepts(
|
|
60
|
-
* "",
|
|
61
|
-
* "Project",
|
|
62
|
-
* "",
|
|
63
|
-
* accessToken,
|
|
64
|
-
* 10,
|
|
65
|
-
* 2 // second page
|
|
66
|
-
* );
|
|
67
|
-
*
|
|
68
|
-
* @throws Returns empty array on error. Errors are logged via HandleHttpError and HandleInternalError
|
|
69
|
-
*
|
|
70
|
-
* @see {@link SearchWithLinker} for search with relationship filtering
|
|
71
|
-
* @see {@link SearchWithTypeAndLinker} for advanced search with type and linker filters
|
|
72
|
-
*/
|
|
73
|
-
export declare function SearchAllConcepts(type: string, search: string, composition: string, token: string, inpage?: number, page?: number): Promise<any>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SearchStructure } from "../../app";
|
|
2
|
-
/**
|
|
3
|
-
* Searches internal compositions with authentication using query parameters.
|
|
4
|
-
* Performs authenticated search within a composition's internal data structure.
|
|
5
|
-
*
|
|
6
|
-
* @param search - Search structure containing composition, search text, internal composition, type, pagination
|
|
7
|
-
* @param token - Authentication token (optional, defaults to empty string)
|
|
8
|
-
* @returns Array of search results or empty array on error
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const results = await SearchInternalApi({
|
|
12
|
-
* composition: 123,
|
|
13
|
-
* search: "example",
|
|
14
|
-
* internalComposition: 456,
|
|
15
|
-
* type: "text",
|
|
16
|
-
* inpage: 10,
|
|
17
|
-
* page: 1
|
|
18
|
-
* }, "auth-token");
|
|
19
|
-
*/
|
|
20
|
-
export declare function SearchInternalApi(search: SearchStructure, token?: string): Promise<any>;
|
|
21
|
-
/**
|
|
22
|
-
* Searches internal compositions without authentication.
|
|
23
|
-
* Similar to SearchInternalApi but for public/unauthenticated searches.
|
|
24
|
-
*
|
|
25
|
-
* @param search - Search structure containing composition, search text, internal composition, type, pagination
|
|
26
|
-
* @returns Array of search results or empty array on error
|
|
27
|
-
*/
|
|
28
|
-
export declare function SearchInternalAllApi(search: SearchStructure): Promise<any>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SearchQuery } from '../../DataStructures/SearchQuery';
|
|
2
|
-
/**
|
|
3
|
-
* Searches for concepts using multiple linked queries with performance tracking.
|
|
4
|
-
* Executes complex multi-criteria searches across concept relationships.
|
|
5
|
-
*
|
|
6
|
-
* @param searchQuery - Array of SearchQuery objects defining linked search criteria
|
|
7
|
-
* @param token - Authentication token (optional, defaults to empty string)
|
|
8
|
-
* @returns Array of search results or empty array on error
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const results = await SearchLinkMultipleApi([
|
|
12
|
-
* { composition: 123, linker: "has_property", value: "example" }
|
|
13
|
-
* ], "auth-token");
|
|
14
|
-
*/
|
|
15
|
-
export declare function SearchLinkMultipleApi(searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SearchQuery } from '../../DataStructures/SearchQuery';
|
|
2
|
-
/**
|
|
3
|
-
* Searches concepts using multiple linker queries with authentication.
|
|
4
|
-
* Allows complex searches by combining multiple search query conditions.
|
|
5
|
-
*
|
|
6
|
-
* @param searchQuery - Array of search query objects defining search criteria
|
|
7
|
-
* @param token - Authentication token (optional, defaults to empty string)
|
|
8
|
-
* @returns Array of matching search results or empty array on error
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const results = await SearchWithLinker([
|
|
12
|
-
* { linker: "has_name", value: "John" },
|
|
13
|
-
* { linker: "has_age", value: "30" }
|
|
14
|
-
* ], "auth-token");
|
|
15
|
-
*/
|
|
16
|
-
export declare function SearchWithLinker(searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SearchQuery, SearchStructure } from "../../app";
|
|
2
|
-
/**
|
|
3
|
-
* Searches concepts by type with additional linker query filters.
|
|
4
|
-
* Combines type-based search with linker queries for refined results.
|
|
5
|
-
*
|
|
6
|
-
* **Complex Logic**: Constructs URL with search structure parameters, then applies
|
|
7
|
-
* linker queries as POST body for multi-dimensional filtering.
|
|
8
|
-
*
|
|
9
|
-
* @param searchStructure - Structure containing search text, type, pagination, and auth flag
|
|
10
|
-
* @param searchQuery - Array of linker query objects for additional filtering
|
|
11
|
-
* @param token - Authentication token (optional, defaults to empty string)
|
|
12
|
-
* @returns Array of concepts matching both type and linker criteria, or empty array on error
|
|
13
|
-
*/
|
|
14
|
-
export declare function SearchWithTypeAndLinkerApi(searchStructure: SearchStructure, searchQuery: SearchQuery[], token?: string): Promise<any>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../DataStructures/Concept";
|
|
2
|
-
/**
|
|
3
|
-
* Retrieves a concept by character value with category filtering.
|
|
4
|
-
* Fetches concept matching character and adds type information.
|
|
5
|
-
*
|
|
6
|
-
* @param characterValue - Character value string to search for
|
|
7
|
-
* @returns Concept object or default concept if not found
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* const concept = await GetConceptByCharacterAndCategoryApi("the_person");
|
|
11
|
-
*/
|
|
12
|
-
export declare function GetConceptByCharacterAndCategoryApi(characterValue: string): Promise<Concept | undefined>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Concept } from "./../../DataStructures/Concept";
|
|
2
|
-
/**
|
|
3
|
-
* Retrieves a concept by character value and specific category ID.
|
|
4
|
-
* Direct API call with explicit category filtering.
|
|
5
|
-
*
|
|
6
|
-
* @param characterValue - Character value string to search for
|
|
7
|
-
* @param category_id - Category ID to filter by
|
|
8
|
-
* @returns Promise resolving to Concept object or default concept if not found
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* const concept = await GetConceptByCharacterAndCategoryDirectApi("the_person", 5);
|
|
12
|
-
*/
|
|
13
|
-
export declare function GetConceptByCharacterAndCategoryDirectApi(characterValue: string, category_id: number): Promise<Concept>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../app";
|
|
2
|
-
/**
|
|
3
|
-
* Retrieves type concepts for multiple character values in bulk.
|
|
4
|
-
* Optimizes fetching by batching character lookups in one request.
|
|
5
|
-
*
|
|
6
|
-
* **Complex Logic**: First fetches concept IDs for all character strings,
|
|
7
|
-
* then bulk-fetches the full concept objects.
|
|
8
|
-
*
|
|
9
|
-
* @param characters - Array of character value strings
|
|
10
|
-
* @returns Array of Concept objects matching the character values
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* const concepts = await GetTypeConceptByBulk(["the_person", "the_place", "the_thing"]);
|
|
14
|
-
*/
|
|
15
|
-
export declare function GetTypeConceptByBulk(characters: string[]): Promise<Concept[]>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SessionData } from "../../app";
|
|
2
|
-
/**
|
|
3
|
-
* Creates a new session for tracking user activity.
|
|
4
|
-
* Records session metadata including user agent, IP, and timestamp.
|
|
5
|
-
*
|
|
6
|
-
* @param sessionData - SessionData object containing session information
|
|
7
|
-
* @returns Session object with generated ID, or null on error
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* const session = await CreateSession({
|
|
11
|
-
* userAgent: navigator.userAgent,
|
|
12
|
-
* ipAddress: "192.168.1.1",
|
|
13
|
-
* userId: 123
|
|
14
|
-
* });
|
|
15
|
-
*/
|
|
16
|
-
export declare function CreateSession(sessionData: SessionData): Promise<any>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records a URL visit within an existing session.
|
|
3
|
-
* Tracks page navigation and user journey through the application.
|
|
4
|
-
*
|
|
5
|
-
* @param sessionId - ID of the session to associate the visit with
|
|
6
|
-
* @param url - URL being visited
|
|
7
|
-
* @returns Session visit object or null on error
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* await CreateSessionVisit(456, "/dashboard/profile");
|
|
11
|
-
*/
|
|
12
|
-
export declare function CreateSessionVisit(sessionId: number, url: string): Promise<any>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { FreeschemaResponse } from "../DataStructures/Responses/StandardResponses";
|
|
2
|
-
import { SigninModel } from "../DataStructures/SigninModel";
|
|
3
|
-
/**
|
|
4
|
-
* Alternative sign-in function using SigninModel structure.
|
|
5
|
-
*
|
|
6
|
-
* Similar to LoginToBackend but returns FreeschemaResponse format and
|
|
7
|
-
* does NOT automatically store the token. You must manually handle the token.
|
|
8
|
-
*
|
|
9
|
-
* @param signinInfo - SigninModel object containing email and password
|
|
10
|
-
* @returns FreeschemaResponse with {status, statusCode, message, data} structure
|
|
11
|
-
* data contains user information and token (not auto-stored)
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* const result = await Signin({
|
|
15
|
-
* email: "user@example.com",
|
|
16
|
-
* password: "password123"
|
|
17
|
-
* });
|
|
18
|
-
* if (result.status) {
|
|
19
|
-
* const token = result.data.token; // Manual token handling required
|
|
20
|
-
* }
|
|
21
|
-
*
|
|
22
|
-
* @see {@link LoginToBackend} for auto-token-storage version
|
|
23
|
-
*/
|
|
24
|
-
export default function Signin(signinInfo: SigninModel): Promise<FreeschemaResponse | undefined>;
|