mftsccs-node 0.2.6 → 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/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
- package/dist/main.bundle.js +0 -2
- package/dist/main.bundle.js.LICENSE.txt +0 -1
- package/dist/serviceWorker.bundle.js +0 -2
- 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/CreateTheGhostConceptApi.d.ts +0 -3
- package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +0 -2
- package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +0 -1
- package/dist/types/Api/DeleteConnectionBulkApi.d.ts +0 -1
- package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +0 -3
- package/dist/types/Api/Images/GetImages.d.ts +0 -1
- package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +0 -2
- package/dist/types/Api/Prototype/CreatePrototype.d.ts +0 -2
- package/dist/types/Api/Prototype/Selector.d.ts +0 -15
- package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +0 -2
- package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +0 -2
- package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +0 -2
- package/dist/types/Constants/AccessConstants.d.ts +0 -3
- 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/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/NodePrimitive.d.ts +0 -15
- package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +0 -4
- package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +0 -11
- package/dist/types/DataStructures/Local/LocalId.d.ts +0 -19
- 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/TypeLibrary.d.ts +0 -19
- package/dist/types/DataStructures/TypeNode.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/Database/IndexUpdate.d.ts +0 -47
- package/dist/types/Middleware/ApplicationMonitor.d.ts +0 -14
- package/dist/types/Middleware/ErrorHandling.d.ts +0 -0
- 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/AccessControl/AccessControl.d.ts +0 -218
- package/dist/types/Services/Common/DelayFunction.d.ts +0 -7
- package/dist/types/Services/Common/MergeArrays.d.ts +0 -7
- package/dist/types/Services/Common/RemoveAllChild.d.ts +0 -1
- package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +0 -2
- package/dist/types/Services/DeleteConnectionByType.d.ts +0 -22
- package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +0 -11
- package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +0 -2
- package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +0 -2
- package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +0 -3
- package/dist/types/Services/Local/DeleteConceptLocal.d.ts +0 -1
- package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +0 -2
- package/dist/types/Services/Local/GetRelationLocal.d.ts +0 -1
- package/dist/types/Services/Local/GetTheConceptLocal.d.ts +0 -9
- package/dist/types/Services/Logs/LogEvent.d.ts +0 -1
- package/dist/types/Services/Mail.d.ts +0 -18
- package/dist/types/Services/Transaction/LocalTransaction.d.ts +0 -45
- package/dist/types/Services/Upload.d.ts +0 -33
- package/dist/types/Services/User/UserFromLocalStorage.d.ts +0 -6
- 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/Visualize/index.d.ts +0 -0
- package/dist/types/Widgets/BaseObserver.d.ts +0 -22
- package/dist/types/Widgets/BaseWidget.d.ts +0 -24
- package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +0 -2
- package/dist/types/Widgets/BuilderStatefulWidget.d.ts +0 -42
- package/dist/types/Widgets/CacheWidget.service.d.ts +0 -17
- package/dist/types/Widgets/NormalizeStyles.service.d.ts +0 -1
- package/dist/types/Widgets/RenderPage.service.d.ts +0 -12
- package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +0 -14
- package/dist/types/Widgets/RenderWidgetService.d.ts +0 -50
- package/dist/types/Widgets/StatefulWidget.d.ts +0 -102
- package/dist/types/Widgets/WidgetBuild.d.ts +0 -4
- package/dist/types/Widgets/WidgetTree.d.ts +0 -29
- package/dist/types/Widgets/mainView.class.d.ts +0 -6
- package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +0 -73
- package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +0 -19
- package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +0 -13
- package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +0 -28
- package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +0 -32
- package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +0 -37
- package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +0 -15
- package/dist/types/prototype/getPrototype.service.d.ts +0 -2
- package/dist/types/prototype/prototype.service.d.ts +0 -25
- package/dist/types/service-worker.d.ts +0 -1
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
export declare class Logger {
|
|
2
|
-
private static isLoggerActive;
|
|
3
|
-
private static lastCheck;
|
|
4
|
-
private static checkInterval;
|
|
5
|
-
private static logLevel;
|
|
6
|
-
private static packageLogsData;
|
|
7
|
-
private static applicationLogsData;
|
|
8
|
-
private static readonly LOG_LEVELS;
|
|
9
|
-
private static readonly SYNC_INTERVAL_MS;
|
|
10
|
-
private static nextSyncTime;
|
|
11
|
-
private static appLogs;
|
|
12
|
-
private static mftsccsBrowser;
|
|
13
|
-
static logApplicationActivationStatus: boolean;
|
|
14
|
-
static logPackageActivationStatus: boolean;
|
|
15
|
-
private static autoSyncInterval;
|
|
16
|
-
/**
|
|
17
|
-
* Automatically starts the auto-sync mechanism.
|
|
18
|
-
* This is private and does not need external interaction.
|
|
19
|
-
*/
|
|
20
|
-
private static startAutoSync;
|
|
21
|
-
/**
|
|
22
|
-
* Automatically stops the auto-sync mechanism when required.
|
|
23
|
-
*/
|
|
24
|
-
private static stopAutoSync;
|
|
25
|
-
/**
|
|
26
|
-
* Set the log level (e.g., "DEBUG", "INFO", "WARNING", "ERROR").
|
|
27
|
-
*/
|
|
28
|
-
static setLogLevel(level: string): void;
|
|
29
|
-
/**
|
|
30
|
-
* Determines whether the current log level permits the given level to be logged.
|
|
31
|
-
*/
|
|
32
|
-
private static shouldLog;
|
|
33
|
-
/**
|
|
34
|
-
* Logs a message with optional additional structured data.
|
|
35
|
-
*/
|
|
36
|
-
static formatLogData(level: string, message: string, data?: LogData): any;
|
|
37
|
-
static log(level: 'INFO' | 'ERROR' | 'DEBUG' | 'WARNING', message: string, data?: any | null): void;
|
|
38
|
-
/**
|
|
39
|
-
* Updates log data with execution details.
|
|
40
|
-
* @param logData The log data object to be updated.
|
|
41
|
-
*/
|
|
42
|
-
static logUpdate(logData: LogData): {} | undefined;
|
|
43
|
-
static logfunction(myFunction: string, ...args: any[]): any;
|
|
44
|
-
static logError(startTime: number, userId: string | number, operationType?: "read" | "create" | "update" | "delete" | "search", requestFrom?: string, requestIP?: string, responseStatus?: number, responseData?: any, functionName?: string, functionParameters?: any[], userAgent?: string, conceptsUsed?: string[]): void;
|
|
45
|
-
static logApplication(level: string, message: string, data?: any): void;
|
|
46
|
-
static checkLoggerServerStatus(): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* Helper method to send logs to the server.
|
|
49
|
-
*/
|
|
50
|
-
static sendApplicationLogsToServer(): Promise<void>;
|
|
51
|
-
static sendPackageLogsToServer(): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Helper method to save logs to localStorage.
|
|
54
|
-
*/
|
|
55
|
-
private static saveLogToLocalStorage;
|
|
56
|
-
private static clearLogsFromLocalStorage;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Represents the structure of log data used for application monitoring and anomaly detection.
|
|
60
|
-
*/
|
|
61
|
-
export interface LogData {
|
|
62
|
-
/**
|
|
63
|
-
* The userId of the request
|
|
64
|
-
*/
|
|
65
|
-
userId?: string | Number;
|
|
66
|
-
/**
|
|
67
|
-
* The type of operation performed (e.g., create, read, update, delete).
|
|
68
|
-
* @example "create"
|
|
69
|
-
*/
|
|
70
|
-
operationType?: 'create' | 'read' | 'update' | 'delete' | 'search';
|
|
71
|
-
/**
|
|
72
|
-
* The origin of the request (e.g., browser, API client).
|
|
73
|
-
* @example "Browser"
|
|
74
|
-
*/
|
|
75
|
-
requestFrom?: string;
|
|
76
|
-
/**
|
|
77
|
-
* The IP address of the client making the request.
|
|
78
|
-
* @example "192.168.1.1"
|
|
79
|
-
*/
|
|
80
|
-
requestIP?: string;
|
|
81
|
-
/**
|
|
82
|
-
* The HTTP status code of the request.
|
|
83
|
-
* @example "200", "404", "500"
|
|
84
|
-
*/
|
|
85
|
-
responseStatus?: string | Number;
|
|
86
|
-
/**
|
|
87
|
-
* The time taken to execute the function.
|
|
88
|
-
* @example "150ms"
|
|
89
|
-
*/
|
|
90
|
-
responseTime?: string;
|
|
91
|
-
/**
|
|
92
|
-
* The start and end time
|
|
93
|
-
*/
|
|
94
|
-
startTime: number;
|
|
95
|
-
endTime?: number;
|
|
96
|
-
/**
|
|
97
|
-
* The size of the response payload.
|
|
98
|
-
* @example "15KB", "1.2MB"
|
|
99
|
-
*/
|
|
100
|
-
responseSize?: string;
|
|
101
|
-
/**
|
|
102
|
-
* The Session Id
|
|
103
|
-
*/
|
|
104
|
-
sessionId?: string | number;
|
|
105
|
-
/**
|
|
106
|
-
* The name of the function being logged.
|
|
107
|
-
* @example "fetchUserData"
|
|
108
|
-
*/
|
|
109
|
-
functionName?: string;
|
|
110
|
-
applicationId?: number;
|
|
111
|
-
/**
|
|
112
|
-
* The error return
|
|
113
|
-
* @example function could not execute
|
|
114
|
-
*/
|
|
115
|
-
errorMessage?: string;
|
|
116
|
-
/**
|
|
117
|
-
* The parameters used in the function.
|
|
118
|
-
* This should include all inputs to the function.
|
|
119
|
-
* @example [ "userId", "concept" ]
|
|
120
|
-
*/
|
|
121
|
-
functionParameters?: any[];
|
|
122
|
-
/**
|
|
123
|
-
* The user agent details for the request.
|
|
124
|
-
* This includes information such as the browser or device making the request.
|
|
125
|
-
* @example "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
|
|
126
|
-
*/
|
|
127
|
-
userAgent?: string;
|
|
128
|
-
/**
|
|
129
|
-
* A list of concepts (features or modules) used during the function execution.
|
|
130
|
-
* @example [105292435 , 105292431 ]
|
|
131
|
-
*/
|
|
132
|
-
conceptsUsed?: string[];
|
|
133
|
-
/**
|
|
134
|
-
* Service worker
|
|
135
|
-
* @example boolean
|
|
136
|
-
*/
|
|
137
|
-
serviceWorker?: boolean;
|
|
138
|
-
}
|
|
139
|
-
/**getCookie
|
|
140
|
-
*
|
|
141
|
-
* @param cname The name of the cookie
|
|
142
|
-
* @returns Cookie value
|
|
143
|
-
*/
|
|
144
|
-
export declare function getCookie(cname: string): string | null;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InnerActions } from "../../app";
|
|
2
|
-
export { getActions } from '../actions/getActions';
|
|
3
|
-
export { searchActions } from '../actions/searchActions';
|
|
4
|
-
export { createActions } from '../actions/createActions';
|
|
5
|
-
export { updateActions } from '../actions/updateActions';
|
|
6
|
-
export { connectionActions } from '../actions/connectionActions';
|
|
7
|
-
export { deleteActions } from '../actions/deleteActions';
|
|
8
|
-
export { syncActions } from '../actions/syncActions';
|
|
9
|
-
export interface Actions {
|
|
10
|
-
[key: string]: (payload: any) => Promise<{
|
|
11
|
-
success: boolean;
|
|
12
|
-
data?: any;
|
|
13
|
-
actions?: InnerActions;
|
|
14
|
-
}>;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Method to handle message event in service worker
|
|
3
|
-
* @param event any
|
|
4
|
-
* @returns Promise<void>
|
|
5
|
-
*/
|
|
6
|
-
export declare function handleMessageEvent(event: any): Promise<void>;
|
|
7
|
-
/**
|
|
8
|
-
* Method to check and inform main thread if sw is not initialized
|
|
9
|
-
* @returns boolean
|
|
10
|
-
*/
|
|
11
|
-
export declare const checkSWInitialization: () => boolean;
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Service for managing access control operations.
|
|
3
|
-
* Provides methods to assign, revoke, and query access for concepts, entities, and users.
|
|
4
|
-
*/
|
|
5
|
-
export declare class AccessControlService {
|
|
6
|
-
/**
|
|
7
|
-
* Assigns access to a specific entity for a concept.
|
|
8
|
-
* @param request - AddAccessByEntityRequest
|
|
9
|
-
*/
|
|
10
|
-
static assignAccessToEntity(request: {
|
|
11
|
-
conceptId: number;
|
|
12
|
-
access: string;
|
|
13
|
-
entityId: number;
|
|
14
|
-
makePublic: boolean;
|
|
15
|
-
nestedAccessLevel?: number;
|
|
16
|
-
}): Promise<any>;
|
|
17
|
-
/**
|
|
18
|
-
* Assigns public access to a concept or list of concepts.
|
|
19
|
-
* @param request - AddPublicAccessToConcept
|
|
20
|
-
*/
|
|
21
|
-
static assignPublicAccess(request: {
|
|
22
|
-
conceptId: number;
|
|
23
|
-
conceptIdList?: number[];
|
|
24
|
-
accessList: string[];
|
|
25
|
-
nestedAccessLevel?: number;
|
|
26
|
-
}): Promise<any>;
|
|
27
|
-
/**
|
|
28
|
-
* Assigns public access to multiple concepts in bulk.
|
|
29
|
-
* @param request - AddPublicAccessToConcept
|
|
30
|
-
*/
|
|
31
|
-
static assignPublicAccessBlukConcept(request: {
|
|
32
|
-
conceptId: number;
|
|
33
|
-
conceptIdList?: number[];
|
|
34
|
-
accessList: string[];
|
|
35
|
-
nestedAccessLevel?: number;
|
|
36
|
-
}): Promise<any>;
|
|
37
|
-
/**
|
|
38
|
-
* Assigns access to multiple entities and concepts in bulk.
|
|
39
|
-
* @param request - AddAccessByEntityBulkRequest
|
|
40
|
-
*/
|
|
41
|
-
static assignAccessToEntityBulk(request: {
|
|
42
|
-
conceptId: number;
|
|
43
|
-
conceptIdList?: number[];
|
|
44
|
-
entityIdList?: number[];
|
|
45
|
-
accessList?: string[];
|
|
46
|
-
nestedAccessLevel?: number;
|
|
47
|
-
}): Promise<any>;
|
|
48
|
-
/**
|
|
49
|
-
* Assigns access to a user for a concept.
|
|
50
|
-
* @param request - AddAccessByUserRequest
|
|
51
|
-
*/
|
|
52
|
-
static assignAccessByUser(request: {
|
|
53
|
-
conceptId: number;
|
|
54
|
-
access: string;
|
|
55
|
-
userId: number;
|
|
56
|
-
makePublic: boolean;
|
|
57
|
-
}): Promise<any>;
|
|
58
|
-
/**
|
|
59
|
-
* Revokes access for an entity from a concept.
|
|
60
|
-
* @param params - conceptId, access, entityId
|
|
61
|
-
*/
|
|
62
|
-
static revokeAccess(params: {
|
|
63
|
-
conceptId: number;
|
|
64
|
-
access: string;
|
|
65
|
-
entityId: number;
|
|
66
|
-
}): Promise<any>;
|
|
67
|
-
/**
|
|
68
|
-
* Revokes access for multiple entities in bulk.
|
|
69
|
-
* @param request - AddAccessByEntityBulkRequest
|
|
70
|
-
*/
|
|
71
|
-
static revokeAccessBulk(request: {
|
|
72
|
-
conceptId: number;
|
|
73
|
-
conceptIdList?: number[];
|
|
74
|
-
entityIdList?: number[];
|
|
75
|
-
accessList?: string[];
|
|
76
|
-
nestedAccessLevel?: number;
|
|
77
|
-
}): Promise<any>;
|
|
78
|
-
/**
|
|
79
|
-
* Gets the access list for a concept and user.
|
|
80
|
-
*/
|
|
81
|
-
static getAccessList(conceptId: number, userId: number): Promise<any>;
|
|
82
|
-
/**
|
|
83
|
-
* Gets the public access list for a list of concept IDs.
|
|
84
|
-
*/
|
|
85
|
-
static getPublicAccessList(conceptIdList: number[]): Promise<any>;
|
|
86
|
-
/**
|
|
87
|
-
* Revokes public access for a concept.
|
|
88
|
-
* @param request - AddPublicAccessToConcept
|
|
89
|
-
*/
|
|
90
|
-
static revokePublicAccess(request: {
|
|
91
|
-
conceptId: number;
|
|
92
|
-
conceptIdList?: number[];
|
|
93
|
-
accessList: string[];
|
|
94
|
-
nestedAccessLevel?: number;
|
|
95
|
-
}): Promise<any>;
|
|
96
|
-
/**
|
|
97
|
-
* Checks if an entity has a specific permission for a concept.
|
|
98
|
-
*/
|
|
99
|
-
static checkAccess(params: {
|
|
100
|
-
conceptId: number;
|
|
101
|
-
permission: string;
|
|
102
|
-
entityId: number;
|
|
103
|
-
}): Promise<any>;
|
|
104
|
-
/**
|
|
105
|
-
* Checks if a user has a specific access for a concept.
|
|
106
|
-
* @param request - AddAccessByUserRequest
|
|
107
|
-
*/
|
|
108
|
-
static checkAccessByUser(request: {
|
|
109
|
-
conceptId: number;
|
|
110
|
-
access: string;
|
|
111
|
-
userId: number;
|
|
112
|
-
makePublic?: boolean;
|
|
113
|
-
}): Promise<any>;
|
|
114
|
-
/**
|
|
115
|
-
* Filters concepts by access for a user.
|
|
116
|
-
* @param request - CheckAccessBulk
|
|
117
|
-
*/
|
|
118
|
-
static filterConceptsByAccess(request: {
|
|
119
|
-
conceptIdList?: number[];
|
|
120
|
-
connectionIdList?: number[];
|
|
121
|
-
access: string;
|
|
122
|
-
userId: number;
|
|
123
|
-
}): Promise<any>;
|
|
124
|
-
/**
|
|
125
|
-
* Checks access for a user on multiple concepts in bulk.
|
|
126
|
-
* @param request - CheckAccessBulk
|
|
127
|
-
*/
|
|
128
|
-
static checkAccessOfConceptBulk(request: {
|
|
129
|
-
conceptIdList?: number[];
|
|
130
|
-
connectionIdList?: number[];
|
|
131
|
-
access: string;
|
|
132
|
-
userId: number;
|
|
133
|
-
}): Promise<any>;
|
|
134
|
-
/**
|
|
135
|
-
* Gets entities with a specific access for a concept.
|
|
136
|
-
*/
|
|
137
|
-
static getEntitiesByAccess(conceptId: number, access: string): Promise<any>;
|
|
138
|
-
/**
|
|
139
|
-
* Gets all entities with any access for a concept.
|
|
140
|
-
*/
|
|
141
|
-
static getEntitiesWithAccess(conceptId: number): Promise<any>;
|
|
142
|
-
/**
|
|
143
|
-
* Gets access groups by entity.
|
|
144
|
-
*/
|
|
145
|
-
static getAccessGroupByEntity(entityId?: number): Promise<any>;
|
|
146
|
-
/**
|
|
147
|
-
* Gets access groups by user.
|
|
148
|
-
*/
|
|
149
|
-
static getAccessGroupByUser(userId?: number): Promise<any>;
|
|
150
|
-
/**
|
|
151
|
-
* Gets public access by access IDs.
|
|
152
|
-
*/
|
|
153
|
-
static getPublicAccessByAccessIds(accessIdList: number[]): Promise<any>;
|
|
154
|
-
/**
|
|
155
|
-
* Gets the full access mapping for public users.
|
|
156
|
-
*/
|
|
157
|
-
static getFullAccessMappingForPublic(): Promise<any>;
|
|
158
|
-
/**
|
|
159
|
-
* Assigns public access for all users.
|
|
160
|
-
*/
|
|
161
|
-
static assignPublicAccessForAllUser(): Promise<any>;
|
|
162
|
-
/**
|
|
163
|
-
* Assigns access by connection type for users.
|
|
164
|
-
*/
|
|
165
|
-
static assignAccessByConncetionTypeOfUser(): Promise<any>;
|
|
166
|
-
/**
|
|
167
|
-
* Sets access inheritance for a concept.
|
|
168
|
-
* @param request - AccessInheritanceRequest
|
|
169
|
-
*/
|
|
170
|
-
static setAccessInheritance(request: {
|
|
171
|
-
mainConceptId: number;
|
|
172
|
-
connectionTypeId: number;
|
|
173
|
-
enable: boolean;
|
|
174
|
-
}): Promise<any>;
|
|
175
|
-
/**
|
|
176
|
-
* Sets access inheritance for multiple concepts in bulk.
|
|
177
|
-
* @param request - BulkAccessInheritanceRequest
|
|
178
|
-
*/
|
|
179
|
-
static setAccessInheritanceBulk(request: {
|
|
180
|
-
items: Array<{
|
|
181
|
-
mainConceptId: number;
|
|
182
|
-
connectionTypeIds: number[];
|
|
183
|
-
}>;
|
|
184
|
-
enable: boolean;
|
|
185
|
-
}): Promise<any>;
|
|
186
|
-
/**
|
|
187
|
-
* Gets the status of access inheritance for a concept.
|
|
188
|
-
*/
|
|
189
|
-
static getAccessInheritanceStatus(mainConceptId: number, connectionTypeId?: number): Promise<any>;
|
|
190
|
-
/**
|
|
191
|
-
* Gets the access matrix for a given access ID.
|
|
192
|
-
*/
|
|
193
|
-
static getAccessMatrix(accessId: number): Promise<any>;
|
|
194
|
-
/**
|
|
195
|
-
* Assigns super admin access.
|
|
196
|
-
* @param request - SuperAdminRequest
|
|
197
|
-
*/
|
|
198
|
-
static assignSuperAdminAccess(request: {
|
|
199
|
-
entityConceptId: number;
|
|
200
|
-
}): Promise<any>;
|
|
201
|
-
/**
|
|
202
|
-
* Revokes super admin access.
|
|
203
|
-
* @param request - SuperAdminRequest
|
|
204
|
-
*/
|
|
205
|
-
static revokeSuperAdminAccess(request: {
|
|
206
|
-
entityConceptId: number;
|
|
207
|
-
}): Promise<any>;
|
|
208
|
-
/**
|
|
209
|
-
* Gets super admin access info for an entity concept.
|
|
210
|
-
*/
|
|
211
|
-
static getSuperAdminAccess(entityConceptId: number): Promise<any>;
|
|
212
|
-
static isSuperAdmin(entityConceptId: number): Promise<any>;
|
|
213
|
-
private static get baseUrl();
|
|
214
|
-
private static _get;
|
|
215
|
-
private static _post;
|
|
216
|
-
private static _delete;
|
|
217
|
-
}
|
|
218
|
-
export default AccessControlService;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param ms The time required to wait before executing this function
|
|
4
|
-
* @param callback This is the function that needs to be executed
|
|
5
|
-
* @returns returns a promise for the resolve
|
|
6
|
-
*/
|
|
7
|
-
export declare function DelayFunctionExecution(ms: number, callback: any): Promise<unknown>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function removeAllChildren(parent: HTMLElement): void;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param id
|
|
4
|
-
* @param linker
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare function DeleteConnectionByType(id: number, linker: string): Promise<any>;
|
|
8
|
-
export declare function DeleteConnectionByTypeBulk(id: number, linkers: string[]): Promise<any>;
|
|
9
|
-
/**
|
|
10
|
-
* This function returns all the connections from the ofTheConceptId and connection type
|
|
11
|
-
* @param id ofTheConceptId
|
|
12
|
-
* @param linker the connection type
|
|
13
|
-
* @returns Array of connections
|
|
14
|
-
*/
|
|
15
|
-
export declare function GetAllTheConnectionsByTypeAndOfTheConcept(id: number, linker: string, reverse?: boolean): Promise<any>;
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param id
|
|
19
|
-
* @param linker
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
export declare function DeleteConnectionsByTypeLocal(id: number, linkerStrings: string[]): Promise<any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../app";
|
|
2
|
-
/**
|
|
3
|
-
* This function will give you all the connections between two concepts by their linker or fullLinker
|
|
4
|
-
* @param ofTheConcept start of the connecction
|
|
5
|
-
* @param toTheConcept end of the connection
|
|
6
|
-
* @param linker the primitive linkers with type connection (16) these are the old type of linkers (if you want full linker then put this as empty string)
|
|
7
|
-
* @param fullLinker fullLinker is the modern linker (if you want linker then put this as empty string)
|
|
8
|
-
* @param forward if you want to get the forward relation in the primitive linker put true else for backward linker false.
|
|
9
|
-
* @returns list of connections
|
|
10
|
-
*/
|
|
11
|
-
export declare function GetConnectionBetweenTwoConceptsLinker(ofTheConcept: Concept, toTheConcept: Concept, linker: string, fullLinker: string, forward?: boolean): Promise<any>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Concept } from "../../app";
|
|
2
|
-
import { InnerActions } from "../../Constants/general.const";
|
|
3
|
-
export declare function CreateConnectionBetweenTwoConceptsLocal(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean, actions?: InnerActions): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function DeleteConceptLocal(id: number): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function GetRelationLocal(id: number, relation: string, userId: number): Promise<any>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function converts any local/ virtual or real concept id to a LConcept.
|
|
3
|
-
* In case that the id is virtual then it tries to find it from the local memory. This will return -ve id.
|
|
4
|
-
* In case that the virtual id has already been synced to the backend then it gets this from the relational binary tree(LocalGhostIdTree). This will return +ve id.
|
|
5
|
-
* In case that we pass real id then this will return real concept but formatted in LConcept form. This might have undefined ghostId.
|
|
6
|
-
* @param id the id that you want to find out the concept of. This could be a negative (virtual id ) or a real concept id.
|
|
7
|
-
* @returns LConcept with either (-ve or +ve id)
|
|
8
|
-
*/
|
|
9
|
-
export declare function GetTheConceptLocal(id: number): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function LogEvent(EventName: string, EventDescription: string, event: any): void;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface EmailBody {
|
|
2
|
-
toAddress: string;
|
|
3
|
-
heading: string;
|
|
4
|
-
body?: string;
|
|
5
|
-
attachments?: Array<string>;
|
|
6
|
-
}
|
|
7
|
-
export interface BulkEmailBody extends Omit<EmailBody, 'toAddress'> {
|
|
8
|
-
toAddress?: string;
|
|
9
|
-
ccAddresses: Array<string>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Method to send Email to user
|
|
13
|
-
* @param body FormData | EmailBody
|
|
14
|
-
* @param token string
|
|
15
|
-
* @param bulk boolean
|
|
16
|
-
* @returns JSON | string | null
|
|
17
|
-
*/
|
|
18
|
-
export declare const sendEmail: (body: FormData | EmailBody | BulkEmailBody, token: string, bulk?: boolean) => Promise<any>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Concept, InnerActions } from "../../app";
|
|
2
|
-
export declare class LocalTransaction {
|
|
3
|
-
protected transactionId: string;
|
|
4
|
-
actions: InnerActions;
|
|
5
|
-
protected success: boolean;
|
|
6
|
-
constructor();
|
|
7
|
-
/**
|
|
8
|
-
* Method to initialize the transactions for specified transaction
|
|
9
|
-
*/
|
|
10
|
-
initialize(): Promise<void>;
|
|
11
|
-
/**
|
|
12
|
-
* Method to commi the created Transactions
|
|
13
|
-
*/
|
|
14
|
-
commitTransaction(): Promise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Method to commi the created Transactions
|
|
17
|
-
*/
|
|
18
|
-
commitTransactionWithoutAuth(): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Method to rollback all the tranctions occured
|
|
21
|
-
*/
|
|
22
|
-
rollbackTransaction(): Promise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* Method to move concepts and connection to transaction collection
|
|
25
|
-
* @param concept Concept
|
|
26
|
-
*/
|
|
27
|
-
protected markAction(): Promise<void>;
|
|
28
|
-
/**
|
|
29
|
-
* Concepts
|
|
30
|
-
*/
|
|
31
|
-
MakeTheInstanceConceptLocal(type: string, referent: string, composition: boolean | undefined, userId: number, accessId: number, sessionInformationId?: number, referentId?: number): Promise<any>;
|
|
32
|
-
MakeTheTypeConceptLocal(typeString: string, sessionId: number, sessionUserId: number, userId: number): Promise<Concept>;
|
|
33
|
-
CreateTheConceptLocal(referent: string, typecharacter: string, userId: number, categoryId: number, typeId: number, accessId: number, isComposition?: boolean, referentId?: number | null, actions?: InnerActions): Promise<any>;
|
|
34
|
-
/**
|
|
35
|
-
* Connections
|
|
36
|
-
*/
|
|
37
|
-
CreateConnectionBetweenTwoConceptsLocal(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean): Promise<any>;
|
|
38
|
-
CreateTheConnectionLocal(ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId?: number, typeString?: string, userId?: number): Promise<any>;
|
|
39
|
-
CreateConnection(ofTheConcept: Concept, toTheConcept: Concept, connectionTypeString: string): Promise<any>;
|
|
40
|
-
CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string): Promise<any>;
|
|
41
|
-
/**
|
|
42
|
-
* Compositions
|
|
43
|
-
*/
|
|
44
|
-
CreateTheCompositionLocal(json: any, ofTheConceptId?: number | null, ofTheConceptUserId?: number | null, mainKey?: number | null, userId?: number | null, accessId?: number | null, sessionInformationId?: number | null, automaticSync?: boolean): Promise<any>;
|
|
45
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const validImageFormats: string[];
|
|
2
|
-
export declare const validDocumentFormats: string[];
|
|
3
|
-
/**
|
|
4
|
-
* Generic method to upload file or image
|
|
5
|
-
* @param file File
|
|
6
|
-
* @returns Promise<{message: string, success: boolean, url?: string}>
|
|
7
|
-
*/
|
|
8
|
-
export declare function uploadAttachment(file: File, token?: string): Promise<{
|
|
9
|
-
message: string;
|
|
10
|
-
success: boolean;
|
|
11
|
-
url?: string;
|
|
12
|
-
}>;
|
|
13
|
-
/**
|
|
14
|
-
* Method to upload image to server
|
|
15
|
-
* @param body FormData
|
|
16
|
-
* @param token string?
|
|
17
|
-
* @returns JSON | string | null
|
|
18
|
-
*/
|
|
19
|
-
export declare function uploadImage(body: FormData, token?: string): Promise<any>;
|
|
20
|
-
/**
|
|
21
|
-
* Method to upload image to server
|
|
22
|
-
* @param body FormData
|
|
23
|
-
* @param token string?
|
|
24
|
-
* @returns JSON | string | null
|
|
25
|
-
*/
|
|
26
|
-
export declare function uploadImageV2(body: FormData, token?: string): Promise<any>;
|
|
27
|
-
/**
|
|
28
|
-
* Method to upload file to server
|
|
29
|
-
* @param body FormData
|
|
30
|
-
* @param token string?
|
|
31
|
-
* @returns JSON | string | null
|
|
32
|
-
*/
|
|
33
|
-
export declare function uploadFile(body: FormData, token?: string): Promise<any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param url this is the url of the image that you have. This image will be cached in the cache server
|
|
4
|
-
* @param format this is the format it can be either normal , small, by default it is normal
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare function GetFreeschemaImage(url: string, format?: string): Promise<any>;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param url this is the url of the image that you have. This image will be cached in the cache server
|
|
11
|
-
* @param format this is the format it can be either normal , small, by default it is normal
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare function GetFreeschemaImageUrl(url: string, format?: string): string;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Concept, InnerActions } from "../../app";
|
|
2
|
-
export declare function CreateData(json: any, ofConcept?: Concept | null, typeConcept?: string, actions?: InnerActions): Promise<any>;
|
|
3
|
-
export declare function removePrefix(key: string): string;
|
|
4
|
-
export declare function addPrefix(key: string): string;
|
|
5
|
-
export declare function addArrayPrefix(key: string): string;
|
|
6
|
-
export declare function removeArrayPrefix(key: string): string;
|
|
7
|
-
export declare function createTypeString(typeConceptString: string, key: any): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function requestNextCacheServer(requestData: any, url: string): Promise<Response>;
|