mftsccs-browser 2.1.239-dev → 2.1.240-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 (272) hide show
  1. package/dist/main.bundle.js +404 -95
  2. package/dist/main.bundle.js.map +1 -1
  3. package/dist/serviceWorker.bundle.js +398 -94
  4. package/dist/serviceWorker.bundle.js.map +1 -1
  5. package/dist/types/AccessTracker/accessTracker.d.ts +67 -0
  6. package/dist/types/Anomaly/anomaly.d.ts +103 -0
  7. package/dist/types/Api/Create/CreateTheCharacter.d.ts +24 -0
  8. package/dist/types/Api/Create/CreateTheConceptApi.d.ts +20 -0
  9. package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +18 -0
  10. package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +28 -0
  11. package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +18 -0
  12. package/dist/types/Api/Create/CreateTheTextData.d.ts +18 -0
  13. package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +14 -0
  14. package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +19 -0
  15. package/dist/types/Api/DeleteConnectionBulkApi.d.ts +20 -0
  16. package/dist/types/Api/DeleteTheConcept.d.ts +20 -0
  17. package/dist/types/Api/DeleteTheConnection.d.ts +20 -0
  18. package/dist/types/Api/GetAiData.d.ts +10 -0
  19. package/dist/types/Api/GetAllConceptsByType.d.ts +12 -0
  20. package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +23 -0
  21. package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +23 -0
  22. package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +12 -0
  23. package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +12 -0
  24. package/dist/types/Api/GetCharacterDataByCharacter.d.ts +12 -0
  25. package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +13 -0
  26. package/dist/types/Api/GetConcept.d.ts +6 -0
  27. package/dist/types/Api/GetConceptBulk.d.ts +20 -0
  28. package/dist/types/Api/GetConceptByCharacterAndType.d.ts +15 -0
  29. package/dist/types/Api/GetConceptByCharacterValue.d.ts +12 -0
  30. package/dist/types/Api/GetConnection.d.ts +15 -0
  31. package/dist/types/Api/GetConnectionBulk.d.ts +7 -0
  32. package/dist/types/Api/GetConnectionOfTheConcept.d.ts +15 -0
  33. package/dist/types/Api/GetConnectionToTheConcept.d.ts +17 -0
  34. package/dist/types/Api/GetConnections/GetConnectionsBetweenApi.d.ts +40 -0
  35. package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +15 -0
  36. package/dist/types/Api/GetInstanceConceptByCharacterType.d.ts +9 -0
  37. package/dist/types/Api/GetReservedConnectionIds.d.ts +10 -0
  38. package/dist/types/Api/GetReservedIds.d.ts +10 -0
  39. package/dist/types/Api/Images/GetImages.d.ts +15 -0
  40. package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +13 -0
  41. package/dist/types/Api/Login.d.ts +78 -0
  42. package/dist/types/Api/MakeTheNameInBackend.d.ts +14 -0
  43. package/dist/types/Api/MakeTheTypeConceptApi.d.ts +9 -0
  44. package/dist/types/Api/Prototype/Selector.d.ts +26 -0
  45. package/dist/types/Api/RecursiveSearch.d.ts +67 -0
  46. package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +18 -0
  47. package/dist/types/Api/Search/Search.d.ts +73 -0
  48. package/dist/types/Api/Search/SearchInternalApi.d.ts +28 -0
  49. package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +15 -0
  50. package/dist/types/Api/Search/SearchWithLinker.d.ts +16 -0
  51. package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +14 -0
  52. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +12 -0
  53. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +13 -0
  54. package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +15 -0
  55. package/dist/types/Api/Session/CreateSession.d.ts +16 -0
  56. package/dist/types/Api/Session/CreateSessionVisit.d.ts +12 -0
  57. package/dist/types/Api/Signin.d.ts +24 -0
  58. package/dist/types/Api/Signup.d.ts +61 -0
  59. package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +12 -0
  60. package/dist/types/Api/View/ViewInternalDataApi.d.ts +15 -0
  61. package/dist/types/Constants/AccessConstants.d.ts +3 -0
  62. package/dist/types/Constants/ApiConstants.d.ts +23 -0
  63. package/dist/types/Constants/FormatConstants.d.ts +8 -0
  64. package/dist/types/Constants/ckeditorCSS.d.ts +1 -0
  65. package/dist/types/Constants/general.const.d.ts +6 -0
  66. package/dist/types/Constants/page.const.d.ts +5 -0
  67. package/dist/types/DataStructures/BaseUrl.d.ts +94 -0
  68. package/dist/types/DataStructures/BinaryCharacterTree.d.ts +16 -0
  69. package/dist/types/DataStructures/BinaryTree.d.ts +77 -0
  70. package/dist/types/DataStructures/BinaryTypeTree.d.ts +17 -0
  71. package/dist/types/DataStructures/CharacterRepository.d.ts +8 -0
  72. package/dist/types/DataStructures/Composition/Composition.d.ts +14 -0
  73. package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +10 -0
  74. package/dist/types/DataStructures/Composition/CompositionNode.d.ts +21 -0
  75. package/dist/types/DataStructures/Concept.d.ts +25 -0
  76. package/dist/types/DataStructures/ConceptData.d.ts +30 -0
  77. package/dist/types/DataStructures/ConceptsToDraw.d.ts +11 -0
  78. package/dist/types/DataStructures/Connection.d.ts +23 -0
  79. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +81 -0
  80. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +27 -0
  81. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +10 -0
  82. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +24 -0
  83. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +10 -0
  84. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +20 -0
  85. package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +15 -0
  86. package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +4 -0
  87. package/dist/types/DataStructures/ConnectionData.d.ts +26 -0
  88. package/dist/types/DataStructures/Count/CountInfo.d.ts +6 -0
  89. package/dist/types/DataStructures/FetchConnection.d.ts +64 -0
  90. package/dist/types/DataStructures/FilterSearch.d.ts +9 -0
  91. package/dist/types/DataStructures/IdentifierFlags.d.ts +11 -0
  92. package/dist/types/DataStructures/Local/LConcept.d.ts +23 -0
  93. package/dist/types/DataStructures/Local/LConnection.d.ts +18 -0
  94. package/dist/types/DataStructures/Local/LNode.d.ts +29 -0
  95. package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +13 -0
  96. package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +13 -0
  97. package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +13 -0
  98. package/dist/types/DataStructures/Local/LocalConceptData.d.ts +21 -0
  99. package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +20 -0
  100. package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +11 -0
  101. package/dist/types/DataStructures/Local/LocalId.d.ts +19 -0
  102. package/dist/types/DataStructures/Local/LocalSyncData.d.ts +33 -0
  103. package/dist/types/DataStructures/Node.d.ts +30 -0
  104. package/dist/types/DataStructures/PatcherStructure.d.ts +8 -0
  105. package/dist/types/DataStructures/Prototype/Prototype.d.ts +19 -0
  106. package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +4 -0
  107. package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +4 -0
  108. package/dist/types/DataStructures/ReservedIds.d.ts +10 -0
  109. package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +74 -0
  110. package/dist/types/DataStructures/Responses/StandardResponses.d.ts +6 -0
  111. package/dist/types/DataStructures/Returner.d.ts +7 -0
  112. package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +25 -0
  113. package/dist/types/DataStructures/Search/SearchStructure.d.ts +10 -0
  114. package/dist/types/DataStructures/SearchQuery.d.ts +17 -0
  115. package/dist/types/DataStructures/Security/SecureStorage.d.ts +14 -0
  116. package/dist/types/DataStructures/Security/TokenStorage.d.ts +24 -0
  117. package/dist/types/DataStructures/Session/SessionData.d.ts +13 -0
  118. package/dist/types/DataStructures/SettingData.d.ts +5 -0
  119. package/dist/types/DataStructures/Settings.d.ts +4 -0
  120. package/dist/types/DataStructures/SigninModel.d.ts +4 -0
  121. package/dist/types/DataStructures/SignupModel.d.ts +4 -0
  122. package/dist/types/DataStructures/SyncData.d.ts +14 -0
  123. package/dist/types/DataStructures/TheCharacter.d.ts +13 -0
  124. package/dist/types/DataStructures/TheTexts.d.ts +14 -0
  125. package/dist/types/DataStructures/TypeLibrary.d.ts +19 -0
  126. package/dist/types/DataStructures/TypeNode.d.ts +18 -0
  127. package/dist/types/DataStructures/User/UserBinaryTree.d.ts +13 -0
  128. package/dist/types/DataStructures/User/UserNode.d.ts +18 -0
  129. package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +10 -0
  130. package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +9 -0
  131. package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +18 -0
  132. package/dist/types/DataStructures/environments/environments.d.ts +48 -0
  133. package/dist/types/Database/CacheDatabase.d.ts +57 -0
  134. package/dist/types/Database/IndexUpdate.d.ts +47 -0
  135. package/dist/types/Database/NoIndexDb.d.ts +9 -0
  136. package/dist/types/Database/indexdblocal.d.ts +43 -0
  137. package/dist/types/Database/indexeddb.d.ts +58 -0
  138. package/dist/types/Helpers/CheckIfExists.d.ts +9 -0
  139. package/dist/types/Helpers/RemoveFromArray.d.ts +5 -0
  140. package/dist/types/Helpers/UniqueInsert.d.ts +1 -0
  141. package/dist/types/Middleware/ApplicationMonitor.d.ts +14 -0
  142. package/dist/types/Middleware/logger.service.d.ts +144 -0
  143. package/dist/types/ServiceWorker/actions/connectionActions.d.ts +2 -0
  144. package/dist/types/ServiceWorker/actions/createActions.d.ts +2 -0
  145. package/dist/types/ServiceWorker/actions/deleteActions.d.ts +2 -0
  146. package/dist/types/ServiceWorker/actions/getActions.d.ts +2 -0
  147. package/dist/types/ServiceWorker/actions/index.d.ts +15 -0
  148. package/dist/types/ServiceWorker/actions/searchActions.d.ts +2 -0
  149. package/dist/types/ServiceWorker/actions/syncActions.d.ts +2 -0
  150. package/dist/types/ServiceWorker/actions/updateActions.d.ts +2 -0
  151. package/dist/types/ServiceWorker/index.d.ts +11 -0
  152. package/dist/types/Services/CacheClear.d.ts +7 -0
  153. package/dist/types/Services/CheckForConnectionDeletion.d.ts +3 -0
  154. package/dist/types/Services/Common/DecodeCountInfo.d.ts +3 -0
  155. package/dist/types/Services/Common/DelayFunction.d.ts +7 -0
  156. package/dist/types/Services/Common/ErrorPosting.d.ts +10 -0
  157. package/dist/types/Services/Common/MergeArrays.d.ts +7 -0
  158. package/dist/types/Services/Common/RegexFunction.d.ts +1 -0
  159. package/dist/types/Services/Common/RemoveAllChild.d.ts +1 -0
  160. package/dist/types/Services/Composition/BuildComposition.d.ts +3 -0
  161. package/dist/types/Services/Composition/CompositionCache.d.ts +4 -0
  162. package/dist/types/Services/Composition/CreateCompositionCache.d.ts +3 -0
  163. package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +5 -0
  164. package/dist/types/Services/Conversion/ConvertConcepts.d.ts +5 -0
  165. package/dist/types/Services/CreateBinaryTreeFromData.d.ts +5 -0
  166. package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +2 -0
  167. package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +5 -0
  168. package/dist/types/Services/CreateDefaultConcept.d.ts +3 -0
  169. package/dist/types/Services/CreateTheComposition.d.ts +1 -0
  170. package/dist/types/Services/CreateTheConcept.d.ts +122 -0
  171. package/dist/types/Services/CreateTheConnection.d.ts +63 -0
  172. package/dist/types/Services/CreateTheConnectionGeneral.d.ts +2 -0
  173. package/dist/types/Services/DeleteConcept.d.ts +2 -0
  174. package/dist/types/Services/DeleteConnection.d.ts +2 -0
  175. package/dist/types/Services/DeleteConnectionByType.d.ts +22 -0
  176. package/dist/types/Services/FindConeceptsFromConnection.d.ts +6 -0
  177. package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +1 -0
  178. package/dist/types/Services/GetComposition.d.ts +205 -0
  179. package/dist/types/Services/GetCompositionBulk.d.ts +100 -0
  180. package/dist/types/Services/GetCompositionList.d.ts +7 -0
  181. package/dist/types/Services/GetConceptByCharacter.d.ts +2 -0
  182. package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +11 -0
  183. package/dist/types/Services/GetConnections.d.ts +1 -0
  184. package/dist/types/Services/GetDataFromIndexDb.d.ts +2 -0
  185. package/dist/types/Services/GetLink.d.ts +3 -0
  186. package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +3 -0
  187. package/dist/types/Services/GetRelation.d.ts +3 -0
  188. package/dist/types/Services/GetTheConcept.d.ts +96 -0
  189. package/dist/types/Services/InitializeSystem.d.ts +2 -0
  190. package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +41 -0
  191. package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +47 -0
  192. package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +44 -0
  193. package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +46 -0
  194. package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +34 -0
  195. package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +104 -0
  196. package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +84 -0
  197. package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +140 -0
  198. package/dist/types/Services/Local/DeleteConceptLocal.d.ts +47 -0
  199. package/dist/types/Services/Local/GetCompositionListLocal.d.ts +37 -0
  200. package/dist/types/Services/Local/GetCompositionLocal.d.ts +97 -0
  201. package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +56 -0
  202. package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +19 -0
  203. package/dist/types/Services/Local/GetRelationLocal.d.ts +21 -0
  204. package/dist/types/Services/Local/GetTheConceptLocal.d.ts +63 -0
  205. package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +22 -0
  206. package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +164 -0
  207. package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +36 -0
  208. package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +42 -0
  209. package/dist/types/Services/Logs/LogEvent.d.ts +1 -0
  210. package/dist/types/Services/Mail.d.ts +41 -0
  211. package/dist/types/Services/MakeTheCharacter.d.ts +2 -0
  212. package/dist/types/Services/MakeTheCharacterData.d.ts +2 -0
  213. package/dist/types/Services/MakeTheConcept.d.ts +2 -0
  214. package/dist/types/Services/MakeTheInstanceConcept.d.ts +15 -0
  215. package/dist/types/Services/MakeTheTimestamp.d.ts +1 -0
  216. package/dist/types/Services/MakeTheTypeConcept.d.ts +1 -0
  217. package/dist/types/Services/Mqtt/publishMessage.d.ts +1 -0
  218. package/dist/types/Services/Search/DataIdFormat.d.ts +32 -0
  219. package/dist/types/Services/Search/FormatData.d.ts +36 -0
  220. package/dist/types/Services/Search/JustIdFormat.d.ts +23 -0
  221. package/dist/types/Services/Search/NewFormat.d.ts +4 -0
  222. package/dist/types/Services/Search/SearchLinkInternal.d.ts +3 -0
  223. package/dist/types/Services/Search/SearchLinkMultiple.d.ts +55 -0
  224. package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +82 -0
  225. package/dist/types/Services/Search/orderingConnections.d.ts +2 -0
  226. package/dist/types/Services/Security/GetRequestHeader.d.ts +6 -0
  227. package/dist/types/Services/SplitStrings.d.ts +1 -0
  228. package/dist/types/Services/Transaction/LocalTransaction.d.ts +117 -0
  229. package/dist/types/Services/UpdateComposition.d.ts +2 -0
  230. package/dist/types/Services/Upload.d.ts +111 -0
  231. package/dist/types/Services/User/UserFromLocalStorage.d.ts +10 -0
  232. package/dist/types/Services/User/UserTranslation.d.ts +3 -0
  233. package/dist/types/Services/View/ViewInternalData.d.ts +1 -0
  234. package/dist/types/Services/assets/GetImageService.d.ts +14 -0
  235. package/dist/types/Services/automated/automated-concept-connection.d.ts +7 -0
  236. package/dist/types/Services/cacheService.d.ts +1 -0
  237. package/dist/types/Validator/constant.d.ts +3 -0
  238. package/dist/types/Validator/interface.d.ts +19 -0
  239. package/dist/types/Validator/utils.d.ts +7 -0
  240. package/dist/types/Validator/validator.d.ts +37 -0
  241. package/dist/types/Visualize/ConceptCircle.d.ts +35 -0
  242. package/dist/types/Visualize/ConceptCircleList.d.ts +9 -0
  243. package/dist/types/Visualize/ConnectionLine.d.ts +21 -0
  244. package/dist/types/Visualize/ConnectionLineList.d.ts +6 -0
  245. package/dist/types/Visualize/drawExistingConcepts.d.ts +8 -0
  246. package/dist/types/Visualize/helper.d.ts +15 -0
  247. package/dist/types/Widgets/BaseObserver.d.ts +25 -0
  248. package/dist/types/Widgets/BaseWidget.d.ts +37 -0
  249. package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +11 -0
  250. package/dist/types/Widgets/BuilderStatefulWidget.d.ts +392 -0
  251. package/dist/types/Widgets/CacheWidget.service.d.ts +77 -0
  252. package/dist/types/Widgets/NormalizeStyles.service.d.ts +10 -0
  253. package/dist/types/Widgets/RenderPage.service.d.ts +17 -0
  254. package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +22 -0
  255. package/dist/types/Widgets/RenderWidgetService.d.ts +187 -0
  256. package/dist/types/Widgets/StatefulWidget.d.ts +167 -0
  257. package/dist/types/Widgets/WidgetBuild.d.ts +45 -0
  258. package/dist/types/Widgets/WidgetCacheManager.d.ts +108 -0
  259. package/dist/types/Widgets/WidgetTree.d.ts +61 -0
  260. package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +95 -0
  261. package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +51 -0
  262. package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +35 -0
  263. package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +57 -0
  264. package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +50 -0
  265. package/dist/types/WrapperFunctions/QueryCacheManager.d.ts +107 -0
  266. package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +55 -0
  267. package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +60 -0
  268. package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +36 -0
  269. package/dist/types/app.d.ts +381 -0
  270. package/dist/types/prototype/prototype.service.d.ts +25 -0
  271. package/dist/types/service-worker.d.ts +1 -0
  272. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const getActions: Actions;
@@ -0,0 +1,15 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const searchActions: Actions;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const syncActions: Actions;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const updateActions: Actions;
@@ -0,0 +1,11 @@
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;
@@ -0,0 +1,7 @@
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;
@@ -0,0 +1,3 @@
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;
@@ -0,0 +1,3 @@
1
+ import { CountInfo } from "../../DataStructures/Count/CountInfo";
2
+ export declare function DecodeCountInfo(countStrings?: string[]): CountInfo[];
3
+ export declare function GetConnectionTypeForCount(countInfos: CountInfo[]): Promise<any>;
@@ -0,0 +1,7 @@
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>;
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,7 @@
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;
@@ -0,0 +1 @@
1
+ export declare function removeThePrefix(inputString: string): string;
@@ -0,0 +1 @@
1
+ export declare function removeAllChildren(parent: HTMLElement): void;
@@ -0,0 +1,3 @@
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>;
@@ -0,0 +1,4 @@
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[]>;
@@ -0,0 +1,3 @@
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>;
@@ -0,0 +1,5 @@
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>;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,5 @@
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>;
@@ -0,0 +1,2 @@
1
+ import { Concept, InnerActions } from "../../app";
2
+ export declare function CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string, actions?: InnerActions): Promise<any>;
@@ -0,0 +1,5 @@
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>;
@@ -0,0 +1,3 @@
1
+ import { Concept } from "../DataStructures/Concept";
2
+ export declare function CreateDefaultConcept(): Concept;
3
+ export declare function formatDate(date: Date): string;
@@ -0,0 +1 @@
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>;
@@ -0,0 +1,122 @@
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>;
@@ -0,0 +1,63 @@
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;
@@ -0,0 +1,2 @@
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>;
@@ -0,0 +1,2 @@
1
+ export declare function DeleteConceptById(id: number): Promise<any>;
2
+ export declare function DeleteUser(id: number): Promise<any>;
@@ -0,0 +1,2 @@
1
+ export declare function DeleteConnectionById(id: number): Promise<any>;
2
+ export declare function DeleteConnectionByIdBulk(ids: number[]): Promise<any>;
@@ -0,0 +1,22 @@
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>;
@@ -0,0 +1,6 @@
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>;
@@ -0,0 +1 @@
1
+ export declare function FindConnectionsOfCompositionsBulkInMemory(composition_ids?: number[]): Promise<any>;
@@ -0,0 +1,205 @@
1
+ import { Concept } from "../DataStructures/Concept";
2
+ import { Connection } from "../DataStructures/Connection";
3
+ export declare function GetCompositionById(id: number): Promise<{
4
+ connectionList: Connection[];
5
+ compositionList: number[];
6
+ }>;
7
+ /**
8
+ * ## format JUSTDATA ##
9
+ * this function builds the composition with the main id as the point of building.
10
+ * @param id id of the main composition that you want to build
11
+ * @param connectionList list of connections
12
+ * @param compositionList list of of_the_concept_ids for all the connections.
13
+ * @returns
14
+ */
15
+ export declare function RecursiveFetchBuildLayer(id: number, connectionList: Connection[], compositionList: number[]): Promise<any>;
16
+ /**
17
+ * ## format DATAID ##
18
+ * this function builds the composition with the main id as the point of building.
19
+ * @param id id of the main composition that you want to build
20
+ * @param connectionList list of connections
21
+ * @param compositionList list of of_the_concept_ids for all the connections.
22
+ * @returns
23
+ */
24
+ export declare function RecursiveFetchBuildLayerDataId(id: number, connectionList: Connection[], compositionList: number[]): Promise<any>;
25
+ /**
26
+ * ## format Normal ##
27
+ * this function builds the composition with the main id as the point of building.
28
+ * @param id id of the main composition that you want to build
29
+ * @param connectionList list of connections
30
+ * @param compositionList list of of_the_concept_ids for all the connections.
31
+ * @returns
32
+ */
33
+ export declare function RecursiveFetchBuildLayerNormal(id: number, connectionList: Connection[], compositionList: number[]): Promise<any>;
34
+ /**
35
+ * Retrieves a complete composition structure for a given concept ID in JUSTDATA format.
36
+ *
37
+ * This is a primary composition retrieval function that builds a hierarchical structure
38
+ * containing the main concept, all its connections, and recursively fetched related concepts.
39
+ * The result is formatted as a nested object organized by concept types.
40
+ *
41
+ * **What is a Composition?**
42
+ * A composition represents a concept along with its connected relationships and sub-structures.
43
+ * Think of it as getting a "full profile" of a concept including everything connected to it.
44
+ *
45
+ * **Process:**
46
+ * 1. Fetches all connections associated with the concept
47
+ * 2. Identifies all related concept IDs from those connections
48
+ * 3. Recursively builds the composition tree
49
+ * 4. Fetches the main concept details
50
+ * 5. Organizes output by concept type (e.g., result["Person"] = {...})
51
+ * 6. Routes through service worker if enabled for better performance
52
+ *
53
+ * **Output Format (JUSTDATA):**
54
+ * Returns an object keyed by the main concept's type character value:
55
+ * ```
56
+ * {
57
+ * "Person": {
58
+ * id: 123,
59
+ * characterValue: "Alice",
60
+ * connections: [...],
61
+ * relatedConcepts: {...}
62
+ * }
63
+ * }
64
+ * ```
65
+ *
66
+ * @param id - The unique identifier of the concept for which to build the composition.
67
+ * This becomes the root of the composition tree.
68
+ *
69
+ * @returns Promise resolving to an object containing the composition data organized by
70
+ * the main concept's type. Returns empty object if concept not found or on error.
71
+ *
72
+ * @example
73
+ * // Get composition for a person concept
74
+ * const composition = await GetComposition(12345);
75
+ * console.log(composition["Person"]);
76
+ * // {
77
+ * // id: 12345,
78
+ * // characterValue: "Alice Smith",
79
+ * // connections: [... all connections],
80
+ * // Company: { ... related company data },
81
+ * // Projects: { ... related projects }
82
+ * // }
83
+ *
84
+ * @example
85
+ * // Get composition for an organization
86
+ * const orgComposition = await GetComposition(456);
87
+ * console.log(orgComposition["Organization"]);
88
+ * // Contains the organization and all connected employees, departments, etc.
89
+ *
90
+ * @example
91
+ * // Use with service worker (automatic if enabled)
92
+ * // Service worker handles the heavy lifting in background
93
+ * const result = await GetComposition(789);
94
+ *
95
+ * @see {@link GetCompositionWithId} for composition with ID and timestamp (DATAID format)
96
+ * @see {@link GetCompositionBulk} for fetching multiple compositions efficiently
97
+ * @see {@link GetCompositionWithCache} for cached composition retrieval
98
+ * @see {@link recursiveFetch} for the recursive building logic
99
+ */
100
+ export declare function GetComposition(id: number): Promise<any>;
101
+ export declare function GetCompositionWithAllIds(id: number): Promise<any>;
102
+ /**
103
+ * ### Format JUSTDATA ###
104
+ * This function just builds data from the memory.
105
+ * This is a function that takes on all the concepts and connections of the concept (as a composition ) and builds
106
+ * it into a json data.
107
+ * @param id this id is just used to get all the composition data from the concepts and connections in memory
108
+ * @returns
109
+ */
110
+ export declare function GetCompositionFromMemory(id: number): Promise<any>;
111
+ /**
112
+ * ### Format Normal ###
113
+ * This function just builds data from the memory.
114
+ * This is a function that takes on all the concepts and connections of the concept (as a composition ) and builds
115
+ * it into a json data.
116
+ * @param id this id is just used to get all the composition data from the concepts and connections in memory
117
+ * @returns
118
+ */
119
+ export declare function GetCompositionFromMemoryNormal(id: number): Promise<any>;
120
+ /**
121
+ * ### Format DATAIDDATE ####
122
+ * Gets data just from memory
123
+ * @param id
124
+ * @returns
125
+ */
126
+ export declare function GetCompositionWithIdFromMemory(id: number): Promise<any>;
127
+ /**
128
+ * ### Format Normal ####
129
+ * Gets data just from memory
130
+ * @param id
131
+ * @returns
132
+ */
133
+ export declare function GetCompositionFromMemoryWithConnections(id: number, connectionList: Connection[]): Promise<any>;
134
+ /**
135
+ * ### Format DATAIDDATE ####
136
+ * Gets data just from memory
137
+ * @param id
138
+ * @returns
139
+ */
140
+ export declare function GetCompositionWithIdFromMemoryFromConnection(id: number, connectionList: Connection[]): Promise<any>;
141
+ /**
142
+ * ### Format DATAIDDATE ####
143
+ * ### experimental ####
144
+ * This is the new format that needs to work with a single or max two loops
145
+ * @param id the id whose composition needs to be created
146
+ * @returns
147
+ */
148
+ export declare function GetCompositionWithIdFromMemoryNew(id: number): Promise<any>;
149
+ /**
150
+ * ### Format DATAIDDATE #####
151
+ * ### This just returns composition from memory and not from anywhere else.
152
+ * @param id
153
+ * @returns
154
+ */
155
+ export declare function GetCompositionWithIdAndDateFromMemory(id: number): Promise<any>;
156
+ export declare function GetCompositionWithIdFromMemoryFromConnections(id: number, connectionList?: Connection[]): Promise<any>;
157
+ /**
158
+ * #### Format DATAID ####
159
+ * ## This will return the composition even if it is not in the local memory ##
160
+ * @param id
161
+ * @returns
162
+ */
163
+ export declare function GetCompositionWithId(id: number): Promise<any>;
164
+ /**
165
+ * ## Format justdata ###
166
+ * ## This contains a concept in the parameter so that you dont have to again find the concept ##
167
+ * This function takes concepts and connections and then builds a json.
168
+ * @param concept The concept that needs to get other concepts that are inside of it.
169
+ * @param connectionList List of connections that are available in the composition. We have to loop over it.
170
+ * @param compositionList Composition list is the list of concepts that have connections inside of them.
171
+ * @param visitedConcepts This is a checking mechanism to not go in loops. So preferably pass an empty array.
172
+ * @returns
173
+ */
174
+ export declare function recursiveFetchConcept(concept: Concept, connectionList: Connection[], compositionList: number[], visitedConcepts?: number[]): Promise<any>;
175
+ /**
176
+ * ## Format Normal ###
177
+ * ## This contains a concept in the parameter so that you dont have to again find the concept ##
178
+ * This function takes concepts and connections and then builds a json.
179
+ * @param concept The concept that needs to get other concepts that are inside of it.
180
+ * @param connectionList List of connections that are available in the composition. We have to loop over it.
181
+ * @param compositionList Composition list is the list of concepts that have connections inside of them.
182
+ * @param visitedConcepts This is a checking mechanism to not go in loops. So preferably pass an empty array.
183
+ * @returns
184
+ */
185
+ export declare function recursiveFetchConceptNormal(concept: Concept, connectionList: Connection[], compositionList: number[], visitedConcepts?: number[]): Promise<any>;
186
+ /**
187
+ * ## experimental ##
188
+ * This function takes concepts and connections and then builds a json.
189
+ * @param concept The concept that needs to get other concepts that are inside of it.
190
+ * @param connectionList List of connections that are available in the composition. We have to loop over it.
191
+ * @param compositionList Composition list is the list of concepts that have connections inside of them.
192
+ * @param visitedConcepts This is a checking mechanism to not go in loops. So preferably pass an empty array.
193
+ * @returns
194
+ */
195
+ export declare function recursiveFetchConceptSingleLoop(concept: Concept, connectionList: Connection[], compositionList: number[], visitedConcepts?: number[]): Promise<any>;
196
+ /**
197
+ * ## Format justdata ##
198
+ * @param id
199
+ * @param connectionList
200
+ * @param compositionList
201
+ * @param visitedConcepts
202
+ * @returns
203
+ */
204
+ export declare function recursiveFetch(id: number, connectionList: Connection[], compositionList: number[], visitedConcepts?: number[]): Promise<any>;
205
+ export declare function recursiveFetchWithSubCompositions(id: number, connectionList: Connection[], compositionList: number[], visitedConcepts?: number[]): Promise<any>;