mftsccs-node 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/README.md +1148 -11
  2. package/dist/bundle.js +1 -1
  3. package/dist/types/Api/Create/CreateTheCharacter.d.ts +42 -0
  4. package/dist/types/Api/Create/CreateTheConceptApi.d.ts +50 -0
  5. package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +51 -0
  6. package/dist/types/Api/Create/CreateTheTextData.d.ts +56 -0
  7. package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +43 -0
  8. package/dist/types/Api/DeleteConnectionApiBulk.d.ts +55 -0
  9. package/dist/types/Api/DeleteTheConcept.d.ts +64 -0
  10. package/dist/types/Api/DeleteTheConnection.d.ts +76 -0
  11. package/dist/types/Api/GetAiData.d.ts +36 -0
  12. package/dist/types/Api/GetAllConcepts.d.ts +42 -0
  13. package/dist/types/Api/GetAllConceptsByType.d.ts +45 -0
  14. package/dist/types/Api/GetAllConnections.d.ts +48 -0
  15. package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +79 -0
  16. package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +90 -0
  17. package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +52 -0
  18. package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +61 -0
  19. package/dist/types/Api/GetAllPrefetchConnections.d.ts +51 -0
  20. package/dist/types/Api/GetCharacterDataByCharacter.d.ts +31 -0
  21. package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +39 -0
  22. package/dist/types/Api/GetConcept.d.ts +47 -0
  23. package/dist/types/Api/GetConceptBulk.d.ts +68 -0
  24. package/dist/types/Api/GetConceptByCharacterAndType.d.ts +75 -0
  25. package/dist/types/Api/GetConceptByCharacterValue.d.ts +47 -0
  26. package/dist/types/Api/GetConnection.d.ts +49 -0
  27. package/dist/types/Api/GetConnectionBulk.d.ts +46 -0
  28. package/dist/types/Api/GetConnectionOfTheConcept.d.ts +50 -0
  29. package/dist/types/Api/GetConnectionToTheConcept.d.ts +56 -0
  30. package/dist/types/Api/GetReservedConnectionIds.d.ts +36 -0
  31. package/dist/types/Api/GetReservedIds.d.ts +37 -0
  32. package/dist/types/Api/Login.d.ts +38 -0
  33. package/dist/types/Api/MakeTheNameInBackend.d.ts +39 -0
  34. package/dist/types/Api/MakeTheTypeConceptApi.d.ts +40 -0
  35. package/dist/types/Api/RecursiveSearch.d.ts +43 -0
  36. package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +46 -0
  37. package/dist/types/Api/Search/Search.d.ts +67 -0
  38. package/dist/types/Api/Search/SearchInternalApi.d.ts +69 -0
  39. package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +90 -0
  40. package/dist/types/Api/Search/SearchWithLinker.d.ts +97 -0
  41. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +39 -0
  42. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +47 -0
  43. package/dist/types/Api/Session/CreateSession.d.ts +45 -0
  44. package/dist/types/Api/Session/CreateSessionVisit.d.ts +43 -0
  45. package/dist/types/Api/Signin.d.ts +48 -0
  46. package/dist/types/Api/Signup.d.ts +44 -0
  47. package/dist/types/Api/View/ViewInternalDataApi.d.ts +50 -0
  48. package/dist/types/Constants/ApiConstants.d.ts +226 -0
  49. package/dist/types/Constants/FormatConstants.d.ts +81 -0
  50. package/dist/types/DataStructures/BaseUrl.d.ts +210 -0
  51. package/dist/types/DataStructures/BinaryCharacterTree.d.ts +211 -0
  52. package/dist/types/DataStructures/BinaryTree.d.ts +139 -0
  53. package/dist/types/DataStructures/BinaryTypeTree.d.ts +196 -0
  54. package/dist/types/DataStructures/CharacterRepository.d.ts +109 -0
  55. package/dist/types/DataStructures/Composition/Composition.d.ts +103 -0
  56. package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +104 -0
  57. package/dist/types/DataStructures/Composition/CompositionNode.d.ts +202 -0
  58. package/dist/types/DataStructures/Concept.d.ts +110 -0
  59. package/dist/types/DataStructures/ConceptData.d.ts +292 -0
  60. package/dist/types/DataStructures/ConceptsToDraw.d.ts +168 -0
  61. package/dist/types/DataStructures/Connection.d.ts +76 -0
  62. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +115 -0
  63. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +169 -0
  64. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +82 -0
  65. package/dist/types/DataStructures/ConnectionData.d.ts +191 -0
  66. package/dist/types/DataStructures/Count/CountInfo.d.ts +73 -0
  67. package/dist/types/DataStructures/FilterSearch.d.ts +84 -0
  68. package/dist/types/DataStructures/IdentifierFlags.d.ts +34 -0
  69. package/dist/types/DataStructures/Local/LConcept.d.ts +105 -0
  70. package/dist/types/DataStructures/Local/LConnection.d.ts +83 -0
  71. package/dist/types/DataStructures/Local/LNode.d.ts +190 -0
  72. package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +133 -0
  73. package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +135 -0
  74. package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +147 -0
  75. package/dist/types/DataStructures/Local/LocalConceptData.d.ts +100 -0
  76. package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +109 -0
  77. package/dist/types/DataStructures/Local/LocalSyncData.d.ts +89 -0
  78. package/dist/types/DataStructures/PatcherStructure.d.ts +86 -0
  79. package/dist/types/DataStructures/ReferentInfo.d.ts +68 -0
  80. package/dist/types/DataStructures/ReservedIds.d.ts +101 -0
  81. package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +184 -22
  82. package/dist/types/DataStructures/Responses/StandardResponses.d.ts +65 -0
  83. package/dist/types/DataStructures/Returner.d.ts +59 -0
  84. package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +165 -0
  85. package/dist/types/DataStructures/Search/SearchStructure.d.ts +69 -0
  86. package/dist/types/DataStructures/SearchQuery.d.ts +130 -0
  87. package/dist/types/DataStructures/Security/TokenStorage.d.ts +48 -0
  88. package/dist/types/DataStructures/Session/SessionData.d.ts +118 -0
  89. package/dist/types/DataStructures/SettingData.d.ts +32 -0
  90. package/dist/types/DataStructures/Settings.d.ts +27 -0
  91. package/dist/types/DataStructures/SigninModel.d.ts +50 -0
  92. package/dist/types/DataStructures/SignupModel.d.ts +50 -0
  93. package/dist/types/DataStructures/SyncData.d.ts +206 -0
  94. package/dist/types/DataStructures/TheCharacter.d.ts +87 -0
  95. package/dist/types/DataStructures/TheTexts.d.ts +92 -0
  96. package/dist/types/DataStructures/Transaction/Transaction.d.ts +294 -4
  97. package/dist/types/DataStructures/User/UserBinaryTree.d.ts +117 -0
  98. package/dist/types/DataStructures/User/UserNode.d.ts +130 -0
  99. package/dist/types/Database/GetConceptFromIndexDb.d.ts +9 -0
  100. package/dist/types/Database/NoIndexDb.d.ts +169 -0
  101. package/dist/types/Database/indexdblocal.d.ts +42 -0
  102. package/dist/types/Database/indexeddb.d.ts +43 -0
  103. package/dist/types/Drawing/ConceptDraw.d.ts +28 -0
  104. package/dist/types/Drawing/ConceptEvents.d.ts +46 -0
  105. package/dist/types/Helpers/CheckIfExists.d.ts +159 -0
  106. package/dist/types/Helpers/RemoveFromArray.d.ts +66 -0
  107. package/dist/types/Helpers/UniqueInsert.d.ts +28 -0
  108. package/dist/types/Services/CheckForConnectionDeletion.d.ts +190 -0
  109. package/dist/types/Services/Common/DecodeCountInfo.d.ts +54 -0
  110. package/dist/types/Services/Common/ErrorPosting.d.ts +49 -0
  111. package/dist/types/Services/Common/RegexFunction.d.ts +28 -0
  112. package/dist/types/Services/Composition/BuildComposition.d.ts +37 -0
  113. package/dist/types/Services/Composition/CompositionCache.d.ts +89 -0
  114. package/dist/types/Services/Composition/CreateCompositionCache.d.ts +43 -0
  115. package/dist/types/Services/Conversion/ConvertConcepts.d.ts +83 -0
  116. package/dist/types/Services/CreateBinaryTreeFromData.d.ts +38 -0
  117. package/dist/types/Services/CreateCharacterBinaryTreeFromData.d.ts +42 -0
  118. package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +206 -0
  119. package/dist/types/Services/CreateDefaultConcept.d.ts +114 -0
  120. package/dist/types/Services/CreateTheComposition.d.ts +101 -0
  121. package/dist/types/Services/CreateTheConcept.d.ts +179 -0
  122. package/dist/types/Services/CreateTheConnection.d.ts +59 -0
  123. package/dist/types/Services/CreateTheConnectionGeneral.d.ts +127 -0
  124. package/dist/types/Services/CreateTypeTreeFromData.d.ts +43 -0
  125. package/dist/types/Services/Delete/DeleteConnectionByType.d.ts +52 -5
  126. package/dist/types/Services/Delete/GetAllConnectionByType.d.ts +57 -9
  127. package/dist/types/Services/DeleteConcept.d.ts +136 -0
  128. package/dist/types/Services/DeleteConnection.d.ts +194 -0
  129. package/dist/types/Services/FindConeceptsFromConnection.d.ts +179 -0
  130. package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +157 -0
  131. package/dist/types/Services/GenerateHexNumber.d.ts +64 -0
  132. package/dist/types/Services/GetComposition.d.ts +331 -0
  133. package/dist/types/Services/GetCompositionBulk.d.ts +251 -3
  134. package/dist/types/Services/GetCompositionList.d.ts +130 -0
  135. package/dist/types/Services/GetConceptByCharacter.d.ts +84 -0
  136. package/dist/types/Services/GetConnections.d.ts +72 -0
  137. package/dist/types/Services/GetDataFromIndexDb.d.ts +79 -0
  138. package/dist/types/Services/GetLink.d.ts +104 -0
  139. package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +99 -0
  140. package/dist/types/Services/GetMaximumConnectionSyncTime.d.ts +57 -0
  141. package/dist/types/Services/GetRelation.d.ts +162 -0
  142. package/dist/types/Services/GetTheConcept.d.ts +71 -0
  143. package/dist/types/Services/GetTheReferent.d.ts +74 -0
  144. package/dist/types/Services/InitializeSystem.d.ts +119 -0
  145. package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +48 -0
  146. package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +49 -0
  147. package/dist/types/Services/Local/CreateLocalBinaryTypeTreeFromData.d.ts +54 -0
  148. package/dist/types/Services/Local/CreateLocalCharacterBinaryTree.d.ts +60 -0
  149. package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +70 -0
  150. package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +58 -0
  151. package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +56 -0
  152. package/dist/types/Services/Local/GetCompositionListLocal.d.ts +103 -0
  153. package/dist/types/Services/Local/GetCompositionLocal.d.ts +96 -0
  154. package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +57 -0
  155. package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +71 -0
  156. package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +89 -0
  157. package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +71 -0
  158. package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +101 -0
  159. package/dist/types/Services/MakeTheCharacter.d.ts +74 -0
  160. package/dist/types/Services/MakeTheCharacterData.d.ts +65 -0
  161. package/dist/types/Services/MakeTheInstanceConcept.d.ts +75 -0
  162. package/dist/types/Services/MakeTheName.d.ts +81 -0
  163. package/dist/types/Services/MakeTheTimestamp.d.ts +68 -0
  164. package/dist/types/Services/MakeTheTypeConcept.d.ts +68 -0
  165. package/dist/types/Services/Mqtt/publishMessage.d.ts +27 -0
  166. package/dist/types/Services/Mqtt/subscribeMessage.d.ts +23 -0
  167. package/dist/types/Services/PatchComposition.d.ts +105 -0
  168. package/dist/types/Services/Search/DataIdFormat.d.ts +96 -24
  169. package/dist/types/Services/Search/FormatData.d.ts +92 -17
  170. package/dist/types/Services/Search/JustIdFormat.d.ts +91 -16
  171. package/dist/types/Services/Search/SearchLinkInternal.d.ts +28 -0
  172. package/dist/types/Services/Search/SearchLinkMultiple.d.ts +58 -0
  173. package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +92 -24
  174. package/dist/types/Services/Search/orderingConnections.d.ts +34 -0
  175. package/dist/types/Services/SplitStrings.d.ts +50 -0
  176. package/dist/types/Services/UpdateComposition.d.ts +123 -0
  177. package/dist/types/Services/User/UserTranslation.d.ts +102 -0
  178. package/dist/types/Services/View/ViewInternalData.d.ts +32 -0
  179. package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +140 -5
  180. package/dist/types/app.d.ts +72 -1
  181. package/package.json +1 -1
  182. package/dist/main.bundle.js +0 -2
  183. package/dist/main.bundle.js.LICENSE.txt +0 -1
  184. package/dist/serviceWorker.bundle.js +0 -2
  185. package/dist/serviceWorker.bundle.js.LICENSE.txt +0 -1
  186. package/dist/types/AccessTracker/accessTracker.d.ts +0 -67
  187. package/dist/types/Anomaly/anomaly.d.ts +0 -103
  188. package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +0 -3
  189. package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +0 -2
  190. package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +0 -1
  191. package/dist/types/Api/DeleteConnectionBulkApi.d.ts +0 -1
  192. package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +0 -3
  193. package/dist/types/Api/Images/GetImages.d.ts +0 -1
  194. package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +0 -2
  195. package/dist/types/Api/Prototype/CreatePrototype.d.ts +0 -2
  196. package/dist/types/Api/Prototype/Selector.d.ts +0 -15
  197. package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +0 -2
  198. package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +0 -2
  199. package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +0 -2
  200. package/dist/types/Constants/AccessConstants.d.ts +0 -3
  201. package/dist/types/Constants/ckeditorCSS.d.ts +0 -1
  202. package/dist/types/Constants/general.const.d.ts +0 -6
  203. package/dist/types/Constants/page.const.d.ts +0 -5
  204. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +0 -10
  205. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +0 -24
  206. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +0 -10
  207. package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +0 -15
  208. package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +0 -4
  209. package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +0 -11
  210. package/dist/types/DataStructures/Local/LocalId.d.ts +0 -19
  211. package/dist/types/DataStructures/Prototype/Prototype.d.ts +0 -19
  212. package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +0 -4
  213. package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +0 -4
  214. package/dist/types/DataStructures/TypeLibrary.d.ts +0 -19
  215. package/dist/types/DataStructures/TypeNode.d.ts +0 -18
  216. package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +0 -10
  217. package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +0 -9
  218. package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +0 -18
  219. package/dist/types/Database/IndexUpdate.d.ts +0 -47
  220. package/dist/types/Middleware/ApplicationMonitor.d.ts +0 -14
  221. package/dist/types/Middleware/ErrorHandling.d.ts +0 -0
  222. package/dist/types/Middleware/logger.service.d.ts +0 -144
  223. package/dist/types/ServiceWorker/actions/connectionActions.d.ts +0 -2
  224. package/dist/types/ServiceWorker/actions/createActions.d.ts +0 -2
  225. package/dist/types/ServiceWorker/actions/deleteActions.d.ts +0 -2
  226. package/dist/types/ServiceWorker/actions/getActions.d.ts +0 -2
  227. package/dist/types/ServiceWorker/actions/index.d.ts +0 -15
  228. package/dist/types/ServiceWorker/actions/searchActions.d.ts +0 -2
  229. package/dist/types/ServiceWorker/actions/syncActions.d.ts +0 -2
  230. package/dist/types/ServiceWorker/actions/updateActions.d.ts +0 -2
  231. package/dist/types/ServiceWorker/index.d.ts +0 -11
  232. package/dist/types/Services/AccessControl/AccessControl.d.ts +0 -218
  233. package/dist/types/Services/Common/DelayFunction.d.ts +0 -7
  234. package/dist/types/Services/Common/MergeArrays.d.ts +0 -7
  235. package/dist/types/Services/Common/RemoveAllChild.d.ts +0 -1
  236. package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +0 -2
  237. package/dist/types/Services/DeleteConnectionByType.d.ts +0 -22
  238. package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +0 -11
  239. package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +0 -2
  240. package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +0 -2
  241. package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +0 -3
  242. package/dist/types/Services/Local/DeleteConceptLocal.d.ts +0 -1
  243. package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +0 -2
  244. package/dist/types/Services/Local/GetRelationLocal.d.ts +0 -1
  245. package/dist/types/Services/Local/GetTheConceptLocal.d.ts +0 -9
  246. package/dist/types/Services/Logs/LogEvent.d.ts +0 -1
  247. package/dist/types/Services/Mail.d.ts +0 -18
  248. package/dist/types/Services/Transaction/LocalTransaction.d.ts +0 -45
  249. package/dist/types/Services/Upload.d.ts +0 -33
  250. package/dist/types/Services/User/UserFromLocalStorage.d.ts +0 -6
  251. package/dist/types/Services/assets/GetImageService.d.ts +0 -14
  252. package/dist/types/Services/automated/automated-concept-connection.d.ts +0 -7
  253. package/dist/types/Services/cacheService.d.ts +0 -1
  254. package/dist/types/Validator/constant.d.ts +0 -3
  255. package/dist/types/Validator/interface.d.ts +0 -19
  256. package/dist/types/Validator/utils.d.ts +0 -7
  257. package/dist/types/Validator/validator.d.ts +0 -37
  258. package/dist/types/Visualize/ConceptCircle.d.ts +0 -35
  259. package/dist/types/Visualize/ConceptCircleList.d.ts +0 -9
  260. package/dist/types/Visualize/ConnectionLine.d.ts +0 -21
  261. package/dist/types/Visualize/ConnectionLineList.d.ts +0 -6
  262. package/dist/types/Visualize/drawExistingConcepts.d.ts +0 -8
  263. package/dist/types/Visualize/helper.d.ts +0 -15
  264. package/dist/types/Visualize/index.d.ts +0 -0
  265. package/dist/types/Widgets/BaseObserver.d.ts +0 -22
  266. package/dist/types/Widgets/BaseWidget.d.ts +0 -24
  267. package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +0 -2
  268. package/dist/types/Widgets/BuilderStatefulWidget.d.ts +0 -42
  269. package/dist/types/Widgets/CacheWidget.service.d.ts +0 -17
  270. package/dist/types/Widgets/NormalizeStyles.service.d.ts +0 -1
  271. package/dist/types/Widgets/RenderPage.service.d.ts +0 -12
  272. package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +0 -14
  273. package/dist/types/Widgets/RenderWidgetService.d.ts +0 -50
  274. package/dist/types/Widgets/StatefulWidget.d.ts +0 -102
  275. package/dist/types/Widgets/WidgetBuild.d.ts +0 -4
  276. package/dist/types/Widgets/WidgetTree.d.ts +0 -29
  277. package/dist/types/Widgets/mainView.class.d.ts +0 -6
  278. package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +0 -73
  279. package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +0 -19
  280. package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +0 -13
  281. package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +0 -28
  282. package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +0 -32
  283. package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +0 -37
  284. package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +0 -15
  285. package/dist/types/prototype/getPrototype.service.d.ts +0 -2
  286. package/dist/types/prototype/prototype.service.d.ts +0 -25
  287. package/dist/types/service-worker.d.ts +0 -1
@@ -1,3 +1,11 @@
1
+ /**
2
+ * Main application module for the Concept Connection System (CCS-JS).
3
+ * This module serves as the primary entry point and exports all public-facing APIs,
4
+ * data structures, and utilities for managing concepts, connections, and compositions.
5
+ *
6
+ * @module app
7
+ * @see {@link https://documentation.freeschema.com} for detailed documentation
8
+ */
1
9
  export { init, updateAccessToken };
2
10
  export { SplitStrings } from './Services/SplitStrings';
3
11
  export { GetCompositionList, GetCompositionListWithId } from './Services/GetCompositionList';
@@ -85,9 +93,72 @@ export { BaseUrl } from './DataStructures/BaseUrl';
85
93
  export { SchemaQueryListener } from './WrapperFunctions/SchemaQueryObservable';
86
94
  export { FreeschemaQuery } from './DataStructures/Search/FreeschemaQuery';
87
95
  export { GiveConnection, GetAllTheConnectionsByTypeAndOfTheConcept } from './Services/Delete/GetAllConnectionByType';
88
- export { DATAID, NORMAL, JUSTDATA, ALLID, DATAIDDATE, RAW, LISTNORMAL } from './Constants/FormatConstants';
96
+ export { DATAID, NORMAL, JUSTDATA, ALLID, DATAIDDATE, RAW, LISTNORMAL, DATAV2 } from './Constants/FormatConstants';
89
97
  export { AccessControlService } from './Services/AccessControl/AccessControlService';
90
98
  export { PermissionSet } from './Services/AccessControl/PermissionSet';
91
99
  export { Transaction } from './DataStructures/Transaction/Transaction';
100
+ /**
101
+ * Updates the bearer access token used for authenticating API requests to the backend.
102
+ * This token is stored globally and used by all API calls that require authentication.
103
+ *
104
+ * @param accessToken - The new bearer access token to use for API authentication. Defaults to empty string if not provided.
105
+ *
106
+ * @example
107
+ * ```typescript
108
+ * // Update the access token after user login
109
+ * updateAccessToken('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...');
110
+ * ```
111
+ *
112
+ * @see TokenStorage for token storage implementation
113
+ * @see https://documentation.freeschema.com for authentication details
114
+ */
92
115
  declare function updateAccessToken(accessToken?: string): void;
116
+ /**
117
+ * Initializes the Concept Connection System with backend URLs and authentication.
118
+ * This is the primary initialization function that must be called before using any CCS features.
119
+ * It performs the following operations asynchronously:
120
+ *
121
+ * 1. Sets up base URLs for the main API and AI services
122
+ * 2. Stores the authentication token for API requests
123
+ * 3. Initializes the system (database setup)
124
+ * 4. Creates binary trees from concept data for efficient querying (by ID, character, and type)
125
+ * 5. Creates local binary trees for offline/local concept management
126
+ * 6. Loads connection data from IndexedDB into memory
127
+ * 7. Loads local connection data for offline operations
128
+ *
129
+ * All data loading operations run in parallel for optimal performance. The IdentifierFlags
130
+ * are updated as each operation completes to indicate which data structures are ready for use.
131
+ *
132
+ * @param url - The base URL for the main backend API endpoint (e.g., 'https://api.example.com')
133
+ * @param aiurl - The base URL for the AI service endpoint (e.g., 'https://ai.example.com')
134
+ * @param accessToken - The bearer access token for authenticating API requests
135
+ *
136
+ * @example
137
+ * ```typescript
138
+ * // Initialize the system with backend URLs and auth token
139
+ * init(
140
+ * 'https://api.freeschema.com',
141
+ * 'https://ai.freeschema.com',
142
+ * 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
143
+ * );
144
+ *
145
+ * // After initialization, check if data is loaded before querying
146
+ * if (IdentifierFlags.isDataLoaded) {
147
+ * // Safe to query concepts
148
+ * }
149
+ * ```
150
+ *
151
+ * @remarks
152
+ * The initialization process is asynchronous but does not return a Promise. Instead,
153
+ * it uses IdentifierFlags to signal when different components are ready:
154
+ * - `isDataLoaded`, `isCharacterLoaded`, `isTypeLoaded` - Remote concept data ready
155
+ * - `isLocalDataLoaded`, `isLocalTypeLoaded`, `isLocalCharacterLoaded` - Local concept data ready
156
+ * - `isConnectionLoaded`, `isConnectionTypeLoaded` - Remote connection data ready
157
+ * - `isLocalConnectionLoaded` - Local connection data ready
158
+ *
159
+ * @see IdentifierFlags for checking initialization status
160
+ * @see InitializeSystem for database initialization details
161
+ * @see CreateBinaryTreeFromData for concept tree creation
162
+ * @see https://documentation.freeschema.com/#installation for setup guide
163
+ */
93
164
  declare function init(url?: string, aiurl?: string, accessToken?: string, jwtSecret?: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-node",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "environment": "production",
5
5
  "description": "Full Pack of concept and connection system",
6
6
  "main": "dist/bundle.js",