mftsccs-browser 2.1.242-dev → 2.1.244-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 (271) hide show
  1. package/README.md +1 -1
  2. package/dist/main.bundle.js +2 -44551
  3. package/dist/main.bundle.js.LICENSE.txt +1 -0
  4. package/dist/serviceWorker.bundle.js +2 -45399
  5. package/dist/serviceWorker.bundle.js.LICENSE.txt +1 -0
  6. package/dist/types/AccessTracker/accessTracker.d.ts +72 -0
  7. package/dist/types/Anomaly/anomaly.d.ts +103 -0
  8. package/dist/types/Api/Create/CreateTheCharacter.d.ts +24 -0
  9. package/dist/types/Api/Create/CreateTheConceptApi.d.ts +20 -0
  10. package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +18 -0
  11. package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +28 -0
  12. package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +18 -0
  13. package/dist/types/Api/Create/CreateTheTextData.d.ts +18 -0
  14. package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +14 -0
  15. package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +19 -0
  16. package/dist/types/Api/DeleteConnectionBulkApi.d.ts +20 -0
  17. package/dist/types/Api/DeleteTheConcept.d.ts +20 -0
  18. package/dist/types/Api/DeleteTheConnection.d.ts +20 -0
  19. package/dist/types/Api/GetAiData.d.ts +10 -0
  20. package/dist/types/Api/GetAllConceptsByType.d.ts +12 -0
  21. package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +23 -0
  22. package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +23 -0
  23. package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +12 -0
  24. package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +12 -0
  25. package/dist/types/Api/GetCharacterDataByCharacter.d.ts +12 -0
  26. package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +13 -0
  27. package/dist/types/Api/GetConcept.d.ts +6 -0
  28. package/dist/types/Api/GetConceptBulk.d.ts +20 -0
  29. package/dist/types/Api/GetConceptByCharacterAndType.d.ts +15 -0
  30. package/dist/types/Api/GetConceptByCharacterValue.d.ts +12 -0
  31. package/dist/types/Api/GetConnection.d.ts +15 -0
  32. package/dist/types/Api/GetConnectionBulk.d.ts +7 -0
  33. package/dist/types/Api/GetConnectionOfTheConcept.d.ts +15 -0
  34. package/dist/types/Api/GetConnectionToTheConcept.d.ts +17 -0
  35. package/dist/types/Api/GetConnections/GetConnectionsBetweenApi.d.ts +40 -0
  36. package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +15 -0
  37. package/dist/types/Api/GetInstanceConceptByCharacterType.d.ts +9 -0
  38. package/dist/types/Api/GetReservedConnectionIds.d.ts +10 -0
  39. package/dist/types/Api/GetReservedIds.d.ts +10 -0
  40. package/dist/types/Api/Images/GetImages.d.ts +15 -0
  41. package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +13 -0
  42. package/dist/types/Api/Login.d.ts +78 -0
  43. package/dist/types/Api/MakeTheNameInBackend.d.ts +14 -0
  44. package/dist/types/Api/MakeTheTypeConceptApi.d.ts +9 -0
  45. package/dist/types/Api/Prototype/Selector.d.ts +26 -0
  46. package/dist/types/Api/RecursiveSearch.d.ts +67 -0
  47. package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +18 -0
  48. package/dist/types/Api/Search/Search.d.ts +73 -0
  49. package/dist/types/Api/Search/SearchInternalApi.d.ts +28 -0
  50. package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +15 -0
  51. package/dist/types/Api/Search/SearchWithLinker.d.ts +16 -0
  52. package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +14 -0
  53. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +12 -0
  54. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +13 -0
  55. package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +15 -0
  56. package/dist/types/Api/Session/CreateSession.d.ts +16 -0
  57. package/dist/types/Api/Session/CreateSessionVisit.d.ts +12 -0
  58. package/dist/types/Api/Signin.d.ts +24 -0
  59. package/dist/types/Api/Signup.d.ts +61 -0
  60. package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +12 -0
  61. package/dist/types/Api/View/ViewInternalDataApi.d.ts +15 -0
  62. package/dist/types/Constants/AccessConstants.d.ts +3 -0
  63. package/dist/types/Constants/ApiConstants.d.ts +23 -0
  64. package/dist/types/Constants/FormatConstants.d.ts +8 -0
  65. package/dist/types/Constants/ckeditorCSS.d.ts +1 -0
  66. package/dist/types/Constants/general.const.d.ts +11 -0
  67. package/dist/types/Constants/page.const.d.ts +5 -0
  68. package/dist/types/DataStructures/AccessControl/AccessControlModels.d.ts +84 -0
  69. package/dist/types/DataStructures/BaseUrl.d.ts +95 -0
  70. package/dist/types/DataStructures/BinaryCharacterTree.d.ts +16 -0
  71. package/dist/types/DataStructures/BinaryTree.d.ts +78 -0
  72. package/dist/types/DataStructures/BinaryTypeTree.d.ts +17 -0
  73. package/dist/types/DataStructures/CharacterRepository.d.ts +8 -0
  74. package/dist/types/DataStructures/Composition/Composition.d.ts +14 -0
  75. package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +10 -0
  76. package/dist/types/DataStructures/Composition/CompositionNode.d.ts +21 -0
  77. package/dist/types/DataStructures/Concept.d.ts +25 -0
  78. package/dist/types/DataStructures/ConceptData.d.ts +30 -0
  79. package/dist/types/DataStructures/Connection.d.ts +23 -0
  80. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +81 -0
  81. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +27 -0
  82. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +10 -0
  83. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +24 -0
  84. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +10 -0
  85. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +20 -0
  86. package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +15 -0
  87. package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +4 -0
  88. package/dist/types/DataStructures/ConnectionData.d.ts +26 -0
  89. package/dist/types/DataStructures/Count/CountInfo.d.ts +6 -0
  90. package/dist/types/DataStructures/FetchConnection.d.ts +64 -0
  91. package/dist/types/DataStructures/FilterSearch.d.ts +9 -0
  92. package/dist/types/DataStructures/IdentifierFlags.d.ts +11 -0
  93. package/dist/types/DataStructures/Local/LConcept.d.ts +23 -0
  94. package/dist/types/DataStructures/Local/LConnection.d.ts +18 -0
  95. package/dist/types/DataStructures/Local/LNode.d.ts +29 -0
  96. package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +13 -0
  97. package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +13 -0
  98. package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +13 -0
  99. package/dist/types/DataStructures/Local/LocalConceptData.d.ts +21 -0
  100. package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +20 -0
  101. package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +11 -0
  102. package/dist/types/DataStructures/Local/LocalId.d.ts +19 -0
  103. package/dist/types/DataStructures/Local/LocalSyncData.d.ts +33 -0
  104. package/dist/types/DataStructures/Node.d.ts +30 -0
  105. package/dist/types/DataStructures/PatcherStructure.d.ts +8 -0
  106. package/dist/types/DataStructures/Prototype/Prototype.d.ts +19 -0
  107. package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +4 -0
  108. package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +4 -0
  109. package/dist/types/DataStructures/ReservedIds.d.ts +10 -0
  110. package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +74 -0
  111. package/dist/types/DataStructures/Responses/StandardResponses.d.ts +6 -0
  112. package/dist/types/DataStructures/Returner.d.ts +7 -0
  113. package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +25 -0
  114. package/dist/types/DataStructures/Search/SearchStructure.d.ts +10 -0
  115. package/dist/types/DataStructures/SearchQuery.d.ts +17 -0
  116. package/dist/types/DataStructures/Security/SecureStorage.d.ts +14 -0
  117. package/dist/types/DataStructures/Security/TokenStorage.d.ts +24 -0
  118. package/dist/types/DataStructures/Session/SessionData.d.ts +13 -0
  119. package/dist/types/DataStructures/SettingData.d.ts +5 -0
  120. package/dist/types/DataStructures/Settings.d.ts +4 -0
  121. package/dist/types/DataStructures/SigninModel.d.ts +4 -0
  122. package/dist/types/DataStructures/SignupModel.d.ts +4 -0
  123. package/dist/types/DataStructures/SyncData.d.ts +14 -0
  124. package/dist/types/DataStructures/TheCharacter.d.ts +13 -0
  125. package/dist/types/DataStructures/TheTexts.d.ts +14 -0
  126. package/dist/types/DataStructures/TypeLibrary.d.ts +19 -0
  127. package/dist/types/DataStructures/TypeNode.d.ts +18 -0
  128. package/dist/types/DataStructures/User/UserBinaryTree.d.ts +13 -0
  129. package/dist/types/DataStructures/User/UserNode.d.ts +18 -0
  130. package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +10 -0
  131. package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +9 -0
  132. package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +18 -0
  133. package/dist/types/DataStructures/environments/environments.d.ts +48 -0
  134. package/dist/types/Database/CacheDatabase.d.ts +57 -0
  135. package/dist/types/Database/IndexUpdate.d.ts +47 -0
  136. package/dist/types/Database/NoIndexDb.d.ts +9 -0
  137. package/dist/types/Database/indexdblocal.d.ts +43 -0
  138. package/dist/types/Database/indexeddb.d.ts +58 -0
  139. package/dist/types/Helpers/CheckIfExists.d.ts +9 -0
  140. package/dist/types/Helpers/RemoveFromArray.d.ts +5 -0
  141. package/dist/types/Helpers/UniqueInsert.d.ts +1 -0
  142. package/dist/types/Middleware/ApplicationMonitor.d.ts +25 -0
  143. package/dist/types/Middleware/logger.service.d.ts +144 -0
  144. package/dist/types/ServiceWorker/actions/connectionActions.d.ts +2 -0
  145. package/dist/types/ServiceWorker/actions/createActions.d.ts +2 -0
  146. package/dist/types/ServiceWorker/actions/deleteActions.d.ts +2 -0
  147. package/dist/types/ServiceWorker/actions/getActions.d.ts +2 -0
  148. package/dist/types/ServiceWorker/actions/index.d.ts +15 -0
  149. package/dist/types/ServiceWorker/actions/searchActions.d.ts +2 -0
  150. package/dist/types/ServiceWorker/actions/syncActions.d.ts +2 -0
  151. package/dist/types/ServiceWorker/actions/updateActions.d.ts +2 -0
  152. package/dist/types/ServiceWorker/index.d.ts +11 -0
  153. package/dist/types/Services/AccessControl/APIClientService.d.ts +167 -0
  154. package/dist/types/Services/AccessControl/AccessControl.d.ts +114 -0
  155. package/dist/types/Services/CacheClear.d.ts +7 -0
  156. package/dist/types/Services/CheckForConnectionDeletion.d.ts +3 -0
  157. package/dist/types/Services/Common/DecodeCountInfo.d.ts +3 -0
  158. package/dist/types/Services/Common/DelayFunction.d.ts +7 -0
  159. package/dist/types/Services/Common/ErrorPosting.d.ts +10 -0
  160. package/dist/types/Services/Common/MergeArrays.d.ts +7 -0
  161. package/dist/types/Services/Common/RegexFunction.d.ts +1 -0
  162. package/dist/types/Services/Common/RemoveAllChild.d.ts +1 -0
  163. package/dist/types/Services/Composition/BuildComposition.d.ts +3 -0
  164. package/dist/types/Services/Composition/CompositionCache.d.ts +4 -0
  165. package/dist/types/Services/Composition/CreateCompositionCache.d.ts +3 -0
  166. package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +5 -0
  167. package/dist/types/Services/Conversion/ConvertConcepts.d.ts +5 -0
  168. package/dist/types/Services/CreateBinaryTreeFromData.d.ts +5 -0
  169. package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +2 -0
  170. package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +5 -0
  171. package/dist/types/Services/CreateDefaultConcept.d.ts +3 -0
  172. package/dist/types/Services/CreateTheComposition.d.ts +1 -0
  173. package/dist/types/Services/CreateTheConcept.d.ts +122 -0
  174. package/dist/types/Services/CreateTheConnection.d.ts +63 -0
  175. package/dist/types/Services/CreateTheConnectionGeneral.d.ts +2 -0
  176. package/dist/types/Services/DeleteConcept.d.ts +2 -0
  177. package/dist/types/Services/DeleteConnection.d.ts +2 -0
  178. package/dist/types/Services/DeleteConnectionByType.d.ts +22 -0
  179. package/dist/types/Services/FindConeceptsFromConnection.d.ts +6 -0
  180. package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +1 -0
  181. package/dist/types/Services/GetComposition.d.ts +205 -0
  182. package/dist/types/Services/GetCompositionBulk.d.ts +100 -0
  183. package/dist/types/Services/GetCompositionList.d.ts +7 -0
  184. package/dist/types/Services/GetConceptByCharacter.d.ts +2 -0
  185. package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +11 -0
  186. package/dist/types/Services/GetConnections.d.ts +1 -0
  187. package/dist/types/Services/GetDataFromIndexDb.d.ts +2 -0
  188. package/dist/types/Services/GetLink.d.ts +3 -0
  189. package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +3 -0
  190. package/dist/types/Services/GetRelation.d.ts +3 -0
  191. package/dist/types/Services/GetTheConcept.d.ts +96 -0
  192. package/dist/types/Services/InitializeSystem.d.ts +2 -0
  193. package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +41 -0
  194. package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +47 -0
  195. package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +44 -0
  196. package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +46 -0
  197. package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +34 -0
  198. package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +104 -0
  199. package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +84 -0
  200. package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +140 -0
  201. package/dist/types/Services/Local/DeleteConceptLocal.d.ts +47 -0
  202. package/dist/types/Services/Local/GetCompositionListLocal.d.ts +37 -0
  203. package/dist/types/Services/Local/GetCompositionLocal.d.ts +97 -0
  204. package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +56 -0
  205. package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +19 -0
  206. package/dist/types/Services/Local/GetRelationLocal.d.ts +21 -0
  207. package/dist/types/Services/Local/GetTheConceptLocal.d.ts +63 -0
  208. package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +22 -0
  209. package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +164 -0
  210. package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +36 -0
  211. package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +42 -0
  212. package/dist/types/Services/Logs/LogEvent.d.ts +1 -0
  213. package/dist/types/Services/Mail.d.ts +41 -0
  214. package/dist/types/Services/MakeTheCharacter.d.ts +2 -0
  215. package/dist/types/Services/MakeTheCharacterData.d.ts +2 -0
  216. package/dist/types/Services/MakeTheConcept.d.ts +2 -0
  217. package/dist/types/Services/MakeTheInstanceConcept.d.ts +15 -0
  218. package/dist/types/Services/MakeTheTimestamp.d.ts +1 -0
  219. package/dist/types/Services/MakeTheTypeConcept.d.ts +1 -0
  220. package/dist/types/Services/Mqtt/publishMessage.d.ts +1 -0
  221. package/dist/types/Services/Search/DataIdFormat.d.ts +32 -0
  222. package/dist/types/Services/Search/FormatData.d.ts +36 -0
  223. package/dist/types/Services/Search/JustIdFormat.d.ts +23 -0
  224. package/dist/types/Services/Search/NewFormat.d.ts +4 -0
  225. package/dist/types/Services/Search/SearchLinkInternal.d.ts +3 -0
  226. package/dist/types/Services/Search/SearchLinkMultiple.d.ts +55 -0
  227. package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +82 -0
  228. package/dist/types/Services/Search/orderingConnections.d.ts +2 -0
  229. package/dist/types/Services/Security/GetRequestHeader.d.ts +7 -0
  230. package/dist/types/Services/SplitStrings.d.ts +1 -0
  231. package/dist/types/Services/Transaction/LocalTransaction.d.ts +117 -0
  232. package/dist/types/Services/UpdateComposition.d.ts +2 -0
  233. package/dist/types/Services/Upload.d.ts +111 -0
  234. package/dist/types/Services/User/UserFromLocalStorage.d.ts +10 -0
  235. package/dist/types/Services/User/UserTranslation.d.ts +3 -0
  236. package/dist/types/Services/View/ViewInternalData.d.ts +1 -0
  237. package/dist/types/Services/assets/GetImageService.d.ts +14 -0
  238. package/dist/types/Services/automated/automated-concept-connection.d.ts +7 -0
  239. package/dist/types/Services/cacheService.d.ts +1 -0
  240. package/dist/types/Validator/constant.d.ts +3 -0
  241. package/dist/types/Validator/interface.d.ts +19 -0
  242. package/dist/types/Validator/utils.d.ts +7 -0
  243. package/dist/types/Validator/validator.d.ts +37 -0
  244. package/dist/types/Widgets/BaseObserver.d.ts +25 -0
  245. package/dist/types/Widgets/BaseWidget.d.ts +37 -0
  246. package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +11 -0
  247. package/dist/types/Widgets/BuilderStatefulWidget.d.ts +392 -0
  248. package/dist/types/Widgets/CacheWidget.service.d.ts +77 -0
  249. package/dist/types/Widgets/NormalizeStyles.service.d.ts +10 -0
  250. package/dist/types/Widgets/RenderPage.service.d.ts +17 -0
  251. package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +22 -0
  252. package/dist/types/Widgets/RenderWidgetService.d.ts +187 -0
  253. package/dist/types/Widgets/StatefulWidget.d.ts +167 -0
  254. package/dist/types/Widgets/WidgetBuild.d.ts +45 -0
  255. package/dist/types/Widgets/WidgetCacheManager.d.ts +108 -0
  256. package/dist/types/Widgets/WidgetTree.d.ts +61 -0
  257. package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +116 -0
  258. package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +51 -0
  259. package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +35 -0
  260. package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +57 -0
  261. package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +50 -0
  262. package/dist/types/WrapperFunctions/QueryCacheManager.d.ts +107 -0
  263. package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +55 -0
  264. package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +64 -0
  265. package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +36 -0
  266. package/dist/types/app.d.ts +385 -0
  267. package/dist/types/prototype/prototype.service.d.ts +25 -0
  268. package/dist/types/service-worker.d.ts +1 -0
  269. package/package.json +2 -2
  270. package/dist/main.bundle.js.map +0 -1
  271. package/dist/serviceWorker.bundle.js.map +0 -1
@@ -0,0 +1,9 @@
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[];
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1 @@
1
+ export default function InsertUniqueNumber(Array: number[], toInsert: number): number[];
@@ -0,0 +1,25 @@
1
+ export declare class ApplicationMonitor {
2
+ private static globalErrorHandlersInitialized;
3
+ private static consoleErrorPatched;
4
+ private static errorEventListenerRegistered;
5
+ private static unhandledErrorListenerRegistered;
6
+ private static userInteractionListenersRegistered;
7
+ private static networkRequestsPatched;
8
+ private static performanceMetricsRegistered;
9
+ private static routeChangeListenersRegistered;
10
+ private static webSocketEventsPatched;
11
+ private static initialLoadTimeout;
12
+ static initialize(): void;
13
+ static initGlobalErrorHandlers(): void;
14
+ static logCatchError(): void;
15
+ static logErrorEvent(): void;
16
+ static logUnhandledError(): void;
17
+ static logUserInteractions(): void;
18
+ static logNetworkRequests(): void;
19
+ static logPerformanceMetrics(): void;
20
+ static logRouteChanges(): void;
21
+ static logOnWindowLoad(): void;
22
+ static logSample(): void;
23
+ static logWebSocketEvents(): void;
24
+ private static isBrowser;
25
+ }
@@ -0,0 +1,144 @@
1
+ export declare class Logger {
2
+ private static isLoggerActive;
3
+ private static lastCheck;
4
+ private static checkInterval;
5
+ private static logLevel;
6
+ private static packageLogsData;
7
+ private static applicationLogsData;
8
+ private static readonly LOG_LEVELS;
9
+ private static readonly SYNC_INTERVAL_MS;
10
+ private static nextSyncTime;
11
+ private static appLogs;
12
+ private static mftsccsBrowser;
13
+ static logApplicationActivationStatus: boolean;
14
+ static logPackageActivationStatus: boolean;
15
+ private static autoSyncInterval;
16
+ /**
17
+ * Automatically starts the auto-sync mechanism.
18
+ * This is private and does not need external interaction.
19
+ */
20
+ static startAutoSync(): void;
21
+ /**
22
+ * Automatically stops the auto-sync mechanism when required.
23
+ */
24
+ static stopAutoSync(): void;
25
+ /**
26
+ * Set the log level (e.g., "DEBUG", "INFO", "WARNING", "ERROR").
27
+ */
28
+ static setLogLevel(level: string): void;
29
+ /**
30
+ * Determines whether the current log level permits the given level to be logged.
31
+ */
32
+ private static shouldLog;
33
+ /**
34
+ * Logs a message with optional additional structured data.
35
+ */
36
+ static formatLogData(level: string, message: string, data?: LogData): any;
37
+ static log(level: 'INFO' | 'ERROR' | 'DEBUG' | 'WARNING', message: string, data?: any | null): void;
38
+ /**
39
+ * Updates log data with execution details.
40
+ * @param logData The log data object to be updated.
41
+ */
42
+ static logUpdate(logData: LogData): {} | undefined;
43
+ static logfunction(myFunction: string, ...args: any[]): any;
44
+ static logError(startTime: number, userId: string | number, operationType?: "read" | "create" | "update" | "delete" | "search", requestFrom?: string, requestIP?: string, responseStatus?: number, responseData?: any, functionName?: string, functionParameters?: any[], userAgent?: string, conceptsUsed?: string[]): void;
45
+ static logApplication(level: string, message: string, data?: any): void;
46
+ static checkLoggerServerStatus(): Promise<void>;
47
+ /**
48
+ * Helper method to send logs to the server.
49
+ */
50
+ static sendApplicationLogsToServer(): Promise<void>;
51
+ static sendPackageLogsToServer(): Promise<void>;
52
+ /**
53
+ * Helper method to save logs to localStorage.
54
+ */
55
+ private static saveLogToLocalStorage;
56
+ private static clearLogsFromLocalStorage;
57
+ }
58
+ /**
59
+ * Represents the structure of log data used for application monitoring and anomaly detection.
60
+ */
61
+ export interface LogData {
62
+ /**
63
+ * The userId of the request
64
+ */
65
+ userId?: string | Number;
66
+ /**
67
+ * The type of operation performed (e.g., create, read, update, delete).
68
+ * @example "create"
69
+ */
70
+ operationType?: 'create' | 'read' | 'update' | 'delete' | 'search';
71
+ /**
72
+ * The origin of the request (e.g., browser, API client).
73
+ * @example "Browser"
74
+ */
75
+ requestFrom?: string;
76
+ /**
77
+ * The IP address of the client making the request.
78
+ * @example "192.168.1.1"
79
+ */
80
+ requestIP?: string;
81
+ /**
82
+ * The HTTP status code of the request.
83
+ * @example "200", "404", "500"
84
+ */
85
+ responseStatus?: string | Number;
86
+ /**
87
+ * The time taken to execute the function.
88
+ * @example "150ms"
89
+ */
90
+ responseTime?: string;
91
+ /**
92
+ * The start and end time
93
+ */
94
+ startTime: number;
95
+ endTime?: number;
96
+ /**
97
+ * The size of the response payload.
98
+ * @example "15KB", "1.2MB"
99
+ */
100
+ responseSize?: string;
101
+ /**
102
+ * The Session Id
103
+ */
104
+ sessionId?: string | number;
105
+ /**
106
+ * The name of the function being logged.
107
+ * @example "fetchUserData"
108
+ */
109
+ functionName?: string;
110
+ applicationId?: number;
111
+ /**
112
+ * The error return
113
+ * @example function could not execute
114
+ */
115
+ errorMessage?: string;
116
+ /**
117
+ * The parameters used in the function.
118
+ * This should include all inputs to the function.
119
+ * @example [ "userId", "concept" ]
120
+ */
121
+ functionParameters?: any[];
122
+ /**
123
+ * The user agent details for the request.
124
+ * This includes information such as the browser or device making the request.
125
+ * @example "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
126
+ */
127
+ userAgent?: string;
128
+ /**
129
+ * A list of concepts (features or modules) used during the function execution.
130
+ * @example [105292435 , 105292431 ]
131
+ */
132
+ conceptsUsed?: string[];
133
+ /**
134
+ * Service worker
135
+ * @example boolean
136
+ */
137
+ serviceWorker?: boolean;
138
+ }
139
+ /**getCookie
140
+ *
141
+ * @param cname The name of the cookie
142
+ * @returns Cookie value
143
+ */
144
+ export declare function getCookie(cname: string): string | null;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const connectionActions: Actions;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const createActions: Actions;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const deleteActions: Actions;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const getActions: Actions;
@@ -0,0 +1,15 @@
1
+ import { InnerActions } from "../../app";
2
+ export { getActions } from '../actions/getActions';
3
+ export { searchActions } from '../actions/searchActions';
4
+ export { createActions } from '../actions/createActions';
5
+ export { updateActions } from '../actions/updateActions';
6
+ export { connectionActions } from '../actions/connectionActions';
7
+ export { deleteActions } from '../actions/deleteActions';
8
+ export { syncActions } from '../actions/syncActions';
9
+ export interface Actions {
10
+ [key: string]: (payload: any) => Promise<{
11
+ success: boolean;
12
+ data?: any;
13
+ actions?: InnerActions;
14
+ }>;
15
+ }
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const searchActions: Actions;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const syncActions: Actions;
@@ -0,0 +1,2 @@
1
+ import { Actions } from ".";
2
+ export declare const updateActions: Actions;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Method to handle message event in service worker
3
+ * @param event any
4
+ * @returns Promise<void>
5
+ */
6
+ export declare function handleMessageEvent(event: any): Promise<void>;
7
+ /**
8
+ * Method to check and inform main thread if sw is not initialized
9
+ * @returns boolean
10
+ */
11
+ export declare const checkSWInitialization: () => boolean;
@@ -0,0 +1,167 @@
1
+ /**
2
+ * APIClientService
3
+ *
4
+ * API client service for Access Control endpoints.
5
+ * Provides typed HTTP methods for all access control API operations.
6
+ *
7
+ * This is the TypeScript equivalent of the C# APIClientService class.
8
+ */
9
+ import { AccessRequest, AccessResult, AccessControlAPIResponse, BulkAccessRequest, BulkCheckAccessRequest, AccessInheritanceRequest, SuperAdminRequest, BulkConceptAccessRequest, ConceptAccessRequest, ParentAccessInheritanceRequest, ParentAccessInheritanceWithConceptRequest, BulkParentAccessInheritanceWithConceptRequest, BulkParentAccessInheritanceResult, SuperAdminWithConceptRequest, AccessInheritanceWithConceptRequest } from '../../DataStructures/AccessControl/AccessControlModels';
10
+ export interface IAPIClientService {
11
+ assignAccessAsync(request: AccessRequest): Promise<AccessControlAPIResponse<AccessResult>>;
12
+ checkAccessAsync(request: AccessRequest): Promise<AccessControlAPIResponse<AccessResult>>;
13
+ revokeAccessAsync(request: AccessRequest): Promise<AccessControlAPIResponse<AccessResult>>;
14
+ assignAccessBulkAsync(request: BulkAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
15
+ assignConceptAccessBulkAsync(request: BulkConceptAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
16
+ revokeAccessBulkAsync(request: BulkAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
17
+ revokeConceptAccessBulkAsync(request: BulkConceptAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
18
+ checkAccessBulkAsync(request: BulkCheckAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
19
+ getAccessByIdAsync(accessId: number): Promise<AccessControlAPIResponse<AccessResult[]>>;
20
+ setAccessInheritanceAsync(request: AccessInheritanceRequest): Promise<AccessControlAPIResponse>;
21
+ getAccessInheritanceStatusAsync(accessId: number, connectionTypeId?: number): Promise<AccessControlAPIResponse>;
22
+ assignSuperAdminAccessAsync(request: SuperAdminRequest): Promise<AccessControlAPIResponse>;
23
+ revokeSuperAdminAccessAsync(request: SuperAdminRequest): Promise<AccessControlAPIResponse>;
24
+ checkSuperAdminStatusAsync(accessId: number): Promise<AccessControlAPIResponse>;
25
+ setParentAccessInheritanceAsync(request: ParentAccessInheritanceRequest): Promise<AccessControlAPIResponse>;
26
+ removeParentAccessInheritanceAsync(accessId: number, parentAccessId?: number): Promise<AccessControlAPIResponse>;
27
+ hasParentAccessInheritanceAsync(accessId: number, parentAccessId?: number): Promise<AccessControlAPIResponse>;
28
+ getParentAccessIdAsync(accessId: number): Promise<AccessControlAPIResponse>;
29
+ setParentAccessInheritanceByConceptAsync(request: ParentAccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse>;
30
+ setParentAccessInheritanceBulkByConceptAsync(request: BulkParentAccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse<BulkParentAccessInheritanceResult[]>>;
31
+ removeParentAccessInheritanceByConceptAsync(childConceptId: number, parentConceptId?: number): Promise<AccessControlAPIResponse>;
32
+ removeParentAccessInheritanceBulkByConceptAsync(request: BulkParentAccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse<BulkParentAccessInheritanceResult[]>>;
33
+ hasParentAccessInheritanceByConceptAsync(childConceptId: number, parentConceptId?: number): Promise<AccessControlAPIResponse>;
34
+ getParentAccessIdByConceptAsync(childConceptId: number): Promise<AccessControlAPIResponse>;
35
+ assignSuperAdminByConceptAsync(request: SuperAdminWithConceptRequest): Promise<AccessControlAPIResponse>;
36
+ revokeSuperAdminByConceptAsync(request: SuperAdminWithConceptRequest): Promise<AccessControlAPIResponse>;
37
+ checkSuperAdminByConceptAsync(conceptId: number): Promise<AccessControlAPIResponse>;
38
+ setAccessInheritanceByConceptAsync(request: AccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse>;
39
+ getAccessInheritanceStatusByConceptAsync(conceptId: number, connectionTypeId?: number): Promise<AccessControlAPIResponse>;
40
+ }
41
+ export declare class APIClientService implements IAPIClientService {
42
+ private static get baseUrl();
43
+ private static getAsync;
44
+ private static postAsync;
45
+ private static deleteAsync;
46
+ /**
47
+ * Assign access to an entity
48
+ */
49
+ assignAccessAsync(request: AccessRequest): Promise<AccessControlAPIResponse<AccessResult>>;
50
+ /**
51
+ * Check if an entity has access
52
+ */
53
+ checkAccessAsync(request: AccessRequest): Promise<AccessControlAPIResponse<AccessResult>>;
54
+ /**
55
+ * Revoke access from an entity
56
+ */
57
+ revokeAccessAsync(request: AccessRequest): Promise<AccessControlAPIResponse<AccessResult>>;
58
+ /**
59
+ * Assign access to multiple targets in bulk
60
+ */
61
+ assignAccessBulkAsync(request: BulkAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
62
+ /**
63
+ * Revoke access from multiple targets in bulk
64
+ */
65
+ revokeAccessBulkAsync(request: BulkAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
66
+ /**
67
+ * Check access for multiple targets in bulk
68
+ */
69
+ checkAccessBulkAsync(request: BulkCheckAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
70
+ /**
71
+ * Get all access entries for a specific accessId
72
+ */
73
+ getAccessByIdAsync(accessId: number): Promise<AccessControlAPIResponse<AccessResult[]>>;
74
+ /**
75
+ * Set access inheritance for an access ID
76
+ */
77
+ setAccessInheritanceAsync(request: AccessInheritanceRequest): Promise<AccessControlAPIResponse>;
78
+ /**
79
+ * Get access inheritance status
80
+ */
81
+ getAccessInheritanceStatusAsync(accessId: number, connectionTypeId?: number): Promise<AccessControlAPIResponse>;
82
+ /**
83
+ * Assign super admin access
84
+ */
85
+ assignSuperAdminAccessAsync(request: SuperAdminRequest): Promise<AccessControlAPIResponse>;
86
+ /**
87
+ * Revoke super admin access
88
+ */
89
+ revokeSuperAdminAccessAsync(request: SuperAdminRequest): Promise<AccessControlAPIResponse>;
90
+ /**
91
+ * Check super admin status
92
+ */
93
+ checkSuperAdminStatusAsync(accessId: number): Promise<AccessControlAPIResponse>;
94
+ /**
95
+ * Create a new standalone access record for a concept
96
+ */
97
+ assignConceptAccessAsync(request: ConceptAccessRequest): Promise<AccessControlAPIResponse<AccessResult>>;
98
+ /**
99
+ * Create new standalone access records for multiple concepts in bulk
100
+ */
101
+ assignConceptAccessBulkAsync(request: BulkConceptAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
102
+ /**
103
+ * Revoke access records for multiple concepts in bulk
104
+ */
105
+ revokeConceptAccessBulkAsync(request: BulkConceptAccessRequest): Promise<AccessControlAPIResponse<AccessResult[]>>;
106
+ /**
107
+ * Set parent access inheritance link
108
+ */
109
+ setParentAccessInheritanceAsync(request: ParentAccessInheritanceRequest): Promise<AccessControlAPIResponse>;
110
+ /**
111
+ * Remove parent access inheritance link
112
+ */
113
+ removeParentAccessInheritanceAsync(accessId: number, parentAccessId?: number): Promise<AccessControlAPIResponse>;
114
+ /**
115
+ * Check if parent access inheritance link exists
116
+ */
117
+ hasParentAccessInheritanceAsync(accessId: number, parentAccessId?: number): Promise<AccessControlAPIResponse>;
118
+ /**
119
+ * Get the parent access ID for a given access ID
120
+ */
121
+ getParentAccessIdAsync(accessId: number): Promise<AccessControlAPIResponse>;
122
+ /**
123
+ * Set parent access inheritance by concept IDs (server resolves conceptId → accessId)
124
+ */
125
+ setParentAccessInheritanceByConceptAsync(request: ParentAccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse>;
126
+ /**
127
+ * Set parent access inheritance for multiple children with one parent (concept-based)
128
+ */
129
+ setParentAccessInheritanceBulkByConceptAsync(request: BulkParentAccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse<BulkParentAccessInheritanceResult[]>>;
130
+ /**
131
+ * Remove parent access inheritance by concept IDs
132
+ */
133
+ removeParentAccessInheritanceByConceptAsync(childConceptId: number, parentConceptId?: number): Promise<AccessControlAPIResponse>;
134
+ /**
135
+ * Remove parent access inheritance for multiple children (concept-based)
136
+ */
137
+ removeParentAccessInheritanceBulkByConceptAsync(request: BulkParentAccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse<BulkParentAccessInheritanceResult[]>>;
138
+ /**
139
+ * Check if parent access inheritance exists by concept IDs
140
+ */
141
+ hasParentAccessInheritanceByConceptAsync(childConceptId: number, parentConceptId?: number): Promise<AccessControlAPIResponse>;
142
+ /**
143
+ * Get the parent access ID by child concept ID
144
+ */
145
+ getParentAccessIdByConceptAsync(childConceptId: number): Promise<AccessControlAPIResponse>;
146
+ /**
147
+ * Assign super admin by concept ID
148
+ */
149
+ assignSuperAdminByConceptAsync(request: SuperAdminWithConceptRequest): Promise<AccessControlAPIResponse>;
150
+ /**
151
+ * Revoke super admin by concept ID
152
+ */
153
+ revokeSuperAdminByConceptAsync(request: SuperAdminWithConceptRequest): Promise<AccessControlAPIResponse>;
154
+ /**
155
+ * Check super admin status by concept ID
156
+ */
157
+ checkSuperAdminByConceptAsync(conceptId: number): Promise<AccessControlAPIResponse>;
158
+ /**
159
+ * Set access inheritance by concept ID
160
+ */
161
+ setAccessInheritanceByConceptAsync(request: AccessInheritanceWithConceptRequest): Promise<AccessControlAPIResponse>;
162
+ /**
163
+ * Get access inheritance status by concept ID
164
+ */
165
+ getAccessInheritanceStatusByConceptAsync(conceptId: number, connectionTypeId?: number): Promise<AccessControlAPIResponse>;
166
+ }
167
+ export default APIClientService;
@@ -0,0 +1,114 @@
1
+ /**
2
+ * AccessControlService
3
+ *
4
+ * This service provides access control functionality including:
5
+ * - 5-phase bulk access check with BFS inheritance graph traversal
6
+ * - Assign and revoke access permissions
7
+ * - Bulk operations for access management
8
+ * - Super admin checks
9
+ * - Access inheritance management (including parent access inheritance)
10
+ *
11
+ * This is the TypeScript equivalent of the C# AccessControlService class (v3.4.0).
12
+ */
13
+ import { AccessResult, BulkConceptAccessRequest, BulkParentAccessInheritanceResult } from '../../DataStructures/AccessControl/AccessControlModels';
14
+ import { IAPIClientService } from './APIClientService';
15
+ /**
16
+ * Interface for the Access Control Service
17
+ */
18
+ export interface IAccessControlService {
19
+ checkAccess(conceptId: number, permission: string, entityId?: number | null): Promise<boolean>;
20
+ checkAccessBulk(conceptIds: number[], permission: string, entityId?: number | null): Promise<Map<number, boolean>>;
21
+ getConceptIdsWithPermission(permission: string, conceptIdsFilter: number[], entityId?: number | null): Promise<number[]>;
22
+ assignAccess(request: BulkConceptAccessRequest): Promise<AccessResult[]>;
23
+ revokeAccess(conceptId: number, permission: string, entityId?: number | null): Promise<boolean>;
24
+ revokeAccessBulk(request: BulkConceptAccessRequest): Promise<AccessResult[]>;
25
+ setAccessInheritance(conceptId: number): Promise<boolean>;
26
+ getAccessInheritanceStatus(conceptId: number, connectionTypeId?: number): Promise<boolean>;
27
+ setAccessInheritanceStatus(conceptId: number, isEnabled: boolean, connectionTypeId?: number): Promise<boolean>;
28
+ setParentAccessInheritance(conceptId: number, parentConceptId: number): Promise<number>;
29
+ setParentAccessInheritanceBulk(childConceptIds: number[], parentConceptId: number): Promise<BulkParentAccessInheritanceResult[]>;
30
+ removeParentAccessInheritance(conceptId: number, parentConceptId?: number): Promise<string>;
31
+ removeParentAccessInheritanceBulk(childConceptIds: number[], parentConceptId?: number): Promise<BulkParentAccessInheritanceResult[]>;
32
+ hasParentAccessInheritance(conceptId: number, parentConceptId?: number): Promise<boolean>;
33
+ getParentAccessId(conceptId: number): Promise<number | null>;
34
+ isSuperAdmin(entityId: number): Promise<boolean>;
35
+ assignSuperAdmin(entityId: number): Promise<number>;
36
+ revokeSuperAdmin(entityId: number): Promise<string>;
37
+ }
38
+ export declare class AccessControlService implements IAccessControlService {
39
+ private readonly apiClient;
40
+ constructor(apiClient?: IAPIClientService);
41
+ /**
42
+ * Check whether a user/entity has the specified permission on a single concept.
43
+ * Delegates to checkAccessBulk for full inheritance + group resolution.
44
+ */
45
+ checkAccess(conceptId: number, permission: string, entityId?: number | null): Promise<boolean>;
46
+ /**
47
+ * 5-phase bulk access check algorithm.
48
+ * Matches the C# AccessControlService.CheckAccessBulk implementation.
49
+ *
50
+ * Phase 1: Super-admin short-circuit
51
+ * Phase 2: Fast-path classification (owner, public, type concepts)
52
+ * Phase 3: BFS inheritance graph resolution (3 sources)
53
+ * Phase 4: Bulk access decision resolution (API)
54
+ * Phase 5: Grant-only merge per concept
55
+ */
56
+ checkAccessBulk(conceptIds: number[], permission: string, entityId?: number | null): Promise<Map<number, boolean>>;
57
+ /**
58
+ * Get all conceptIds which have a certain permission for an entity.
59
+ * Delegates to checkAccessBulk for full inheritance support.
60
+ */
61
+ getConceptIdsWithPermission(permission: string, conceptIdsFilter: number[], entityId?: number | null): Promise<number[]>;
62
+ /**
63
+ * Resolve inheritance graph via 3-source BFS, depth-limited to MAX_BFS_DEPTH.
64
+ *
65
+ * Source 1: FreeSchema internal connections ("the_parent_access_inheritance")
66
+ * Source 2: Explicit parent access links (via Access API)
67
+ * Source 3: Concept-connection access inheritance
68
+ */
69
+ private resolveBulkInheritanceGraph;
70
+ private resolveBulkDecisions;
71
+ private resolveSubjects;
72
+ private hasAnyGrant;
73
+ assignAccess(request: BulkConceptAccessRequest): Promise<AccessResult[]>;
74
+ revokeAccess(conceptId: number, permission: string, entityId?: number | null): Promise<boolean>;
75
+ revokeAccessBulk(request: BulkConceptAccessRequest): Promise<AccessResult[]>;
76
+ setAccessInheritance(conceptId: number): Promise<boolean>;
77
+ getAccessInheritanceStatus(conceptId: number, connectionTypeId?: number): Promise<boolean>;
78
+ setAccessInheritanceStatus(conceptId: number, isEnabled: boolean, connectionTypeId?: number): Promise<boolean>;
79
+ setParentAccessInheritance(conceptId: number, parentConceptId: number): Promise<number>;
80
+ setParentAccessInheritanceBulk(childConceptIds: number[], parentConceptId: number): Promise<BulkParentAccessInheritanceResult[]>;
81
+ removeParentAccessInheritance(conceptId: number, parentConceptId?: number): Promise<string>;
82
+ removeParentAccessInheritanceBulk(childConceptIds: number[], parentConceptId?: number): Promise<BulkParentAccessInheritanceResult[]>;
83
+ hasParentAccessInheritance(conceptId: number, parentConceptId?: number): Promise<boolean>;
84
+ getParentAccessId(conceptId: number): Promise<number | null>;
85
+ isSuperAdmin(entityId: number): Promise<boolean>;
86
+ assignSuperAdmin(entityId: number): Promise<number>;
87
+ revokeSuperAdmin(entityId: number): Promise<string>;
88
+ makeConceptPrivate(conceptId: number): Promise<boolean>;
89
+ private static parseBoolData;
90
+ private static parseIntData;
91
+ static isSuperAdmin(entityId: number): Promise<boolean>;
92
+ static assignSuperAdmin(entityId: number): Promise<number>;
93
+ static revokeSuperAdmin(entityId: number): Promise<string>;
94
+ static checkAccess(conceptId: number, permission: string, entityId?: number | null): Promise<boolean>;
95
+ static checkAccessBulk(conceptIds: number[], permission: string, entityId?: number | null): Promise<Map<number, boolean>>;
96
+ static assignAccess(request: BulkConceptAccessRequest): Promise<AccessResult[]>;
97
+ static revokeAccess(conceptId: number, permission: string, entityId?: number | null): Promise<boolean>;
98
+ static revokeAccessBulk(request: BulkConceptAccessRequest): Promise<AccessResult[]>;
99
+ static setParentAccessInheritance(conceptId: number, parentConceptId: number): Promise<number>;
100
+ static setParentAccessInheritanceBulk(childConceptIds: number[], parentConceptId: number): Promise<BulkParentAccessInheritanceResult[]>;
101
+ static removeParentAccessInheritance(conceptId: number, parentConceptId?: number): Promise<string>;
102
+ static removeParentAccessInheritanceBulk(childConceptIds: number[], parentConceptId?: number): Promise<BulkParentAccessInheritanceResult[]>;
103
+ static hasParentAccessInheritance(conceptId: number, parentConceptId?: number): Promise<boolean>;
104
+ static getParentAccessId(conceptId: number): Promise<number | null>;
105
+ }
106
+ /**
107
+ * Get the default singleton instance of AccessControlService
108
+ */
109
+ export declare function getAccessControlService(): AccessControlService;
110
+ /**
111
+ * Initialize the default singleton instance with custom configuration
112
+ */
113
+ export declare function initializeAccessControlService(apiClient?: IAPIClientService): AccessControlService;
114
+ export default AccessControlService;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Clears all application caches (both in-memory and IndexedDB).
3
+ *
4
+ * Call this on user logout or when you need to force-refresh all cached data.
5
+ * Clears widget caches (standard, latest, recent) and query caches.
6
+ */
7
+ export declare function clearAllCaches(): void;
@@ -0,0 +1,3 @@
1
+ import { Connection } from "../DataStructures/Connection";
2
+ export declare function CheckForConnectionDeletion(newConnections?: Connection[], oldConnections?: Connection[]): void;
3
+ export declare function CheckForConnectionDeletionWithIds(newConnectionIds?: number[], oldConnections?: Connection[]): void;
@@ -0,0 +1,3 @@
1
+ import { CountInfo } from "../../DataStructures/Count/CountInfo";
2
+ export declare function DecodeCountInfo(countStrings?: string[]): CountInfo[];
3
+ export declare function GetConnectionTypeForCount(countInfos: CountInfo[]): Promise<any>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ *
3
+ * @param ms The time required to wait before executing this function
4
+ * @param callback This is the function that needs to be executed
5
+ * @returns returns a promise for the resolve
6
+ */
7
+ export declare function DelayFunctionExecution(ms: number, callback: any): Promise<unknown>;
@@ -0,0 +1,10 @@
1
+ export declare function HandleHttpError(response: Response): void;
2
+ export declare function HandleHttpErrorObject(response: Response, output?: any): void;
3
+ export declare function HandleInternalError(error: any, url?: string): void;
4
+ /**
5
+ * Handle errors inside package functions
6
+ * @updateLog existing function log at start
7
+ * @param functionName name of the function that encountered the error
8
+ * @param error error appeared
9
+ */
10
+ export declare function UpdatePackageLogWithError(logData: any, functionName: string, error: any): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ *
3
+ * @param array1 The array you want to merge into
4
+ * @param array2 The array you want to merge
5
+ * @returns array1 with the elements of array 2
6
+ */
7
+ export declare function MergeTwoArrays(array1: any, array2: any): any;
@@ -0,0 +1 @@
1
+ export declare function removeThePrefix(inputString: string): string;
@@ -0,0 +1 @@
1
+ export declare function removeAllChildren(parent: HTMLElement): void;
@@ -0,0 +1,3 @@
1
+ import { Connection } from '../../DataStructures/Connection';
2
+ import { Concept } from '../../DataStructures/Concept';
3
+ export declare function recursiveFetchNew(id: number, connectionList: Connection[], conceptList: Concept[], compositionList: number[], visitedConcepts?: number[]): Promise<any>;
@@ -0,0 +1,4 @@
1
+ import { Connection } from '../../DataStructures/Connection';
2
+ export declare function GetCompositionWithCache(id: number, connectionListPassed?: Connection[]): Promise<any>;
3
+ export declare function GetCompositionWithDataIdWithCache(id: number, connectionListPassed?: Connection[]): Promise<any>;
4
+ export declare function GetCompositionWithDataIdBulk(ids: number[], connections: number[]): Promise<any[]>;
@@ -0,0 +1,3 @@
1
+ import { Concept } from '../../DataStructures/Concept';
2
+ import { Composition } from '../../DataStructures/Composition/Composition';
3
+ export declare function CreateTheCompositionWithCache(json: any, ofTheConceptId?: number | null, ofTheConceptUserId?: number | null, mainKey?: number | null, userId?: number | null, accessId?: number | null, sessionInformationId?: number | null, composition?: Composition | null): Promise<Concept>;
@@ -0,0 +1,5 @@
1
+ import { Concept } from "../../app";
2
+ export declare function GetConceptByCharacterAndCategory(character: string): Promise<Concept>;
3
+ export declare function GetTypeConceptsByCharacterAndCategoryBulk(typeConcepts: string[]): Promise<Concept[]>;
4
+ export declare function GetConceptByCharacter(characterValue: string): Promise<Concept>;
5
+ export declare function GetConceptByCharacterAndCategoryFromMemory(character: string, category: number): Promise<Concept>;
@@ -0,0 +1,5 @@
1
+ import { Concept } from "../../DataStructures/Concept";
2
+ import { Connection } from "../../DataStructures/Connection";
3
+ export declare function convertFromConceptToLConcept(concept: Concept): Concept;
4
+ export declare function convertFromLConceptToConcept(lconcept: Concept): Concept;
5
+ export declare function convertFromConnectionToLConnection(connection: Connection): Connection;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This function builds up the binary tree on startup from the indexdb.
3
+ * Processes records in chunks to avoid blocking the main thread.
4
+ */
5
+ export default function CreateConceptBinaryTreeFromIndexDb(): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { Concept, InnerActions } from "../../app";
2
+ export declare function CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string, actions?: InnerActions): Promise<any>;
@@ -0,0 +1,5 @@
1
+ import { Concept } from "../DataStructures/Concept";
2
+ import { Connection } from "../DataStructures/Connection";
3
+ export declare function CreateConnectionBetweenTwoConcepts(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean, count?: boolean): Promise<any>;
4
+ export declare function CountRelationship(linker: string, concept: Concept, passedUserId?: number | null): Promise<void>;
5
+ export declare function CreateConnectionBetweenTwoConceptsGeneral(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean, count?: boolean): Promise<Connection>;
@@ -0,0 +1,3 @@
1
+ import { Concept } from "../DataStructures/Concept";
2
+ export declare function CreateDefaultConcept(): Concept;
3
+ export declare function formatDate(date: Date): string;