@everysk/apps-sdk 0.1.0-beta.0

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 (450) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +128 -0
  3. package/dist/EveryskApp.d.ts +73 -0
  4. package/dist/EveryskApp.d.ts.map +1 -0
  5. package/dist/EveryskApp.js +66 -0
  6. package/dist/EveryskApp.js.map +1 -0
  7. package/dist/agGrid/agGridTheme.d.ts +77 -0
  8. package/dist/agGrid/agGridTheme.d.ts.map +1 -0
  9. package/dist/agGrid/agGridTheme.js +88 -0
  10. package/dist/agGrid/agGridTheme.js.map +1 -0
  11. package/dist/agGrid/index.d.ts +4 -0
  12. package/dist/agGrid/index.d.ts.map +1 -0
  13. package/dist/agGrid/index.js +3 -0
  14. package/dist/api/datastore.d.ts +68 -0
  15. package/dist/api/datastore.d.ts.map +1 -0
  16. package/dist/api/datastore.js +125 -0
  17. package/dist/api/datastore.js.map +1 -0
  18. package/dist/api/entityQuery.d.ts +78 -0
  19. package/dist/api/entityQuery.d.ts.map +1 -0
  20. package/dist/api/entityQuery.js +100 -0
  21. package/dist/api/entityQuery.js.map +1 -0
  22. package/dist/api/file.d.ts +70 -0
  23. package/dist/api/file.d.ts.map +1 -0
  24. package/dist/api/file.js +126 -0
  25. package/dist/api/file.js.map +1 -0
  26. package/dist/api/portfolio.d.ts +67 -0
  27. package/dist/api/portfolio.d.ts.map +1 -0
  28. package/dist/api/portfolio.js +125 -0
  29. package/dist/api/portfolio.js.map +1 -0
  30. package/dist/api/profile.d.ts +40 -0
  31. package/dist/api/profile.d.ts.map +1 -0
  32. package/dist/api/profile.js +71 -0
  33. package/dist/api/profile.js.map +1 -0
  34. package/dist/api/websocketsConfig.d.ts +13 -0
  35. package/dist/api/websocketsConfig.d.ts.map +1 -0
  36. package/dist/api/websocketsConfig.js +25 -0
  37. package/dist/api/websocketsConfig.js.map +1 -0
  38. package/dist/api/workflow.d.ts +154 -0
  39. package/dist/api/workflow.d.ts.map +1 -0
  40. package/dist/api/workflow.js +289 -0
  41. package/dist/api/workflow.js.map +1 -0
  42. package/dist/api/workspace.d.ts +29 -0
  43. package/dist/api/workspace.d.ts.map +1 -0
  44. package/dist/api/workspace.js +54 -0
  45. package/dist/api/workspace.js.map +1 -0
  46. package/dist/components/ui/EveryskIcon/index.d.ts +5 -0
  47. package/dist/components/ui/EveryskIcon/index.d.ts.map +1 -0
  48. package/dist/components/ui/EveryskIcon/index.js +25 -0
  49. package/dist/components/ui/EveryskIcon/index.js.map +1 -0
  50. package/dist/components/ui/Footer/index.d.ts +5 -0
  51. package/dist/components/ui/Footer/index.d.ts.map +1 -0
  52. package/dist/components/ui/Footer/index.js +23 -0
  53. package/dist/components/ui/Footer/index.js.map +1 -0
  54. package/dist/components/ui/GlobalLoading/index.d.ts +8 -0
  55. package/dist/components/ui/GlobalLoading/index.d.ts.map +1 -0
  56. package/dist/components/ui/GlobalLoading/index.js +42 -0
  57. package/dist/components/ui/GlobalLoading/index.js.map +1 -0
  58. package/dist/components/ui/PageContainer/index.d.ts +7 -0
  59. package/dist/components/ui/PageContainer/index.d.ts.map +1 -0
  60. package/dist/components/ui/PageContainer/index.js +20 -0
  61. package/dist/components/ui/PageContainer/index.js.map +1 -0
  62. package/dist/components/ui/Toolbar/index.d.ts +5 -0
  63. package/dist/components/ui/Toolbar/index.d.ts.map +1 -0
  64. package/dist/components/ui/Toolbar/index.js +32 -0
  65. package/dist/components/ui/Toolbar/index.js.map +1 -0
  66. package/dist/contexts/agGridLicenseContext/provider.d.ts +51 -0
  67. package/dist/contexts/agGridLicenseContext/provider.d.ts.map +1 -0
  68. package/dist/contexts/agGridLicenseContext/provider.js +58 -0
  69. package/dist/contexts/agGridLicenseContext/provider.js.map +1 -0
  70. package/dist/contexts/appAlertContext/index.d.ts +3 -0
  71. package/dist/contexts/appAlertContext/index.d.ts.map +1 -0
  72. package/dist/contexts/appAlertContext/index.js +7 -0
  73. package/dist/contexts/appAlertContext/index.js.map +1 -0
  74. package/dist/contexts/appAlertContext/provider.d.ts +40 -0
  75. package/dist/contexts/appAlertContext/provider.d.ts.map +1 -0
  76. package/dist/contexts/appAlertContext/provider.js +96 -0
  77. package/dist/contexts/appAlertContext/provider.js.map +1 -0
  78. package/dist/contexts/appAlertContext/types.d.ts +15 -0
  79. package/dist/contexts/appAlertContext/types.d.ts.map +1 -0
  80. package/dist/contexts/appAlertContext/useAppAlert.d.ts +30 -0
  81. package/dist/contexts/appAlertContext/useAppAlert.d.ts.map +1 -0
  82. package/dist/contexts/appAlertContext/useAppAlert.js +40 -0
  83. package/dist/contexts/appAlertContext/useAppAlert.js.map +1 -0
  84. package/dist/contexts/appConfigContext/index.d.ts +3 -0
  85. package/dist/contexts/appConfigContext/index.d.ts.map +1 -0
  86. package/dist/contexts/appConfigContext/index.js +7 -0
  87. package/dist/contexts/appConfigContext/index.js.map +1 -0
  88. package/dist/contexts/appConfigContext/provider.d.ts +45 -0
  89. package/dist/contexts/appConfigContext/provider.d.ts.map +1 -0
  90. package/dist/contexts/appConfigContext/provider.js +63 -0
  91. package/dist/contexts/appConfigContext/provider.js.map +1 -0
  92. package/dist/contexts/appConfigContext/types.d.ts +28 -0
  93. package/dist/contexts/appConfigContext/types.d.ts.map +1 -0
  94. package/dist/contexts/appConfigContext/useAppConfig.d.ts +20 -0
  95. package/dist/contexts/appConfigContext/useAppConfig.d.ts.map +1 -0
  96. package/dist/contexts/appConfigContext/useAppConfig.js +30 -0
  97. package/dist/contexts/appConfigContext/useAppConfig.js.map +1 -0
  98. package/dist/contexts/webSocketContext/constants.d.ts +4 -0
  99. package/dist/contexts/webSocketContext/constants.d.ts.map +1 -0
  100. package/dist/contexts/webSocketContext/constants.js +8 -0
  101. package/dist/contexts/webSocketContext/constants.js.map +1 -0
  102. package/dist/contexts/webSocketContext/handler.d.ts +43 -0
  103. package/dist/contexts/webSocketContext/handler.d.ts.map +1 -0
  104. package/dist/contexts/webSocketContext/handler.js +87 -0
  105. package/dist/contexts/webSocketContext/handler.js.map +1 -0
  106. package/dist/contexts/webSocketContext/hooks/useAppNotificationSubscription/index.d.ts +19 -0
  107. package/dist/contexts/webSocketContext/hooks/useAppNotificationSubscription/index.d.ts.map +1 -0
  108. package/dist/contexts/webSocketContext/hooks/useAppNotificationSubscription/index.js +31 -0
  109. package/dist/contexts/webSocketContext/hooks/useAppNotificationSubscription/index.js.map +1 -0
  110. package/dist/contexts/webSocketContext/hooks/useWebSocket/index.d.ts +11 -0
  111. package/dist/contexts/webSocketContext/hooks/useWebSocket/index.d.ts.map +1 -0
  112. package/dist/contexts/webSocketContext/hooks/useWebSocket/index.js +21 -0
  113. package/dist/contexts/webSocketContext/hooks/useWebSocket/index.js.map +1 -0
  114. package/dist/contexts/webSocketContext/hooks/useWebSocketSubscription/index.d.ts +30 -0
  115. package/dist/contexts/webSocketContext/hooks/useWebSocketSubscription/index.d.ts.map +1 -0
  116. package/dist/contexts/webSocketContext/hooks/useWebSocketSubscription/index.js +44 -0
  117. package/dist/contexts/webSocketContext/hooks/useWebSocketSubscription/index.js.map +1 -0
  118. package/dist/contexts/webSocketContext/index.d.ts +3 -0
  119. package/dist/contexts/webSocketContext/index.d.ts.map +1 -0
  120. package/dist/contexts/webSocketContext/index.js +7 -0
  121. package/dist/contexts/webSocketContext/index.js.map +1 -0
  122. package/dist/contexts/webSocketContext/provider.d.ts +39 -0
  123. package/dist/contexts/webSocketContext/provider.d.ts.map +1 -0
  124. package/dist/contexts/webSocketContext/provider.js +121 -0
  125. package/dist/contexts/webSocketContext/provider.js.map +1 -0
  126. package/dist/contexts/webSocketContext/types.d.ts +41 -0
  127. package/dist/contexts/webSocketContext/types.d.ts.map +1 -0
  128. package/dist/datastore/index.d.ts +7 -0
  129. package/dist/datastore/index.d.ts.map +1 -0
  130. package/dist/file/index.d.ts +6 -0
  131. package/dist/file/index.d.ts.map +1 -0
  132. package/dist/hooks/datastore/useDatastoreMutations.d.ts +151 -0
  133. package/dist/hooks/datastore/useDatastoreMutations.d.ts.map +1 -0
  134. package/dist/hooks/datastore/useDatastoreMutations.js +198 -0
  135. package/dist/hooks/datastore/useDatastoreMutations.js.map +1 -0
  136. package/dist/hooks/datastore/useFetchDatastore.d.ts +205 -0
  137. package/dist/hooks/datastore/useFetchDatastore.d.ts.map +1 -0
  138. package/dist/hooks/datastore/useFetchDatastore.js +85 -0
  139. package/dist/hooks/datastore/useFetchDatastore.js.map +1 -0
  140. package/dist/hooks/datastore/useFetchDatastores.d.ts +70 -0
  141. package/dist/hooks/datastore/useFetchDatastores.d.ts.map +1 -0
  142. package/dist/hooks/datastore/useFetchDatastores.js +105 -0
  143. package/dist/hooks/datastore/useFetchDatastores.js.map +1 -0
  144. package/dist/hooks/file/useFetchFile.d.ts +212 -0
  145. package/dist/hooks/file/useFetchFile.d.ts.map +1 -0
  146. package/dist/hooks/file/useFetchFile.js +87 -0
  147. package/dist/hooks/file/useFetchFile.js.map +1 -0
  148. package/dist/hooks/file/useFetchFiles.d.ts +60 -0
  149. package/dist/hooks/file/useFetchFiles.d.ts.map +1 -0
  150. package/dist/hooks/file/useFetchFiles.js +89 -0
  151. package/dist/hooks/file/useFetchFiles.js.map +1 -0
  152. package/dist/hooks/file/useFileMutations.d.ts +161 -0
  153. package/dist/hooks/file/useFileMutations.d.ts.map +1 -0
  154. package/dist/hooks/file/useFileMutations.js +208 -0
  155. package/dist/hooks/file/useFileMutations.js.map +1 -0
  156. package/dist/hooks/portfolio/useFetchPortfolio.d.ts +210 -0
  157. package/dist/hooks/portfolio/useFetchPortfolio.d.ts.map +1 -0
  158. package/dist/hooks/portfolio/useFetchPortfolio.js +85 -0
  159. package/dist/hooks/portfolio/useFetchPortfolio.js.map +1 -0
  160. package/dist/hooks/portfolio/useFetchPortfolios.d.ts +60 -0
  161. package/dist/hooks/portfolio/useFetchPortfolios.d.ts.map +1 -0
  162. package/dist/hooks/portfolio/useFetchPortfolios.js +89 -0
  163. package/dist/hooks/portfolio/useFetchPortfolios.js.map +1 -0
  164. package/dist/hooks/portfolio/usePortfolioMutations.d.ts +171 -0
  165. package/dist/hooks/portfolio/usePortfolioMutations.d.ts.map +1 -0
  166. package/dist/hooks/portfolio/usePortfolioMutations.js +218 -0
  167. package/dist/hooks/portfolio/usePortfolioMutations.js.map +1 -0
  168. package/dist/hooks/profile/useFetchProfile.d.ts +206 -0
  169. package/dist/hooks/profile/useFetchProfile.d.ts.map +1 -0
  170. package/dist/hooks/profile/useFetchProfile.js +70 -0
  171. package/dist/hooks/profile/useFetchProfile.js.map +1 -0
  172. package/dist/hooks/useAxios.d.ts +40 -0
  173. package/dist/hooks/useAxios.d.ts.map +1 -0
  174. package/dist/hooks/useAxios.js +76 -0
  175. package/dist/hooks/useAxios.js.map +1 -0
  176. package/dist/hooks/workflow/useFetchWorkerExecution.d.ts +198 -0
  177. package/dist/hooks/workflow/useFetchWorkerExecution.d.ts.map +1 -0
  178. package/dist/hooks/workflow/useFetchWorkerExecution.js +69 -0
  179. package/dist/hooks/workflow/useFetchWorkerExecution.js.map +1 -0
  180. package/dist/hooks/workflow/useFetchWorkerExecutions.d.ts +52 -0
  181. package/dist/hooks/workflow/useFetchWorkerExecutions.d.ts.map +1 -0
  182. package/dist/hooks/workflow/useFetchWorkerExecutions.js +83 -0
  183. package/dist/hooks/workflow/useFetchWorkerExecutions.js.map +1 -0
  184. package/dist/hooks/workflow/useFetchWorkflow.d.ts +195 -0
  185. package/dist/hooks/workflow/useFetchWorkflow.d.ts.map +1 -0
  186. package/dist/hooks/workflow/useFetchWorkflow.js +70 -0
  187. package/dist/hooks/workflow/useFetchWorkflow.js.map +1 -0
  188. package/dist/hooks/workflow/useFetchWorkflowExecution.d.ts +198 -0
  189. package/dist/hooks/workflow/useFetchWorkflowExecution.d.ts.map +1 -0
  190. package/dist/hooks/workflow/useFetchWorkflowExecution.js +69 -0
  191. package/dist/hooks/workflow/useFetchWorkflowExecution.js.map +1 -0
  192. package/dist/hooks/workflow/useFetchWorkflowExecutions.d.ts +49 -0
  193. package/dist/hooks/workflow/useFetchWorkflowExecutions.d.ts.map +1 -0
  194. package/dist/hooks/workflow/useFetchWorkflowExecutions.js +77 -0
  195. package/dist/hooks/workflow/useFetchWorkflowExecutions.js.map +1 -0
  196. package/dist/hooks/workflow/useFetchWorkflows.d.ts +47 -0
  197. package/dist/hooks/workflow/useFetchWorkflows.d.ts.map +1 -0
  198. package/dist/hooks/workflow/useFetchWorkflows.js +67 -0
  199. package/dist/hooks/workflow/useFetchWorkflows.js.map +1 -0
  200. package/dist/hooks/workflow/useRunWorkflow.d.ts +30 -0
  201. package/dist/hooks/workflow/useRunWorkflow.d.ts.map +1 -0
  202. package/dist/hooks/workflow/useRunWorkflow.js +50 -0
  203. package/dist/hooks/workflow/useRunWorkflow.js.map +1 -0
  204. package/dist/hooks/workspace/useFetchWorkspace.d.ts +197 -0
  205. package/dist/hooks/workspace/useFetchWorkspace.d.ts.map +1 -0
  206. package/dist/hooks/workspace/useFetchWorkspace.js +65 -0
  207. package/dist/hooks/workspace/useFetchWorkspace.js.map +1 -0
  208. package/dist/hooks/workspace/useFetchWorkspaces.d.ts +46 -0
  209. package/dist/hooks/workspace/useFetchWorkspaces.d.ts.map +1 -0
  210. package/dist/hooks/workspace/useFetchWorkspaces.js +66 -0
  211. package/dist/hooks/workspace/useFetchWorkspaces.js.map +1 -0
  212. package/dist/index.d.ts +24 -0
  213. package/dist/index.d.ts.map +1 -0
  214. package/dist/index.js +50 -0
  215. package/dist/lib/datastoreTable.d.ts +126 -0
  216. package/dist/lib/datastoreTable.d.ts.map +1 -0
  217. package/dist/lib/datastoreTable.js +146 -0
  218. package/dist/lib/datastoreTable.js.map +1 -0
  219. package/dist/lib/queryClient.d.ts +24 -0
  220. package/dist/lib/queryClient.d.ts.map +1 -0
  221. package/dist/lib/queryClient.js +48 -0
  222. package/dist/lib/queryClient.js.map +1 -0
  223. package/dist/portfolio/index.d.ts +6 -0
  224. package/dist/portfolio/index.d.ts.map +1 -0
  225. package/dist/profile/index.d.ts +4 -0
  226. package/dist/profile/index.d.ts.map +1 -0
  227. package/dist/socket/index.d.ts +10 -0
  228. package/dist/socket/index.d.ts.map +1 -0
  229. package/dist/socket/index.js +9 -0
  230. package/dist/test/index.d.ts +2 -0
  231. package/dist/test/index.d.ts.map +1 -0
  232. package/dist/test/index.js +2 -0
  233. package/dist/test/mocks/agGridEnterprise.d.ts +38 -0
  234. package/dist/test/mocks/agGridEnterprise.d.ts.map +1 -0
  235. package/dist/test/mocks/agGridEnterprise.js +43 -0
  236. package/dist/test/mocks/agGridEnterprise.js.map +1 -0
  237. package/dist/test/mocks/agGridReact.d.ts +42 -0
  238. package/dist/test/mocks/agGridReact.d.ts.map +1 -0
  239. package/dist/test/mocks/agGridReact.js +47 -0
  240. package/dist/test/mocks/agGridReact.js.map +1 -0
  241. package/dist/test/mocks/index.d.ts +5 -0
  242. package/dist/test/mocks/index.d.ts.map +1 -0
  243. package/dist/test/mocks/index.js +4 -0
  244. package/dist/test/mocks/socketIoClient.d.ts +45 -0
  245. package/dist/test/mocks/socketIoClient.d.ts.map +1 -0
  246. package/dist/test/mocks/socketIoClient.js +54 -0
  247. package/dist/test/mocks/socketIoClient.js.map +1 -0
  248. package/dist/test/renderWithProviders.d.ts +107 -0
  249. package/dist/test/renderWithProviders.d.ts.map +1 -0
  250. package/dist/test/renderWithProviders.js +85 -0
  251. package/dist/test/renderWithProviders.js.map +1 -0
  252. package/dist/test/setup.d.ts +2 -0
  253. package/dist/test/setup.d.ts.map +1 -0
  254. package/dist/test/setup.js +25 -0
  255. package/dist/test/setup.js.map +1 -0
  256. package/dist/theme/ThemeProvider.d.ts +12 -0
  257. package/dist/theme/ThemeProvider.d.ts.map +1 -0
  258. package/dist/theme/ThemeProvider.js +22 -0
  259. package/dist/theme/ThemeProvider.js.map +1 -0
  260. package/dist/theme/index.d.ts +9 -0
  261. package/dist/theme/index.d.ts.map +1 -0
  262. package/dist/theme/overrides/index.d.ts +7 -0
  263. package/dist/theme/overrides/index.d.ts.map +1 -0
  264. package/dist/theme/overrides/index.js +31 -0
  265. package/dist/theme/overrides/index.js.map +1 -0
  266. package/dist/theme/overrides/muiButton.d.ts +3 -0
  267. package/dist/theme/overrides/muiButton.d.ts.map +1 -0
  268. package/dist/theme/overrides/muiButton.js +6 -0
  269. package/dist/theme/overrides/muiButton.js.map +1 -0
  270. package/dist/theme/overrides/muiCssBaseline.d.ts +31 -0
  271. package/dist/theme/overrides/muiCssBaseline.d.ts.map +1 -0
  272. package/dist/theme/overrides/muiCssBaseline.js +27 -0
  273. package/dist/theme/overrides/muiCssBaseline.js.map +1 -0
  274. package/dist/theme/overrides/muiDatePicker.d.ts +10 -0
  275. package/dist/theme/overrides/muiDatePicker.d.ts.map +1 -0
  276. package/dist/theme/overrides/muiDatePicker.js +6 -0
  277. package/dist/theme/overrides/muiDatePicker.js.map +1 -0
  278. package/dist/theme/overrides/muiFormControl.d.ts +3 -0
  279. package/dist/theme/overrides/muiFormControl.d.ts.map +1 -0
  280. package/dist/theme/overrides/muiFormControl.js +6 -0
  281. package/dist/theme/overrides/muiFormControl.js.map +1 -0
  282. package/dist/theme/overrides/muiIconButton.d.ts +3 -0
  283. package/dist/theme/overrides/muiIconButton.d.ts.map +1 -0
  284. package/dist/theme/overrides/muiIconButton.js +6 -0
  285. package/dist/theme/overrides/muiIconButton.js.map +1 -0
  286. package/dist/theme/overrides/muiSelect.d.ts +3 -0
  287. package/dist/theme/overrides/muiSelect.d.ts.map +1 -0
  288. package/dist/theme/overrides/muiSelect.js +6 -0
  289. package/dist/theme/overrides/muiSelect.js.map +1 -0
  290. package/dist/theme/overrides/muiSvgIcon.d.ts +3 -0
  291. package/dist/theme/overrides/muiSvgIcon.d.ts.map +1 -0
  292. package/dist/theme/overrides/muiSvgIcon.js +6 -0
  293. package/dist/theme/overrides/muiSvgIcon.js.map +1 -0
  294. package/dist/theme/overrides/muiTextField.d.ts +3 -0
  295. package/dist/theme/overrides/muiTextField.d.ts.map +1 -0
  296. package/dist/theme/overrides/muiTextField.js +6 -0
  297. package/dist/theme/overrides/muiTextField.js.map +1 -0
  298. package/dist/theme/overrides/muiToggleButton.d.ts +3 -0
  299. package/dist/theme/overrides/muiToggleButton.d.ts.map +1 -0
  300. package/dist/theme/overrides/muiToggleButton.js +6 -0
  301. package/dist/theme/overrides/muiToggleButton.js.map +1 -0
  302. package/dist/theme/overrides/muiToggleButtonGroup.d.ts +3 -0
  303. package/dist/theme/overrides/muiToggleButtonGroup.d.ts.map +1 -0
  304. package/dist/theme/overrides/muiToggleButtonGroup.js +6 -0
  305. package/dist/theme/overrides/muiToggleButtonGroup.js.map +1 -0
  306. package/dist/theme/themes/DefaultDark.d.ts +7 -0
  307. package/dist/theme/themes/DefaultDark.d.ts.map +1 -0
  308. package/dist/theme/themes/DefaultDark.js +15 -0
  309. package/dist/theme/themes/DefaultDark.js.map +1 -0
  310. package/dist/theme/themes/DefaultLight.d.ts +7 -0
  311. package/dist/theme/themes/DefaultLight.d.ts.map +1 -0
  312. package/dist/theme/themes/DefaultLight.js +15 -0
  313. package/dist/theme/themes/DefaultLight.js.map +1 -0
  314. package/dist/theme/themes/EveryskDark.d.ts +15 -0
  315. package/dist/theme/themes/EveryskDark.d.ts.map +1 -0
  316. package/dist/theme/themes/EveryskDark.js +63 -0
  317. package/dist/theme/themes/EveryskDark.js.map +1 -0
  318. package/dist/theme/themes/EveryskLight.d.ts +21 -0
  319. package/dist/theme/themes/EveryskLight.d.ts.map +1 -0
  320. package/dist/theme/themes/EveryskLight.js +69 -0
  321. package/dist/theme/themes/EveryskLight.js.map +1 -0
  322. package/dist/theme/themes/MidnightEmber.d.ts +3 -0
  323. package/dist/theme/themes/MidnightEmber.d.ts.map +1 -0
  324. package/dist/theme/themes/MidnightEmber.js +31 -0
  325. package/dist/theme/themes/MidnightEmber.js.map +1 -0
  326. package/dist/theme/themes/index.d.ts +17 -0
  327. package/dist/theme/themes/index.d.ts.map +1 -0
  328. package/dist/theme/themes/index.js +32 -0
  329. package/dist/theme/themes/index.js.map +1 -0
  330. package/dist/types/anyRecord.d.ts +4 -0
  331. package/dist/types/anyRecord.d.ts.map +1 -0
  332. package/dist/types/datastore.d.ts +26 -0
  333. package/dist/types/datastore.d.ts.map +1 -0
  334. package/dist/types/entityQuery.d.ts +47 -0
  335. package/dist/types/entityQuery.d.ts.map +1 -0
  336. package/dist/types/file.d.ts +29 -0
  337. package/dist/types/file.d.ts.map +1 -0
  338. package/dist/types/portfolio.d.ts +77 -0
  339. package/dist/types/portfolio.d.ts.map +1 -0
  340. package/dist/types/profile.d.ts +37 -0
  341. package/dist/types/profile.d.ts.map +1 -0
  342. package/dist/types/workflow.d.ts +68 -0
  343. package/dist/types/workflow.d.ts.map +1 -0
  344. package/dist/types/workspace.d.ts +13 -0
  345. package/dist/types/workspace.d.ts.map +1 -0
  346. package/dist/ui/index.d.ts +6 -0
  347. package/dist/ui/index.d.ts.map +1 -0
  348. package/dist/workflow/index.d.ts +10 -0
  349. package/dist/workflow/index.d.ts.map +1 -0
  350. package/dist/workspace/index.d.ts +5 -0
  351. package/dist/workspace/index.d.ts.map +1 -0
  352. package/package.json +148 -0
  353. package/src/EveryskApp.tsx +108 -0
  354. package/src/agGrid/agGridTheme.ts +113 -0
  355. package/src/agGrid/index.ts +15 -0
  356. package/src/api/datastore.ts +175 -0
  357. package/src/api/entityQuery.ts +101 -0
  358. package/src/api/file.ts +174 -0
  359. package/src/api/portfolio.ts +190 -0
  360. package/src/api/profile.ts +80 -0
  361. package/src/api/websocketsConfig.ts +32 -0
  362. package/src/api/workflow.ts +427 -0
  363. package/src/api/workspace.ts +72 -0
  364. package/src/components/ui/EveryskIcon/index.tsx +24 -0
  365. package/src/components/ui/Footer/index.tsx +30 -0
  366. package/src/components/ui/GlobalLoading/index.tsx +38 -0
  367. package/src/components/ui/PageContainer/index.tsx +14 -0
  368. package/src/components/ui/Toolbar/index.tsx +44 -0
  369. package/src/contexts/agGridLicenseContext/provider.tsx +63 -0
  370. package/src/contexts/appAlertContext/index.tsx +4 -0
  371. package/src/contexts/appAlertContext/provider.tsx +92 -0
  372. package/src/contexts/appAlertContext/types.ts +17 -0
  373. package/src/contexts/appAlertContext/useAppAlert.ts +39 -0
  374. package/src/contexts/appConfigContext/index.tsx +4 -0
  375. package/src/contexts/appConfigContext/provider.tsx +67 -0
  376. package/src/contexts/appConfigContext/types.ts +28 -0
  377. package/src/contexts/appConfigContext/useAppConfig.ts +30 -0
  378. package/src/contexts/webSocketContext/constants.ts +3 -0
  379. package/src/contexts/webSocketContext/handler.ts +108 -0
  380. package/src/contexts/webSocketContext/hooks/useAppNotificationSubscription/index.ts +36 -0
  381. package/src/contexts/webSocketContext/hooks/useWebSocket/index.ts +18 -0
  382. package/src/contexts/webSocketContext/hooks/useWebSocketSubscription/index.ts +45 -0
  383. package/src/contexts/webSocketContext/index.tsx +5 -0
  384. package/src/contexts/webSocketContext/provider.tsx +125 -0
  385. package/src/contexts/webSocketContext/types.ts +50 -0
  386. package/src/datastore/index.ts +14 -0
  387. package/src/file/index.ts +13 -0
  388. package/src/hooks/datastore/useDatastoreMutations.ts +221 -0
  389. package/src/hooks/datastore/useFetchDatastore.ts +95 -0
  390. package/src/hooks/datastore/useFetchDatastores.ts +162 -0
  391. package/src/hooks/file/useFetchFile.ts +93 -0
  392. package/src/hooks/file/useFetchFiles.ts +109 -0
  393. package/src/hooks/file/useFileMutations.ts +240 -0
  394. package/src/hooks/portfolio/useFetchPortfolio.ts +94 -0
  395. package/src/hooks/portfolio/useFetchPortfolios.ts +109 -0
  396. package/src/hooks/portfolio/usePortfolioMutations.ts +250 -0
  397. package/src/hooks/profile/useFetchProfile.ts +93 -0
  398. package/src/hooks/useAxios.ts +98 -0
  399. package/src/hooks/workflow/useFetchWorkerExecution.ts +78 -0
  400. package/src/hooks/workflow/useFetchWorkerExecutions.ts +98 -0
  401. package/src/hooks/workflow/useFetchWorkflow.ts +76 -0
  402. package/src/hooks/workflow/useFetchWorkflowExecution.ts +79 -0
  403. package/src/hooks/workflow/useFetchWorkflowExecutions.ts +95 -0
  404. package/src/hooks/workflow/useFetchWorkflows.ts +84 -0
  405. package/src/hooks/workflow/useRunWorkflow.ts +62 -0
  406. package/src/hooks/workspace/useFetchWorkspace.ts +78 -0
  407. package/src/hooks/workspace/useFetchWorkspaces.ts +86 -0
  408. package/src/index.ts +72 -0
  409. package/src/lib/datastoreTable.ts +159 -0
  410. package/src/lib/queryClient.ts +60 -0
  411. package/src/portfolio/index.ts +13 -0
  412. package/src/profile/index.ts +11 -0
  413. package/src/socket/index.ts +19 -0
  414. package/src/test/index.ts +10 -0
  415. package/src/test/mocks/agGridEnterprise.ts +45 -0
  416. package/src/test/mocks/agGridReact.tsx +61 -0
  417. package/src/test/mocks/index.ts +22 -0
  418. package/src/test/mocks/socketIoClient.ts +78 -0
  419. package/src/test/renderWithProviders.tsx +114 -0
  420. package/src/test/setup.ts +46 -0
  421. package/src/theme/ThemeProvider.tsx +33 -0
  422. package/src/theme/index.ts +15 -0
  423. package/src/theme/overrides/index.ts +31 -0
  424. package/src/theme/overrides/muiButton.ts +7 -0
  425. package/src/theme/overrides/muiCssBaseline.ts +35 -0
  426. package/src/theme/overrides/muiDatePicker.ts +5 -0
  427. package/src/theme/overrides/muiFormControl.ts +7 -0
  428. package/src/theme/overrides/muiIconButton.ts +7 -0
  429. package/src/theme/overrides/muiSelect.ts +7 -0
  430. package/src/theme/overrides/muiSvgIcon.ts +7 -0
  431. package/src/theme/overrides/muiTextField.ts +7 -0
  432. package/src/theme/overrides/muiToggleButton.ts +7 -0
  433. package/src/theme/overrides/muiToggleButtonGroup.ts +7 -0
  434. package/src/theme/themes/DefaultDark.ts +14 -0
  435. package/src/theme/themes/DefaultLight.ts +14 -0
  436. package/src/theme/themes/EveryskDark.ts +62 -0
  437. package/src/theme/themes/EveryskLight.ts +68 -0
  438. package/src/theme/themes/MidnightEmber.ts +30 -0
  439. package/src/theme/themes/index.ts +35 -0
  440. package/src/types/anyRecord.ts +4 -0
  441. package/src/types/datastore.ts +33 -0
  442. package/src/types/entityQuery.ts +64 -0
  443. package/src/types/file.ts +32 -0
  444. package/src/types/portfolio.ts +81 -0
  445. package/src/types/profile.ts +39 -0
  446. package/src/types/workflow.ts +76 -0
  447. package/src/types/workspace.ts +15 -0
  448. package/src/ui/index.ts +14 -0
  449. package/src/workflow/index.ts +17 -0
  450. package/src/workspace/index.ts +12 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Everysk Technologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,128 @@
1
+ # @everysk/apps-sdk
2
+
3
+ (C) Copyright 2026 EVERYSK TECHNOLOGIES
4
+
5
+ The runtime an Everysk app bundles: the provider tree, the API layer, the entity hooks, the
6
+ shared components and the MUI theme. Declared as a `dependency`.
7
+
8
+ Part of [everysk/apps-sdk](https://github.com/everysk/apps-sdk), alongside
9
+ [`@everysk/apps-devkit`](../apps-devkit) (build presets) and
10
+ [`@everysk/apps-cli`](../apps-cli) (the `everysk-apps` bin).
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ npm install @everysk/apps-sdk
16
+ ```
17
+
18
+ `react`, `react-dom`, `@mui/material`, `@mui/x-date-pickers`, `@emotion/*`,
19
+ `@tanstack/react-query` and `axios` are **required** peers — npm installs them with the package,
20
+ and a version outside its range fails the install rather than giving the app a second copy. Two
21
+ Reacts, two MUI theme contexts or two QueryClients break contexts silently: the provider writes
22
+ to one object and the hook reads from the other.
23
+
24
+ ## The provider tree
25
+
26
+ `EveryskApp` is the whole of an app's `App.tsx`:
27
+
28
+ ```tsx
29
+ import { EveryskApp } from "@everysk/apps-sdk";
30
+
31
+ import { Routes } from "./pages/routes";
32
+
33
+ export function App() {
34
+ return (
35
+ <EveryskApp>
36
+ <Routes />
37
+ </EveryskApp>
38
+ );
39
+ }
40
+ ```
41
+
42
+ It composes four providers in a fixed order — Theme → AppConfig → QueryClient → AppAlert — and
43
+ takes `providers` for the optional ones, applied innermost so each can read every core context.
44
+ Owning the tree here is what makes adding a module an install and an import, rather than an edit
45
+ to nested JSX in the right slot.
46
+
47
+ | Prop | |
48
+ |---|---|
49
+ | `theme` | A MUI theme. Omitted, the app mounts the Everysk dark theme |
50
+ | `queryClient` | Defaults to a fresh `createQueryClient()`, created once per mount |
51
+ | `appId`, `appEnvironmentVar` | Override `window.APP_ID` / `window.APP_CONFIG`, for tests and hosts that resolve configuration themselves |
52
+ | `providers` | Optional providers, mounted inside the core tree |
53
+
54
+ ## Entry points
55
+
56
+ One entry holds everything whose dependencies are required peers — the contexts, the six entity
57
+ slices, the UI components and the theme. A bundler drops what the app never imports: measured,
58
+ importing one function through the root produces the same bytes as importing it from a dedicated
59
+ subpath.
60
+
61
+ Five subpaths remain, and each exists because what sits behind it carries an **optional** peer,
62
+ which npm does not install for you:
63
+
64
+ | Subpath | Optional peers |
65
+ |---|---|
66
+ | `/ag-grid` | `ag-grid-community`, `ag-grid-enterprise` |
67
+ | `/socket` | `socket.io-client` |
68
+ | `/test` | `@testing-library/*` |
69
+ | `/test/mocks` | doubles for the optional peers above |
70
+ | `/test/setup` | the vitest setup file to point `setupFiles` at |
71
+
72
+ A bundler resolves a module before it can tree-shake it, so re-exporting the AG Grid layer from
73
+ the root would fail to build in an app that never installed `ag-grid-*` — even one importing
74
+ nothing but `createQueryClient`. The subpath is what makes the peer genuinely optional.
75
+
76
+ ## The AG Grid licence is a parameter
77
+
78
+ ```ts
79
+ // src/main.tsx
80
+ import { setAgGridLicense } from "@everysk/apps-sdk/ag-grid";
81
+
82
+ setAgGridLicense(import.meta.env.VITE_AG_GRID_LICENSE_KEY);
83
+ ```
84
+
85
+ This package never reads your environment. Vite replaces `import.meta.env.VITE_*` with a literal
86
+ at the build of whoever compiles the file — for a published package that is this package's own
87
+ CI, where the variable does not exist, so the value would freeze as `undefined` and your
88
+ environment would never reach it. There is no build error and no runtime error; the only symptom
89
+ is the AG Grid watermark.
90
+
91
+ `getAgGridTheme(theme)` and `useAgGridTheme()` derive the grid's theme from the MUI palette, so
92
+ any theme — including one the app creates — gets a matching grid without a second table of
93
+ colours.
94
+
95
+ ## Testing an app against it
96
+
97
+ ```ts
98
+ // vitest.config.ts — or use @everysk/apps-devkit/vitest, which sets this
99
+ setupFiles: ["@everysk/apps-sdk/test/setup"];
100
+ ```
101
+
102
+ ```tsx
103
+ import { renderWithProviders } from "@everysk/apps-sdk/test";
104
+
105
+ renderWithProviders(<Home />, { appId: "app_42" });
106
+ ```
107
+
108
+ `renderWithProviders` renders through `EveryskApp` itself rather than repeating the tree, so a
109
+ test and the real app cannot see different contexts. Each render gets a fresh QueryClient with
110
+ retries and caching off.
111
+
112
+ `@everysk/apps-sdk/test/mocks` carries opt-in doubles for the optional peers: `ag-grid-react`
113
+ (renders rows and cells as plain DOM, so assertions about the data still hold),
114
+ `ag-grid-enterprise` (captures the registered licence, readable with `getAgGridLicenseKey()`)
115
+ and `socket.io-client` (a fake socket driven with `getMockSocket()?.fire(event, payload)`).
116
+
117
+ They are factories a test file hands to `vi.mock`, never applied from the setup file: each
118
+ stands in for an optional peer, and `vi.mock` on a module that cannot be resolved fails the whole
119
+ test file at transform time — so a setup-wide mock would break every suite in an app that never
120
+ installed it.
121
+
122
+ ## Requirements
123
+
124
+ Node 22 or newer, npm 12 or newer. npm 10 crashes resolving this package's workspace.
125
+
126
+ ## License
127
+
128
+ MIT — see [LICENSE](./LICENSE).
@@ -0,0 +1,73 @@
1
+ import { type ComponentType, type PropsWithChildren } from "react";
2
+ import { type QueryClient } from "@tanstack/react-query";
3
+ import type { AnyRecord } from "./types/anyRecord.d.ts";
4
+ import type { Theme } from "@mui/material/styles";
5
+ /** A provider is any component that renders its children. */
6
+ export type ProviderComponent = ComponentType<PropsWithChildren>;
7
+ export type EveryskAppProps = PropsWithChildren<{
8
+ /**
9
+ * The client every `useQuery` in the tree talks to. Defaults to a fresh
10
+ * `createQueryClient()` created once per mount. Pass one to seed the cache, to share it
11
+ * with code outside the tree, or to assert on it from a test.
12
+ */
13
+ queryClient?: QueryClient;
14
+ /** Overrides `window.APP_ID`. */
15
+ appId?: string | null;
16
+ /**
17
+ * The MUI theme. Omitted, the app gets the Everysk dark theme — see `ThemeProvider`.
18
+ */
19
+ theme?: Theme;
20
+ /** Overrides `window.APP_CONFIG` wholesale. */
21
+ appEnvironmentVar?: AnyRecord;
22
+ /**
23
+ * Optional providers, applied innermost — inside every core provider and directly around
24
+ * `children`, in array order, so the first entry is outermost of the group.
25
+ *
26
+ * They go innermost rather than into named slots because that is the only position from
27
+ * which a provider can read every core context (theme, app config, query client, alerts).
28
+ * `modules.json` kept an explicit `providerOrder` only because the app owned the tree and
29
+ * each module had to be hand-wired into the right slot; owning the tree here is what
30
+ * retires that contract.
31
+ */
32
+ providers?: ProviderComponent[];
33
+ }>;
34
+ /**
35
+ * EveryskApp
36
+ *
37
+ * The provider tree every Everysk app mounts, composed in one fixed order:
38
+ *
39
+ * ```
40
+ * ThemeProvider
41
+ * AppConfigProvider
42
+ * QueryClientProvider
43
+ * AppAlertProvider
44
+ * …providers
45
+ * children
46
+ * ```
47
+ *
48
+ * The order is not arbitrary. `AppAlertProvider` renders MUI's `Snackbar`, so it must sit
49
+ * inside `ThemeProvider`; and `QueryClientProvider` sits inside `AppConfigProvider` because
50
+ * entity hooks build their Axios instance from `useAppConfig()`.
51
+ *
52
+ * `BroadcastChannelProvider` used to sit between theme and app configuration. It is gone: the
53
+ * optional socket layer supersedes it for cross-tab and server-push messaging (as
54
+ * `modules.json` already stated), and the one production path that still used it — app
55
+ * configuration arriving over the channel — was replaced by `window.APP_CONFIG`.
56
+ *
57
+ * `src/test/renderWithProviders` renders through this same component, so a test and the real
58
+ * app can never see different trees.
59
+ *
60
+ * @example
61
+ * ```tsx
62
+ * // src/App.tsx — the entire file
63
+ * export function App() {
64
+ * return (
65
+ * <EveryskApp>
66
+ * <Routes />
67
+ * </EveryskApp>
68
+ * );
69
+ * }
70
+ * ```
71
+ */
72
+ export declare const EveryskApp: ({ children, queryClient, theme, appId, appEnvironmentVar, providers, }: EveryskAppProps) => import("react").JSX.Element;
73
+ //# sourceMappingURL=EveryskApp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EveryskApp.d.ts","sourceRoot":"","sources":["../src/EveryskApp.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAkB,MAAM,OAAO,CAAC;AAE5F,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAM9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,6DAA6D;AAC7D,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEjE,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,+CAA+C;IAC/C,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACnC,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,UAAU,GAAI,wEAOxB,eAAe,gCAoBjB,CAAC"}
@@ -0,0 +1,66 @@
1
+ import { ThemeProvider } from "./theme/ThemeProvider.js";
2
+ import { AppConfigProvider } from "./contexts/appConfigContext/provider.js";
3
+ import { AppAlertProvider } from "./contexts/appAlertContext/provider.js";
4
+ import { createQueryClient } from "./lib/queryClient.js";
5
+ import { useMemo } from "react";
6
+ import { QueryClientProvider } from "@tanstack/react-query";
7
+ import { jsx } from "react/jsx-runtime";
8
+ //#region src/EveryskApp.tsx
9
+ /**
10
+ * EveryskApp
11
+ *
12
+ * The provider tree every Everysk app mounts, composed in one fixed order:
13
+ *
14
+ * ```
15
+ * ThemeProvider
16
+ * AppConfigProvider
17
+ * QueryClientProvider
18
+ * AppAlertProvider
19
+ * …providers
20
+ * children
21
+ * ```
22
+ *
23
+ * The order is not arbitrary. `AppAlertProvider` renders MUI's `Snackbar`, so it must sit
24
+ * inside `ThemeProvider`; and `QueryClientProvider` sits inside `AppConfigProvider` because
25
+ * entity hooks build their Axios instance from `useAppConfig()`.
26
+ *
27
+ * `BroadcastChannelProvider` used to sit between theme and app configuration. It is gone: the
28
+ * optional socket layer supersedes it for cross-tab and server-push messaging (as
29
+ * `modules.json` already stated), and the one production path that still used it — app
30
+ * configuration arriving over the channel — was replaced by `window.APP_CONFIG`.
31
+ *
32
+ * `src/test/renderWithProviders` renders through this same component, so a test and the real
33
+ * app can never see different trees.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * // src/App.tsx — the entire file
38
+ * export function App() {
39
+ * return (
40
+ * <EveryskApp>
41
+ * <Routes />
42
+ * </EveryskApp>
43
+ * );
44
+ * }
45
+ * ```
46
+ */
47
+ var EveryskApp = ({ children, queryClient, theme, appId, appEnvironmentVar, providers }) => {
48
+ const fallbackQueryClient = useMemo(() => createQueryClient(), []);
49
+ const client = queryClient ?? fallbackQueryClient;
50
+ const wrapped = (providers ?? []).reduceRight((inner, Provider) => /* @__PURE__ */ jsx(Provider, { children: inner }), children);
51
+ return /* @__PURE__ */ jsx(ThemeProvider, {
52
+ theme,
53
+ children: /* @__PURE__ */ jsx(AppConfigProvider, {
54
+ appId,
55
+ appEnvironmentVar,
56
+ children: /* @__PURE__ */ jsx(QueryClientProvider, {
57
+ client,
58
+ children: /* @__PURE__ */ jsx(AppAlertProvider, { children: wrapped })
59
+ })
60
+ })
61
+ });
62
+ };
63
+ //#endregion
64
+ export { EveryskApp };
65
+
66
+ //# sourceMappingURL=EveryskApp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EveryskApp.js","names":[],"sources":["../src/EveryskApp.tsx"],"sourcesContent":["import { useMemo, type ComponentType, type PropsWithChildren, type ReactNode } from \"react\";\n\nimport { QueryClientProvider, type QueryClient } from \"@tanstack/react-query\";\n\nimport { ThemeProvider } from \"@/theme/ThemeProvider\";\nimport { AppConfigProvider } from \"@/contexts/appConfigContext/provider\";\nimport { AppAlertProvider } from \"@/contexts/appAlertContext/provider\";\nimport { createQueryClient } from \"@/lib/queryClient\";\nimport type { AnyRecord } from \"@/types/anyRecord\";\nimport type { Theme } from \"@mui/material/styles\";\n\n/** A provider is any component that renders its children. */\nexport type ProviderComponent = ComponentType<PropsWithChildren>;\n\nexport type EveryskAppProps = PropsWithChildren<{\n /**\n * The client every `useQuery` in the tree talks to. Defaults to a fresh\n * `createQueryClient()` created once per mount. Pass one to seed the cache, to share it\n * with code outside the tree, or to assert on it from a test.\n */\n queryClient?: QueryClient;\n /** Overrides `window.APP_ID`. */\n appId?: string | null;\n /**\n * The MUI theme. Omitted, the app gets the Everysk dark theme — see `ThemeProvider`.\n */\n theme?: Theme;\n /** Overrides `window.APP_CONFIG` wholesale. */\n appEnvironmentVar?: AnyRecord;\n /**\n * Optional providers, applied innermost — inside every core provider and directly around\n * `children`, in array order, so the first entry is outermost of the group.\n *\n * They go innermost rather than into named slots because that is the only position from\n * which a provider can read every core context (theme, app config, query client, alerts).\n * `modules.json` kept an explicit `providerOrder` only because the app owned the tree and\n * each module had to be hand-wired into the right slot; owning the tree here is what\n * retires that contract.\n */\n providers?: ProviderComponent[];\n}>;\n\n/**\n * EveryskApp\n *\n * The provider tree every Everysk app mounts, composed in one fixed order:\n *\n * ```\n * ThemeProvider\n * AppConfigProvider\n * QueryClientProvider\n * AppAlertProvider\n * …providers\n * children\n * ```\n *\n * The order is not arbitrary. `AppAlertProvider` renders MUI's `Snackbar`, so it must sit\n * inside `ThemeProvider`; and `QueryClientProvider` sits inside `AppConfigProvider` because\n * entity hooks build their Axios instance from `useAppConfig()`.\n *\n * `BroadcastChannelProvider` used to sit between theme and app configuration. It is gone: the\n * optional socket layer supersedes it for cross-tab and server-push messaging (as\n * `modules.json` already stated), and the one production path that still used it — app\n * configuration arriving over the channel — was replaced by `window.APP_CONFIG`.\n *\n * `src/test/renderWithProviders` renders through this same component, so a test and the real\n * app can never see different trees.\n *\n * @example\n * ```tsx\n * // src/App.tsx — the entire file\n * export function App() {\n * return (\n * <EveryskApp>\n * <Routes />\n * </EveryskApp>\n * );\n * }\n * ```\n */\nexport const EveryskApp = ({\n children,\n queryClient,\n theme,\n appId,\n appEnvironmentVar,\n providers,\n}: EveryskAppProps) => {\n // Only used when the caller passes no client. Created once per mount so a re-render\n // never swaps the cache out from under the tree.\n const fallbackQueryClient = useMemo(() => createQueryClient(), []);\n const client = queryClient ?? fallbackQueryClient;\n\n const wrapped = (providers ?? []).reduceRight<ReactNode>(\n (inner, Provider) => <Provider>{inner}</Provider>,\n children,\n );\n\n return (\n <ThemeProvider theme={theme}>\n <AppConfigProvider appId={appId} appEnvironmentVar={appEnvironmentVar}>\n <QueryClientProvider client={client}>\n <AppAlertProvider>{wrapped}</AppAlertProvider>\n </QueryClientProvider>\n </AppConfigProvider>\n </ThemeProvider>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFA,IAAa,cAAc,EACvB,UACA,aACA,OACA,OACA,mBACA,gBACmB;CAGnB,MAAM,sBAAsB,cAAc,kBAAkB,GAAG,CAAC,CAAC;CACjE,MAAM,SAAS,eAAe;CAE9B,MAAM,WAAW,aAAa,CAAC,EAAA,CAAG,aAC7B,OAAO,aAAa,oBAAC,UAAD,EAAA,UAAW,MAAgB,CAAA,GAChD,QACJ;CAEA,OACI,oBAAC,eAAD;EAAsB;EAClB,UAAA,oBAAC,mBAAD;GAA0B;GAA0B;GAChD,UAAA,oBAAC,qBAAD;IAA6B;IACzB,UAAA,oBAAC,kBAAD,EAAA,UAAmB,QAA0B,CAAA;GAC5B,CAAA;EACN,CAAA;CACR,CAAA;AAEvB"}
@@ -0,0 +1,77 @@
1
+ import { type Theme as AgGridTheme } from "ag-grid-community";
2
+ import { type Theme as MuiTheme } from "@mui/material/styles";
3
+ /**
4
+ * The grid parameters derived from the MUI palette.
5
+ *
6
+ * Exported on its own so the mapping is testable and so an app can spread it into a theme of
7
+ * its own (`themeQuartz.withParams({ ...agGridThemeParams(theme), rowHeight: 48 })`).
8
+ *
9
+ * Every value comes from the theme — there is no colour here. That is the whole point: the
10
+ * grid and the surrounding MUI components read the same palette, so a change to the brand
11
+ * theme moves both.
12
+ */
13
+ export declare const agGridThemeParams: (theme: MuiTheme) => {
14
+ backgroundColor: string;
15
+ chromeBackgroundColor: string;
16
+ oddRowBackgroundColor: string;
17
+ headerBackgroundColor: string;
18
+ menuBackgroundColor: string;
19
+ panelBackgroundColor: string;
20
+ foregroundColor: string;
21
+ headerTextColor: string;
22
+ menuTextColor: string;
23
+ subtleTextColor: string;
24
+ iconColor: string;
25
+ accentColor: string;
26
+ borderColor: string;
27
+ rowHoverColor: string;
28
+ selectedRowBackgroundColor: string;
29
+ fontFamily: import("csstype").Property.FontFamily | undefined;
30
+ fontSize: import("csstype").Property.FontSize<string | number> | undefined;
31
+ headerFontFamily: import("csstype").Property.FontFamily | undefined;
32
+ headerFontSize: import("csstype").Property.FontSize<string | number> | undefined;
33
+ headerFontWeight: number;
34
+ borderRadius: string | number;
35
+ wrapperBorderRadius: string | number;
36
+ browserColorScheme: import("@mui/material/styles").PaletteMode;
37
+ };
38
+ /**
39
+ * getAgGridTheme
40
+ *
41
+ * The AG Grid theme that matches a MUI theme, built with AG Grid's Theming API:
42
+ *
43
+ * ```tsx
44
+ * <AgGridReact theme={getAgGridTheme(muiTheme)} rowData={rows} columnDefs={columns} />
45
+ * ```
46
+ *
47
+ * This replaces the CSS-variable block the template carried as `agGridStyles`, removed rather
48
+ * than deprecated because it never worked on the version the apps run. That block targeted `.ag-theme-alpine-dark.ag-custom-app-theme`, a legacy CSS theme which AG Grid v33+
49
+ * only honours when the grid opts in with `theme="legacy"` and the app imports the grid's CSS
50
+ * files — so on the version the apps actually run (v35) it styled nothing, and the grid fell
51
+ * back to the stock Quartz look. The Theming API needs no CSS import, no class on the wrapper
52
+ * and no `legacy` opt-in.
53
+ *
54
+ * Alpine is the base part because it is the look the apps already had; everything the brand
55
+ * cares about is overridden by {@link agGridThemeParams} anyway. The colour scheme follows
56
+ * `palette.mode`, so the light theme is covered by the same call — which the CSS block never
57
+ * was.
58
+ *
59
+ * @param theme - The MUI theme to derive from, typically from `useTheme()`.
60
+ */
61
+ export declare const getAgGridTheme: (theme: MuiTheme) => AgGridTheme;
62
+ /**
63
+ * useAgGridTheme
64
+ *
65
+ * `getAgGridTheme` for the theme currently mounted — the form a component wants:
66
+ *
67
+ * ```tsx
68
+ * const gridTheme = useAgGridTheme();
69
+ *
70
+ * return <AgGridReact theme={gridTheme} rowData={rows} columnDefs={columns} />;
71
+ * ```
72
+ *
73
+ * Safe to call on every render: the result is cached per MUI theme, so the grid sees the same
74
+ * object each time.
75
+ */
76
+ export declare const useAgGridTheme: () => AgGridTheme;
77
+ //# sourceMappingURL=agGridTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agGridTheme.d.ts","sourceRoot":"","sources":["../../src/agGrid/agGridTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,KAAK,IAAI,WAAW,EAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAY,KAAK,KAAK,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAExE;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;CAqC/C,CAAC;AAOH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,QAAQ,KAAG,WAWhD,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc,QAAO,WAAyC,CAAC"}
@@ -0,0 +1,88 @@
1
+ import { useTheme } from "@mui/material/styles";
2
+ import { colorSchemeDark, colorSchemeLight, themeAlpine } from "ag-grid-community";
3
+ //#region src/agGrid/agGridTheme.ts
4
+ /**
5
+ * The grid parameters derived from the MUI palette.
6
+ *
7
+ * Exported on its own so the mapping is testable and so an app can spread it into a theme of
8
+ * its own (`themeQuartz.withParams({ ...agGridThemeParams(theme), rowHeight: 48 })`).
9
+ *
10
+ * Every value comes from the theme — there is no colour here. That is the whole point: the
11
+ * grid and the surrounding MUI components read the same palette, so a change to the brand
12
+ * theme moves both.
13
+ */
14
+ var agGridThemeParams = (theme) => ({
15
+ backgroundColor: theme.palette.background.default,
16
+ chromeBackgroundColor: theme.palette.background.default,
17
+ oddRowBackgroundColor: theme.palette.background.paper,
18
+ headerBackgroundColor: theme.palette.background.paper,
19
+ menuBackgroundColor: theme.palette.background.paper,
20
+ panelBackgroundColor: theme.palette.background.paper,
21
+ foregroundColor: theme.palette.text.primary,
22
+ headerTextColor: theme.palette.text.primary,
23
+ menuTextColor: theme.palette.text.primary,
24
+ subtleTextColor: theme.palette.text.secondary,
25
+ iconColor: theme.palette.text.secondary,
26
+ accentColor: theme.palette.primary.main,
27
+ borderColor: theme.palette.divider,
28
+ rowHoverColor: theme.palette.action.hover,
29
+ selectedRowBackgroundColor: theme.palette.action.selected,
30
+ fontFamily: theme.typography.fontFamily,
31
+ fontSize: theme.typography.body2.fontSize,
32
+ headerFontFamily: theme.typography.fontFamily,
33
+ headerFontSize: theme.typography.body2.fontSize,
34
+ headerFontWeight: 600,
35
+ borderRadius: theme.shape.borderRadius,
36
+ wrapperBorderRadius: theme.shape.borderRadius,
37
+ browserColorScheme: theme.palette.mode
38
+ });
39
+ var cache = /* @__PURE__ */ new WeakMap();
40
+ /**
41
+ * getAgGridTheme
42
+ *
43
+ * The AG Grid theme that matches a MUI theme, built with AG Grid's Theming API:
44
+ *
45
+ * ```tsx
46
+ * <AgGridReact theme={getAgGridTheme(muiTheme)} rowData={rows} columnDefs={columns} />
47
+ * ```
48
+ *
49
+ * This replaces the CSS-variable block the template carried as `agGridStyles`, removed rather
50
+ * than deprecated because it never worked on the version the apps run. That block targeted `.ag-theme-alpine-dark.ag-custom-app-theme`, a legacy CSS theme which AG Grid v33+
51
+ * only honours when the grid opts in with `theme="legacy"` and the app imports the grid's CSS
52
+ * files — so on the version the apps actually run (v35) it styled nothing, and the grid fell
53
+ * back to the stock Quartz look. The Theming API needs no CSS import, no class on the wrapper
54
+ * and no `legacy` opt-in.
55
+ *
56
+ * Alpine is the base part because it is the look the apps already had; everything the brand
57
+ * cares about is overridden by {@link agGridThemeParams} anyway. The colour scheme follows
58
+ * `palette.mode`, so the light theme is covered by the same call — which the CSS block never
59
+ * was.
60
+ *
61
+ * @param theme - The MUI theme to derive from, typically from `useTheme()`.
62
+ */
63
+ var getAgGridTheme = (theme) => {
64
+ const cached = cache.get(theme);
65
+ if (cached) return cached;
66
+ const agGridTheme = themeAlpine.withPart(theme.palette.mode === "dark" ? colorSchemeDark : colorSchemeLight).withParams(agGridThemeParams(theme));
67
+ cache.set(theme, agGridTheme);
68
+ return agGridTheme;
69
+ };
70
+ /**
71
+ * useAgGridTheme
72
+ *
73
+ * `getAgGridTheme` for the theme currently mounted — the form a component wants:
74
+ *
75
+ * ```tsx
76
+ * const gridTheme = useAgGridTheme();
77
+ *
78
+ * return <AgGridReact theme={gridTheme} rowData={rows} columnDefs={columns} />;
79
+ * ```
80
+ *
81
+ * Safe to call on every render: the result is cached per MUI theme, so the grid sees the same
82
+ * object each time.
83
+ */
84
+ var useAgGridTheme = () => getAgGridTheme(useTheme());
85
+ //#endregion
86
+ export { agGridThemeParams, getAgGridTheme, useAgGridTheme };
87
+
88
+ //# sourceMappingURL=agGridTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agGridTheme.js","names":[],"sources":["../../src/agGrid/agGridTheme.ts"],"sourcesContent":["import {\n colorSchemeDark,\n colorSchemeLight,\n themeAlpine,\n type Theme as AgGridTheme,\n} from \"ag-grid-community\";\nimport { useTheme, type Theme as MuiTheme } from \"@mui/material/styles\";\n\n/**\n * The grid parameters derived from the MUI palette.\n *\n * Exported on its own so the mapping is testable and so an app can spread it into a theme of\n * its own (`themeQuartz.withParams({ ...agGridThemeParams(theme), rowHeight: 48 })`).\n *\n * Every value comes from the theme — there is no colour here. That is the whole point: the\n * grid and the surrounding MUI components read the same palette, so a change to the brand\n * theme moves both.\n */\nexport const agGridThemeParams = (theme: MuiTheme) => ({\n // Surfaces. `chromeBackgroundColor` covers the grid's own chrome (tool panels, status bar).\n backgroundColor: theme.palette.background.default,\n chromeBackgroundColor: theme.palette.background.default,\n oddRowBackgroundColor: theme.palette.background.paper,\n headerBackgroundColor: theme.palette.background.paper,\n menuBackgroundColor: theme.palette.background.paper,\n panelBackgroundColor: theme.palette.background.paper,\n\n // Text and icons.\n foregroundColor: theme.palette.text.primary,\n headerTextColor: theme.palette.text.primary,\n menuTextColor: theme.palette.text.primary,\n subtleTextColor: theme.palette.text.secondary,\n iconColor: theme.palette.text.secondary,\n\n // Accent and lines. `accentColor` is what AG Grid paints selection, focus rings, sort\n // indicators and range borders with — the same role `primary.main` has in MUI.\n accentColor: theme.palette.primary.main,\n borderColor: theme.palette.divider,\n rowHoverColor: theme.palette.action.hover,\n selectedRowBackgroundColor: theme.palette.action.selected,\n\n // Typography. `body2` is the size every table in the design standard uses, and 600 is the\n // header weight the MUI tables carry.\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.body2.fontSize,\n headerFontFamily: theme.typography.fontFamily,\n headerFontSize: theme.typography.body2.fontSize,\n headerFontWeight: 600,\n\n // Shape, from the single `shape.borderRadius` every surface in the theme uses.\n borderRadius: theme.shape.borderRadius,\n wrapperBorderRadius: theme.shape.borderRadius,\n\n // Tells the browser which scrollbars and form controls to render inside the grid.\n browserColorScheme: theme.palette.mode,\n});\n\n// One grid theme per MUI theme. AG Grid re-applies the theme whenever the object identity\n// changes, so returning a fresh one on every render would restyle the grid on every render.\n// Keyed on the MUI theme, which is itself a stable module-level object.\nconst cache = new WeakMap<MuiTheme, AgGridTheme>();\n\n/**\n * getAgGridTheme\n *\n * The AG Grid theme that matches a MUI theme, built with AG Grid's Theming API:\n *\n * ```tsx\n * <AgGridReact theme={getAgGridTheme(muiTheme)} rowData={rows} columnDefs={columns} />\n * ```\n *\n * This replaces the CSS-variable block the template carried as `agGridStyles`, removed rather\n * than deprecated because it never worked on the version the apps run. That block targeted `.ag-theme-alpine-dark.ag-custom-app-theme`, a legacy CSS theme which AG Grid v33+\n * only honours when the grid opts in with `theme=\"legacy\"` and the app imports the grid's CSS\n * files — so on the version the apps actually run (v35) it styled nothing, and the grid fell\n * back to the stock Quartz look. The Theming API needs no CSS import, no class on the wrapper\n * and no `legacy` opt-in.\n *\n * Alpine is the base part because it is the look the apps already had; everything the brand\n * cares about is overridden by {@link agGridThemeParams} anyway. The colour scheme follows\n * `palette.mode`, so the light theme is covered by the same call — which the CSS block never\n * was.\n *\n * @param theme - The MUI theme to derive from, typically from `useTheme()`.\n */\nexport const getAgGridTheme = (theme: MuiTheme): AgGridTheme => {\n const cached = cache.get(theme);\n if (cached) return cached;\n\n const agGridTheme = themeAlpine\n .withPart(theme.palette.mode === \"dark\" ? colorSchemeDark : colorSchemeLight)\n .withParams(agGridThemeParams(theme));\n\n cache.set(theme, agGridTheme);\n\n return agGridTheme;\n};\n\n/**\n * useAgGridTheme\n *\n * `getAgGridTheme` for the theme currently mounted — the form a component wants:\n *\n * ```tsx\n * const gridTheme = useAgGridTheme();\n *\n * return <AgGridReact theme={gridTheme} rowData={rows} columnDefs={columns} />;\n * ```\n *\n * Safe to call on every render: the result is cached per MUI theme, so the grid sees the same\n * object each time.\n */\nexport const useAgGridTheme = (): AgGridTheme => getAgGridTheme(useTheme());\n"],"mappings":";;;;;;;;;;;;;AAkBA,IAAa,qBAAqB,WAAqB;CAEnD,iBAAiB,MAAM,QAAQ,WAAW;CAC1C,uBAAuB,MAAM,QAAQ,WAAW;CAChD,uBAAuB,MAAM,QAAQ,WAAW;CAChD,uBAAuB,MAAM,QAAQ,WAAW;CAChD,qBAAqB,MAAM,QAAQ,WAAW;CAC9C,sBAAsB,MAAM,QAAQ,WAAW;CAG/C,iBAAiB,MAAM,QAAQ,KAAK;CACpC,iBAAiB,MAAM,QAAQ,KAAK;CACpC,eAAe,MAAM,QAAQ,KAAK;CAClC,iBAAiB,MAAM,QAAQ,KAAK;CACpC,WAAW,MAAM,QAAQ,KAAK;CAI9B,aAAa,MAAM,QAAQ,QAAQ;CACnC,aAAa,MAAM,QAAQ;CAC3B,eAAe,MAAM,QAAQ,OAAO;CACpC,4BAA4B,MAAM,QAAQ,OAAO;CAIjD,YAAY,MAAM,WAAW;CAC7B,UAAU,MAAM,WAAW,MAAM;CACjC,kBAAkB,MAAM,WAAW;CACnC,gBAAgB,MAAM,WAAW,MAAM;CACvC,kBAAkB;CAGlB,cAAc,MAAM,MAAM;CAC1B,qBAAqB,MAAM,MAAM;CAGjC,oBAAoB,MAAM,QAAQ;AACtC;AAKA,IAAM,wBAAQ,IAAI,QAA+B;;;;;;;;;;;;;;;;;;;;;;;;AAyBjD,IAAa,kBAAkB,UAAiC;CAC5D,MAAM,SAAS,MAAM,IAAI,KAAK;CAC9B,IAAI,QAAQ,OAAO;CAEnB,MAAM,cAAc,YACf,SAAS,MAAM,QAAQ,SAAS,SAAS,kBAAkB,gBAAgB,CAAC,CAC5E,WAAW,kBAAkB,KAAK,CAAC;CAExC,MAAM,IAAI,OAAO,WAAW;CAE5B,OAAO;AACX;;;;;;;;;;;;;;;AAgBA,IAAa,uBAAoC,eAAe,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { setAgGridLicense, AgGridLicenseProvider } from "../contexts/agGridLicenseContext/provider.js";
2
+ export type { AgGridLicenseProviderProps } from "../contexts/agGridLicenseContext/provider.js";
3
+ export { getAgGridTheme, useAgGridTheme, agGridThemeParams } from "./agGridTheme";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agGrid/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACnG,YAAY,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAE3F,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AgGridLicenseProvider, setAgGridLicense } from "../contexts/agGridLicenseContext/provider.js";
2
+ import { agGridThemeParams, getAgGridTheme, useAgGridTheme } from "./agGridTheme.js";
3
+ export { AgGridLicenseProvider, agGridThemeParams, getAgGridTheme, setAgGridLicense, useAgGridTheme };
@@ -0,0 +1,68 @@
1
+ import { type AxiosInstance } from "axios";
2
+ import type { DeleteEntityDefaultResponse, QueryObject } from "../types/entityQuery.d.ts";
3
+ import type { Datastore, DatastoreListResponse } from "../types/datastore.d.ts";
4
+ /**
5
+ * getDatastore
6
+ *
7
+ * Fetches a single datastore by ID.
8
+ *
9
+ * @param {AxiosInstance} api - Axios instance.
10
+ * @param {string} id - Datastore identifier.
11
+ * @param {string} workspace - Workspace the datastore belongs to.
12
+ * @returns {Promise<Datastore>} The fetched datastore.
13
+ *
14
+ * @throws {Error} If the request fails.
15
+ */
16
+ export declare const getDatastore: (api: AxiosInstance, id: string, workspace: string) => Promise<Datastore>;
17
+ /**
18
+ * listDatastores
19
+ *
20
+ * Fetches a list of datastores using a query object (filters, order, pagination, etc.).
21
+ *
22
+ * @param {AxiosInstance} api - Axios instance.
23
+ * @param {AnyRecord} query - Query object built via `buildQueryObject`.
24
+ * @returns {Promise<DatastoreListResponse>} Paginated list of datastores.
25
+ *
26
+ * @throws {Error} If workspace filter is missing.
27
+ * @throws {Error} If the request fails.
28
+ */
29
+ export declare const listDatastores: (api: AxiosInstance, query: QueryObject) => Promise<DatastoreListResponse>;
30
+ /**
31
+ * createDatastore
32
+ *
33
+ * Creates a new datastore.
34
+ *
35
+ * @param {AxiosInstance} api - Axios instance.
36
+ * @param {Partial<Datastore>} data - Datastore payload.
37
+ * @returns {Promise<Datastore>} The created datastore.
38
+ *
39
+ * @throws {Error} If the request fails.
40
+ */
41
+ export declare const createDatastore: (api: AxiosInstance, data: Partial<Datastore>) => Promise<Datastore>;
42
+ /**
43
+ * updateDatastore
44
+ *
45
+ * Updates an existing datastore by ID.
46
+ *
47
+ * @param {AxiosInstance} api - Axios instance.
48
+ * @param {string} id - Datastore identifier.
49
+ * @param {Partial<Datastore>} data - Fields to update.
50
+ * @returns {Promise<Datastore>} The updated datastore.
51
+ *
52
+ * @throws {Error} If the request fails.
53
+ */
54
+ export declare const updateDatastore: (api: AxiosInstance, id: string, data: Partial<Datastore>) => Promise<Datastore>;
55
+ /**
56
+ * deleteDatastore
57
+ *
58
+ * Deletes a datastore by ID.
59
+ *
60
+ * @param {AxiosInstance} api - Axios instance.
61
+ * @param {string} id - Datastore identifier.
62
+ * @param {string} workspace - Workspace the datastore belongs to.
63
+ * @returns {Promise<DeleteEntityDefaultResponse[]>} List of deleted entity records.
64
+ *
65
+ * @throws {Error} If the request fails.
66
+ */
67
+ export declare const deleteDatastore: (api: AxiosInstance, id: string, workspace: string) => Promise<DeleteEntityDefaultResponse[]>;
68
+ //# sourceMappingURL=datastore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datastore.d.ts","sourceRoot":"","sources":["../../src/api/datastore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,aAAa,EAAsB,MAAM,OAAO,CAAC;AAG7E,OAAO,KAAK,EAAE,2BAA2B,EAAoB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACtG,OAAO,KAAK,EAAE,SAAS,EAA2B,qBAAqB,EAA2B,MAAM,mBAAmB,CAAC;AAI5H;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,GAAU,KAAK,aAAa,EAAE,IAAI,MAAM,EAAE,WAAW,MAAM,KAAG,OAAO,CAAC,SAAS,CAmBvG,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,GAAU,KAAK,aAAa,EAAE,OAAO,WAAW,KAAG,OAAO,CAAC,qBAAqB,CAyB1G,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe,GAAU,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC,SAAS,CAAC,KAAG,OAAO,CAAC,SAAS,CAmBrG,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,GAAU,KAAK,aAAa,EAAE,IAAI,MAAM,EAAE,MAAM,OAAO,CAAC,SAAS,CAAC,KAAG,OAAO,CAAC,SAAS,CAmBjH,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,GAAU,KAAK,aAAa,EAAE,IAAI,MAAM,EAAE,WAAW,MAAM,KAAG,OAAO,CAAC,2BAA2B,EAAE,CAiB9H,CAAC"}