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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-browser",
3
- "version": "2.1.238-beta",
3
+ "version": "2.1.239-dev",
4
4
  "environment": "production",
5
5
  "description": "Full Pack of concept and connection system",
6
6
  "main": "dist/main.bundle.js",
@@ -27,7 +27,10 @@
27
27
  "@babel/plugin-transform-modules-commonjs": "^7.24.8",
28
28
  "@babel/preset-env": "^7.25.4",
29
29
  "@babel/preset-typescript": "^7.24.7",
30
+ "@types/jest": "^30.0.0",
31
+ "babel-jest": "^30.4.1",
30
32
  "cross-fetch": "^4.0.0",
33
+ "jest": "^30.4.2",
31
34
  "postcss": "^8.5.6",
32
35
  "postcss-nested": "^7.0.2",
33
36
  "ts-loader": "^9.5.1",
@@ -1 +0,0 @@
1
- /*! https://mths.be/cssesc v3.0.0 by @mathias */
@@ -1 +0,0 @@
1
- /*! https://mths.be/cssesc v3.0.0 by @mathias */
@@ -1,67 +0,0 @@
1
- export declare class AccessTracker {
2
- private static conceptsData;
3
- private static connectionsData;
4
- private static readonly SYNC_INTERVAL_MS;
5
- private static nextSyncTime;
6
- static activateStatus: boolean;
7
- private static readonly accessData;
8
- /**
9
- * Increments the count for a specific conceptId.
10
- */
11
- static incrementConcept(conceptId: number): void;
12
- /**
13
- * Increments the count for a specific connectionId.
14
- */
15
- static incrementConnection(connectionId: number): void;
16
- /**
17
- * Retrieves the top N concepts by their counts.
18
- */
19
- static getTopConcepts(n: number): [number, number][];
20
- /**
21
- * Retrieves the top N connections by their counts.
22
- */
23
- static getTopConnections(n: number): [number, number][];
24
- /**
25
- * Saves the concept and connection data to localStorage.
26
- */
27
- static saveDataToLocalStorage(): void;
28
- /**
29
- * Loads the concept and connection data from localStorage.
30
- */
31
- static loadDataFromLocalStorage(): void;
32
- static sendToServer(): Promise<void>;
33
- /**
34
- * Syncs the concept and connection data with the server.
35
- */
36
- private static syncToServer;
37
- /**
38
- * Sets the next sync time based on the current time and sync interval.
39
- */
40
- private static setNextSyncTime;
41
- /**
42
- * Starts auto-syncing to the server every specified time interval.
43
- * This will automatically call `syncToServer` every 5 minutes
44
- */
45
- private static startAutoSync;
46
- /**
47
- * Sync immediately called by setInterval when time to sync has arrived.
48
- */
49
- private static syncNow;
50
- /**
51
- * Fetch suggested concepts from the server with proper error handling.
52
- */
53
- static GetSuggestedConcepts(top?: number): Promise<any>;
54
- /**
55
- * Fetch suggested connections from the server with proper error handling.
56
- * @param top number of connections to get load
57
- */
58
- static GetSuggestedConnections(top?: number): Promise<any>;
59
- /**
60
- * Add Concepts to Binary Tree
61
- */
62
- private static addConceptToBinaryTree;
63
- /**
64
- * Add Concepts to Binary Tree
65
- */
66
- private static addConnectionToBinaryTree;
67
- }
@@ -1,103 +0,0 @@
1
- import { FormFieldData } from "../Validator/interface";
2
- /**
3
- * Class representing the Anomaly detection logic for checking data validity based on predefined rules.
4
- * This class contains methods for initializing, caching, and fetching anomaly parameters from an external API,
5
- * as well as checking for anomalies in individual concepts and bulk data.
6
- */
7
- export declare class Anomaly {
8
- /**
9
- * Static cache for storing fetched anomaly parameters.
10
- * @type {any} - Stores the fetched anomaly parameters from the API.
11
- */
12
- private static anomalyParamsCache;
13
- /**
14
- * Flag indicating if the anomaly parameters cache has been initialized.
15
- * @type {boolean} - `true` if the cache is initialized, `false` otherwise.
16
- */
17
- private static cacheInitialized;
18
- /**
19
- * Timestamp indicating the last time the anomaly parameters were fetched.
20
- * @type {number} - Time in milliseconds.
21
- */
22
- private static lastFetchedTime;
23
- /**
24
- * Cache expiry threshold, after which the data will be considered expired.
25
- * @type {number} - Cache expiry threshold in milliseconds (default is 10 minutes).
26
- */
27
- private static cacheExpiryThreshold;
28
- /**
29
- * Constructor that initializes anomaly parameters if the cache is not yet initialized.
30
- * It ensures that the anomaly parameters are loaded and cached for use.
31
- */
32
- constructor();
33
- /**
34
- * Initializes the anomaly parameters by fetching them from the API.
35
- * This method is only run once on startup to ensure the cache is ready for use.
36
- * It will fetch the parameters from the API and store them in a static cache.
37
- *
38
- * @returns {Promise<void>} - A promise that resolves once the parameters have been initialized.
39
- */
40
- private static initializeAnomalyParameters;
41
- /**
42
- * Fetches the anomaly parameters.
43
- * It first checks if the parameters are cached and whether the cache is still valid (not expired).
44
- * If the cache is valid, it returns the cached data. If not, it fetches the data from the API.
45
- *
46
- * @returns {Promise<any>} - A promise that resolves to the anomaly parameters.
47
- */
48
- static getAnomalyParameters(): Promise<any>;
49
- /**
50
- * Fetches anomaly parameters directly from the backend API.
51
- * This method is used internally by `getAnomalyParameters` to retrieve fresh data.
52
- *
53
- * @returns {Promise<any>} - A promise that resolves to the fetched anomaly parameters.
54
- */
55
- private static fetchAnomalyParameters;
56
- /**
57
- * Refreshes the anomaly parameters cache if the cache has expired.
58
- * If the cache expiry threshold has been surpassed, the method re-fetches the data from the API.
59
- *
60
- * @returns {Promise<void>} - A promise that resolves when the cache has been refreshed.
61
- */
62
- private static refreshCache;
63
- /**
64
- * Detects the data type of a given value based on predefined rules.
65
- * It checks the value against the `DATA_TYPES_RULES` to find the matching data type.
66
- *
67
- * @param {string} value - The value to check.
68
- * @returns {string | null} - The detected data type, or `null` if no match is found.
69
- */
70
- detectDataType(value: string): string | null;
71
- /**
72
- * Checks whether a given concept and value pair contains an anomaly.
73
- * An anomaly is detected based on the concept's length and type rules.
74
- *
75
- * @param {string} typeConcept - The concept type (e.g., `the_name`).
76
- * @param {string} value - The value to check for anomalies.
77
- * @returns {Promise<{ valid: boolean, warnings: string[] }>} - A promise that resolves to an object containing:
78
- * - `valid`: A boolean indicating whether the value is valid according to the anomaly rules.
79
- * - `warnings`: An array of warning messages related to the value's anomalies.
80
- */
81
- checkConceptAnomaly(typeConcept: string, value: string | null): Promise<{
82
- valid: boolean;
83
- warnings: string[];
84
- }>;
85
- /**
86
- * Checks anomalies for multiple concepts in bulk.
87
- * Iterates over a record of concept-value pairs and detects anomalies.
88
- *
89
- * @param {Record<string, string>} instanceData - An object where each key is a concept type and each value is the corresponding data value.
90
- * @returns {Promise<Record<string, { valid: boolean, warnings: string[] }>>} - A promise that resolves to an object where each key is a concept type
91
- * and the value is an object containing `valid` (boolean) and `warnings` (array of warning messages).
92
- */
93
- static checkAnomalyInBulk(formData: Record<string, FormFieldData>): Promise<Record<string, {
94
- valid: boolean;
95
- warnings: string[];
96
- }>>;
97
- /**
98
- * List all the exported functions of the package
99
- * @returns Keys of the Object which has exported functions
100
- */
101
- static getExportedFunction(): string[];
102
- private static getFunctionaAnomalyParameters;
103
- }
@@ -1,24 +0,0 @@
1
- import { Returner } from "../../DataStructures/Returner";
2
- import { TheCharacter } from "../../DataStructures/TheCharacter";
3
- /**
4
- * Creates a character on the backend server with local caching.
5
- *
6
- * **Logic**:
7
- * 1. Checks CharacterRepository for existing character by data value
8
- * 2. If exists locally: Returns existing character ID
9
- * 3. If not exists: Creates on server and adds to local repository
10
- *
11
- * Character data represents string values used across the system with deduplication.
12
- *
13
- * @param characterData - TheCharacter object to create
14
- * @returns Returner object with character ID and metadata
15
- * @throws Error if HTTP request fails
16
- *
17
- * @example
18
- * const char = await CreateTheCharacter({
19
- * data: "user@example.com",
20
- * userId: 42
21
- * });
22
- * // If "user@example.com" already exists, returns existing ID
23
- */
24
- export declare function CreateTheCharacter(characterData: TheCharacter): Promise<Returner>;
@@ -1,20 +0,0 @@
1
- import { Concept } from "../../DataStructures/Concept";
2
- /**
3
- * Creates a concept on the backend server via API.
4
- *
5
- * Sends concept data to the backend server for creation. Returns the created
6
- * concept with server-assigned positive ID.
7
- *
8
- * @param conceptData - Concept data to create (can be partial concept object)
9
- * @returns Created Concept object with server-assigned ID
10
- * @throws Error if HTTP request fails or server returns error status
11
- *
12
- * @example
13
- * const newConcept = await CreateTheConceptApi({
14
- * characterValue: "Alice",
15
- * typeId: 100,
16
- * userId: 42
17
- * });
18
- * console.log(newConcept.id); // Positive ID from server (e.g., 12345)
19
- */
20
- export declare function CreateTheConceptApi(conceptData: any): Promise<Concept | undefined>;
@@ -1,18 +0,0 @@
1
- import { Connection } from "../../DataStructures/Connection";
2
- /**
3
- * Creates connections on the backend server via API.
4
- *
5
- * Sends an array of connection objects to the backend for bulk creation.
6
- * Used for creating multiple connections in a single API call.
7
- *
8
- * @param connectionData - Array of Connection objects to create
9
- * @returns Connection object (note: current implementation returns default connection)
10
- * @throws Error if HTTP request fails
11
- *
12
- * @example
13
- * const connections = await CreateTheConnectionApi([
14
- * { ofTheConceptId: 100, toTheConceptId: 200, typeId: 42, ... },
15
- * { ofTheConceptId: 100, toTheConceptId: 300, typeId: 42, ... }
16
- * ]);
17
- */
18
- export declare function CreateTheConnectionApi(connectionData: Connection[]): Promise<Connection>;
@@ -1,28 +0,0 @@
1
- import { Concept } from "../../DataStructures/Concept";
2
- import { Connection } from "../../app";
3
- /**
4
- * Syncs local concepts and connections to the backend server in bulk (batch sync).
5
- *
6
- * **Complex Logic**:
7
- * 1. Strips type objects from data to reduce payload size
8
- * 2. If total items ≤2000: Sends in single request
9
- * 3. If total items >2000: Chunks into 1000-item batches and sends in parallel
10
- * 4. Returns arrays of created concepts and connections with real server IDs
11
- *
12
- * "Ghost" refers to preserving original local IDs (negative) as ghostId while assigning real positive IDs.
13
- *
14
- * @param conceptData - Array of Concept objects to sync (can include local negative IDs)
15
- * @param connectionData - Array of Connection objects to sync
16
- * @param withAuth - Whether to use authentication (default: true)
17
- * @returns Object with {concepts: Concept[], connections: Connection[]} containing synced items
18
- * @throws Error if any batch request fails
19
- *
20
- * @example
21
- * const result = await CreateTheGhostConceptApi(
22
- * [concept1, concept2],
23
- * [connection1, connection2]
24
- * );
25
- * // result.concepts contains concepts with real server IDs
26
- * // result.connections contains connections with real server IDs
27
- */
28
- export declare function CreateTheGhostConceptApi(conceptData: Concept[], connectionData: Connection[], withAuth?: boolean): Promise<any>;
@@ -1,18 +0,0 @@
1
- import { Connection } from "../../app";
2
- /**
3
- * Syncs local connections to the backend server preserving ghost IDs.
4
- *
5
- * Creates connections on server while maintaining ghostId for local ID tracking.
6
- * Used for syncing locally-created connections (negative IDs) to the backend.
7
- *
8
- * @param connectionData - Array of Connection objects to sync
9
- * @returns Array of created Connection objects with server-assigned positive IDs
10
- * @throws Error if HTTP request fails
11
- *
12
- * @example
13
- * const synced = await CreateTheGhostConnectionApi([
14
- * { id: -123, ofTheConceptId: -100, toTheConceptId: -200, ... }
15
- * ]);
16
- * // Returns: [{ id: 5001, ghostId: -123, ofTheConceptId: 1001, toTheConceptId: 2001, ... }]
17
- */
18
- export declare function CreateTheGhostConnectionApi(connectionData: Connection[]): Promise<Connection[] | undefined>;
@@ -1,18 +0,0 @@
1
- import { TheTexts } from "../../DataStructures/TheTexts";
2
- /**
3
- * Creates text data on the backend server via API.
4
- *
5
- * Stores long-form text content (>255 characters) separately from concepts.
6
- * Used for text values that exceed the characterValue field length limit.
7
- *
8
- * @param textData - TheTexts object containing text data to store
9
- * @returns Created TheTexts object with server-assigned ID
10
- * @throws Error if HTTP request fails or server returns error status
11
- *
12
- * @example
13
- * const longText = await CreateTextData({
14
- * data: "Very long text content that exceeds 255 characters...",
15
- * userId: 42
16
- * });
17
- */
18
- export declare function CreateTextData(textData: TheTexts): Promise<TheTexts>;
@@ -1,14 +0,0 @@
1
- /**
2
- * Deletes (trashes) a concept from the backend with explicit token auth.
3
- *
4
- * Alternative delete function that requires manual token passing.
5
- * Similar to DeleteTheConcept but with explicit authentication parameter.
6
- *
7
- * @param id - The concept ID to delete
8
- * @param token - Bearer authentication token
9
- * @throws Error if deletion fails
10
- *
11
- * @example
12
- * await TrashTheConcept(12345, userToken);
13
- */
14
- export declare function TrashTheConcept(id: number, token: string): Promise<void>;
@@ -1,19 +0,0 @@
1
- /**
2
- * Deletes a user account from the backend server.
3
- *
4
- * **Process**:
5
- * 1. Sends delete request with user concept ID and API key
6
- * 2. Backend deletes user and returns email concept ID
7
- * 3. Deletes the associated email concept locally
8
- *
9
- * Used for complete user account removal including associated data.
10
- *
11
- * @param id - The user concept ID to delete
12
- * @returns Email concept ID that was deleted, or undefined if error
13
- * @throws Error if deletion fails
14
- *
15
- * @example
16
- * const emailConceptId = await DeleteUserInBackend(userId);
17
- * console.log("Deleted user and email concept:", emailConceptId);
18
- */
19
- export declare function DeleteUserInBackend(id: number): Promise<number | undefined>;
@@ -1,20 +0,0 @@
1
- /**
2
- * Deletes multiple connections from the backend in a single bulk operation.
3
- *
4
- * **Process**:
5
- * 1. Sends array of connection IDs to backend for bulk deletion
6
- * 2. If successful: Marks all connections as deleted in local ConnectionData
7
- * 3. Returns overall deletion success status
8
- *
9
- * More efficient than calling DeleteTheConnection multiple times.
10
- *
11
- * @param ids - Array of connection IDs to delete
12
- * @returns boolean - true if bulk deletion successful, false otherwise
13
- *
14
- * @example
15
- * const deleted = await DeleteTheConnectionBulkApi([5001, 5002, 5003]);
16
- * if (deleted) {
17
- * console.log("All 3 connections deleted successfully");
18
- * }
19
- */
20
- export default function DeleteTheConnectionBulkApi(ids: number[]): Promise<boolean>;
@@ -1,20 +0,0 @@
1
- /**
2
- * Deletes a concept from the backend server by ID.
3
- *
4
- * **Process**:
5
- * 1. Sends delete request to backend with concept ID
6
- * 2. If successful: Marks concept as deleted in local ConceptsData (NPC list)
7
- * 3. Returns deletion success status
8
- *
9
- * NPC (Non-Present Concept) list tracks deleted concept IDs to prevent reuse.
10
- *
11
- * @param id - The concept ID to delete
12
- * @returns boolean - true if successfully deleted, false otherwise
13
- *
14
- * @example
15
- * const deleted = await DeleteTheConcept(12345);
16
- * if (deleted) {
17
- * console.log("Concept deleted successfully");
18
- * }
19
- */
20
- export default function DeleteTheConcept(id: number): Promise<boolean>;
@@ -1,20 +0,0 @@
1
- /**
2
- * Deletes a connection from the backend server by ID.
3
- *
4
- * **Process**:
5
- * 1. Sends delete request to backend with connection ID
6
- * 2. If successful: Marks connection as deleted in local ConnectionData (NpConn list)
7
- * 3. Returns deletion success status
8
- *
9
- * NpConn (Non-Present Connection) list tracks deleted connection IDs.
10
- *
11
- * @param id - The connection ID to delete
12
- * @returns boolean - true if successfully deleted, false otherwise
13
- *
14
- * @example
15
- * const deleted = await DeleteTheConnection(5001);
16
- * if (deleted) {
17
- * console.log("Connection deleted successfully");
18
- * }
19
- */
20
- export default function DeleteTheConnection(id: number): Promise<boolean>;
@@ -1,10 +0,0 @@
1
- /**
2
- * Fetches all AI-related concept data from the backend.
3
- * Loads AI concepts into local ConceptsData cache and triggers database update.
4
- *
5
- * @returns void - Updates ConceptsData in-place with AI concepts
6
- *
7
- * @example
8
- * await GetAiData(); // Loads all AI concepts into cache
9
- */
10
- export declare function GetAiData(): Promise<void>;
@@ -1,12 +0,0 @@
1
- /**
2
- * Retrieves all concepts of a specific type for a user.
3
- * Fetches concepts filtered by type string and user ID.
4
- *
5
- * @param type - Type string to filter concepts by
6
- * @param userId - User ID to filter by
7
- * @returns void - Updates ConceptsData cache with matching concepts
8
- *
9
- * @example
10
- * await GetAllConceptsByType("person", 123);
11
- */
12
- export declare function GetAllConceptsByType(type: string, userId: number): Promise<void>;
@@ -1,23 +0,0 @@
1
- import { Connection } from '../DataStructures/Connection';
2
- /**
3
- * Retrieves all connections belonging to a specific composition.
4
- * Checks local cache first, then fetches from backend if needed.
5
- *
6
- * **Complex Logic**: First checks ConnectionData cache, then fetches from API,
7
- * compares with cached data to detect deletions, and updates cache.
8
- *
9
- * @param composition_id - ID of the composition whose connections to retrieve
10
- * @returns Array of Connection objects for the composition
11
- *
12
- * @example
13
- * const connections = await GetAllConnectionsOfComposition(456);
14
- */
15
- export declare function GetAllConnectionsOfComposition(composition_id: number): Promise<Connection[]>;
16
- /**
17
- * Fetches connections for a composition directly from the backend.
18
- * Internal helper function for GetAllConnectionsOfComposition.
19
- *
20
- * @param composition_id - ID of the composition
21
- * @returns Array of Connection objects from backend
22
- */
23
- export declare function GetAllConnectionsOfCompositionOnline(composition_id: number): Promise<Connection[] | undefined>;
@@ -1,23 +0,0 @@
1
- import { Connection } from '../DataStructures/Connection';
2
- /**
3
- * Retrieves connections for multiple compositions in bulk.
4
- * Optimizes fetching by batching multiple composition IDs in one request.
5
- *
6
- * **Complex Logic**: Checks in-memory cache, fetches from API, detects deletions
7
- * by comparing old and new data, and bulk-fetches related concepts.
8
- *
9
- * @param composition_ids - Array of composition IDs to fetch connections for
10
- * @returns Array of Connection objects for all compositions
11
- *
12
- * @example
13
- * const connections = await GetAllConnectionsOfCompositionBulk([123, 456, 789]);
14
- */
15
- export declare function GetAllConnectionsOfCompositionBulk(composition_ids?: number[]): Promise<any>;
16
- /**
17
- * Fetches connections for multiple compositions directly from backend.
18
- * Internal helper function for GetAllConnectionsOfCompositionBulk.
19
- *
20
- * @param composition_ids - Array of composition IDs
21
- * @returns Array of Connection objects from backend
22
- */
23
- export declare function GetAllConnectionsOfCompositionOnline(composition_ids?: number[]): Promise<Connection[] | undefined>;
@@ -1,12 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- /**
3
- * Retrieves all linker connections originating from a specific concept.
4
- * Fetches connections where the concept is the source/origin.
5
- *
6
- * @param conceptId - ID of the concept to get linker connections from
7
- * @returns Array of Connection objects originating from the concept
8
- *
9
- * @example
10
- * const connections = await GetAllLinkerConnectionsFromTheConcept(123);
11
- */
12
- export declare function GetAllLinkerConnectionsFromTheConcept(conceptId: number): Promise<Connection[]>;
@@ -1,12 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- /**
3
- * Retrieves all linker connections pointing to a specific concept.
4
- * Fetches connections where the concept is the target/destination.
5
- *
6
- * @param conceptId - ID of the concept to get linker connections to
7
- * @returns Array of Connection objects pointing to the concept
8
- *
9
- * @example
10
- * const connections = await GetAllLinkerConnectionsToTheConcept(123);
11
- */
12
- export declare function GetAllLinkerConnectionsToTheConcept(conceptId: number): Promise<Connection[]>;
@@ -1,12 +0,0 @@
1
- import { TheCharacter } from "../DataStructures/TheCharacter";
2
- /**
3
- * Retrieves character data by character value string.
4
- * Fetches TheCharacter object containing character metadata.
5
- *
6
- * @param characterValue - String value of the character to retrieve
7
- * @returns TheCharacter object or undefined on error
8
- *
9
- * @example
10
- * const char = await GetCharacterByCharacter("the_person");
11
- */
12
- export declare function GetCharacterByCharacter(characterValue: string): Promise<TheCharacter | undefined>;
@@ -1,13 +0,0 @@
1
- /**
2
- * Retrieves composition connections between two concepts.
3
- * Fetches connections linking two concepts filtered by a main key.
4
- *
5
- * @param ofConceptId - Source concept ID
6
- * @param toConcept - Target concept ID
7
- * @param mainKey - Main key to filter connections
8
- * @returns Array of Connection objects between the two concepts
9
- *
10
- * @example
11
- * const connections = await GetCompositionConnectionsBetweenTwoConcepts(123, 456, 789);
12
- */
13
- export declare function GetCompositionConnectionsBetweenTwoConcepts(ofConceptId: number, toConcept: number, mainKey: number): Promise<any>;
@@ -1,6 +0,0 @@
1
- /**
2
- * This function helps you get concept from the id. This can only be positive.
3
- * @param id The id that you want to get the concept of
4
- * @returns
5
- */
6
- export declare function GetConcept(id: number): Promise<any>;
@@ -1,20 +0,0 @@
1
- import { Concept } from "./../DataStructures/Concept";
2
- /**
3
- * This function takes in a list of ids and returns a list of concepts . This uses local memory to find concepts
4
- * namely in the concept binary tree. If it could not find the concepts in local memory then it fetches those from
5
- * the api. The fetched concepts from api are then stored in the memory for further use in future.
6
- * @param conceptIds list of concept ids that need to be fetched
7
- * @returns list of concepts
8
- */
9
- export declare function GetConceptBulk(passedConcepts: number[]): Promise<Concept[]>;
10
- /**
11
- * Alternative API for fetching multiple concepts by IDs.
12
- * Simpler version without caching logic, directly fetches from backend.
13
- *
14
- * @param bulkConceptFetch - Array of concept IDs to fetch
15
- * @returns Array of Concept objects
16
- *
17
- * @example
18
- * const concepts = await BulkConceptGetterApi([1, 2, 3, 4, 5]);
19
- */
20
- export declare function BulkConceptGetterApi(bulkConceptFetch: number[]): Promise<Concept[]>;
@@ -1,15 +0,0 @@
1
- /**
2
- * Retrieves a concept by character value and type ID.
3
- * Checks local cache first, then fetches from backend if not found.
4
- *
5
- * **Complex Logic**: Checks local ConceptsData cache, falls back to API,
6
- * supports service worker for offline capability.
7
- *
8
- * @param characterValue - Character value string to search for
9
- * @param typeId - Type ID to filter by
10
- * @returns Concept object or null if not found
11
- *
12
- * @example
13
- * const concept = await GetConceptByCharacterAndType("the_person", 5);
14
- */
15
- export declare function GetConceptByCharacterAndType(characterValue: string, typeId: number): Promise<any>;
@@ -1,12 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- /**
3
- * Retrieves a concept by its character value.
4
- * Fetches concept matching the character string and adds type information.
5
- *
6
- * @param characterValue - Character value string to search for
7
- * @returns Concept object or default concept if not found
8
- *
9
- * @example
10
- * const concept = await GetConceptByCharacterValue("the_person");
11
- */
12
- export declare function GetConceptByCharacterValue(characterValue: string): Promise<Concept>;
@@ -1,15 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- /**
3
- * Retrieves a connection by its ID.
4
- * Checks local cache first, then fetches from backend if needed.
5
- *
6
- * **Complex Logic**: Checks ConnectionData cache, falls back to API request,
7
- * supports cache server fallback for resilience.
8
- *
9
- * @param id - Connection ID to retrieve
10
- * @returns Connection object or default connection if not found
11
- *
12
- * @example
13
- * const connection = await GetConnection(789);
14
- */
15
- export declare function GetConnection(id: number): Promise<Connection | undefined>;
@@ -1,7 +0,0 @@
1
- import { Connection } from "../DataStructures/Connection";
2
- /**
3
- * After fetching these connections it is saved in the local static ConnectionBinaryTree so it can be reused without being fetched
4
- * @param connectionIds array of connection ids that need to fetched by the local system
5
- * @returns the list of connections that have been fetched
6
- */
7
- export declare function GetConnectionBulk(connectionIds?: number[]): Promise<Connection[]>;