mftsccs-browser 2.1.238-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.
Files changed (274) hide show
  1. package/dist/main.bundle.js +43918 -2
  2. package/dist/main.bundle.js.map +1 -0
  3. package/dist/serviceWorker.bundle.js +44844 -2
  4. package/dist/serviceWorker.bundle.js.map +1 -0
  5. package/package.json +4 -1
  6. package/dist/main.bundle.js.LICENSE.txt +0 -1
  7. package/dist/serviceWorker.bundle.js.LICENSE.txt +0 -1
  8. package/dist/types/AccessTracker/accessTracker.d.ts +0 -67
  9. package/dist/types/Anomaly/anomaly.d.ts +0 -103
  10. package/dist/types/Api/Create/CreateTheCharacter.d.ts +0 -24
  11. package/dist/types/Api/Create/CreateTheConceptApi.d.ts +0 -20
  12. package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +0 -18
  13. package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +0 -28
  14. package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +0 -18
  15. package/dist/types/Api/Create/CreateTheTextData.d.ts +0 -18
  16. package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +0 -14
  17. package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +0 -19
  18. package/dist/types/Api/DeleteConnectionBulkApi.d.ts +0 -20
  19. package/dist/types/Api/DeleteTheConcept.d.ts +0 -20
  20. package/dist/types/Api/DeleteTheConnection.d.ts +0 -20
  21. package/dist/types/Api/GetAiData.d.ts +0 -10
  22. package/dist/types/Api/GetAllConceptsByType.d.ts +0 -12
  23. package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +0 -23
  24. package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +0 -23
  25. package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +0 -12
  26. package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +0 -12
  27. package/dist/types/Api/GetCharacterDataByCharacter.d.ts +0 -12
  28. package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +0 -13
  29. package/dist/types/Api/GetConcept.d.ts +0 -6
  30. package/dist/types/Api/GetConceptBulk.d.ts +0 -20
  31. package/dist/types/Api/GetConceptByCharacterAndType.d.ts +0 -15
  32. package/dist/types/Api/GetConceptByCharacterValue.d.ts +0 -12
  33. package/dist/types/Api/GetConnection.d.ts +0 -15
  34. package/dist/types/Api/GetConnectionBulk.d.ts +0 -7
  35. package/dist/types/Api/GetConnectionOfTheConcept.d.ts +0 -15
  36. package/dist/types/Api/GetConnectionToTheConcept.d.ts +0 -17
  37. package/dist/types/Api/GetConnections/GetConnectionsBetweenApi.d.ts +0 -40
  38. package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +0 -15
  39. package/dist/types/Api/GetInstanceConceptByCharacterType.d.ts +0 -9
  40. package/dist/types/Api/GetReservedConnectionIds.d.ts +0 -10
  41. package/dist/types/Api/GetReservedIds.d.ts +0 -10
  42. package/dist/types/Api/Images/GetImages.d.ts +0 -15
  43. package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +0 -13
  44. package/dist/types/Api/Login.d.ts +0 -78
  45. package/dist/types/Api/MakeTheNameInBackend.d.ts +0 -14
  46. package/dist/types/Api/MakeTheTypeConceptApi.d.ts +0 -9
  47. package/dist/types/Api/Prototype/Selector.d.ts +0 -26
  48. package/dist/types/Api/RecursiveSearch.d.ts +0 -67
  49. package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +0 -18
  50. package/dist/types/Api/Search/Search.d.ts +0 -73
  51. package/dist/types/Api/Search/SearchInternalApi.d.ts +0 -28
  52. package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +0 -15
  53. package/dist/types/Api/Search/SearchWithLinker.d.ts +0 -16
  54. package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +0 -14
  55. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +0 -12
  56. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +0 -13
  57. package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +0 -15
  58. package/dist/types/Api/Session/CreateSession.d.ts +0 -16
  59. package/dist/types/Api/Session/CreateSessionVisit.d.ts +0 -12
  60. package/dist/types/Api/Signin.d.ts +0 -24
  61. package/dist/types/Api/Signup.d.ts +0 -61
  62. package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +0 -12
  63. package/dist/types/Api/View/ViewInternalDataApi.d.ts +0 -15
  64. package/dist/types/Constants/AccessConstants.d.ts +0 -3
  65. package/dist/types/Constants/ApiConstants.d.ts +0 -23
  66. package/dist/types/Constants/FormatConstants.d.ts +0 -8
  67. package/dist/types/Constants/ckeditorCSS.d.ts +0 -1
  68. package/dist/types/Constants/general.const.d.ts +0 -6
  69. package/dist/types/Constants/page.const.d.ts +0 -5
  70. package/dist/types/DataStructures/BaseUrl.d.ts +0 -89
  71. package/dist/types/DataStructures/BinaryCharacterTree.d.ts +0 -16
  72. package/dist/types/DataStructures/BinaryTree.d.ts +0 -77
  73. package/dist/types/DataStructures/BinaryTypeTree.d.ts +0 -17
  74. package/dist/types/DataStructures/CharacterRepository.d.ts +0 -8
  75. package/dist/types/DataStructures/Composition/Composition.d.ts +0 -14
  76. package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +0 -10
  77. package/dist/types/DataStructures/Composition/CompositionNode.d.ts +0 -21
  78. package/dist/types/DataStructures/Concept.d.ts +0 -25
  79. package/dist/types/DataStructures/ConceptData.d.ts +0 -30
  80. package/dist/types/DataStructures/ConceptsToDraw.d.ts +0 -11
  81. package/dist/types/DataStructures/Connection.d.ts +0 -23
  82. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +0 -81
  83. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +0 -27
  84. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +0 -10
  85. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +0 -24
  86. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +0 -10
  87. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +0 -20
  88. package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +0 -15
  89. package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +0 -4
  90. package/dist/types/DataStructures/ConnectionData.d.ts +0 -26
  91. package/dist/types/DataStructures/Count/CountInfo.d.ts +0 -6
  92. package/dist/types/DataStructures/FetchConnection.d.ts +0 -64
  93. package/dist/types/DataStructures/FilterSearch.d.ts +0 -9
  94. package/dist/types/DataStructures/IdentifierFlags.d.ts +0 -11
  95. package/dist/types/DataStructures/Local/LConcept.d.ts +0 -23
  96. package/dist/types/DataStructures/Local/LConnection.d.ts +0 -18
  97. package/dist/types/DataStructures/Local/LNode.d.ts +0 -29
  98. package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +0 -13
  99. package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +0 -13
  100. package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +0 -13
  101. package/dist/types/DataStructures/Local/LocalConceptData.d.ts +0 -21
  102. package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +0 -20
  103. package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +0 -11
  104. package/dist/types/DataStructures/Local/LocalId.d.ts +0 -19
  105. package/dist/types/DataStructures/Local/LocalSyncData.d.ts +0 -33
  106. package/dist/types/DataStructures/Node.d.ts +0 -30
  107. package/dist/types/DataStructures/PatcherStructure.d.ts +0 -8
  108. package/dist/types/DataStructures/Prototype/Prototype.d.ts +0 -19
  109. package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +0 -4
  110. package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +0 -4
  111. package/dist/types/DataStructures/ReservedIds.d.ts +0 -10
  112. package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +0 -74
  113. package/dist/types/DataStructures/Responses/StandardResponses.d.ts +0 -6
  114. package/dist/types/DataStructures/Returner.d.ts +0 -7
  115. package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +0 -25
  116. package/dist/types/DataStructures/Search/SearchStructure.d.ts +0 -10
  117. package/dist/types/DataStructures/SearchQuery.d.ts +0 -17
  118. package/dist/types/DataStructures/Security/SecureStorage.d.ts +0 -14
  119. package/dist/types/DataStructures/Security/TokenStorage.d.ts +0 -24
  120. package/dist/types/DataStructures/Session/SessionData.d.ts +0 -13
  121. package/dist/types/DataStructures/SettingData.d.ts +0 -5
  122. package/dist/types/DataStructures/Settings.d.ts +0 -4
  123. package/dist/types/DataStructures/SigninModel.d.ts +0 -4
  124. package/dist/types/DataStructures/SignupModel.d.ts +0 -4
  125. package/dist/types/DataStructures/SyncData.d.ts +0 -14
  126. package/dist/types/DataStructures/TheCharacter.d.ts +0 -13
  127. package/dist/types/DataStructures/TheTexts.d.ts +0 -14
  128. package/dist/types/DataStructures/TypeLibrary.d.ts +0 -19
  129. package/dist/types/DataStructures/TypeNode.d.ts +0 -18
  130. package/dist/types/DataStructures/User/UserBinaryTree.d.ts +0 -13
  131. package/dist/types/DataStructures/User/UserNode.d.ts +0 -18
  132. package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +0 -10
  133. package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +0 -9
  134. package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +0 -18
  135. package/dist/types/DataStructures/environments/environments.d.ts +0 -48
  136. package/dist/types/Database/CacheDatabase.d.ts +0 -57
  137. package/dist/types/Database/IndexUpdate.d.ts +0 -47
  138. package/dist/types/Database/NoIndexDb.d.ts +0 -9
  139. package/dist/types/Database/indexdblocal.d.ts +0 -43
  140. package/dist/types/Database/indexeddb.d.ts +0 -58
  141. package/dist/types/Helpers/CheckIfExists.d.ts +0 -9
  142. package/dist/types/Helpers/RemoveFromArray.d.ts +0 -5
  143. package/dist/types/Helpers/UniqueInsert.d.ts +0 -1
  144. package/dist/types/Middleware/ApplicationMonitor.d.ts +0 -14
  145. package/dist/types/Middleware/logger.service.d.ts +0 -144
  146. package/dist/types/ServiceWorker/actions/connectionActions.d.ts +0 -2
  147. package/dist/types/ServiceWorker/actions/createActions.d.ts +0 -2
  148. package/dist/types/ServiceWorker/actions/deleteActions.d.ts +0 -2
  149. package/dist/types/ServiceWorker/actions/getActions.d.ts +0 -2
  150. package/dist/types/ServiceWorker/actions/index.d.ts +0 -15
  151. package/dist/types/ServiceWorker/actions/searchActions.d.ts +0 -2
  152. package/dist/types/ServiceWorker/actions/syncActions.d.ts +0 -2
  153. package/dist/types/ServiceWorker/actions/updateActions.d.ts +0 -2
  154. package/dist/types/ServiceWorker/index.d.ts +0 -11
  155. package/dist/types/Services/CacheClear.d.ts +0 -7
  156. package/dist/types/Services/CheckForConnectionDeletion.d.ts +0 -3
  157. package/dist/types/Services/Common/DecodeCountInfo.d.ts +0 -3
  158. package/dist/types/Services/Common/DelayFunction.d.ts +0 -7
  159. package/dist/types/Services/Common/ErrorPosting.d.ts +0 -10
  160. package/dist/types/Services/Common/MergeArrays.d.ts +0 -7
  161. package/dist/types/Services/Common/RegexFunction.d.ts +0 -1
  162. package/dist/types/Services/Common/RemoveAllChild.d.ts +0 -1
  163. package/dist/types/Services/Composition/BuildComposition.d.ts +0 -3
  164. package/dist/types/Services/Composition/CompositionCache.d.ts +0 -4
  165. package/dist/types/Services/Composition/CreateCompositionCache.d.ts +0 -3
  166. package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +0 -5
  167. package/dist/types/Services/Conversion/ConvertConcepts.d.ts +0 -5
  168. package/dist/types/Services/CreateBinaryTreeFromData.d.ts +0 -5
  169. package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +0 -2
  170. package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +0 -5
  171. package/dist/types/Services/CreateDefaultConcept.d.ts +0 -3
  172. package/dist/types/Services/CreateTheComposition.d.ts +0 -1
  173. package/dist/types/Services/CreateTheConcept.d.ts +0 -122
  174. package/dist/types/Services/CreateTheConnection.d.ts +0 -63
  175. package/dist/types/Services/CreateTheConnectionGeneral.d.ts +0 -2
  176. package/dist/types/Services/DeleteConcept.d.ts +0 -2
  177. package/dist/types/Services/DeleteConnection.d.ts +0 -2
  178. package/dist/types/Services/DeleteConnectionByType.d.ts +0 -22
  179. package/dist/types/Services/FindConeceptsFromConnection.d.ts +0 -6
  180. package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +0 -1
  181. package/dist/types/Services/GetComposition.d.ts +0 -205
  182. package/dist/types/Services/GetCompositionBulk.d.ts +0 -100
  183. package/dist/types/Services/GetCompositionList.d.ts +0 -7
  184. package/dist/types/Services/GetConceptByCharacter.d.ts +0 -2
  185. package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +0 -11
  186. package/dist/types/Services/GetConnections.d.ts +0 -1
  187. package/dist/types/Services/GetDataFromIndexDb.d.ts +0 -2
  188. package/dist/types/Services/GetLink.d.ts +0 -3
  189. package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +0 -3
  190. package/dist/types/Services/GetRelation.d.ts +0 -3
  191. package/dist/types/Services/GetTheConcept.d.ts +0 -96
  192. package/dist/types/Services/InitializeSystem.d.ts +0 -2
  193. package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +0 -41
  194. package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +0 -47
  195. package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +0 -44
  196. package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +0 -46
  197. package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +0 -34
  198. package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +0 -104
  199. package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +0 -84
  200. package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +0 -140
  201. package/dist/types/Services/Local/DeleteConceptLocal.d.ts +0 -47
  202. package/dist/types/Services/Local/GetCompositionListLocal.d.ts +0 -37
  203. package/dist/types/Services/Local/GetCompositionLocal.d.ts +0 -97
  204. package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +0 -56
  205. package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +0 -19
  206. package/dist/types/Services/Local/GetRelationLocal.d.ts +0 -21
  207. package/dist/types/Services/Local/GetTheConceptLocal.d.ts +0 -63
  208. package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +0 -22
  209. package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +0 -164
  210. package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +0 -36
  211. package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +0 -42
  212. package/dist/types/Services/Logs/LogEvent.d.ts +0 -1
  213. package/dist/types/Services/Mail.d.ts +0 -18
  214. package/dist/types/Services/MakeTheCharacter.d.ts +0 -2
  215. package/dist/types/Services/MakeTheCharacterData.d.ts +0 -2
  216. package/dist/types/Services/MakeTheConcept.d.ts +0 -2
  217. package/dist/types/Services/MakeTheInstanceConcept.d.ts +0 -15
  218. package/dist/types/Services/MakeTheTimestamp.d.ts +0 -1
  219. package/dist/types/Services/MakeTheTypeConcept.d.ts +0 -1
  220. package/dist/types/Services/Mqtt/publishMessage.d.ts +0 -1
  221. package/dist/types/Services/Search/DataIdFormat.d.ts +0 -32
  222. package/dist/types/Services/Search/FormatData.d.ts +0 -36
  223. package/dist/types/Services/Search/JustIdFormat.d.ts +0 -23
  224. package/dist/types/Services/Search/NewFormat.d.ts +0 -4
  225. package/dist/types/Services/Search/SearchLinkInternal.d.ts +0 -3
  226. package/dist/types/Services/Search/SearchLinkMultiple.d.ts +0 -55
  227. package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +0 -82
  228. package/dist/types/Services/Search/orderingConnections.d.ts +0 -2
  229. package/dist/types/Services/Security/GetRequestHeader.d.ts +0 -6
  230. package/dist/types/Services/SplitStrings.d.ts +0 -1
  231. package/dist/types/Services/Transaction/LocalTransaction.d.ts +0 -117
  232. package/dist/types/Services/UpdateComposition.d.ts +0 -2
  233. package/dist/types/Services/Upload.d.ts +0 -34
  234. package/dist/types/Services/User/UserFromLocalStorage.d.ts +0 -10
  235. package/dist/types/Services/User/UserTranslation.d.ts +0 -3
  236. package/dist/types/Services/View/ViewInternalData.d.ts +0 -1
  237. package/dist/types/Services/assets/GetImageService.d.ts +0 -14
  238. package/dist/types/Services/automated/automated-concept-connection.d.ts +0 -7
  239. package/dist/types/Services/cacheService.d.ts +0 -1
  240. package/dist/types/Validator/constant.d.ts +0 -3
  241. package/dist/types/Validator/interface.d.ts +0 -19
  242. package/dist/types/Validator/utils.d.ts +0 -7
  243. package/dist/types/Validator/validator.d.ts +0 -37
  244. package/dist/types/Visualize/ConceptCircle.d.ts +0 -35
  245. package/dist/types/Visualize/ConceptCircleList.d.ts +0 -9
  246. package/dist/types/Visualize/ConnectionLine.d.ts +0 -21
  247. package/dist/types/Visualize/ConnectionLineList.d.ts +0 -6
  248. package/dist/types/Visualize/drawExistingConcepts.d.ts +0 -8
  249. package/dist/types/Visualize/helper.d.ts +0 -15
  250. package/dist/types/Widgets/BaseObserver.d.ts +0 -25
  251. package/dist/types/Widgets/BaseWidget.d.ts +0 -37
  252. package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +0 -11
  253. package/dist/types/Widgets/BuilderStatefulWidget.d.ts +0 -392
  254. package/dist/types/Widgets/CacheWidget.service.d.ts +0 -77
  255. package/dist/types/Widgets/NormalizeStyles.service.d.ts +0 -10
  256. package/dist/types/Widgets/RenderPage.service.d.ts +0 -17
  257. package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +0 -22
  258. package/dist/types/Widgets/RenderWidgetService.d.ts +0 -187
  259. package/dist/types/Widgets/StatefulWidget.d.ts +0 -167
  260. package/dist/types/Widgets/WidgetBuild.d.ts +0 -45
  261. package/dist/types/Widgets/WidgetCacheManager.d.ts +0 -108
  262. package/dist/types/Widgets/WidgetTree.d.ts +0 -61
  263. package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +0 -95
  264. package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +0 -51
  265. package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +0 -35
  266. package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +0 -57
  267. package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +0 -50
  268. package/dist/types/WrapperFunctions/QueryCacheManager.d.ts +0 -107
  269. package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +0 -55
  270. package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +0 -60
  271. package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +0 -36
  272. package/dist/types/app.d.ts +0 -377
  273. package/dist/types/prototype/prototype.service.d.ts +0 -25
  274. 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,2 +0,0 @@
1
- import { Actions } from ".";
2
- export declare const connectionActions: Actions;
@@ -1,2 +0,0 @@
1
- import { Actions } from ".";
2
- export declare const createActions: Actions;
@@ -1,2 +0,0 @@
1
- import { Actions } from ".";
2
- export declare const deleteActions: Actions;
@@ -1,2 +0,0 @@
1
- import { Actions } from ".";
2
- export declare const getActions: Actions;
@@ -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,2 +0,0 @@
1
- import { Actions } from ".";
2
- export declare const searchActions: Actions;
@@ -1,2 +0,0 @@
1
- import { Actions } from ".";
2
- export declare const syncActions: Actions;
@@ -1,2 +0,0 @@
1
- import { Actions } from ".";
2
- export declare const updateActions: Actions;
@@ -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,7 +0,0 @@
1
- /**
2
- * Clears all application caches (both in-memory and IndexedDB).
3
- *
4
- * Call this on user logout or when you need to force-refresh all cached data.
5
- * Clears widget caches (standard, latest, recent) and query caches.
6
- */
7
- export declare function clearAllCaches(): void;
@@ -1,3 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- export declare function CheckForConnectionDeletion(newConnections?: Connection[], oldConnections?: Connection[]): void;
3
- export declare function CheckForConnectionDeletionWithIds(newConnectionIds?: number[], oldConnections?: Connection[]): void;
@@ -1,3 +0,0 @@
1
- import { CountInfo } from "../../DataStructures/Count/CountInfo";
2
- export declare function DecodeCountInfo(countStrings?: string[]): CountInfo[];
3
- export declare function GetConnectionTypeForCount(countInfos: CountInfo[]): Promise<any>;
@@ -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,10 +0,0 @@
1
- export declare function HandleHttpError(response: Response): void;
2
- export declare function HandleHttpErrorObject(response: Response, output?: any): void;
3
- export declare function HandleInternalError(error: any, url?: string): void;
4
- /**
5
- * Handle errors inside package functions
6
- * @updateLog existing function log at start
7
- * @param functionName name of the function that encountered the error
8
- * @param error error appeared
9
- */
10
- export declare function UpdatePackageLogWithError(logData: any, functionName: string, error: any): void;
@@ -1,7 +0,0 @@
1
- /**
2
- *
3
- * @param array1 The array you want to merge into
4
- * @param array2 The array you want to merge
5
- * @returns array1 with the elements of array 2
6
- */
7
- export declare function MergeTwoArrays(array1: any, array2: any): any;
@@ -1 +0,0 @@
1
- export declare function removeThePrefix(inputString: string): string;
@@ -1 +0,0 @@
1
- export declare function removeAllChildren(parent: HTMLElement): void;
@@ -1,3 +0,0 @@
1
- import { Connection } from '../../DataStructures/Connection';
2
- import { Concept } from '../../DataStructures/Concept';
3
- export declare function recursiveFetchNew(id: number, connectionList: Connection[], conceptList: Concept[], compositionList: number[], visitedConcepts?: number[]): Promise<any>;
@@ -1,4 +0,0 @@
1
- import { Connection } from '../../DataStructures/Connection';
2
- export declare function GetCompositionWithCache(id: number, connectionListPassed?: Connection[]): Promise<any>;
3
- export declare function GetCompositionWithDataIdWithCache(id: number, connectionListPassed?: Connection[]): Promise<any>;
4
- export declare function GetCompositionWithDataIdBulk(ids: number[], connections: number[]): Promise<any[]>;
@@ -1,3 +0,0 @@
1
- import { Concept } from '../../DataStructures/Concept';
2
- import { Composition } from '../../DataStructures/Composition/Composition';
3
- export declare function CreateTheCompositionWithCache(json: any, ofTheConceptId?: number | null, ofTheConceptUserId?: number | null, mainKey?: number | null, userId?: number | null, accessId?: number | null, sessionInformationId?: number | null, composition?: Composition | null): Promise<Concept>;
@@ -1,5 +0,0 @@
1
- import { Concept } from "../../app";
2
- export declare function GetConceptByCharacterAndCategory(character: string): Promise<Concept>;
3
- export declare function GetTypeConceptsByCharacterAndCategoryBulk(typeConcepts: string[]): Promise<Concept[]>;
4
- export declare function GetConceptByCharacter(characterValue: string): Promise<Concept>;
5
- export declare function GetConceptByCharacterAndCategoryFromMemory(character: string, category: number): Promise<Concept>;
@@ -1,5 +0,0 @@
1
- import { Concept } from "../../DataStructures/Concept";
2
- import { Connection } from "../../DataStructures/Connection";
3
- export declare function convertFromConceptToLConcept(concept: Concept): Concept;
4
- export declare function convertFromLConceptToConcept(lconcept: Concept): Concept;
5
- export declare function convertFromConnectionToLConnection(connection: Connection): Connection;
@@ -1,5 +0,0 @@
1
- /**
2
- * This function builds up the binary tree on startup from the indexdb.
3
- * Processes records in chunks to avoid blocking the main thread.
4
- */
5
- export default function CreateConceptBinaryTreeFromIndexDb(): Promise<void>;
@@ -1,2 +0,0 @@
1
- import { Concept, InnerActions } from "../../app";
2
- export declare function CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string, actions?: InnerActions): Promise<any>;
@@ -1,5 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- import { Connection } from "../DataStructures/Connection";
3
- export declare function CreateConnectionBetweenTwoConcepts(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean, count?: boolean): Promise<any>;
4
- export declare function CountRelationship(linker: string, concept: Concept, passedUserId?: number | null): Promise<void>;
5
- export declare function CreateConnectionBetweenTwoConceptsGeneral(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean, count?: boolean): Promise<Connection>;
@@ -1,3 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- export declare function CreateDefaultConcept(): Concept;
3
- export declare function formatDate(date: Date): string;
@@ -1 +0,0 @@
1
- export default function CreateTheComposition(json: any, ofTheConceptId?: number | null, ofTheConceptUserId?: number | null, mainKey?: number | null, userId?: number | null, accessId?: number | null, sessionInformationId?: number | null): Promise<any>;
@@ -1,122 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- /**
3
- * Creates a new concept and adds it to the sync queue for backend synchronization.
4
- *
5
- * This is the primary function for creating concepts in the system. The concept is:
6
- * - Assigned a unique ID from the reserved ID pool
7
- * - Marked as non-temporary (persisted)
8
- * - Added to the SyncData queue for automatic backend synchronization
9
- * - Cached locally in IndexedDB for offline access
10
- *
11
- * @param {string} referent - The character value (text/name) of the concept. This is the human-readable
12
- * representation of the concept (e.g., "John Doe", "Project Alpha")
13
- * @param {number} userId - The ID of the user creating this concept. Used for ownership and access control.
14
- * @param {number} categoryId - The category classification ID. Used for further classification within a type
15
- * (e.g., for TYPE_PERSON: 1=Employee, 2=Contractor, 3=Customer)
16
- * @param {number} typeId - The type classification ID. Defines what kind of concept this is
17
- * (e.g., 1=Person, 2=Organization, 3=Document)
18
- * @param {number} referentId - Optional reference to another concept ID. Used for creating instances
19
- * that reference a type concept. Can be 0 or null if not applicable.
20
- * @param {number} accessId - Access control level for the concept. Determines who can view/edit
21
- * (e.g., 1=Public, 2=Private, 3=Shared, 4=Admin)
22
- * @param {string} typeCharacter - The string representation of the type name (e.g., "Person", "Document").
23
- * Used for display and filtering purposes.
24
- *
25
- * @returns {Promise<Concept>} A promise that resolves to the newly created Concept object with all properties set.
26
- *
27
- * @example
28
- * // Create a person concept
29
- * const person = await CreateTheConcept(
30
- * "Alice Smith", // name
31
- * 101, // userId
32
- * 1, // categoryId (Employee)
33
- * 1, // typeId (Person)
34
- * 0, // referentId (none)
35
- * 2, // accessId (Private)
36
- * "Person" // typeCharacter
37
- * );
38
- * console.log(person.id); // 12345
39
- *
40
- * @see {@link CreateTheConceptTemporary} for creating non-persisted temporary concepts
41
- * @see {@link CreateTheConceptImmediate} for creating concepts with immediate backend sync
42
- */
43
- export default function CreateTheConcept(referent: string, userId: number, categoryId: number, typeId: number, referentId: number, accessId: number, typeCharacter: string): Promise<Concept>;
44
- /**
45
- * Creates a temporary concept that is NOT persisted to the database or synced to the backend.
46
- *
47
- * Use this function when you need a transient concept that exists only in memory during the
48
- * current session. Temporary concepts are useful for:
49
- * - UI state management
50
- * - Draft content before finalization
51
- * - Calculations or intermediate results
52
- * - Testing without affecting the database
53
- *
54
- * Temporary concepts are marked with `isTemp = true` and will not be saved when the application
55
- * closes or refreshes. They are NOT added to the SyncData queue.
56
- *
57
- * @param referent - The character value (text/name) of the concept
58
- * @param userId - The ID of the user creating this concept
59
- * @param categoryId - The category classification ID
60
- * @param typeId - The type classification ID
61
- * @param referentId - Optional reference to another concept ID
62
- * @param accessId - Access control level for the concept
63
- * @param typeCharacter - The string representation of the type name
64
- *
65
- * @returns Promise resolving to the temporary Concept object
66
- *
67
- * @example
68
- * // Create a temporary draft note
69
- * const draftNote = await CreateTheConceptTemporary(
70
- * "Draft: Meeting Notes",
71
- * 101,
72
- * 1,
73
- * 3, // Document type
74
- * 0,
75
- * 2,
76
- * "Document"
77
- * );
78
- * console.log(draftNote.isTemp); // true
79
- *
80
- * @see {@link CreateTheConcept} for creating persistent concepts
81
- */
82
- export declare function CreateTheConceptTemporary(referent: string, userId: number, categoryId: number, typeId: number, referentId: number, accessId: number, typeCharacter: string): Promise<Concept>;
83
- /**
84
- * Creates a concept and immediately sends it to the backend API, bypassing the sync queue.
85
- *
86
- * This function is useful when you need guaranteed immediate synchronization to the backend,
87
- * such as for critical operations that must be persisted right away. Unlike the standard
88
- * CreateTheConcept, this function:
89
- * - Calls the backend API directly (CreateTheConceptApi)
90
- * - Does NOT use the SyncData queue (bypasses batch synchronization)
91
- * - Adds the concept to local ConceptsData immediately
92
- * - Marks the concept as NOT new (isNew = false)
93
- *
94
- * Use this for time-sensitive operations where you cannot wait for the next sync cycle.
95
- *
96
- * @param referent - The character value (text/name) of the concept
97
- * @param userId - The ID of the user creating this concept
98
- * @param categoryId - The category classification ID
99
- * @param typeId - The type classification ID
100
- * @param referentId - Optional reference to another concept ID (can be null)
101
- * @param accessId - Access control level for the concept
102
- * @param typeCharacter - The string representation of the type name
103
- *
104
- * @returns Promise resolving to the created Concept object
105
- *
106
- * @example
107
- * // Create a critical log entry that must be saved immediately
108
- * const logEntry = await CreateTheConceptImmediate(
109
- * "Critical Error: System Failure",
110
- * 101,
111
- * 5, // Log category
112
- * 7, // Log type
113
- * null,
114
- * 1, // Public access
115
- * "LogEntry"
116
- * );
117
- * // Concept is immediately sent to backend
118
- *
119
- * @see {@link CreateTheConcept} for standard queued creation
120
- * @see {@link CreateTheConceptApi} for the backend API call
121
- */
122
- export declare function CreateTheConceptImmediate(referent: string, userId: number, categoryId: number, typeId: number, referentId: number | null, accessId: number, typeCharacter: string): Promise<Concept>;
@@ -1,63 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- /**
3
- * Creates a connection (relationship) between two concepts and adds it to the sync queue.
4
- *
5
- * This is the primary function for establishing relationships in the knowledge graph.
6
- * Connections are directed edges that link two concepts together, representing relationships
7
- * like "works at", "belongs to", "authored by", etc.
8
- *
9
- * **Connection Structure:**
10
- * - FROM concept (ofTheConceptId) → TO concept (toTheConceptId)
11
- * - The relationship is directional
12
- * - Type ID classifies what kind of relationship it is
13
- * - Order ID allows sorting when multiple connections of the same type exist
14
- *
15
- * **Important Behaviors:**
16
- * - Connections are marked as temporary (isTemp = true) for internal compositions
17
- * - Added to SyncData queue for backend synchronization
18
- * - Assigned a random temporary ID until persisted
19
- * - Self-connections (same from/to) are prevented (returns invalid connection)
20
- * - Default access level is 4 (typically means "admin" or "restricted")
21
- *
22
- * @param ofTheConceptId - The source concept ID (start of the relationship).
23
- * This is where the connection originates FROM.
24
- * @param userId - The ID of the user creating this connection. Used for ownership and permissions.
25
- * @param toTheConceptId - The target concept ID (end of the relationship).
26
- * This is where the connection points TO.
27
- * @param typeId - The type classification for this connection. Defines the nature of the relationship.
28
- * (e.g., 5="works_at", 6="manages", 7="member_of")
29
- *
30
- * @returns The created Connection object with all properties set, including a temporary ID
31
- *
32
- * @example
33
- * // Create a "works at" relationship
34
- * const connection = createTheConnection(
35
- * aliceId, // Alice (person)
36
- * 101, // user creating this
37
- * companyId, // Tech Corp (organization)
38
- * 5 // "works at" connection type
39
- * );
40
- * // Result: Alice → works_at → Tech Corp
41
- *
42
- * @example
43
- * // Create a hierarchical relationship
44
- * const managerConnection = createTheConnection(
45
- * managerId, // Manager concept
46
- * 101, // user
47
- * employeeId, // Employee concept
48
- * 6 // "manages" connection type
49
- * );
50
- * // Result: Manager → manages → Employee
51
- *
52
- * @example
53
- * // Attempting self-connection (will return invalid connection)
54
- * const selfConn = createTheConnection(123, 101, 123, 5);
55
- * console.log(selfConn.ofTheConceptId); // 0 (invalid)
56
- * console.log(selfConn.toTheConceptId); // 1 (invalid)
57
- *
58
- * @throws Errors are caught and logged via HandleInternalError but don't prevent return
59
- *
60
- * @see {@link CreateTheConnectionGeneral} for alternative connection creation
61
- * @see {@link CreateTheConnectionApi} for direct backend API connection creation
62
- */
63
- export declare function createTheConnection(ofTheConceptId: number, userId: number, toTheConceptId: number, typeId: number): Connection;
@@ -1,2 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- export declare function CreateTheConnectionGeneral(ofTheConceptId: number, ofTheConceptUserId: number, toTheConceptId: number, typeId: number, orderId?: number, accessId?: number): Promise<Connection>;
@@ -1,2 +0,0 @@
1
- export declare function DeleteConceptById(id: number): Promise<any>;
2
- export declare function DeleteUser(id: number): Promise<any>;
@@ -1,2 +0,0 @@
1
- export declare function DeleteConnectionById(id: number): Promise<any>;
2
- export declare function DeleteConnectionByIdBulk(ids: number[]): Promise<any>;
@@ -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,6 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- /**
3
- * This function takes in a list of connections and in bulk gets the concepts that are related with these connections.
4
- * @param connectionList list of connections whose concepts need to be found out.
5
- */
6
- export declare function FindConceptsFromConnections(connectionList?: Connection[]): Promise<void>;
@@ -1 +0,0 @@
1
- export declare function FindConnectionsOfCompositionsBulkInMemory(composition_ids?: number[]): Promise<any>;