@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRunWorkflow.d.ts","sourceRoot":"","sources":["../../../src/hooks/workflow/useRunWorkflow.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAGnE,KAAK,gBAAgB,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,4BAA4B,CAAC;CAC9C,CAAC;AAKF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc;;;CA2B1B,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { useAppAlert } from "../../contexts/appAlertContext/useAppAlert.js";
2
+ import { useAxios } from "../useAxios.js";
3
+ import { runWorkflow, runWorkflowAndGetResult } from "../../api/workflow.js";
4
+ import { useMutation } from "@tanstack/react-query";
5
+ //#region src/hooks/workflow/useRunWorkflow.ts
6
+ var getErrorMessage = (err, fallback) => err instanceof Error && err.message ? err.message : fallback;
7
+ /**
8
+ * useRunWorkflow
9
+ *
10
+ * TanStack Query mutations to run a workflow. Synchronous execution (`synchronous: true`) is
11
+ * intentionally not used; instead the workflow is started asynchronously and, when the result
12
+ * is needed, its execution is polled until it reaches a terminal state.
13
+ *
14
+ * - `runAsync`: starts the workflow and returns immediately (fire-and-forget). Use when you do
15
+ * not need to wait for completion or consume the output.
16
+ * - `runAndGetResult`: starts the workflow, polls until it finishes, then fetches the output of
17
+ * the ender worker. Resolves with `{ execution, workerExecution, result }`; `result` is `null`
18
+ * when the workflow produces no output. This is the replacement for the old synchronous flow.
19
+ *
20
+ * Both surface the standard mutation helpers (`mutate`, `mutateAsync`, `isPending`, `data`, ...)
21
+ * and report failures through `useAppAlert`.
22
+ */
23
+ var useRunWorkflow = () => {
24
+ const { api } = useAxios();
25
+ const { showAlert } = useAppAlert();
26
+ return {
27
+ runAsync: useMutation({
28
+ mutationFn: ({ id, workspace, parameters }) => runWorkflow(api, id, workspace, parameters),
29
+ onError: (err) => {
30
+ showAlert({
31
+ severity: "error",
32
+ message: getErrorMessage(err, "Unable to run the workflow. Please try again.")
33
+ });
34
+ }
35
+ }),
36
+ runAndGetResult: useMutation({
37
+ mutationFn: ({ id, workspace, parameters, pollOptions }) => runWorkflowAndGetResult(api, id, workspace, parameters, pollOptions),
38
+ onError: (err) => {
39
+ showAlert({
40
+ severity: "error",
41
+ message: getErrorMessage(err, "Unable to run the workflow. Please try again.")
42
+ });
43
+ }
44
+ })
45
+ };
46
+ };
47
+ //#endregion
48
+ export { useRunWorkflow };
49
+
50
+ //# sourceMappingURL=useRunWorkflow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRunWorkflow.js","names":[],"sources":["../../../src/hooks/workflow/useRunWorkflow.ts"],"sourcesContent":["import { useMutation } from \"@tanstack/react-query\";\n\nimport { useAxios } from \"@/hooks/useAxios\";\nimport { useAppAlert } from \"@/contexts/appAlertContext/useAppAlert\";\nimport type { AnyRecord } from \"@/types/anyRecord\";\nimport type { PollWorkflowExecutionOptions } from \"@/api/workflow\";\nimport { runWorkflow, runWorkflowAndGetResult } from \"@/api/workflow\";\n\ntype RunWorkflowProps = {\n id: string;\n workspace: string;\n parameters: AnyRecord;\n pollOptions?: PollWorkflowExecutionOptions;\n};\n\nconst getErrorMessage = (err: unknown, fallback: string) =>\n err instanceof Error && err.message ? err.message : fallback;\n\n/**\n * useRunWorkflow\n *\n * TanStack Query mutations to run a workflow. Synchronous execution (`synchronous: true`) is\n * intentionally not used; instead the workflow is started asynchronously and, when the result\n * is needed, its execution is polled until it reaches a terminal state.\n *\n * - `runAsync`: starts the workflow and returns immediately (fire-and-forget). Use when you do\n * not need to wait for completion or consume the output.\n * - `runAndGetResult`: starts the workflow, polls until it finishes, then fetches the output of\n * the ender worker. Resolves with `{ execution, workerExecution, result }`; `result` is `null`\n * when the workflow produces no output. This is the replacement for the old synchronous flow.\n *\n * Both surface the standard mutation helpers (`mutate`, `mutateAsync`, `isPending`, `data`, ...)\n * and report failures through `useAppAlert`.\n */\nexport const useRunWorkflow = () => {\n const { api } = useAxios();\n const { showAlert } = useAppAlert();\n\n const runAsync = useMutation({\n mutationFn: ({ id, workspace, parameters }: RunWorkflowProps) =>\n runWorkflow(api, id, workspace, parameters),\n onError: (err) => {\n showAlert({\n severity: \"error\",\n message: getErrorMessage(err, \"Unable to run the workflow. Please try again.\"),\n });\n },\n });\n\n const runAndGetResult = useMutation({\n mutationFn: ({ id, workspace, parameters, pollOptions }: RunWorkflowProps) =>\n runWorkflowAndGetResult(api, id, workspace, parameters, pollOptions),\n onError: (err) => {\n showAlert({\n severity: \"error\",\n message: getErrorMessage(err, \"Unable to run the workflow. Please try again.\"),\n });\n },\n });\n\n return { runAsync, runAndGetResult };\n};\n"],"mappings":";;;;;AAeA,IAAM,mBAAmB,KAAc,aACnC,eAAe,SAAS,IAAI,UAAU,IAAI,UAAU;;;;;;;;;;;;;;;;;AAkBxD,IAAa,uBAAuB;CAChC,MAAM,EAAE,QAAQ,SAAS;CACzB,MAAM,EAAE,cAAc,YAAY;CAwBlC,OAAO;EAAE,UAtBQ,YAAY;GACzB,aAAa,EAAE,IAAI,WAAW,iBAC1B,YAAY,KAAK,IAAI,WAAW,UAAU;GAC9C,UAAU,QAAQ;IACd,UAAU;KACN,UAAU;KACV,SAAS,gBAAgB,KAAK,+CAA+C;IACjF,CAAC;GACL;EACJ,CAaS;EAAU,iBAXK,YAAY;GAChC,aAAa,EAAE,IAAI,WAAW,YAAY,kBACtC,wBAAwB,KAAK,IAAI,WAAW,YAAY,WAAW;GACvE,UAAU,QAAQ;IACd,UAAU;KACN,UAAU;KACV,SAAS,gBAAgB,KAAK,+CAA+C;IACjF,CAAC;GACL;EACJ,CAEmB;CAAgB;AACvC"}
@@ -0,0 +1,197 @@
1
+ import type { Workspace } from "../../types/workspace.d.ts";
2
+ import type { EntityQueryOptions } from "../../types/entityQuery.d.ts";
3
+ export type FetchWorkspaceProps<TData = Workspace, TSelected = TData> = {
4
+ name: string;
5
+ queryOptions?: EntityQueryOptions<TData, TSelected>;
6
+ };
7
+ /**
8
+ * useFetchWorkspace
9
+ *
10
+ * Data-fetching hook built on TanStack Query to retrieve a single workspace by name.
11
+ *
12
+ * It also:
13
+ * - builds a stable React Query `queryKey` that can be reused by mutation hooks for cache invalidation
14
+ * - triggers an error alert via `useAppAlert` whenever `query.error` is present
15
+ *
16
+ * Parameters (FetchWorkspaceProps):
17
+ * @param {string} name
18
+ * Workspace name (required).
19
+ *
20
+ * @param queryOptions
21
+ * TanStack Query options passed through to `useQuery` (e.g., enabled, staleTime, gcTime, etc.).
22
+ *
23
+ * Returns:
24
+ * @returns {object}
25
+ * TanStack Query's `query` object extended with:
26
+ * - `queryKey`: the cache key used by React Query
27
+ *
28
+ * Example:
29
+ * ```ts
30
+ * const { data, isLoading } = useFetchWorkspace({ name: "main" });
31
+ * // data -> Workspace
32
+ * ```
33
+ */
34
+ export declare const useFetchWorkspace: ({ name, queryOptions }: FetchWorkspaceProps) => {
35
+ queryKey: string[];
36
+ data: Workspace;
37
+ error: Error;
38
+ isError: true;
39
+ isPending: false;
40
+ isLoading: false;
41
+ isLoadingError: false;
42
+ isRefetchError: true;
43
+ isSuccess: false;
44
+ isPlaceholderData: false;
45
+ status: "error";
46
+ dataUpdatedAt: number;
47
+ errorUpdatedAt: number;
48
+ failureCount: number;
49
+ failureReason: Error | null;
50
+ errorUpdateCount: number;
51
+ isFetched: boolean;
52
+ isFetchedAfterMount: boolean;
53
+ isFetching: boolean;
54
+ isInitialLoading: boolean;
55
+ isPaused: boolean;
56
+ isRefetching: boolean;
57
+ isStale: boolean;
58
+ isEnabled: boolean;
59
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<Workspace, Error>>;
60
+ fetchStatus: import("@tanstack/query-core").FetchStatus;
61
+ } | {
62
+ queryKey: string[];
63
+ data: Workspace;
64
+ error: null;
65
+ isError: false;
66
+ isPending: false;
67
+ isLoading: false;
68
+ isLoadingError: false;
69
+ isRefetchError: false;
70
+ isSuccess: true;
71
+ isPlaceholderData: false;
72
+ status: "success";
73
+ dataUpdatedAt: number;
74
+ errorUpdatedAt: number;
75
+ failureCount: number;
76
+ failureReason: Error | null;
77
+ errorUpdateCount: number;
78
+ isFetched: boolean;
79
+ isFetchedAfterMount: boolean;
80
+ isFetching: boolean;
81
+ isInitialLoading: boolean;
82
+ isPaused: boolean;
83
+ isRefetching: boolean;
84
+ isStale: boolean;
85
+ isEnabled: boolean;
86
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<Workspace, Error>>;
87
+ fetchStatus: import("@tanstack/query-core").FetchStatus;
88
+ } | {
89
+ queryKey: string[];
90
+ data: undefined;
91
+ error: Error;
92
+ isError: true;
93
+ isPending: false;
94
+ isLoading: false;
95
+ isLoadingError: true;
96
+ isRefetchError: false;
97
+ isSuccess: false;
98
+ isPlaceholderData: false;
99
+ status: "error";
100
+ dataUpdatedAt: number;
101
+ errorUpdatedAt: number;
102
+ failureCount: number;
103
+ failureReason: Error | null;
104
+ errorUpdateCount: number;
105
+ isFetched: boolean;
106
+ isFetchedAfterMount: boolean;
107
+ isFetching: boolean;
108
+ isInitialLoading: boolean;
109
+ isPaused: boolean;
110
+ isRefetching: boolean;
111
+ isStale: boolean;
112
+ isEnabled: boolean;
113
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<Workspace, Error>>;
114
+ fetchStatus: import("@tanstack/query-core").FetchStatus;
115
+ } | {
116
+ queryKey: string[];
117
+ data: undefined;
118
+ error: null;
119
+ isError: false;
120
+ isPending: true;
121
+ isLoading: true;
122
+ isLoadingError: false;
123
+ isRefetchError: false;
124
+ isSuccess: false;
125
+ isPlaceholderData: false;
126
+ status: "pending";
127
+ dataUpdatedAt: number;
128
+ errorUpdatedAt: number;
129
+ failureCount: number;
130
+ failureReason: Error | null;
131
+ errorUpdateCount: number;
132
+ isFetched: boolean;
133
+ isFetchedAfterMount: boolean;
134
+ isFetching: boolean;
135
+ isInitialLoading: boolean;
136
+ isPaused: boolean;
137
+ isRefetching: boolean;
138
+ isStale: boolean;
139
+ isEnabled: boolean;
140
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<Workspace, Error>>;
141
+ fetchStatus: import("@tanstack/query-core").FetchStatus;
142
+ } | {
143
+ queryKey: string[];
144
+ data: undefined;
145
+ error: null;
146
+ isError: false;
147
+ isPending: true;
148
+ isLoadingError: false;
149
+ isRefetchError: false;
150
+ isSuccess: false;
151
+ isPlaceholderData: false;
152
+ status: "pending";
153
+ dataUpdatedAt: number;
154
+ errorUpdatedAt: number;
155
+ failureCount: number;
156
+ failureReason: Error | null;
157
+ errorUpdateCount: number;
158
+ isFetched: boolean;
159
+ isFetchedAfterMount: boolean;
160
+ isFetching: boolean;
161
+ isLoading: boolean;
162
+ isInitialLoading: boolean;
163
+ isPaused: boolean;
164
+ isRefetching: boolean;
165
+ isStale: boolean;
166
+ isEnabled: boolean;
167
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<Workspace, Error>>;
168
+ fetchStatus: import("@tanstack/query-core").FetchStatus;
169
+ } | {
170
+ queryKey: string[];
171
+ data: Workspace;
172
+ isError: false;
173
+ error: null;
174
+ isPending: false;
175
+ isLoading: false;
176
+ isLoadingError: false;
177
+ isRefetchError: false;
178
+ isSuccess: true;
179
+ isPlaceholderData: true;
180
+ status: "success";
181
+ dataUpdatedAt: number;
182
+ errorUpdatedAt: number;
183
+ failureCount: number;
184
+ failureReason: Error | null;
185
+ errorUpdateCount: number;
186
+ isFetched: boolean;
187
+ isFetchedAfterMount: boolean;
188
+ isFetching: boolean;
189
+ isInitialLoading: boolean;
190
+ isPaused: boolean;
191
+ isRefetching: boolean;
192
+ isStale: boolean;
193
+ isEnabled: boolean;
194
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<Workspace, Error>>;
195
+ fetchStatus: import("@tanstack/query-core").FetchStatus;
196
+ };
197
+ //# sourceMappingURL=useFetchWorkspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchWorkspace.d.ts","sourceRoot":"","sources":["../../../src/hooks/workspace/useFetchWorkspace.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,mBAAmB,CAAC,KAAK,GAAG,SAAS,EAAE,SAAS,GAAG,KAAK,IAAI;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,kBAAkB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;CACvD,CAAC;AAQF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,iBAAiB,GAAI,wBAA8C,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BlG,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { useAppAlert } from "../../contexts/appAlertContext/useAppAlert.js";
2
+ import { useAxios } from "../useAxios.js";
3
+ import { getWorkspace } from "../../api/workspace.js";
4
+ import { useEffect } from "react";
5
+ import { useQuery } from "@tanstack/react-query";
6
+ //#region src/hooks/workspace/useFetchWorkspace.ts
7
+ var defaultQueryOptions = {
8
+ refetchOnMount: "always",
9
+ staleTime: 0,
10
+ gcTime: 0
11
+ };
12
+ /**
13
+ * useFetchWorkspace
14
+ *
15
+ * Data-fetching hook built on TanStack Query to retrieve a single workspace by name.
16
+ *
17
+ * It also:
18
+ * - builds a stable React Query `queryKey` that can be reused by mutation hooks for cache invalidation
19
+ * - triggers an error alert via `useAppAlert` whenever `query.error` is present
20
+ *
21
+ * Parameters (FetchWorkspaceProps):
22
+ * @param {string} name
23
+ * Workspace name (required).
24
+ *
25
+ * @param queryOptions
26
+ * TanStack Query options passed through to `useQuery` (e.g., enabled, staleTime, gcTime, etc.).
27
+ *
28
+ * Returns:
29
+ * @returns {object}
30
+ * TanStack Query's `query` object extended with:
31
+ * - `queryKey`: the cache key used by React Query
32
+ *
33
+ * Example:
34
+ * ```ts
35
+ * const { data, isLoading } = useFetchWorkspace({ name: "main" });
36
+ * // data -> Workspace
37
+ * ```
38
+ */
39
+ var useFetchWorkspace = ({ name, queryOptions = defaultQueryOptions }) => {
40
+ const { api } = useAxios();
41
+ const { showAlert } = useAppAlert();
42
+ const queryKey = ["workspace", name];
43
+ const query = useQuery({
44
+ queryKey,
45
+ queryFn: async () => {
46
+ return await getWorkspace(api, name);
47
+ },
48
+ ...queryOptions ?? {}
49
+ });
50
+ useEffect(() => {
51
+ if (!query.error) return;
52
+ showAlert({
53
+ severity: "error",
54
+ message: query.error.message
55
+ });
56
+ }, [query.error, showAlert]);
57
+ return {
58
+ ...query,
59
+ queryKey
60
+ };
61
+ };
62
+ //#endregion
63
+ export { useFetchWorkspace };
64
+
65
+ //# sourceMappingURL=useFetchWorkspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchWorkspace.js","names":[],"sources":["../../../src/hooks/workspace/useFetchWorkspace.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nimport { useQuery } from \"@tanstack/react-query\";\n\nimport { useAxios } from \"@/hooks/useAxios\";\nimport { useAppAlert } from \"@/contexts/appAlertContext/useAppAlert\";\nimport type { Workspace } from \"@/types/workspace\";\nimport { getWorkspace } from \"@/api/workspace\";\nimport type { EntityQueryOptions } from \"@/types/entityQuery\";\n\nexport type FetchWorkspaceProps<TData = Workspace, TSelected = TData> = {\n name: string;\n queryOptions?: EntityQueryOptions<TData, TSelected>;\n};\n\nconst defaultQueryOptions: EntityQueryOptions<Workspace> = {\n refetchOnMount: \"always\",\n staleTime: 0,\n gcTime: 0,\n};\n\n/**\n * useFetchWorkspace\n *\n * Data-fetching hook built on TanStack Query to retrieve a single workspace by name.\n *\n * It also:\n * - builds a stable React Query `queryKey` that can be reused by mutation hooks for cache invalidation\n * - triggers an error alert via `useAppAlert` whenever `query.error` is present\n *\n * Parameters (FetchWorkspaceProps):\n * @param {string} name\n * Workspace name (required).\n *\n * @param queryOptions\n * TanStack Query options passed through to `useQuery` (e.g., enabled, staleTime, gcTime, etc.).\n *\n * Returns:\n * @returns {object}\n * TanStack Query's `query` object extended with:\n * - `queryKey`: the cache key used by React Query\n *\n * Example:\n * ```ts\n * const { data, isLoading } = useFetchWorkspace({ name: \"main\" });\n * // data -> Workspace\n * ```\n */\nexport const useFetchWorkspace = ({ name, queryOptions = defaultQueryOptions }: FetchWorkspaceProps) => {\n\n const { api } = useAxios();\n const { showAlert } = useAppAlert();\n\n const queryKey = [\"workspace\", name];\n\n const query = useQuery<Workspace>({\n queryKey,\n queryFn: async () => {\n const workspace = await getWorkspace(api, name);\n return workspace;\n },\n ...queryOptions ?? {}\n });\n\n useEffect(() => {\n if (!query.error) return;\n\n showAlert({\n severity: \"error\",\n message: query.error.message,\n });\n }, [query.error, showAlert]);\n\n return {\n ...query,\n queryKey,\n };\n};\n"],"mappings":";;;;;;AAeA,IAAM,sBAAqD;CACvD,gBAAgB;CAChB,WAAW;CACX,QAAQ;AACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,IAAa,qBAAqB,EAAE,MAAM,eAAe,0BAA+C;CAEpG,MAAM,EAAE,QAAQ,SAAS;CACzB,MAAM,EAAE,cAAc,YAAY;CAElC,MAAM,WAAW,CAAC,aAAa,IAAI;CAEnC,MAAM,QAAQ,SAAoB;EAC9B;EACA,SAAS,YAAY;GAEjB,OAAO,MADiB,aAAa,KAAK,IAAI;EAElD;EACA,GAAG,gBAAgB,CAAC;CACxB,CAAC;CAED,gBAAgB;EACZ,IAAI,CAAC,MAAM,OAAO;EAElB,UAAU;GACN,UAAU;GACV,SAAS,MAAM,MAAM;EACzB,CAAC;CACL,GAAG,CAAC,MAAM,OAAO,SAAS,CAAC;CAE3B,OAAO;EACH,GAAG;EACH;CACJ;AACJ"}
@@ -0,0 +1,46 @@
1
+ import { type UseInfiniteQueryOptions, type QueryKey } from "@tanstack/react-query";
2
+ import type { Workspace, WorkspaceListResponse } from "../../types/workspace.d.ts";
3
+ type PageToken = string | null;
4
+ type InfiniteOptions<TData> = Omit<UseInfiniteQueryOptions<WorkspaceListResponse, Error, TData, QueryKey, PageToken>, "queryKey" | "queryFn" | "initialPageParam" | "getNextPageParam">;
5
+ export type FetchInfiniteWorkspaceProps = {
6
+ workspace?: string;
7
+ pageSize?: number;
8
+ queryOptions?: InfiniteOptions<Workspace[]>;
9
+ };
10
+ /**
11
+ * useFetchWorkspaces
12
+ *
13
+ * Data-fetching hook built on TanStack Query's `useInfiniteQuery` to retrieve
14
+ * workspaces with cursor-based pagination.
15
+ *
16
+ * It also:
17
+ * - flattens all pages into a single `Workspace[]` via `select`
18
+ *
19
+ * Important notes:
20
+ * - `query.data` returns a flat `Workspace[]` (all pages merged).
21
+ * - `workspace` is required by some API configurations to avoid being blocked.
22
+ *
23
+ * @param props - FetchInfiniteWorkspaceProps
24
+ * - `workspace`: Current workspace name sent as a query param.
25
+ * - `pageSize`: Number of workspaces to fetch per page.
26
+ * - `queryOptions`: TanStack Query options passed through to `useInfiniteQuery`.
27
+ *
28
+ * Returns:
29
+ * @returns {object}
30
+ * - `query`: the full `useInfiniteQuery` result (data, isLoading, hasNextPage, fetchNextPage, etc.)
31
+ * - `queryKey`: the cache key used by React Query
32
+ *
33
+ * Example:
34
+ * ```ts
35
+ * const { query } = useFetchWorkspaces({ workspace: "main", pageSize: 20 });
36
+ *
37
+ * // Flat list of all fetched workspaces
38
+ * const workspaces = query.data ?? [];
39
+ * ```
40
+ */
41
+ export declare function useFetchWorkspaces({ workspace, pageSize, queryOptions }: FetchInfiniteWorkspaceProps): {
42
+ query: import("@tanstack/react-query").UseInfiniteQueryResult<Workspace[], Error>;
43
+ queryKey: readonly unknown[];
44
+ };
45
+ export {};
46
+ //# sourceMappingURL=useFetchWorkspaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchWorkspaces.d.ts","sourceRoot":"","sources":["../../../src/hooks/workspace/useFetchWorkspaces.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,uBAAuB,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItG,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE1E,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAE/B,KAAK,eAAe,CAAC,KAAK,IAAI,IAAI,CAC9B,uBAAuB,CAAC,qBAAqB,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,CAAC,EACjF,UAAU,GAAG,SAAS,GAAG,kBAAkB,GAAG,kBAAkB,CACnE,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,eAAe,CAAC,SAAS,EAAE,CAAC,CAAC;CAC/C,CAAC;AAQF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,QAAa,EAAE,YAAY,EAAE,EAAE,2BAA2B;;;EA4BzG"}
@@ -0,0 +1,66 @@
1
+ import { useAxios } from "../useAxios.js";
2
+ import { listWorkspaces } from "../../api/workspace.js";
3
+ import { useMemo } from "react";
4
+ import { useInfiniteQuery } from "@tanstack/react-query";
5
+ //#region src/hooks/workspace/useFetchWorkspaces.ts
6
+ var defaultQueryOptions = {
7
+ refetchOnMount: "always",
8
+ staleTime: 0,
9
+ gcTime: 0
10
+ };
11
+ /**
12
+ * useFetchWorkspaces
13
+ *
14
+ * Data-fetching hook built on TanStack Query's `useInfiniteQuery` to retrieve
15
+ * workspaces with cursor-based pagination.
16
+ *
17
+ * It also:
18
+ * - flattens all pages into a single `Workspace[]` via `select`
19
+ *
20
+ * Important notes:
21
+ * - `query.data` returns a flat `Workspace[]` (all pages merged).
22
+ * - `workspace` is required by some API configurations to avoid being blocked.
23
+ *
24
+ * @param props - FetchInfiniteWorkspaceProps
25
+ * - `workspace`: Current workspace name sent as a query param.
26
+ * - `pageSize`: Number of workspaces to fetch per page.
27
+ * - `queryOptions`: TanStack Query options passed through to `useInfiniteQuery`.
28
+ *
29
+ * Returns:
30
+ * @returns {object}
31
+ * - `query`: the full `useInfiniteQuery` result (data, isLoading, hasNextPage, fetchNextPage, etc.)
32
+ * - `queryKey`: the cache key used by React Query
33
+ *
34
+ * Example:
35
+ * ```ts
36
+ * const { query } = useFetchWorkspaces({ workspace: "main", pageSize: 20 });
37
+ *
38
+ * // Flat list of all fetched workspaces
39
+ * const workspaces = query.data ?? [];
40
+ * ```
41
+ */
42
+ function useFetchWorkspaces({ workspace, pageSize = 10, queryOptions }) {
43
+ const { api } = useAxios();
44
+ const queryKey = ["workspaces", workspace ?? null];
45
+ const mergedQueryOptions = useMemo(() => ({
46
+ ...defaultQueryOptions,
47
+ ...queryOptions ?? {}
48
+ }), [queryOptions]);
49
+ return {
50
+ query: useInfiniteQuery({
51
+ queryKey,
52
+ initialPageParam: null,
53
+ getNextPageParam: (lastPage) => lastPage.next_page_token ?? void 0,
54
+ queryFn: async ({ pageParam }) => {
55
+ return await listWorkspaces(api, workspace, pageSize, pageParam ?? void 0);
56
+ },
57
+ select: (data) => data.pages.flatMap((p) => p.workspaces),
58
+ ...mergedQueryOptions
59
+ }),
60
+ queryKey
61
+ };
62
+ }
63
+ //#endregion
64
+ export { useFetchWorkspaces };
65
+
66
+ //# sourceMappingURL=useFetchWorkspaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchWorkspaces.js","names":[],"sources":["../../../src/hooks/workspace/useFetchWorkspaces.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { useInfiniteQuery, type UseInfiniteQueryOptions, type QueryKey } from \"@tanstack/react-query\";\n\nimport { useAxios } from \"@/hooks/useAxios\";\nimport { listWorkspaces } from \"@/api/workspace\";\nimport type { Workspace, WorkspaceListResponse } from \"@/types/workspace\";\n\ntype PageToken = string | null;\n\ntype InfiniteOptions<TData> = Omit<\n UseInfiniteQueryOptions<WorkspaceListResponse, Error, TData, QueryKey, PageToken>,\n \"queryKey\" | \"queryFn\" | \"initialPageParam\" | \"getNextPageParam\"\n>;\n\nexport type FetchInfiniteWorkspaceProps = {\n workspace?: string;\n pageSize?: number;\n queryOptions?: InfiniteOptions<Workspace[]>;\n};\n\nconst defaultQueryOptions: InfiniteOptions<Workspace[]> = {\n refetchOnMount: \"always\",\n staleTime: 0,\n gcTime: 0,\n};\n\n/**\n * useFetchWorkspaces\n *\n * Data-fetching hook built on TanStack Query's `useInfiniteQuery` to retrieve\n * workspaces with cursor-based pagination.\n *\n * It also:\n * - flattens all pages into a single `Workspace[]` via `select`\n *\n * Important notes:\n * - `query.data` returns a flat `Workspace[]` (all pages merged).\n * - `workspace` is required by some API configurations to avoid being blocked.\n *\n * @param props - FetchInfiniteWorkspaceProps\n * - `workspace`: Current workspace name sent as a query param.\n * - `pageSize`: Number of workspaces to fetch per page.\n * - `queryOptions`: TanStack Query options passed through to `useInfiniteQuery`.\n *\n * Returns:\n * @returns {object}\n * - `query`: the full `useInfiniteQuery` result (data, isLoading, hasNextPage, fetchNextPage, etc.)\n * - `queryKey`: the cache key used by React Query\n *\n * Example:\n * ```ts\n * const { query } = useFetchWorkspaces({ workspace: \"main\", pageSize: 20 });\n *\n * // Flat list of all fetched workspaces\n * const workspaces = query.data ?? [];\n * ```\n */\nexport function useFetchWorkspaces({ workspace, pageSize = 10, queryOptions }: FetchInfiniteWorkspaceProps) {\n const { api } = useAxios();\n\n const queryKey: QueryKey = [\"workspaces\", workspace ?? null];\n\n const mergedQueryOptions = useMemo<InfiniteOptions<Workspace[]>>(() => ({\n ...defaultQueryOptions,\n ...(queryOptions ?? {}),\n }), [queryOptions]);\n\n const query = useInfiniteQuery<WorkspaceListResponse, Error, Workspace[], QueryKey, PageToken>({\n queryKey,\n initialPageParam: null,\n getNextPageParam: (lastPage) => lastPage.next_page_token ?? undefined,\n\n queryFn: async ({ pageParam }) => {\n return await listWorkspaces(api, workspace, pageSize, pageParam ?? undefined);\n },\n\n select: (data) => data.pages.flatMap((p) => p.workspaces),\n\n ...mergedQueryOptions,\n });\n\n return {\n query,\n queryKey,\n };\n}\n"],"mappings":";;;;;AAoBA,IAAM,sBAAoD;CACtD,gBAAgB;CAChB,WAAW;CACX,QAAQ;AACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,SAAgB,mBAAmB,EAAE,WAAW,WAAW,IAAI,gBAA6C;CACxG,MAAM,EAAE,QAAQ,SAAS;CAEzB,MAAM,WAAqB,CAAC,cAAc,aAAa,IAAI;CAE3D,MAAM,qBAAqB,eAA6C;EACpE,GAAG;EACH,GAAI,gBAAgB,CAAC;CACzB,IAAI,CAAC,YAAY,CAAC;CAgBlB,OAAO;EACH,OAfU,iBAAiF;GAC3F;GACA,kBAAkB;GAClB,mBAAmB,aAAa,SAAS,mBAAmB,KAAA;GAE5D,SAAS,OAAO,EAAE,gBAAgB;IAC9B,OAAO,MAAM,eAAe,KAAK,WAAW,UAAU,aAAa,KAAA,CAAS;GAChF;GAEA,SAAS,SAAS,KAAK,MAAM,SAAS,MAAM,EAAE,UAAU;GAExD,GAAG;EACP,CAGI;EACA;CACJ;AACJ"}
@@ -0,0 +1,24 @@
1
+ export { EveryskApp } from "./EveryskApp";
2
+ export type { EveryskAppProps, ProviderComponent } from "./EveryskApp";
3
+ export { AppConfigContext } from "./contexts/appConfigContext";
4
+ export { AppConfigProvider } from "./contexts/appConfigContext/provider";
5
+ export { useAppConfig } from "./contexts/appConfigContext/useAppConfig";
6
+ export type { AppConfigContextType, AppConfigProviderProps, } from "./contexts/appConfigContext/types";
7
+ export { AppAlertContext } from "./contexts/appAlertContext";
8
+ export { AppAlertProvider } from "./contexts/appAlertContext/provider";
9
+ export { useAppAlert } from "./contexts/appAlertContext/useAppAlert";
10
+ export type { AppAlertContextType, AppAlertState, ShowAlertOptions, } from "./contexts/appAlertContext/types";
11
+ export { useAxios } from "./hooks/useAxios";
12
+ export { toFilterTuple, buildQueryObject, buildQueryKey } from "./api/entityQuery";
13
+ export { createQueryClient, getQueryFn } from "./lib/queryClient";
14
+ export type { AnyRecord } from "./types/anyRecord";
15
+ export type { BaseQueryParams, DeleteEntityDefaultResponse, DeleteEntityResponse, EntityDefaultResponse, EntityListResponse, EntityQueryOptions, EntityQueryParams, EntitySingleResponse, FetchEntitiesParams, FetchEntityParams, FilterClause, FilterExpression, FilterOperator, QueryObject, } from "./types/entityQuery";
16
+ export * from "./portfolio";
17
+ export * from "./datastore";
18
+ export * from "./file";
19
+ export * from "./profile";
20
+ export * from "./workflow";
21
+ export * from "./workspace";
22
+ export * from "./ui";
23
+ export * from "./theme";
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,YAAY,EACR,oBAAoB,EACpB,sBAAsB,GACzB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,YAAY,EACR,mBAAmB,EACnB,aAAa,EACb,gBAAgB,GACnB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGnF,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGlE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EACR,eAAe,EACf,2BAA2B,EAC3B,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,WAAW,GACd,MAAM,qBAAqB,CAAC;AAI7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,50 @@
1
+ import { components } from "./theme/overrides/index.js";
2
+ import { DefaultLightTheme } from "./theme/themes/DefaultLight.js";
3
+ import { DefaultDarkTheme } from "./theme/themes/DefaultDark.js";
4
+ import { EveryskLightTheme } from "./theme/themes/EveryskLight.js";
5
+ import { EveryskDarkTheme } from "./theme/themes/EveryskDark.js";
6
+ import { MidnightEmberTheme } from "./theme/themes/MidnightEmber.js";
7
+ import { getBrandTheme, getDefaultTheme, getTheme } from "./theme/themes/index.js";
8
+ import { ThemeProvider } from "./theme/ThemeProvider.js";
9
+ import { AppConfigContext } from "./contexts/appConfigContext/index.js";
10
+ import { AppConfigProvider } from "./contexts/appConfigContext/provider.js";
11
+ import { AppAlertContext } from "./contexts/appAlertContext/index.js";
12
+ import { AppAlertProvider } from "./contexts/appAlertContext/provider.js";
13
+ import { createQueryClient, getQueryFn } from "./lib/queryClient.js";
14
+ import { EveryskApp } from "./EveryskApp.js";
15
+ import { useAppConfig } from "./contexts/appConfigContext/useAppConfig.js";
16
+ import { useAppAlert } from "./contexts/appAlertContext/useAppAlert.js";
17
+ import { useAxios } from "./hooks/useAxios.js";
18
+ import { buildQueryKey, buildQueryObject, toFilterTuple } from "./api/entityQuery.js";
19
+ import { createPortfolio, deletePortfolio, getPortfolio, listPortfolios, updatePortfolio } from "./api/portfolio.js";
20
+ import { useFetchPortfolio } from "./hooks/portfolio/useFetchPortfolio.js";
21
+ import { useFetchPortfolios } from "./hooks/portfolio/useFetchPortfolios.js";
22
+ import { usePortfolioMutations } from "./hooks/portfolio/usePortfolioMutations.js";
23
+ import { createDatastore, deleteDatastore, getDatastore, listDatastores, updateDatastore } from "./api/datastore.js";
24
+ import { useDatastoreMutations } from "./hooks/datastore/useDatastoreMutations.js";
25
+ import { buildDatastoreProps, mergeDatastores, objectsToTable, tableToObjects } from "./lib/datastoreTable.js";
26
+ import { useFetchDatastore } from "./hooks/datastore/useFetchDatastore.js";
27
+ import { useFetchDatastores } from "./hooks/datastore/useFetchDatastores.js";
28
+ import { createFile, deleteFile, getFile, listFiles, updateFile } from "./api/file.js";
29
+ import { useFetchFile } from "./hooks/file/useFetchFile.js";
30
+ import { useFetchFiles } from "./hooks/file/useFetchFiles.js";
31
+ import { useFileMutations } from "./hooks/file/useFileMutations.js";
32
+ import { DEV_PROFILE, getProfile } from "./api/profile.js";
33
+ import { useFetchProfile } from "./hooks/profile/useFetchProfile.js";
34
+ import { TERMINAL_RUN_STATUSES, getWorkerExecution, getWorkflow, getWorkflowExecution, listWorkerExecutions, listWorkflowExecutions, listWorkflows, pollWorkflowExecution, runWorkflow, runWorkflowAndGetResult } from "./api/workflow.js";
35
+ import { useFetchWorkerExecution } from "./hooks/workflow/useFetchWorkerExecution.js";
36
+ import { useFetchWorkerExecutions } from "./hooks/workflow/useFetchWorkerExecutions.js";
37
+ import { useFetchWorkflow } from "./hooks/workflow/useFetchWorkflow.js";
38
+ import { useFetchWorkflowExecution } from "./hooks/workflow/useFetchWorkflowExecution.js";
39
+ import { useFetchWorkflowExecutions } from "./hooks/workflow/useFetchWorkflowExecutions.js";
40
+ import { useFetchWorkflows } from "./hooks/workflow/useFetchWorkflows.js";
41
+ import { useRunWorkflow } from "./hooks/workflow/useRunWorkflow.js";
42
+ import { getWorkspace, listWorkspaces } from "./api/workspace.js";
43
+ import { useFetchWorkspace } from "./hooks/workspace/useFetchWorkspace.js";
44
+ import { useFetchWorkspaces } from "./hooks/workspace/useFetchWorkspaces.js";
45
+ import { EveryskIcon } from "./components/ui/EveryskIcon/index.js";
46
+ import { Footer } from "./components/ui/Footer/index.js";
47
+ import { GlobalLoading } from "./components/ui/GlobalLoading/index.js";
48
+ import { PageContainer } from "./components/ui/PageContainer/index.js";
49
+ import { Toolbar } from "./components/ui/Toolbar/index.js";
50
+ export { AppAlertContext, AppAlertProvider, AppConfigContext, AppConfigProvider, DEV_PROFILE, DefaultDarkTheme, DefaultLightTheme, EveryskApp, EveryskDarkTheme, EveryskIcon, EveryskLightTheme, Footer, GlobalLoading, MidnightEmberTheme, PageContainer, TERMINAL_RUN_STATUSES, ThemeProvider, Toolbar, buildDatastoreProps, buildQueryKey, buildQueryObject, components, createDatastore, createFile, createPortfolio, createQueryClient, deleteDatastore, deleteFile, deletePortfolio, getBrandTheme, getDatastore, getDefaultTheme, getFile, getPortfolio, getProfile, getQueryFn, getTheme, getWorkerExecution, getWorkflow, getWorkflowExecution, getWorkspace, listDatastores, listFiles, listPortfolios, listWorkerExecutions, listWorkflowExecutions, listWorkflows, listWorkspaces, mergeDatastores, objectsToTable, pollWorkflowExecution, runWorkflow, runWorkflowAndGetResult, tableToObjects, toFilterTuple, updateDatastore, updateFile, updatePortfolio, useAppAlert, useAppConfig, useAxios, useDatastoreMutations, useFetchDatastore, useFetchDatastores, useFetchFile, useFetchFiles, useFetchPortfolio, useFetchPortfolios, useFetchProfile, useFetchWorkerExecution, useFetchWorkerExecutions, useFetchWorkflow, useFetchWorkflowExecution, useFetchWorkflowExecutions, useFetchWorkflows, useFetchWorkspace, useFetchWorkspaces, useFileMutations, usePortfolioMutations, useRunWorkflow };