mftsccs-browser 2.1.238-beta → 2.1.239-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/dist/main.bundle.js +43918 -2
  2. package/dist/main.bundle.js.map +1 -0
  3. package/dist/serviceWorker.bundle.js +44844 -2
  4. package/dist/serviceWorker.bundle.js.map +1 -0
  5. package/package.json +4 -1
  6. package/dist/main.bundle.js.LICENSE.txt +0 -1
  7. package/dist/serviceWorker.bundle.js.LICENSE.txt +0 -1
  8. package/dist/types/AccessTracker/accessTracker.d.ts +0 -67
  9. package/dist/types/Anomaly/anomaly.d.ts +0 -103
  10. package/dist/types/Api/Create/CreateTheCharacter.d.ts +0 -24
  11. package/dist/types/Api/Create/CreateTheConceptApi.d.ts +0 -20
  12. package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +0 -18
  13. package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +0 -28
  14. package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +0 -18
  15. package/dist/types/Api/Create/CreateTheTextData.d.ts +0 -18
  16. package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +0 -14
  17. package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +0 -19
  18. package/dist/types/Api/DeleteConnectionBulkApi.d.ts +0 -20
  19. package/dist/types/Api/DeleteTheConcept.d.ts +0 -20
  20. package/dist/types/Api/DeleteTheConnection.d.ts +0 -20
  21. package/dist/types/Api/GetAiData.d.ts +0 -10
  22. package/dist/types/Api/GetAllConceptsByType.d.ts +0 -12
  23. package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +0 -23
  24. package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +0 -23
  25. package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +0 -12
  26. package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +0 -12
  27. package/dist/types/Api/GetCharacterDataByCharacter.d.ts +0 -12
  28. package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +0 -13
  29. package/dist/types/Api/GetConcept.d.ts +0 -6
  30. package/dist/types/Api/GetConceptBulk.d.ts +0 -20
  31. package/dist/types/Api/GetConceptByCharacterAndType.d.ts +0 -15
  32. package/dist/types/Api/GetConceptByCharacterValue.d.ts +0 -12
  33. package/dist/types/Api/GetConnection.d.ts +0 -15
  34. package/dist/types/Api/GetConnectionBulk.d.ts +0 -7
  35. package/dist/types/Api/GetConnectionOfTheConcept.d.ts +0 -15
  36. package/dist/types/Api/GetConnectionToTheConcept.d.ts +0 -17
  37. package/dist/types/Api/GetConnections/GetConnectionsBetweenApi.d.ts +0 -40
  38. package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +0 -15
  39. package/dist/types/Api/GetInstanceConceptByCharacterType.d.ts +0 -9
  40. package/dist/types/Api/GetReservedConnectionIds.d.ts +0 -10
  41. package/dist/types/Api/GetReservedIds.d.ts +0 -10
  42. package/dist/types/Api/Images/GetImages.d.ts +0 -15
  43. package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +0 -13
  44. package/dist/types/Api/Login.d.ts +0 -78
  45. package/dist/types/Api/MakeTheNameInBackend.d.ts +0 -14
  46. package/dist/types/Api/MakeTheTypeConceptApi.d.ts +0 -9
  47. package/dist/types/Api/Prototype/Selector.d.ts +0 -26
  48. package/dist/types/Api/RecursiveSearch.d.ts +0 -67
  49. package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +0 -18
  50. package/dist/types/Api/Search/Search.d.ts +0 -73
  51. package/dist/types/Api/Search/SearchInternalApi.d.ts +0 -28
  52. package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +0 -15
  53. package/dist/types/Api/Search/SearchWithLinker.d.ts +0 -16
  54. package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +0 -14
  55. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +0 -12
  56. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +0 -13
  57. package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +0 -15
  58. package/dist/types/Api/Session/CreateSession.d.ts +0 -16
  59. package/dist/types/Api/Session/CreateSessionVisit.d.ts +0 -12
  60. package/dist/types/Api/Signin.d.ts +0 -24
  61. package/dist/types/Api/Signup.d.ts +0 -61
  62. package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +0 -12
  63. package/dist/types/Api/View/ViewInternalDataApi.d.ts +0 -15
  64. package/dist/types/Constants/AccessConstants.d.ts +0 -3
  65. package/dist/types/Constants/ApiConstants.d.ts +0 -23
  66. package/dist/types/Constants/FormatConstants.d.ts +0 -8
  67. package/dist/types/Constants/ckeditorCSS.d.ts +0 -1
  68. package/dist/types/Constants/general.const.d.ts +0 -6
  69. package/dist/types/Constants/page.const.d.ts +0 -5
  70. package/dist/types/DataStructures/BaseUrl.d.ts +0 -89
  71. package/dist/types/DataStructures/BinaryCharacterTree.d.ts +0 -16
  72. package/dist/types/DataStructures/BinaryTree.d.ts +0 -77
  73. package/dist/types/DataStructures/BinaryTypeTree.d.ts +0 -17
  74. package/dist/types/DataStructures/CharacterRepository.d.ts +0 -8
  75. package/dist/types/DataStructures/Composition/Composition.d.ts +0 -14
  76. package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +0 -10
  77. package/dist/types/DataStructures/Composition/CompositionNode.d.ts +0 -21
  78. package/dist/types/DataStructures/Concept.d.ts +0 -25
  79. package/dist/types/DataStructures/ConceptData.d.ts +0 -30
  80. package/dist/types/DataStructures/ConceptsToDraw.d.ts +0 -11
  81. package/dist/types/DataStructures/Connection.d.ts +0 -23
  82. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +0 -81
  83. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +0 -27
  84. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +0 -10
  85. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +0 -24
  86. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +0 -10
  87. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +0 -20
  88. package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +0 -15
  89. package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +0 -4
  90. package/dist/types/DataStructures/ConnectionData.d.ts +0 -26
  91. package/dist/types/DataStructures/Count/CountInfo.d.ts +0 -6
  92. package/dist/types/DataStructures/FetchConnection.d.ts +0 -64
  93. package/dist/types/DataStructures/FilterSearch.d.ts +0 -9
  94. package/dist/types/DataStructures/IdentifierFlags.d.ts +0 -11
  95. package/dist/types/DataStructures/Local/LConcept.d.ts +0 -23
  96. package/dist/types/DataStructures/Local/LConnection.d.ts +0 -18
  97. package/dist/types/DataStructures/Local/LNode.d.ts +0 -29
  98. package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +0 -13
  99. package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +0 -13
  100. package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +0 -13
  101. package/dist/types/DataStructures/Local/LocalConceptData.d.ts +0 -21
  102. package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +0 -20
  103. package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +0 -11
  104. package/dist/types/DataStructures/Local/LocalId.d.ts +0 -19
  105. package/dist/types/DataStructures/Local/LocalSyncData.d.ts +0 -33
  106. package/dist/types/DataStructures/Node.d.ts +0 -30
  107. package/dist/types/DataStructures/PatcherStructure.d.ts +0 -8
  108. package/dist/types/DataStructures/Prototype/Prototype.d.ts +0 -19
  109. package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +0 -4
  110. package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +0 -4
  111. package/dist/types/DataStructures/ReservedIds.d.ts +0 -10
  112. package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +0 -74
  113. package/dist/types/DataStructures/Responses/StandardResponses.d.ts +0 -6
  114. package/dist/types/DataStructures/Returner.d.ts +0 -7
  115. package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +0 -25
  116. package/dist/types/DataStructures/Search/SearchStructure.d.ts +0 -10
  117. package/dist/types/DataStructures/SearchQuery.d.ts +0 -17
  118. package/dist/types/DataStructures/Security/SecureStorage.d.ts +0 -14
  119. package/dist/types/DataStructures/Security/TokenStorage.d.ts +0 -24
  120. package/dist/types/DataStructures/Session/SessionData.d.ts +0 -13
  121. package/dist/types/DataStructures/SettingData.d.ts +0 -5
  122. package/dist/types/DataStructures/Settings.d.ts +0 -4
  123. package/dist/types/DataStructures/SigninModel.d.ts +0 -4
  124. package/dist/types/DataStructures/SignupModel.d.ts +0 -4
  125. package/dist/types/DataStructures/SyncData.d.ts +0 -14
  126. package/dist/types/DataStructures/TheCharacter.d.ts +0 -13
  127. package/dist/types/DataStructures/TheTexts.d.ts +0 -14
  128. package/dist/types/DataStructures/TypeLibrary.d.ts +0 -19
  129. package/dist/types/DataStructures/TypeNode.d.ts +0 -18
  130. package/dist/types/DataStructures/User/UserBinaryTree.d.ts +0 -13
  131. package/dist/types/DataStructures/User/UserNode.d.ts +0 -18
  132. package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +0 -10
  133. package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +0 -9
  134. package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +0 -18
  135. package/dist/types/DataStructures/environments/environments.d.ts +0 -48
  136. package/dist/types/Database/CacheDatabase.d.ts +0 -57
  137. package/dist/types/Database/IndexUpdate.d.ts +0 -47
  138. package/dist/types/Database/NoIndexDb.d.ts +0 -9
  139. package/dist/types/Database/indexdblocal.d.ts +0 -43
  140. package/dist/types/Database/indexeddb.d.ts +0 -58
  141. package/dist/types/Helpers/CheckIfExists.d.ts +0 -9
  142. package/dist/types/Helpers/RemoveFromArray.d.ts +0 -5
  143. package/dist/types/Helpers/UniqueInsert.d.ts +0 -1
  144. package/dist/types/Middleware/ApplicationMonitor.d.ts +0 -14
  145. package/dist/types/Middleware/logger.service.d.ts +0 -144
  146. package/dist/types/ServiceWorker/actions/connectionActions.d.ts +0 -2
  147. package/dist/types/ServiceWorker/actions/createActions.d.ts +0 -2
  148. package/dist/types/ServiceWorker/actions/deleteActions.d.ts +0 -2
  149. package/dist/types/ServiceWorker/actions/getActions.d.ts +0 -2
  150. package/dist/types/ServiceWorker/actions/index.d.ts +0 -15
  151. package/dist/types/ServiceWorker/actions/searchActions.d.ts +0 -2
  152. package/dist/types/ServiceWorker/actions/syncActions.d.ts +0 -2
  153. package/dist/types/ServiceWorker/actions/updateActions.d.ts +0 -2
  154. package/dist/types/ServiceWorker/index.d.ts +0 -11
  155. package/dist/types/Services/CacheClear.d.ts +0 -7
  156. package/dist/types/Services/CheckForConnectionDeletion.d.ts +0 -3
  157. package/dist/types/Services/Common/DecodeCountInfo.d.ts +0 -3
  158. package/dist/types/Services/Common/DelayFunction.d.ts +0 -7
  159. package/dist/types/Services/Common/ErrorPosting.d.ts +0 -10
  160. package/dist/types/Services/Common/MergeArrays.d.ts +0 -7
  161. package/dist/types/Services/Common/RegexFunction.d.ts +0 -1
  162. package/dist/types/Services/Common/RemoveAllChild.d.ts +0 -1
  163. package/dist/types/Services/Composition/BuildComposition.d.ts +0 -3
  164. package/dist/types/Services/Composition/CompositionCache.d.ts +0 -4
  165. package/dist/types/Services/Composition/CreateCompositionCache.d.ts +0 -3
  166. package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +0 -5
  167. package/dist/types/Services/Conversion/ConvertConcepts.d.ts +0 -5
  168. package/dist/types/Services/CreateBinaryTreeFromData.d.ts +0 -5
  169. package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +0 -2
  170. package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +0 -5
  171. package/dist/types/Services/CreateDefaultConcept.d.ts +0 -3
  172. package/dist/types/Services/CreateTheComposition.d.ts +0 -1
  173. package/dist/types/Services/CreateTheConcept.d.ts +0 -122
  174. package/dist/types/Services/CreateTheConnection.d.ts +0 -63
  175. package/dist/types/Services/CreateTheConnectionGeneral.d.ts +0 -2
  176. package/dist/types/Services/DeleteConcept.d.ts +0 -2
  177. package/dist/types/Services/DeleteConnection.d.ts +0 -2
  178. package/dist/types/Services/DeleteConnectionByType.d.ts +0 -22
  179. package/dist/types/Services/FindConeceptsFromConnection.d.ts +0 -6
  180. package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +0 -1
  181. package/dist/types/Services/GetComposition.d.ts +0 -205
  182. package/dist/types/Services/GetCompositionBulk.d.ts +0 -100
  183. package/dist/types/Services/GetCompositionList.d.ts +0 -7
  184. package/dist/types/Services/GetConceptByCharacter.d.ts +0 -2
  185. package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +0 -11
  186. package/dist/types/Services/GetConnections.d.ts +0 -1
  187. package/dist/types/Services/GetDataFromIndexDb.d.ts +0 -2
  188. package/dist/types/Services/GetLink.d.ts +0 -3
  189. package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +0 -3
  190. package/dist/types/Services/GetRelation.d.ts +0 -3
  191. package/dist/types/Services/GetTheConcept.d.ts +0 -96
  192. package/dist/types/Services/InitializeSystem.d.ts +0 -2
  193. package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +0 -41
  194. package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +0 -47
  195. package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +0 -44
  196. package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +0 -46
  197. package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +0 -34
  198. package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +0 -104
  199. package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +0 -84
  200. package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +0 -140
  201. package/dist/types/Services/Local/DeleteConceptLocal.d.ts +0 -47
  202. package/dist/types/Services/Local/GetCompositionListLocal.d.ts +0 -37
  203. package/dist/types/Services/Local/GetCompositionLocal.d.ts +0 -97
  204. package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +0 -56
  205. package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +0 -19
  206. package/dist/types/Services/Local/GetRelationLocal.d.ts +0 -21
  207. package/dist/types/Services/Local/GetTheConceptLocal.d.ts +0 -63
  208. package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +0 -22
  209. package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +0 -164
  210. package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +0 -36
  211. package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +0 -42
  212. package/dist/types/Services/Logs/LogEvent.d.ts +0 -1
  213. package/dist/types/Services/Mail.d.ts +0 -18
  214. package/dist/types/Services/MakeTheCharacter.d.ts +0 -2
  215. package/dist/types/Services/MakeTheCharacterData.d.ts +0 -2
  216. package/dist/types/Services/MakeTheConcept.d.ts +0 -2
  217. package/dist/types/Services/MakeTheInstanceConcept.d.ts +0 -15
  218. package/dist/types/Services/MakeTheTimestamp.d.ts +0 -1
  219. package/dist/types/Services/MakeTheTypeConcept.d.ts +0 -1
  220. package/dist/types/Services/Mqtt/publishMessage.d.ts +0 -1
  221. package/dist/types/Services/Search/DataIdFormat.d.ts +0 -32
  222. package/dist/types/Services/Search/FormatData.d.ts +0 -36
  223. package/dist/types/Services/Search/JustIdFormat.d.ts +0 -23
  224. package/dist/types/Services/Search/NewFormat.d.ts +0 -4
  225. package/dist/types/Services/Search/SearchLinkInternal.d.ts +0 -3
  226. package/dist/types/Services/Search/SearchLinkMultiple.d.ts +0 -55
  227. package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +0 -82
  228. package/dist/types/Services/Search/orderingConnections.d.ts +0 -2
  229. package/dist/types/Services/Security/GetRequestHeader.d.ts +0 -6
  230. package/dist/types/Services/SplitStrings.d.ts +0 -1
  231. package/dist/types/Services/Transaction/LocalTransaction.d.ts +0 -117
  232. package/dist/types/Services/UpdateComposition.d.ts +0 -2
  233. package/dist/types/Services/Upload.d.ts +0 -34
  234. package/dist/types/Services/User/UserFromLocalStorage.d.ts +0 -10
  235. package/dist/types/Services/User/UserTranslation.d.ts +0 -3
  236. package/dist/types/Services/View/ViewInternalData.d.ts +0 -1
  237. package/dist/types/Services/assets/GetImageService.d.ts +0 -14
  238. package/dist/types/Services/automated/automated-concept-connection.d.ts +0 -7
  239. package/dist/types/Services/cacheService.d.ts +0 -1
  240. package/dist/types/Validator/constant.d.ts +0 -3
  241. package/dist/types/Validator/interface.d.ts +0 -19
  242. package/dist/types/Validator/utils.d.ts +0 -7
  243. package/dist/types/Validator/validator.d.ts +0 -37
  244. package/dist/types/Visualize/ConceptCircle.d.ts +0 -35
  245. package/dist/types/Visualize/ConceptCircleList.d.ts +0 -9
  246. package/dist/types/Visualize/ConnectionLine.d.ts +0 -21
  247. package/dist/types/Visualize/ConnectionLineList.d.ts +0 -6
  248. package/dist/types/Visualize/drawExistingConcepts.d.ts +0 -8
  249. package/dist/types/Visualize/helper.d.ts +0 -15
  250. package/dist/types/Widgets/BaseObserver.d.ts +0 -25
  251. package/dist/types/Widgets/BaseWidget.d.ts +0 -37
  252. package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +0 -11
  253. package/dist/types/Widgets/BuilderStatefulWidget.d.ts +0 -392
  254. package/dist/types/Widgets/CacheWidget.service.d.ts +0 -77
  255. package/dist/types/Widgets/NormalizeStyles.service.d.ts +0 -10
  256. package/dist/types/Widgets/RenderPage.service.d.ts +0 -17
  257. package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +0 -22
  258. package/dist/types/Widgets/RenderWidgetService.d.ts +0 -187
  259. package/dist/types/Widgets/StatefulWidget.d.ts +0 -167
  260. package/dist/types/Widgets/WidgetBuild.d.ts +0 -45
  261. package/dist/types/Widgets/WidgetCacheManager.d.ts +0 -108
  262. package/dist/types/Widgets/WidgetTree.d.ts +0 -61
  263. package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +0 -95
  264. package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +0 -51
  265. package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +0 -35
  266. package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +0 -57
  267. package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +0 -50
  268. package/dist/types/WrapperFunctions/QueryCacheManager.d.ts +0 -107
  269. package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +0 -55
  270. package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +0 -60
  271. package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +0 -36
  272. package/dist/types/app.d.ts +0 -377
  273. package/dist/types/prototype/prototype.service.d.ts +0 -25
  274. package/dist/types/service-worker.d.ts +0 -1
@@ -1,61 +0,0 @@
1
- import { FreeschemaResponse } from "../DataStructures/Responses/StandardResponses";
2
- import { SignupModel } from "../DataStructures/SignupModel";
3
- /**
4
- * Registers a new user account on the backend server.
5
- *
6
- * Creates a new user with provided signup information including email, password,
7
- * username, and profile details.
8
- *
9
- * @param signupModel - SignupModel object containing:
10
- * - email: User's email address
11
- * - password: User's password
12
- * - username: Unique username
13
- * - fname: First name
14
- * - lname: Last name
15
- * - title: Title/gender
16
- * - type: User type
17
- * @returns FreeschemaResponse with signup result (status, message, data)
18
- *
19
- * @example
20
- * const result = await Signup({
21
- * email: "newuser@example.com",
22
- * password: "securePass123",
23
- * username: "newuser",
24
- * fname: "John",
25
- * lname: "Doe"
26
- * });
27
- * if (result.status) {
28
- * console.log("Account created successfully");
29
- * }
30
- */
31
- export default function Signup(signupModel: SignupModel): Promise<FreeschemaResponse | undefined>;
32
- /**
33
- * Registers a new entity (organization/company account) on the backend.
34
- *
35
- * Creates entity-type accounts (different from regular user accounts).
36
- * Includes timestamp for registration tracking.
37
- *
38
- * @param signupData - Signup data object containing:
39
- * - type: Entity type
40
- * - username: Unique username
41
- * - title: Title/designation
42
- * - email: Entity email
43
- * - password: Account password
44
- * - timestamp: Registration timestamp (ISO string)
45
- * - fname: First name / Entity name
46
- * - lname: Last name / Additional info
47
- * @returns Response JSON with entity creation result
48
- * @throws Error if signup fails (404, 500, or other HTTP errors)
49
- *
50
- * @example
51
- * const result = await SignupEntity({
52
- * type: "organization",
53
- * username: "acme_corp",
54
- * email: "admin@acme.com",
55
- * password: "securePass",
56
- * timestamp: new Date().toISOString(),
57
- * fname: "ACME Corporation",
58
- * lname: "Inc."
59
- * });
60
- */
61
- export declare function SignupEntity(signupData: any): Promise<any>;
@@ -1,12 +0,0 @@
1
- import { Concept } from "../../app";
2
- /**
3
- * Translates a local concept ID to its real backend concept.
4
- * Fetches the actual concept from backend and caches it in ConceptsData.
5
- *
6
- * @param conceptId - Local concept ID to translate
7
- * @returns Real Concept object from backend, or default concept on error
8
- *
9
- * @example
10
- * const realConcept = await TranslateLocalToReal(123);
11
- */
12
- export declare function TranslateLocalToReal(conceptId: number): Promise<Concept>;
@@ -1,15 +0,0 @@
1
- /**
2
- * Retrieves internal data (connections and concepts) for multiple compositions.
3
- * Returns a dictionary mapping composition IDs to their internal connection arrays.
4
- *
5
- * **Complex Logic**: For each composition ID, fetches connections and related concepts,
6
- * builds a dictionary structure, and bulk-loads concepts for efficiency.
7
- *
8
- * @param ids - Array of composition IDs to fetch internal data for
9
- * @returns Dictionary mapping composition ID to Connection arrays, or empty array on error
10
- *
11
- * @example
12
- * const internalData = await ViewInternalDataApi([123, 456, 789]);
13
- * // Returns: { 123: [...connections], 456: [...connections], 789: [...connections] }
14
- */
15
- export declare function ViewInternalDataApi(ids: number[]): Promise<any>;
@@ -1,3 +0,0 @@
1
- export declare const ADMIN = 3;
2
- export declare const PRIVATE = 4;
3
- export declare const PUBLIC = 5;
@@ -1,23 +0,0 @@
1
- export declare const config: {
2
- BASE_URL: string;
3
- };
4
- export declare const BASE_URL: string;
5
- export declare const GetConceptUrl: string;
6
- export declare const GetConceptBulkUrl: string;
7
- export declare const GetAllConceptsOfUserUrl: string;
8
- export declare const GetAllConnectionsOfUserUrl: string;
9
- export declare const GetAllConnectionsOfCompositionUrl: string;
10
- export declare const GetAllConnectionsOfCompositionBulkUrl: string;
11
- export declare const GetConceptByCharacterValueUrl: string;
12
- export declare const GetConceptByCharacterAndTypeUrl: string;
13
- export declare const GetCharacterByCharacterUrl: string;
14
- export declare const GetAllConceptsByTypeUrl: string;
15
- export declare const GetAllConnectionsOfConceptUrl: string;
16
- export declare const GetAllAiData: string;
17
- export declare const GetReservedIdUrl: string;
18
- export declare const CreateTheTextDataUrl: string;
19
- export declare const CreateTheCharacterDataUrl: string;
20
- export declare const CreateTheConceptUrl: string;
21
- export declare const CreateTheConnectionUrl: string;
22
- export declare function changeBaseUrl(url: string): void;
23
- export declare function getBaseUrl(): string;
@@ -1,8 +0,0 @@
1
- export declare const NORMAL = 1;
2
- export declare const DATAID = 2;
3
- export declare const JUSTDATA = 3;
4
- export declare const DATAIDDATE = 4;
5
- export declare const RAW = 5;
6
- export declare const ALLID = 6;
7
- export declare const LISTNORMAL = 7;
8
- export declare const DATAV2 = 8;
@@ -1 +0,0 @@
1
- export declare const ckeditorCSS = "\n/* CKEditor content styles */\n.ck-content {\n /* Container styles */\n max-width: 100%;\n margin: 0 auto;\n font-family: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif;\n line-height: 1.5;\n padding: 0.75rem;\n background: #fff;\n color: #333;\n border: 1px solid #ccced1;\n}\n\n/* Headings */\n.ck-content h1, .ck-content h2, .ck-content h3, \n.ck-content h4, .ck-content h5, .ck-content h6 {\n font-weight: 700;\n line-height: 1.2;\n margin: 1em 0 0.5em;\n}\n\n.ck-content h1 { font-size: 2.5em; }\n.ck-content h2 { font-size: 2em; }\n.ck-content h3 { font-size: 1.75em; }\n.ck-content h4 { font-size: 1.5em; }\n.ck-content h5 { font-size: 1.25em; }\n.ck-content h6 { font-size: 1em; }\n\n/* Paragraphs and spacing */\n.ck-content p {\n margin: 1em 0;\n line-height: 1.6;\n}\n\n/* Links */\n.ck-content a {\n color: #1a73e8;\n text-decoration: none;\n}\n\n.ck-content a:hover {\n text-decoration: underline;\n}\n\n/* Lists */\n.ck-content ul,\n.ck-content ol {\n padding-left: 2em;\n margin: 1em 0;\n}\n\n.ck-content ul {\n list-style: disc;\n}\n\n.ck-content ol {\n list-style: decimal;\n}\n\n.ck-content li {\n margin: 0.5em 0;\n}\n\n/* Blockquotes */\n.ck-content blockquote {\n margin: 1em 0;\n padding-left: 1em;\n border-left: 5px solid #ccc;\n font-style: italic;\n color: #666;\n}\n\n/* Code blocks */\n.ck-content pre {\n background: #f5f5f5;\n border: 1px solid #ddd;\n border-radius: 4px;\n padding: 1em;\n margin: 1em 0;\n overflow-x: auto;\n font-family: \"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n\n.ck-content code {\n background: #f5f5f5;\n padding: 0.2em 0.4em;\n border-radius: 3px;\n font-size: 0.9em;\n font-family: \"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n\n/* Tables */\n.ck-content table {\n border-collapse: collapse;\n width: 100%;\n margin: 1em 0;\n}\n\n.ck-content table th,\n.ck-content table td {\n border: 1px solid #ddd;\n padding: 0.75em;\n text-align: left;\n}\n\n.ck-content table th {\n background: #f5f5f5;\n font-weight: bold;\n}\n\n/* Images */\n.ck-content img {\n max-width: 100%;\n height: auto;\n margin: 1em 0;\n}\n\n.ck-content figure {\n margin: 1em 0;\n text-align: center;\n}\n\n.ck-content figure img {\n margin: 0;\n}\n\n.ck-content figcaption {\n color: #666;\n font-size: 0.9em;\n margin-top: 0.5em;\n}\n\n/* Dark mode */\n/*\n@media (prefers-color-scheme: dark) {\n .ck-content {\n background: #1a1a1a;\n color: #e0e0e0;\n }\n\n .ck-content a {\n color: #64b5f6;\n }\n\n .ck-content blockquote {\n border-left-color: #404040;\n color: #b0b0b0;\n }\n\n .ck-content pre,\n .ck-content code {\n background: #2d2d2d;\n border-color: #404040;\n }\n\n .ck-content table th,\n .ck-content table td {\n border-color: #404040;\n }\n\n .ck-content table th {\n background: #2d2d2d;\n }\n\n .ck-content figcaption {\n color: #b0b0b0;\n }\n}\n*/\n\n/* CUSTOM DOCUMENTATION CSS */\n\n#documentation-preview {\n border: 1px solid #ccc;\n padding: 1rem;\n}\n\n#documentation-preview h3 {\n font-size: 1.5rem;\n margin-bottom: 1rem;\n}\n\n.pre-wrapper {\n background: #f2f5f9;\n border: 1px solid #cecece;\n display: block;\n padding: 1rem;\n border-radius: 0.25rem;\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n.pre-wrapper pre {\n margin: 0;\n color: #e87aa2;\n}\n\n.widget-doc-section pre {\n background-color: transparent;\n}\n\n.widget-doc-section p {\n margin: 0;\n}\n\n.widget-doc-section code {\n color: #e87aa2;\n font-size: 0.875rem;\n}\n\n.mv-3 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n.pv-3 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n .widget-documentation-heading {\n background-color: #6e757d;\n color: #eee;\n font-size: 1.5rem;\n padding: 0.5rem 1rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .widget-documentation-heading h4 {\n margin-bottom: 0;\n }\n\n .close-documentation-button {\n border: none;\n outline: none;\n background-color: transparent;\n line-height: 0;\n margin: 0;\n padding: 0;\n cursor: pointer;\n }\n\n .close-documentation-button:hover,\n .close-documentation-button:focus {\n background-color: transparent;\n }\n\n .documentation-creator {\n text-align: right;\n color: #666;\n margin: 0;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n }\n\n .documentation-creator span {\n font-style: italic;\n }\n\n .documentation-attachments {\n display: flex;\n flex-wrap: wrap;\n }\n\n .documentation-attachments img {\n width: 25%;\n height: auto;\n border: 1px solid #ccc;\n padding: 0.25rem;\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n }\n\n .documentation-attachments iframe {\n width: 50%;\n border: 1px solid #ccc;\n padding: 0.25rem;\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n }\n\n .widget-documentation-footer {\n text-align: right;\n margin-top: 1rem;\n }\n\n .widget-documentation-footer button {\n border-radius: 0;\n border: none;\n padding: 0.5rem 1.5rem;\n text-align: center;\n background: #6e757d;\n color: #eee;\n }\n\n #widget-details {\n position: absolute;\n right: 0px;\n top: 0px;\n z-index: 9999;\n }\n\n #widget-details button {\n background: #fff;\n border: 1px solid #ccc;\n border-radius: 0 0 0 0.25rem;\n height: auto;\n width: auto;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 0.25rem;\n }\n\n #widget-details button:hover, \n #widget-details button:focus {\n opacity: 0.75;\n }\n\n #widget-details button span {\n pointer-events: none;\n font-size: 1rem;\n }\n\n #widget-details button svg {\n pointer-events: none;\n width: 16px;\n height: 16px;\n fill: #999;\n }\n\n #widget-documentation-preview-modal {\n border: none;\n }\n\n @media (min-width: 768px) {\n #widget-documentation-preview-modal {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n }\n\n";
@@ -1,6 +0,0 @@
1
- import { Concept, Connection } from "../app";
2
- export declare const broadcastChannel: BroadcastChannel;
3
- export interface InnerActions {
4
- concepts: Concept[];
5
- connections: Connection[];
6
- }
@@ -1,5 +0,0 @@
1
- export declare const COMPOSITIONS: {
2
- PAGE_COMP_NAME: string;
3
- WIDGET_COMP_NAME: string;
4
- PROJECT_COMP_NAME: string;
5
- };
@@ -1,89 +0,0 @@
1
- export declare class BaseUrl {
2
- static BASE_URL: string;
3
- static NODE_CACHE_URL: string;
4
- static AI_URL: string;
5
- static MQTT_URL: string;
6
- static NODE_URL: string;
7
- static LOG_SERVER: string;
8
- static MQTT_CONNECTION: any;
9
- static BASE_APPLICATION: string;
10
- static DOCUMENTATION_WIDGET: number;
11
- static isNearestCache: boolean;
12
- static isPwa: boolean;
13
- static FLAGS: any;
14
- static BASE_RANDOMIZER: number;
15
- static setRandomizer(id: number): void;
16
- static getRandomizer(): number;
17
- static GetConceptUrl(): string;
18
- static GetConnectionUrl(): string;
19
- static GetConceptBulkUrl(): string;
20
- static GetConnectionBulkUrl(): string;
21
- static GetAllConceptsOfUserUrl(): string;
22
- static GetAllConnectionsOfUserUrl(): string;
23
- static GetAllConnectionsOfCompositionUrl(): string;
24
- static GetAllConnectionsOfCompositionBulkUrl(): string;
25
- static GetConceptByCharacterValueUrl(): string;
26
- static GetConceptByCharacterAndTypeUrl(): string;
27
- static GetConceptByCharacterAndCategoryUrl(): string;
28
- static GetInstanceConceptByCharacterTypeUrl(): string;
29
- static GetConceptByCharacterAndCategoryDirectUrl(): string;
30
- static GetCharacterByCharacterUrl(): string;
31
- static GetAllConceptsByTypeUrl(): string;
32
- static GetAllConnectionsOfConceptUrl(): string;
33
- static GetAllConnectionsToConceptUrl(): string;
34
- static GetAllAiData(): string;
35
- static getAppConfig(): string;
36
- static PostPrefetchConceptConnections(): string;
37
- static GetSuggestedConcepts(): string;
38
- static GetSuggestedConnections(): string;
39
- static PostLogger(): string;
40
- static LogHealth(): string;
41
- static GetAllPrefetchConnectionsUrl(): string;
42
- static GetAllLinkerConnectionOfConceptUrl(): string;
43
- static GetAllLinkerConnectionToConceptUrl(): string;
44
- static DeleteConceptUrl(): string;
45
- static DeleteUserUrl(): string;
46
- static RecursiveSearchUrl(): string;
47
- static SearchLinkMultipleAllApiUrl(): string;
48
- static MakeTheNameInBackendUrl(): string;
49
- static SearchAllTypeWithLinker(auth?: boolean): string;
50
- static LoginUrl(): string;
51
- static RefreshTokenUrl(): string;
52
- static SignupUrl(): string;
53
- static GetCompositionConnectionBetweenTwoConceptsUrl(): string;
54
- static SearchCompositionsUrl(): string;
55
- static SearchLinkMultipleAll(): string;
56
- static CreateSessionId(): string;
57
- static CreateSessionVisitUrl(): string;
58
- static ViewInternalDataUrl(): string;
59
- static SearchInternalWithAuthenticatedCcsUrl(): string;
60
- static SearchInternalWithCcsUrl(): string;
61
- static CreateGhostConceptApiUrl(withAuth?: boolean): string;
62
- static CreateGhostConnectionApiUrl(): string;
63
- static GetRealConceptById(): string;
64
- static GetReservedIdUrl(): string;
65
- static GetReservedConnectionIdUrl(): string;
66
- static CreateTheTextDataUrl(): string;
67
- static CreateTheCharacterDataUrl(): string;
68
- static CreateTheConceptUrl(): string;
69
- static CreateTheConnectionUrl(): string;
70
- static CreateTheConnectionNewUrl(): string;
71
- static MakeTheTypeConceptUrl(): string;
72
- static DeleteTheConnectionUrl(): string;
73
- static DeleteTheConnectionBulkUrl(): string;
74
- static GetTypeConceptBulk(): string;
75
- static UploadFileLimitUrl(): string;
76
- static FreeschemaQueryUrl(): string;
77
- static uploadImageUrl(): string;
78
- static uploadImageUrlWithSmall(): string;
79
- static uploadFileUrl(): string;
80
- static sendMail(): string;
81
- static sendBulkMail(): string;
82
- static getWidgetData(): string;
83
- static getLatestWidgetData(): string;
84
- static getRecentWidgetData(): string;
85
- static getConnectionsByTypes(): string;
86
- static GetConnectionsBetweenUrl(): string;
87
- static CreatePrototypeUrl(): string;
88
- static GetCachedImage(ImageName: string): string;
89
- }
@@ -1,16 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- import { Node } from "./Node";
3
- export declare class BinaryCharacterTree {
4
- static characterRoot: Node | null;
5
- static waitForDataToLoad(): Promise<unknown>;
6
- static checkFlag(resolve: any): any;
7
- static addNodeToTree(node: Node): Promise<Node | null>;
8
- static removeNodeByCharacter(character: string, id: number): Promise<void>;
9
- static countNumberOfNodes(): number;
10
- static addConceptToTree(concept: Concept): void;
11
- static getNodeFromTree(value: string): Node | null;
12
- static getNodeFromTreeUpdated(value: string): Node | null;
13
- static getCharacterAndTypeFromTree(value: string, typeId: number): Promise<Node | null>;
14
- static getCharacterAndCategoryFromTree(value: string, categoryId: number): Promise<Node | null>;
15
- static removeConceptCharacter(id: number): void;
16
- }
@@ -1,77 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- import { Node } from "./Node";
3
- /**
4
- * BinaryTree — In-memory concept store keyed by numeric concept ID.
5
- *
6
- * Backed by a Map<number, Concept> for O(1) lookups, inserts, and deletes.
7
- * Also maintains the BinaryCharacterTree (character-indexed) on every insert
8
- * so character-based search continues to work.
9
- *
10
- * All public method signatures are preserved for backward compatibility.
11
- * getNodeFromTree returns a { key, value } wrapper so callers that access
12
- * node.value continue to work without changes.
13
- */
14
- export declare class BinaryTree {
15
- /** Sentinel root — non-null when the map has data, null when empty. */
16
- static root: Node | null;
17
- /** Primary data store: concept ID → Concept object */
18
- private static conceptMap;
19
- /**
20
- * Low-level add — stores the node's key/value in the Map.
21
- * Kept for API compatibility (called internally by addConceptToTree).
22
- * @param node - Node with numeric key and Concept value
23
- */
24
- static addNodeToTree(node: Node): void;
25
- /**
26
- * Polls until IdentifierFlags.isDataLoaded is true (max 25 seconds).
27
- * Used by callers that need to wait for the initial IndexedDB load to finish.
28
- */
29
- static waitForDataToLoad(): Promise<unknown>;
30
- /** Recursive polling helper for waitForDataToLoad */
31
- static checkFlag(resolve: any): any;
32
- /**
33
- * Adds a concept to both the ID map and the character tree.
34
- *
35
- * The character tree (BinaryCharacterTree) is still an AVL tree because
36
- * it supports character-based search which is out of scope for this refactor.
37
- *
38
- * @param concept - The Concept to store
39
- */
40
- static addConceptToTree(concept: Concept): void;
41
- /**
42
- * Retrieves a concept by ID from the Map.
43
- *
44
- * Returns a { key, value } wrapper matching the Node shape that callers expect.
45
- * Callers access the returned object's .value property to get the Concept.
46
- *
47
- * @param id - The concept ID to look up
48
- * @returns Node-like wrapper with .value = Concept, or null if not found
49
- */
50
- static getNodeFromTree(id: number): Promise<Node | null>;
51
- /**
52
- * Removes a concept by ID. Dispatches an event before deletion
53
- * so listeners (e.g. UI components) can react to the removal.
54
- *
55
- * @param id - The concept ID to remove
56
- */
57
- static removeNodeFromTree(id: number): Promise<void>;
58
- /**
59
- * Bulk concept retrieval by ID list.
60
- *
61
- * For each ID found in the Map, pushes the Concept into conceptArray
62
- * and removes the ID from the ids array. IDs remaining in the array
63
- * after this call are "not found" and will be fetched from the backend.
64
- *
65
- * Performance: O(k) where k = ids.length (was O(N) full tree traversal).
66
- *
67
- * @param ids - Array of concept IDs to look up (mutated: found IDs are spliced out)
68
- * @param conceptArray - Output array (mutated: found Concepts are pushed)
69
- * @param remainingIds - Not used directly but kept for API compatibility
70
- */
71
- static getConceptListFromIds(ids: number[], conceptArray: Concept[], remainingIds: any): Promise<void>;
72
- /**
73
- * Returns the total number of concepts stored.
74
- * @returns Number of concepts in the Map
75
- */
76
- static countNumberOfNodes(): number;
77
- }
@@ -1,17 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- import { Node } from "./Node";
3
- import { TypeNode } from "./TypeNode";
4
- export declare class BinaryTypeTree {
5
- static typeRoot: Node | null;
6
- static root: TypeNode | null;
7
- static addType(node: TypeNode): Promise<TypeNode | null>;
8
- static addConceptToTree(concept: Concept): void;
9
- static removeTypeConcept(typeId: number, id: number): void;
10
- static getNodeFromTreeNew(id: number): TypeNode | null;
11
- static getTypeVariantsFromTreeNew(typeId: number): Promise<Concept[]>;
12
- static waitForDataToLoad(): Promise<unknown>;
13
- static checkFlag(resolve: any): any;
14
- static getTypeVariantsFromTreeWithUserIdNew(typeId: number, userId: number): Promise<Concept[]>;
15
- static getTypeVariantsWithCharacterValueNew(characterValue: string, typeId: number): Promise<Concept>;
16
- static countNumberOfNodes(): number;
17
- }
@@ -1,8 +0,0 @@
1
- import { TheCharacter } from "./TheCharacter";
2
- export declare class CharacterRepository {
3
- name: string;
4
- constructor();
5
- static characterData: TheCharacter[];
6
- static AddCharacter(character: TheCharacter): void;
7
- static GetCharacter(value: string): TheCharacter;
8
- }
@@ -1,14 +0,0 @@
1
- import { Connection } from '../../DataStructures/Connection';
2
- import { Concept } from '../../DataStructures/Concept';
3
- export declare class Composition {
4
- id: number;
5
- mainConcept: Concept;
6
- connections: Connection[];
7
- concepts: Concept[];
8
- subcompositions: number[];
9
- cached: any;
10
- updateCache(): Promise<void>;
11
- UpdateAcrossDistributedSystem(): void;
12
- isUpdating(): void;
13
- GetDataCache(): any;
14
- }
@@ -1,10 +0,0 @@
1
- import { Composition } from './Composition';
2
- import { CompositionNode } from './CompositionNode';
3
- export declare class CompositionBinaryTree {
4
- static root: CompositionNode | null;
5
- static addNodeToTree(node: CompositionNode): CompositionNode | undefined;
6
- static addCompositionToTree(composition: Composition): void;
7
- static getNodeFromTree(id: number): Promise<CompositionNode | null>;
8
- static removeNodeFromTree(id: number): Promise<void>;
9
- static countNumberOfNodes(): number;
10
- }
@@ -1,21 +0,0 @@
1
- import { Composition } from './Composition';
2
- export declare class CompositionNode {
3
- expiryTime: Date;
4
- key: number;
5
- value: Composition;
6
- leftNode: CompositionNode | null;
7
- rightNode: CompositionNode | null;
8
- height: number;
9
- constructor(key: number, value: Composition, leftNode: CompositionNode | null, rightNode: CompositionNode | null);
10
- isValid(): boolean;
11
- saveToCache(data: any): void;
12
- addNode(passedNode: CompositionNode, node: CompositionNode | null, height: number): CompositionNode | null;
13
- rightRotate(y: CompositionNode | null): CompositionNode | null;
14
- leftRotate(x: CompositionNode | null): CompositionNode | null;
15
- getHeight(node: CompositionNode | null): number;
16
- getBalanceFactor(N: CompositionNode | null): number;
17
- getFromNode(id: number, node: CompositionNode | null): CompositionNode | null;
18
- removeNode(passedNode: CompositionNode | null, id: number): CompositionNode | null;
19
- countNodeBelow(root: CompositionNode | null): number;
20
- inOrderSuccessor(root: CompositionNode): CompositionNode;
21
- }
@@ -1,25 +0,0 @@
1
- export declare class Concept {
2
- id: number;
3
- ghostId: number;
4
- count: number;
5
- userId: number;
6
- typeId: number;
7
- categoryId: number;
8
- accessId: number;
9
- characterValue: string;
10
- typeCharacter: string;
11
- entryTimeStamp: Date | string;
12
- referentId: number | null;
13
- updatedTimeStamp: Date | string;
14
- referent: Concept | null | void;
15
- type: null | void | Concept;
16
- isNew: boolean;
17
- isComposition: boolean;
18
- isTemp: boolean;
19
- isSynced: boolean;
20
- applicationId: number;
21
- x: number;
22
- y: number;
23
- constructor(id: number, userId: number, typeId: number, categoryId: number, referentId: number | null, characterValue: string, accessId: number, isNew: boolean | undefined, entryTimeStamp: Date | string, updatedTimeStamp: Date | string, typeCharacter: string);
24
- getType(): void;
25
- }
@@ -1,30 +0,0 @@
1
- import { Concept } from "./Concept";
2
- import { WidgetDetails } from "./WidgetCache/WidgetDetails";
3
- export declare class ConceptsData {
4
- name: string;
5
- constructor();
6
- static conceptsArray: Concept[];
7
- static NPC: number[];
8
- static conceptDictionary: Concept[];
9
- static CheckContains(concept: Concept): boolean;
10
- static AddNpc(id: number): void;
11
- static GetNpc(id: number): boolean;
12
- static AddConceptToStorage(concept: Concept): void;
13
- static GetConceptBulkData(ids: number[], connectionArray: Concept[], remainingIds: any): Promise<void>;
14
- static AddWidget(widgetDetails: WidgetDetails): void;
15
- static AddConcept(concept: Concept): void;
16
- static AddConceptToMemory(concept: Concept): void;
17
- static AddConceptTemporary(concept: Concept): void;
18
- static RemoveConcept(concept: Concept): void;
19
- static GetWidget(id: number): Promise<WidgetDetails>;
20
- static RemoveWidget(id: number): Promise<any>;
21
- static GetConcept(id: number): Promise<any>;
22
- static GetConceptByCharacter(characterValue: string): Promise<Concept>;
23
- static GetConceptByCharacterUpdated(characterValue: string): Promise<Concept>;
24
- static GetConceptByCharacterAndTypeLocal(character_value: string, typeId: number): Promise<Concept>;
25
- static GetConceptByCharacterAndCategoryLocal(character_value: string, categoryId: number): Promise<Concept>;
26
- static GetConceptsByTypeId(typeId: number): Concept[];
27
- static GetConceptsByTypeIdAndUser(typeId: number, userId: number): Promise<any>;
28
- static GetBinaryCharacterTree(): import("./Node").Node | null;
29
- getName(): string;
30
- }
@@ -1,11 +0,0 @@
1
- import { Concept } from "./Concept";
2
- export declare class ConceptsToDraw {
3
- name: string;
4
- constructor();
5
- static conceptsArray: Concept[];
6
- static CheckContains(concept: Concept): boolean;
7
- static AddConcept(concept: Concept): void;
8
- static RemoveConcept(concept: Concept): void;
9
- static GetConcept(id: number): Concept | null;
10
- getName(): string;
11
- }
@@ -1,23 +0,0 @@
1
- import { Concept } from "./Concept";
2
- export declare class Connection {
3
- id: number;
4
- count: number;
5
- userId: number;
6
- ghostId: number;
7
- ofTheConceptId: number;
8
- toTheConceptId: number;
9
- entryTimeStamp: Date | string;
10
- terminationDateTime: Date;
11
- typeId: number;
12
- orderId: number;
13
- accessId: number;
14
- typeCharacter: string;
15
- localSyncTime: Date;
16
- isTemp: boolean;
17
- toUpdate: boolean;
18
- applicationId: number;
19
- type: Concept;
20
- ofConcept: Concept;
21
- toConcept: Concept;
22
- constructor(id: number | undefined, ofTheConceptId: number, toTheConceptId: number, userId: number, typeId: number, orderId: number, accessId: number);
23
- }
@@ -1,81 +0,0 @@
1
- import { Connection } from "../../DataStructures/Connection";
2
- import { ConnectionNode } from "./ConnectionNode";
3
- /**
4
- * ConnectionBinaryTree — In-memory connection store keyed by numeric connection ID.
5
- *
6
- * Backed by a Map<number, Connection> for O(1) lookups, inserts, and deletes.
7
- * The secondary index trees (ConnectionTypeTree, ConnectionOfTheTree) are
8
- * managed separately by ConnectionData and remain unchanged.
9
- *
10
- * All public method signatures are preserved for backward compatibility.
11
- * getNodeFromTree returns a { key, value } wrapper so callers that access
12
- * node.value continue to work without changes.
13
- */
14
- export declare class ConnectionBinaryTree {
15
- /** Sentinel root — non-null when the map has data, null when empty. */
16
- static connectionroot: ConnectionNode | null;
17
- /** Primary data store: connection ID → Connection object */
18
- private static connectionMap;
19
- /**
20
- * Low-level add — stores the node's key/value in the Map.
21
- * Kept for API compatibility.
22
- * @param node - ConnectionNode with numeric key and Connection value
23
- */
24
- static addNodeToTree(node: ConnectionNode): void;
25
- /**
26
- * Adds a connection to the Map and dispatches an event for the
27
- * owning concept so UI listeners can react.
28
- *
29
- * The dispatchIdEvent(ofTheConceptId) was previously fired inside
30
- * ConnectionNode.addNode when the node was placed into a null slot.
31
- * We only fire it for new connections (not overwrites) to preserve
32
- * the original behavior.
33
- *
34
- * @param connection - The Connection to store
35
- */
36
- static addConnectionToTree(connection: Connection): void;
37
- /**
38
- * Returns the total number of connections stored.
39
- * @returns Number of connections in the Map
40
- */
41
- static traverse(): number;
42
- /**
43
- * Polls until IdentifierFlags.isConnectionLoaded is true (max 25 seconds).
44
- * Used by callers that need to wait for the initial IndexedDB load to finish.
45
- */
46
- static waitForDataToLoad(): Promise<unknown>;
47
- /** Recursive polling helper for waitForDataToLoad */
48
- static checkFlag(resolve: any): any;
49
- /**
50
- * Removes a connection by ID. Dispatches an event for the owning concept
51
- * before deletion so listeners can react to the removal.
52
- *
53
- * @param id - The connection ID to remove
54
- */
55
- static removeNodeFromTree(id: number): Promise<void>;
56
- /**
57
- * Retrieves a connection by ID from the Map.
58
- *
59
- * Returns a { key, value } wrapper matching the ConnectionNode shape.
60
- * Also increments the connection's count field for access tracking
61
- * (preserving the original ConnectionNode.getFromNode behavior).
62
- *
63
- * @param id - The connection ID to look up
64
- * @returns ConnectionNode-like wrapper with .value = Connection, or null/undefined
65
- */
66
- static getNodeFromTree(id: number): Promise<ConnectionNode | null | undefined>;
67
- /**
68
- * Bulk connection retrieval by ID list.
69
- *
70
- * For each ID found in the Map, pushes the Connection into connectionArray
71
- * and removes the ID from the ids array. IDs remaining after this call
72
- * are "not found" and will be fetched from the backend.
73
- *
74
- * Performance: O(k) where k = ids.length (was O(N) full tree traversal).
75
- *
76
- * @param ids - Array of connection IDs to look up (mutated: found IDs are spliced out)
77
- * @param connectionArray - Output array (mutated: found Connections are pushed)
78
- * @param remainingIds - Not used directly but kept for API compatibility
79
- */
80
- static getConnectionListFromIds(ids: number[], connectionArray: Connection[], remainingIds: any): Promise<void>;
81
- }
@@ -1,27 +0,0 @@
1
- import { Connection } from "./../Connection";
2
- export declare class ConnectionNode {
3
- key: any;
4
- value: Connection;
5
- leftNode: ConnectionNode | null;
6
- rightNode: ConnectionNode | null;
7
- currentNode: ConnectionNode | null;
8
- variants: ConnectionNode[];
9
- height: number;
10
- constructor(key: any, value: Connection, leftNode: ConnectionNode | null, rightNode: ConnectionNode | null);
11
- addCurrentNode(passedNode: ConnectionNode, node: ConnectionNode | null): ConnectionNode;
12
- addCurrentNodeType(passedNode: ConnectionNode, node: ConnectionNode | null): ConnectionNode;
13
- getMax(a: number, b: number): number;
14
- addNode(passedNode: ConnectionNode, node: ConnectionNode | null, height: number): ConnectionNode | null;
15
- addTypeNode(passedNode: ConnectionNode, node: ConnectionNode | null, height: number): ConnectionNode | null;
16
- rightRotate(y: ConnectionNode | null): ConnectionNode | null;
17
- leftRotate(x: ConnectionNode | null): ConnectionNode | null;
18
- getHeight(node: ConnectionNode | null): number;
19
- getBalanceFactor(N: ConnectionNode | null): number;
20
- getFromNode(id: number, node: ConnectionNode | null): ConnectionNode | null;
21
- getCharacterFromNode(value: string, node: ConnectionNode | null): ConnectionNode | null;
22
- checkIfIdsInNode(node: ConnectionNode | null, ids: number[], connectionArray: Connection[], remainingIds: any): void;
23
- traverse(node: ConnectionNode | null): number;
24
- removeNode(passedNode: ConnectionNode | null, id: number): ConnectionNode | null;
25
- removeNodeWithVariants(passedNode: ConnectionNode | null, typeIdentifier: any, conceptId: number): ConnectionNode | null;
26
- inOrderSuccessor(root: ConnectionNode): ConnectionNode;
27
- }
@@ -1,10 +0,0 @@
1
- import { NodePrimitive } from "./NodePrimitive";
2
- export declare class ConnectionOfNode extends NodePrimitive {
3
- key: string;
4
- value: number[];
5
- height: number;
6
- leftNode: ConnectionOfNode | null;
7
- rightNode: ConnectionOfNode | null;
8
- constructor(key: any, value: number[], leftNode: ConnectionOfNode | null, rightNode: ConnectionOfNode | null);
9
- addNode(passedNode: ConnectionOfNode, node: ConnectionOfNode | null, height: number): any;
10
- }