mftsccs-browser 2.1.237-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,17 +0,0 @@
1
- import { FilterSearch } from "./FilterSearch";
2
- export declare class SearchQuery {
3
- composition: number;
4
- type: string;
5
- linker: string;
6
- inpage: number;
7
- page: number;
8
- listLinkers: string[];
9
- fullLinkers: string[];
10
- textSearch: string;
11
- logic: string;
12
- reverse: boolean;
13
- doFilter: boolean;
14
- filterSearches: FilterSearch[];
15
- selectors: string[];
16
- ofCompositions: number[];
17
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Encrypts and stores a profile object in localStorage.
3
- * Uses AES-GCM with a browser-bound derived key so the ciphertext
4
- * is not portable to other origins or browsers.
5
- */
6
- export declare function saveProfile(profile: Record<string, any>): Promise<void>;
7
- /**
8
- * Decrypts and returns the stored profile, or null if absent/tampered.
9
- */
10
- export declare function loadProfile(): Promise<Record<string, any> | null>;
11
- /**
12
- * Removes the stored profile.
13
- */
14
- export declare function clearProfile(): void;
@@ -1,24 +0,0 @@
1
- export declare class TokenStorage {
2
- static BearerAccessToken: string;
3
- static refreshToken: string;
4
- static sessionId: number;
5
- /** In-memory cache of the decrypted profile — populated by saveUserProfile or hydrateProfile */
6
- static profileCache: Record<string, any> | null;
7
- static setSession(sessionId: any): void;
8
- /**
9
- * Stores user profile securely (encrypted in sessionStorage)
10
- * and keeps the token in memory for API calls.
11
- * Also populates profileCache so getUserDetails() works synchronously.
12
- */
13
- static saveUserProfile(signinResponse: any): Promise<boolean>;
14
- static updateTokens(accessToken?: string, refreshToken?: string): Promise<void>;
15
- /**
16
- * Call once at app startup (e.g. in init()) to decrypt the stored profile
17
- * into memory so that getUserDetails() can read it synchronously.
18
- */
19
- static hydrateProfile(): Promise<void>;
20
- /**
21
- * Clears all stored credentials and profile data.
22
- */
23
- static logout(): void;
24
- }
@@ -1,13 +0,0 @@
1
- export declare class SessionData {
2
- id: string;
3
- remote_address: string;
4
- server_port: string;
5
- server_address: string;
6
- server_name: string;
7
- server_software: string;
8
- http_user_agent: string;
9
- self: string;
10
- port: string;
11
- userId: string;
12
- email: string;
13
- }
@@ -1,5 +0,0 @@
1
- export declare class SettingData {
2
- id: number;
3
- isOnlineSync: boolean;
4
- constructor(isOnlineSync: boolean);
5
- }
@@ -1,4 +0,0 @@
1
- export declare class Settings {
2
- static isUpdated: boolean;
3
- static isOnlineSync: boolean;
4
- }
@@ -1,4 +0,0 @@
1
- export interface SigninModel {
2
- email: string;
3
- password: string;
4
- }
@@ -1,4 +0,0 @@
1
- export interface SignupModel {
2
- email: string;
3
- password: string;
4
- }
@@ -1,14 +0,0 @@
1
- import { Concept } from "./Concept";
2
- import { Connection } from "./Connection";
3
- export declare class SyncData {
4
- static conceptsSyncArray: Concept[];
5
- static connectionSyncArray: Connection[];
6
- static CheckContains(concept: Concept): boolean;
7
- static SyncDataDelete(id: number): void;
8
- static CheckContainsConnection(connection: Connection): boolean;
9
- static AddConcept(concept: Concept): void;
10
- static RemoveConcept(concept: Concept): void;
11
- static AddConnection(connection: Connection): void;
12
- static RemoveConnection(connection: Connection): void;
13
- static SyncDataOnline(): Promise<any>;
14
- }
@@ -1,13 +0,0 @@
1
- export declare class TheCharacter {
2
- id: number;
3
- userId: number;
4
- data: string;
5
- securityId: number;
6
- securityUserId: number;
7
- accessId: number;
8
- accessUserId: number;
9
- sessionId: number;
10
- sessionUserId: number;
11
- isNew: boolean;
12
- constructor(userId: number, data: string, securityId: number, securityUserId: number, accessId: number, accessUserId: number, sessionId: number, sessionUserId: number, entryTimestamp: string, isNew: boolean);
13
- }
@@ -1,14 +0,0 @@
1
- export declare class TheTexts {
2
- id: number;
3
- userId: number;
4
- data: string;
5
- securityId: number;
6
- securityUserId: number;
7
- accessId: number;
8
- accessUserId: number;
9
- sessionId: number;
10
- sessionUserId: number;
11
- entryTimestamp: string;
12
- isNew: boolean;
13
- constructor(userId: number, data: string, securityId: number, securityUserId: number, accessId: number, accessUserId: number, sessionId: number, sessionUserId: number, entryTimestamp: string, isNew: boolean);
14
- }
@@ -1,19 +0,0 @@
1
- export type TLibrary = {
2
- order: number;
3
- url: string;
4
- };
5
- export type TMainLibrary = {
6
- css: TLibrary[];
7
- js: TLibrary[];
8
- };
9
- export type TAssistant = {
10
- id: string;
11
- input: string;
12
- type: string;
13
- };
14
- export type TCustomFunction = {
15
- id?: number;
16
- code: string;
17
- name: string;
18
- slug: string;
19
- };
@@ -1,18 +0,0 @@
1
- export declare class TypeNode {
2
- key: any;
3
- value: number[];
4
- leftNode: TypeNode | null;
5
- rightNode: TypeNode | null;
6
- currentNode: TypeNode | null;
7
- height: number;
8
- constructor(key: any, value: number);
9
- addType(node: TypeNode | null, key: number, value: number): TypeNode | null;
10
- rightRotate(y: TypeNode | null): TypeNode | null;
11
- leftRotate(x: TypeNode | null): TypeNode | null;
12
- getHeight(node: TypeNode | null): number;
13
- getBalanceFactor(N: TypeNode | null): number;
14
- getFromNode(id: number, node: TypeNode | null): TypeNode | null;
15
- removeNodeWithVariants(passedNode: TypeNode | null, key: any, conceptId: number): TypeNode | null;
16
- countNodeBelow(root: TypeNode | null): number;
17
- inOrderSuccessor(root: TypeNode): TypeNode;
18
- }
@@ -1,13 +0,0 @@
1
- import { Concept } from "../../DataStructures/Concept";
2
- import { UserNode } from "./UserNode";
3
- export declare class UserBinaryTree {
4
- static root: UserNode | null;
5
- static compositeKey(userId: number, sessionId: number): string;
6
- static addNodeToTree(node: UserNode): UserNode | undefined;
7
- static waitForDataToLoad(): Promise<unknown>;
8
- static checkFlag(resolve: any): any;
9
- static addConceptToTree(concept: Concept, userId: number, sessionId?: number): void;
10
- static getNodeFromTree(userId: number, sessionId: number): Promise<UserNode | null>;
11
- static removeNodeFromTree(userId: number, sessionId?: number): Promise<void>;
12
- static countNumberOfNodes(): number;
13
- }
@@ -1,18 +0,0 @@
1
- import { Concept } from "../Concept";
2
- export declare class UserNode {
3
- key: any;
4
- value: Concept[];
5
- leftNode: UserNode | null;
6
- rightNode: UserNode | null;
7
- height: number;
8
- constructor(key: any, value: Concept, leftNode: UserNode | null, rightNode: UserNode | null);
9
- addNode(passedNode: UserNode, node: UserNode | null, height: number): UserNode | null;
10
- rightRotate(y: UserNode | null): UserNode | null;
11
- leftRotate(x: UserNode | null): UserNode | null;
12
- getHeight(node: UserNode | null): number;
13
- getBalanceFactor(N: UserNode | null): number;
14
- getFromNode(id: string, node: UserNode | null): UserNode | null;
15
- removeNode(passedNode: UserNode | null, id: string): UserNode | null;
16
- countNodeBelow(root: UserNode | null): number;
17
- inOrderSuccessor(root: UserNode): UserNode;
18
- }
@@ -1,10 +0,0 @@
1
- import { WidgetDetails } from "./WidgetDetails";
2
- import { WidgetNode } from "./WidgetNode";
3
- export declare class WidgetCache {
4
- static root: WidgetNode | null;
5
- static addNodeToTree(node: WidgetNode): WidgetNode | undefined;
6
- static addWidgetToTree(widgetDetails: WidgetDetails): void;
7
- static getNodeFromTree(id: number): Promise<WidgetNode | null>;
8
- static removeNodeFromTree(id: number): Promise<void>;
9
- static countNumberOfNodes(): number;
10
- }
@@ -1,9 +0,0 @@
1
- export declare class WidgetDetails {
2
- widgetId: number;
3
- mainId: number;
4
- conceptIds: number[];
5
- linkers: number[];
6
- reverse: number[];
7
- mainCompositionIds: number[];
8
- countinfo: any;
9
- }
@@ -1,18 +0,0 @@
1
- import { WidgetDetails } from "./WidgetDetails";
2
- export declare class WidgetNode {
3
- key: any;
4
- value: WidgetDetails;
5
- leftNode: WidgetNode | null;
6
- rightNode: WidgetNode | null;
7
- height: number;
8
- constructor(key: any, value: WidgetDetails, leftNode: WidgetNode | null, rightNode: WidgetNode | null);
9
- addNode(passedNode: WidgetNode, node: WidgetNode | null, height: number): WidgetNode | null;
10
- rightRotate(y: WidgetNode | null): WidgetNode | null;
11
- leftRotate(x: WidgetNode | null): WidgetNode | null;
12
- getHeight(node: WidgetNode | null): number;
13
- getBalanceFactor(N: WidgetNode | null): number;
14
- getFromNode(id: number, node: WidgetNode | null): WidgetNode | null;
15
- removeNode(passedNode: WidgetNode | null, id: number): WidgetNode | null;
16
- countNodeBelow(root: WidgetNode | null): number;
17
- inOrderSuccessor(root: WidgetNode): WidgetNode;
18
- }
@@ -1,48 +0,0 @@
1
- /**
2
- * Static key-value store for runtime configuration values.
3
- *
4
- * Used throughout the package for feature flags and settings that need to be
5
- * readable anywhere without passing parameters down the call stack.
6
- *
7
- * **Built-in keys:**
8
- * - `'enableCache'` — controls widget and query caching (default `true`).
9
- * Set via `init()` parameters or toggled at runtime. Checked on every
10
- * cache read/write in `QueryCacheManager` and `WidgetCacheManager`.
11
- *
12
- * @example
13
- * // Disable cache at runtime
14
- * Environments.setValue('enableCache', false)
15
- *
16
- * @example
17
- * // Read with a default value (returned when key has never been set)
18
- * const cacheOn = Environments.getValue('enableCache', true)
19
- */
20
- export declare class Environments {
21
- static environments: Record<string, any>;
22
- /**
23
- * Retrieves a stored value by key.
24
- *
25
- * @param key - The key to look up.
26
- * @param defaultValue - Value returned when the key has never been set. Defaults to `null`.
27
- * @returns The stored value, or `defaultValue` if the key is absent.
28
- *
29
- * @example
30
- * Environments.getValue('enableCache', true) // true if never set
31
- * Environments.getValue('myFlag', false) // false if never set
32
- */
33
- static getValue(key: string, defaultValue?: any): any;
34
- /**
35
- * Stores a value under the given key. Overwrites any existing value.
36
- * Takes effect immediately — the next call to `getValue` with the same key
37
- * returns the new value.
38
- *
39
- * @param key - The key to store under.
40
- * @param value - The value to store.
41
- * @returns The `Environments` class itself for chaining.
42
- *
43
- * @example
44
- * Environments.setValue('enableCache', false)
45
- * Environments.setValue('myFlag', true).setValue('otherFlag', 42)
46
- */
47
- static setValue(key: string, value: any): typeof Environments;
48
- }
@@ -1,57 +0,0 @@
1
- /** Names of the four object stores */
2
- declare const STORE_WIDGET = "widgetCache";
3
- declare const STORE_LATEST = "latestWidgetCache";
4
- declare const STORE_RECENT = "recentWidgetCache";
5
- declare const STORE_QUERY = "queryCache";
6
- /**
7
- * Opens (or returns the already-opened) cache database.
8
- *
9
- * The database name includes the API base URL and application identifier so that
10
- * different environments/applications each get their own isolated cache store,
11
- * matching the naming convention used by the main database in indexeddb.ts.
12
- *
13
- * @returns Promise resolving to the IDBDatabase instance
14
- */
15
- export declare function openCacheDatabase(): Promise<IDBDatabase>;
16
- /**
17
- * Retrieves a single record from the specified store by key.
18
- *
19
- * @param storeName - The object store to read from
20
- * @param key - The key to look up (number for widget stores, string for queryCache)
21
- * @returns The stored value, or null if not found
22
- */
23
- export declare function cacheGet(storeName: string, key: IDBValidKey): Promise<any | null>;
24
- /**
25
- * Writes a record to the specified store (insert or update).
26
- *
27
- * For stores with in-line keys (widget stores), the key is read from the object's
28
- * "id" field. For the queryCache store (out-of-line keys), pass the key explicitly.
29
- *
30
- * @param storeName - The object store to write to
31
- * @param value - The value to store
32
- * @param key - Optional explicit key (required for queryCache which has no keyPath)
33
- */
34
- export declare function cachePut(storeName: string, value: any, key?: IDBValidKey): Promise<void>;
35
- /**
36
- * Deletes a single record from the specified store by key.
37
- *
38
- * @param storeName - The object store to delete from
39
- * @param key - The key of the record to delete
40
- */
41
- export declare function cacheDelete(storeName: string, key: IDBValidKey): Promise<void>;
42
- /**
43
- * Clears ALL records from the specified store.
44
- *
45
- * @param storeName - The object store to clear
46
- */
47
- export declare function cacheClear(storeName: string): Promise<void>;
48
- /**
49
- * Retrieves ALL records from the specified store.
50
- * Used during init() to load persisted cache data into memory.
51
- *
52
- * @param storeName - The object store to read from
53
- * @returns Array of all stored records
54
- */
55
- export declare function cacheGetAll(storeName: string): Promise<any[]>;
56
- /** Export store name constants so callers don't need magic strings */
57
- export { STORE_WIDGET, STORE_LATEST, STORE_RECENT, STORE_QUERY };
@@ -1,47 +0,0 @@
1
- import { Concept, Connection } from "../app";
2
- /**
3
- * This class is a buffer class that is used to write to the indexdb. We cannot willy nilly write to indexdb because
4
- * it will cause the system to crash. We must also in future only allow certain types of concepts and connections
5
- * to be stored because a large indexdb is more problem than a blessing.
6
- */
7
- export declare class IndexDbUpdate {
8
- static concepts: Concept[];
9
- static connections: Connection[];
10
- /**
11
- * This is the maximum number of concepts or connections that needs to be in the buffer before flusing them
12
- * to index db
13
- */
14
- static INDEX_DB_BUFFER_MAX: number;
15
- /**
16
- * This means that indexdb is in use.
17
- */
18
- static IN_USE: boolean;
19
- /**
20
- * This is a delay that you introduce between two updates to indexdb.
21
- */
22
- static DELAY_BETWEEN_INDEX_UPDATES: number;
23
- /**
24
- * This is a varaible that defines how many times a concept or connection should be used before putting
25
- * it to indexdb.
26
- */
27
- static MIN_USE_FOR_INDEX_DB: number;
28
- /**
29
- * This is a variable that defines that any concept / connection with count greater than this should not
30
- * be added to indexdb because probably this already is in the indexdb.
31
- */
32
- static MAX_USE_FOR_INDEX_DB: number;
33
- /**
34
- * This function holds the buffer to the indexdb. Only things that pass through here can be stored to the indexdb
35
- * This function holds the concepts in the buffer and puts them in indexdb once the INDEX_DB_BUFFER_MAX is exceeded.
36
- * @param concept Concept that needs to be passed on to the indexdb
37
- *
38
- */
39
- static UpdateConceptIndexDb(concept: Concept): Promise<void>;
40
- /**
41
- * This function holds the buffer to the indexdb. Only things that pass through here can be stored to the indexdb
42
- * This function holds the connections in the buffer and puts them in indexdb once the INDEX_DB_BUFFER_MAX is exceeded.
43
- * @param connection Connection that needs to be passed on to the indexdb
44
- *
45
- */
46
- static UpdateConnectionIndexDb(connection: Connection): Promise<void>;
47
- }
@@ -1,9 +0,0 @@
1
- import { SettingData } from "../DataStructures/SettingData";
2
- export declare function openDatabase(databaseName: string): IDBDatabase;
3
- export declare function storeToDatabase(databaseName: string, object: any): void;
4
- export declare function GetStatsFromDatabase(): SettingData;
5
- export declare function AiUpdateFlag(object: SettingData): void;
6
- export declare function getFromDatabaseWithType(databaseName: string, type: string, id: number): Promise<void>;
7
- export declare function getObjectsFromIndexDb(databaseName: string): Promise<void>;
8
- export declare function removeFromDatabase(databaseName: string, id: number): void;
9
- export declare function getAllFromLocalDb(databaseName: string): Promise<void>;
@@ -1,43 +0,0 @@
1
- /**
2
- * This class will help us store the indexdb reference in memory and not go back to index db.
3
- */
4
- export declare class LocalIndexDb {
5
- static db: IDBDatabase;
6
- }
7
- /**
8
- *
9
- * @param databaseName not required actually. This is not used you can pass anything.
10
- * @returns a promise that either resolves or rejects opening the database.
11
- */
12
- export declare function openDatabase(databaseName: string): Promise<IDBDatabase>;
13
- export declare function LockTheDatabase(databaseName: string): Promise<void>;
14
- export declare function UnlockDatabase(databaseName: string): Promise<void>;
15
- export declare function GetLockStatus(databaseName: string): Promise<any>;
16
- /**
17
- * this function will return all the objects that are in the database
18
- * @param databaseName name of the database
19
- * @returns all the objects that are in the database
20
- */
21
- export declare function getObjectsFromLocalIndexDb(databaseName: string): Promise<unknown>;
22
- /**
23
- *
24
- * @param databaseName name of the database that you want to store data to.
25
- * @param object any object that can be stored but keep in mind it must follow the convention that we created
26
- * while creating the datbase.
27
- * @returns a promise that if a store is successful then the obejct is returned else rejects with the event.
28
- */
29
- export declare function storeToDatabase(databaseName: string, object: any): Promise<unknown>;
30
- /**
31
- *
32
- * @param databaseName name of the database
33
- * @param object this is the object that you want to update
34
- * @returns returns the object if it is updated successfully.
35
- */
36
- export declare function UpdateToDatabase(databaseName: string, object: any): Promise<unknown>;
37
- /**
38
- *
39
- * @param databaseName name of the database
40
- * @param id the id that we need to remove from the database (this is the index)
41
- * @returns an id if the deletion is successful and error with even in case it cannot.
42
- */
43
- export declare function removeFromDatabase(databaseName: string, id: number): Promise<unknown>;
@@ -1,58 +0,0 @@
1
- import { SettingData } from "../DataStructures/SettingData";
2
- /**
3
- * This class will help us store the indexdb reference in memory and not go back to index db.
4
- */
5
- export declare class IndexDb {
6
- static db: IDBDatabase;
7
- }
8
- /**
9
- * Opens the FreeSchema IndexedDB database (or returns the cached instance).
10
- *
11
- * - Returns the cached db reference immediately if already open.
12
- * - Deduplicates concurrent calls — only one indexedDB.open() runs at a time.
13
- * - On error, rejects without deleting the database to avoid data loss.
14
- *
15
- * @param databaseName kept for backward compatibility (not used in db name)
16
- * @returns a promise resolving to the IDBDatabase instance
17
- */
18
- export declare function openDatabase(databaseName: string): Promise<IDBDatabase>;
19
- /**
20
- *
21
- * @param databaseName name of the database that you want to store data to.
22
- * @param object any object that can be stored but keep in mind it must follow the convention that we created
23
- * while creating the datbase.
24
- * @returns a promise that if a store is successful then the obejct is returned else rejects with the event.
25
- */
26
- export declare function storeToDatabase(databaseName: string, object: any): Promise<any>;
27
- /**
28
- *
29
- * @param databaseName name of the database
30
- * @param object this is the object that you want to update
31
- * @returns returns the object if it is updated successfully.
32
- */
33
- export declare function UpdateToDatabase(databaseName: string, object: any): Promise<unknown>;
34
- /**
35
- *
36
- * @returns This returns the last object from the database.
37
- */
38
- export declare function GetLastSettingsFromDatabase(): Promise<unknown>;
39
- /**
40
- *
41
- * @param object SettingData
42
- * @returns this will update the indexdb with the ai flag so that another time we do not have to pull
43
- * ai data from the api.
44
- */
45
- export declare function AiUpdateFlag(object: SettingData): Promise<unknown>;
46
- /**
47
- * this function will return all the objects that are in the database
48
- * @param databaseName name of the database
49
- * @returns all the objects that are in the database
50
- */
51
- export declare function getObjectsFromIndexDb(databaseName: string): Promise<unknown>;
52
- /**
53
- *
54
- * @param databaseName name of the database
55
- * @param id the id that we need to remove from the database (this is the index)
56
- * @returns an id if the deletion is successful and error with even in case it cannot.
57
- */
58
- export declare function removeFromDatabase(databaseName: string, id: number): Promise<unknown>;
@@ -1,9 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- import { Connection } from "../DataStructures/Connection";
3
- export declare function CheckIfConceptsExistsInArray(conceptList: Concept[] | undefined, concept: Concept): Concept;
4
- export declare function CheckIfTypeConceptsExistsInArray(conceptList: Concept[] | undefined, concept: Concept): Concept[];
5
- export declare function CheckIfTypeLConceptsExistsInArray(conceptList: Concept[] | undefined, concept: Concept): Concept[];
6
- export declare function CheckIfConnectionExistsInArray(connectionList: Connection[] | undefined, connection: Connection): Connection;
7
- export declare function CheckIfToTheConceptExistsInConnectionArray(connectionList: Connection[] | undefined, conceptId: number): Connection;
8
- export declare function CheckAllConnectionsConnectedInConnectionArray(connectionList: Connection[] | undefined, conceptId: number): Connection[];
9
- export declare function CheckAllConnectionsConnectedInLConnectionArray(connectionList: Connection[] | undefined, conceptId: number): Connection[];
@@ -1,5 +0,0 @@
1
- import { Concept } from "../DataStructures/Concept";
2
- import { Connection } from "../DataStructures/Connection";
3
- export declare function RemoveConceptFromList(conceptList: Concept[] | undefined, concept: Concept): void;
4
- export declare function RemoveConnectionFromList(connectionList: Connection[] | undefined, connection: Connection): void;
5
- export declare function RemoveLConnectionFromList(connectionList: Connection[] | undefined, connection: Connection): void;
@@ -1 +0,0 @@
1
- export default function InsertUniqueNumber(Array: number[], toInsert: number): number[];
@@ -1,14 +0,0 @@
1
- export declare class ApplicationMonitor {
2
- static initialize(): void;
3
- static initGlobalErrorHandlers(): void;
4
- static logCatchError(): void;
5
- static logErrorEvent(): void;
6
- static logUnhandledError(): void;
7
- static logUserInteractions(): void;
8
- static logNetworkRequests(): void;
9
- static logPerformanceMetrics(): void;
10
- static logRouteChanges(): void;
11
- static logOnWindowLoad(): void;
12
- static logSample(): void;
13
- static logWebSocketEvents(): void;
14
- }