@insforge/dashboard 0.0.0-dev.1

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 (300) hide show
  1. package/README.md +14 -0
  2. package/dist/app/DashboardAppShell.d.ts +7 -0
  3. package/dist/app/DashboardProviders.d.ts +9 -0
  4. package/dist/app/InsforgeDashboard.d.ts +2 -0
  5. package/dist/app/createDashboardQueryClient.d.ts +2 -0
  6. package/dist/components/CodeEditor.d.ts +12 -0
  7. package/dist/components/ConnectCTA.d.ts +6 -0
  8. package/dist/components/DataGridEmptyState.d.ts +9 -0
  9. package/dist/components/DeleteActionButton.d.ts +8 -0
  10. package/dist/components/EmptyState.d.ts +14 -0
  11. package/dist/components/ErrorState.d.ts +8 -0
  12. package/dist/components/FeatureSidebar.d.ts +47 -0
  13. package/dist/components/JsonHighlight.d.ts +7 -0
  14. package/dist/components/LoadingState.d.ts +6 -0
  15. package/dist/components/PaginationControls.d.ts +11 -0
  16. package/dist/components/PromptDialog.d.ts +10 -0
  17. package/dist/components/SelectionClearButton.d.ts +7 -0
  18. package/dist/components/Stepper.d.ts +22 -0
  19. package/dist/components/TableHeader.d.ts +20 -0
  20. package/dist/components/ThemeSelect.d.ts +1 -0
  21. package/dist/components/TypeBadge.d.ts +6 -0
  22. package/dist/components/ZoomedVideo.d.ts +7 -0
  23. package/dist/components/datagrid/DataGrid.d.ts +51 -0
  24. package/dist/components/datagrid/DefaultCellRenderer.d.ts +12 -0
  25. package/dist/components/datagrid/IdCell.d.ts +4 -0
  26. package/dist/components/datagrid/SortableHeader.d.ts +9 -0
  27. package/dist/components/datagrid/cell-editors/BooleanCellEditor.d.ts +2 -0
  28. package/dist/components/datagrid/cell-editors/DateCellEditor.d.ts +2 -0
  29. package/dist/components/datagrid/cell-editors/JsonCellEditor.d.ts +2 -0
  30. package/dist/components/datagrid/cell-editors/TextCellEditor.d.ts +2 -0
  31. package/dist/components/datagrid/cell-editors/index.d.ts +5 -0
  32. package/dist/components/datagrid/cell-editors/types.d.ts +39 -0
  33. package/dist/components/datagrid/datagridTypes.d.ts +61 -0
  34. package/dist/components/datagrid/index.d.ts +8 -0
  35. package/dist/components/index.d.ts +20 -0
  36. package/dist/components/layout/AppHeader.d.ts +1 -0
  37. package/dist/components/layout/AppSidebar.d.ts +6 -0
  38. package/dist/components/layout/Layout.d.ts +6 -0
  39. package/dist/components/layout/index.d.ts +3 -0
  40. package/dist/components/radix/Alert.d.ts +8 -0
  41. package/dist/components/radix/Avatar.d.ts +6 -0
  42. package/dist/components/radix/Card.d.ts +8 -0
  43. package/dist/components/radix/Form.d.ts +23 -0
  44. package/dist/components/radix/Label.d.ts +5 -0
  45. package/dist/components/radix/Popover.d.ts +6 -0
  46. package/dist/components/radix/ScrollArea.d.ts +5 -0
  47. package/dist/components/radix/Separator.d.ts +4 -0
  48. package/dist/components/radix/Skeleton.d.ts +2 -0
  49. package/dist/components/radix/Textarea.d.ts +3 -0
  50. package/dist/components/radix/index.d.ts +10 -0
  51. package/dist/features/ai/components/AILayout.d.ts +1 -0
  52. package/dist/features/ai/components/GatewayConfigDialog.d.ts +6 -0
  53. package/dist/features/ai/components/ModelRow.d.ts +9 -0
  54. package/dist/features/ai/components/index.d.ts +2 -0
  55. package/dist/features/ai/helpers.d.ts +36 -0
  56. package/dist/features/ai/hooks/useAIConfigs.d.ts +43 -0
  57. package/dist/features/ai/hooks/useAIGatewayConfig.d.ts +15 -0
  58. package/dist/features/ai/hooks/useAIUsage.d.ts +63 -0
  59. package/dist/features/ai/pages/AIPage.d.ts +1 -0
  60. package/dist/features/ai/services/ai.service.d.ts +44 -0
  61. package/dist/features/auth/components/AuthSettingsMenuDialog.d.ts +6 -0
  62. package/dist/features/auth/components/AuthenticationLayout.d.ts +1 -0
  63. package/dist/features/auth/components/AuthenticationSidebar.d.ts +1 -0
  64. package/dist/features/auth/components/CustomOAuthConfigDialog.d.ts +9 -0
  65. package/dist/features/auth/components/OAuthConfigDialog.d.ts +9 -0
  66. package/dist/features/auth/components/OAuthEmptyState.d.ts +1 -0
  67. package/dist/features/auth/components/SecretInput.d.ts +8 -0
  68. package/dist/features/auth/components/UserFormDialog.d.ts +13 -0
  69. package/dist/features/auth/components/UsersDataGrid.d.ts +9 -0
  70. package/dist/features/auth/components/index.d.ts +6 -0
  71. package/dist/features/auth/helpers.d.ts +15 -0
  72. package/dist/features/auth/hooks/useAnonToken.d.ts +14 -0
  73. package/dist/features/auth/hooks/useAuthConfig.d.ts +57 -0
  74. package/dist/features/auth/hooks/useCustomOAuthConfig.d.ts +72 -0
  75. package/dist/features/auth/hooks/useOAuthConfig.d.ts +94 -0
  76. package/dist/features/auth/hooks/useUsers.d.ts +92 -0
  77. package/dist/features/auth/index.d.ts +5 -0
  78. package/dist/features/auth/pages/AuthMethodsPage.d.ts +1 -0
  79. package/dist/features/auth/pages/UsersPage.d.ts +1 -0
  80. package/dist/features/auth/services/anonToken.service.d.ts +7 -0
  81. package/dist/features/auth/services/config.service.d.ts +6 -0
  82. package/dist/features/auth/services/custom-oauth-config.service.d.ts +14 -0
  83. package/dist/features/auth/services/oauth-config.service.d.ts +14 -0
  84. package/dist/features/auth/services/user.service.d.ts +21 -0
  85. package/dist/features/dashboard/components/ConnectionSuccessBanner.d.ts +1 -0
  86. package/dist/features/dashboard/components/DashboardLayout.d.ts +1 -0
  87. package/dist/features/dashboard/components/ProjectSettingsMenuDialog.d.ts +1 -0
  88. package/dist/features/dashboard/components/PromptCard.d.ts +6 -0
  89. package/dist/features/dashboard/components/PromptDialog.d.ts +8 -0
  90. package/dist/features/dashboard/components/StatsCard.d.ts +11 -0
  91. package/dist/features/dashboard/components/connect/APIKeysSection.d.ts +9 -0
  92. package/dist/features/dashboard/components/connect/CLISection.d.ts +5 -0
  93. package/dist/features/dashboard/components/connect/ConnectDialog.d.ts +1 -0
  94. package/dist/features/dashboard/components/connect/ConnectionStringSection.d.ts +5 -0
  95. package/dist/features/dashboard/components/connect/MCPSection.d.ts +10 -0
  96. package/dist/features/dashboard/components/connect/ShowPasswordButton.d.ts +7 -0
  97. package/dist/features/dashboard/components/connect/VideoDemoModal.d.ts +5 -0
  98. package/dist/features/dashboard/components/connect/constants.d.ts +2 -0
  99. package/dist/features/dashboard/components/connect/index.d.ts +8 -0
  100. package/dist/features/dashboard/components/connect/mcp/CursorDeeplinkGenerator.d.ts +7 -0
  101. package/dist/features/dashboard/components/connect/mcp/QoderDeeplinkGenerator.d.ts +7 -0
  102. package/dist/features/dashboard/components/connect/mcp/helpers.d.ts +32 -0
  103. package/dist/features/dashboard/components/connect/mcp/index.d.ts +4 -0
  104. package/dist/features/dashboard/components/index.d.ts +5 -0
  105. package/dist/features/dashboard/pages/DashboardPage.d.ts +2 -0
  106. package/dist/features/dashboard/prompts/ai-chatbot.d.ts +6 -0
  107. package/dist/features/dashboard/prompts/crm-system.d.ts +6 -0
  108. package/dist/features/dashboard/prompts/ecommerce-platform.d.ts +6 -0
  109. package/dist/features/dashboard/prompts/index.d.ts +14 -0
  110. package/dist/features/dashboard/prompts/instagram-clone.d.ts +6 -0
  111. package/dist/features/dashboard/prompts/notion-clone.d.ts +6 -0
  112. package/dist/features/dashboard/prompts/reddit-clone.d.ts +6 -0
  113. package/dist/features/database/components/ColumnTypeSelect.d.ts +10 -0
  114. package/dist/features/database/components/DatabaseDataGrid.d.ts +12 -0
  115. package/dist/features/database/components/DatabaseLayout.d.ts +1 -0
  116. package/dist/features/database/components/DatabaseSidebar.d.ts +16 -0
  117. package/dist/features/database/components/ForeignKeyCell.d.ts +10 -0
  118. package/dist/features/database/components/ForeignKeyPopover.d.ts +13 -0
  119. package/dist/features/database/components/LinkRecordDialog.d.ts +10 -0
  120. package/dist/features/database/components/RecordFormDialog.d.ts +10 -0
  121. package/dist/features/database/components/RecordFormField.d.ts +10 -0
  122. package/dist/features/database/components/SQLEditorLayout.d.ts +1 -0
  123. package/dist/features/database/components/SQLModal.d.ts +13 -0
  124. package/dist/features/database/components/TableForm.d.ts +11 -0
  125. package/dist/features/database/components/TableFormColumn.d.ts +13 -0
  126. package/dist/features/database/components/TablesEmptyState.d.ts +8 -0
  127. package/dist/features/database/components/TemplateCard.d.ts +8 -0
  128. package/dist/features/database/components/TemplatePreview.d.ts +7 -0
  129. package/dist/features/database/constants.d.ts +15 -0
  130. package/dist/features/database/contexts/SQLEditorContext.d.ts +22 -0
  131. package/dist/features/database/helpers.d.ts +9 -0
  132. package/dist/features/database/hooks/useCSVImport.d.ts +19 -0
  133. package/dist/features/database/hooks/useDatabase.d.ts +90 -0
  134. package/dist/features/database/hooks/useRawSQL.d.ts +43 -0
  135. package/dist/features/database/hooks/useRecords.d.ts +39 -0
  136. package/dist/features/database/hooks/useTableColumnWidthsPreference.d.ts +5 -0
  137. package/dist/features/database/hooks/useTables.d.ts +72 -0
  138. package/dist/features/database/index.d.ts +2 -0
  139. package/dist/features/database/pages/FunctionsPage.d.ts +1 -0
  140. package/dist/features/database/pages/IndexesPage.d.ts +1 -0
  141. package/dist/features/database/pages/PoliciesPage.d.ts +1 -0
  142. package/dist/features/database/pages/SQLEditorPage.d.ts +1 -0
  143. package/dist/features/database/pages/TablesPage.d.ts +1 -0
  144. package/dist/features/database/pages/TemplatesPage.d.ts +1 -0
  145. package/dist/features/database/pages/TriggersPage.d.ts +1 -0
  146. package/dist/features/database/schema.d.ts +185 -0
  147. package/dist/features/database/services/advance.service.d.ts +13 -0
  148. package/dist/features/database/services/database.service.d.ts +24 -0
  149. package/dist/features/database/services/record.service.d.ts +57 -0
  150. package/dist/features/database/services/table.service.d.ts +9 -0
  151. package/dist/features/database/templates/ai-chatbot.d.ts +2 -0
  152. package/dist/features/database/templates/crm-system.d.ts +2 -0
  153. package/dist/features/database/templates/ecommerce-platform.d.ts +2 -0
  154. package/dist/features/database/templates/index.d.ts +17 -0
  155. package/dist/features/database/templates/instagram-clone.d.ts +2 -0
  156. package/dist/features/database/templates/notion-clone.d.ts +2 -0
  157. package/dist/features/database/templates/reddit-clone.d.ts +2 -0
  158. package/dist/features/deployments/components/DeploymentMetaDataDialog.d.ts +7 -0
  159. package/dist/features/deployments/components/DeploymentsEmptyState.d.ts +1 -0
  160. package/dist/features/deployments/components/DeploymentsLayout.d.ts +1 -0
  161. package/dist/features/deployments/components/DeploymentsSidebar.d.ts +1 -0
  162. package/dist/features/deployments/components/EnvVarDialog.d.ts +14 -0
  163. package/dist/features/deployments/components/EnvVarRow.d.ts +9 -0
  164. package/dist/features/deployments/components/EnvVarsEmptyState.d.ts +1 -0
  165. package/dist/features/deployments/helpers.d.ts +14 -0
  166. package/dist/features/deployments/hooks/useCustomDomains.d.ts +68 -0
  167. package/dist/features/deployments/hooks/useDeploymentEnvVars.d.ts +32 -0
  168. package/dist/features/deployments/hooks/useDeploymentMetadata.d.ts +13 -0
  169. package/dist/features/deployments/hooks/useDeploymentSlug.d.ts +9 -0
  170. package/dist/features/deployments/hooks/useDeployments.d.ts +85 -0
  171. package/dist/features/deployments/pages/DeploymentDomainsPage.d.ts +6 -0
  172. package/dist/features/deployments/pages/DeploymentEnvVarsPage.d.ts +1 -0
  173. package/dist/features/deployments/pages/DeploymentLogsPage.d.ts +1 -0
  174. package/dist/features/deployments/pages/DeploymentOverviewPage.d.ts +1 -0
  175. package/dist/features/deployments/services/deployments.service.d.ts +36 -0
  176. package/dist/features/functions/components/FunctionEmptyState.d.ts +1 -0
  177. package/dist/features/functions/components/FunctionRow.d.ts +9 -0
  178. package/dist/features/functions/components/FunctionsLayout.d.ts +1 -0
  179. package/dist/features/functions/components/FunctionsSidebar.d.ts +1 -0
  180. package/dist/features/functions/components/ScheduleEmptyState.d.ts +1 -0
  181. package/dist/features/functions/components/ScheduleFormDialog.d.ts +11 -0
  182. package/dist/features/functions/components/ScheduleLogs.d.ts +5 -0
  183. package/dist/features/functions/components/ScheduleRow.d.ts +12 -0
  184. package/dist/features/functions/components/SecretEmptyState.d.ts +5 -0
  185. package/dist/features/functions/components/SecretRow.d.ts +8 -0
  186. package/dist/features/functions/helpers.d.ts +5 -0
  187. package/dist/features/functions/hooks/useFunctions.d.ts +75 -0
  188. package/dist/features/functions/hooks/useSchedules.d.ts +90 -0
  189. package/dist/features/functions/hooks/useSecrets.d.ts +62 -0
  190. package/dist/features/functions/pages/FunctionsPage.d.ts +1 -0
  191. package/dist/features/functions/pages/SchedulesPage.d.ts +1 -0
  192. package/dist/features/functions/pages/SecretsPage.d.ts +1 -0
  193. package/dist/features/functions/services/function.service.d.ts +8 -0
  194. package/dist/features/functions/services/schedule.service.d.ts +10 -0
  195. package/dist/features/functions/services/secret.service.d.ts +8 -0
  196. package/dist/features/functions/types.d.ts +2 -0
  197. package/dist/features/login/pages/CloudLoginPage.d.ts +1 -0
  198. package/dist/features/login/pages/LoginPage.d.ts +1 -0
  199. package/dist/features/login/services/login.service.d.ts +16 -0
  200. package/dist/features/login/services/partnership.service.d.ts +18 -0
  201. package/dist/features/logs/components/BuildLogsView.d.ts +5 -0
  202. package/dist/features/logs/components/FunctionLogsTabs.d.ts +12 -0
  203. package/dist/features/logs/components/LogDetailPanel.d.ts +7 -0
  204. package/dist/features/logs/components/LogsDataGrid.d.ts +21 -0
  205. package/dist/features/logs/components/LogsLayout.d.ts +1 -0
  206. package/dist/features/logs/components/LogsSidebar.d.ts +1 -0
  207. package/dist/features/logs/components/SeverityBadge.d.ts +6 -0
  208. package/dist/features/logs/components/SeverityFilterDropdown.d.ts +6 -0
  209. package/dist/features/logs/components/index.d.ts +7 -0
  210. package/dist/features/logs/helpers.d.ts +38 -0
  211. package/dist/features/logs/hooks/useAuditLogs.d.ts +38 -0
  212. package/dist/features/logs/hooks/useLogSources.d.ts +41 -0
  213. package/dist/features/logs/hooks/useLogs.d.ts +51 -0
  214. package/dist/features/logs/hooks/useMcpUsage.d.ts +35 -0
  215. package/dist/features/logs/pages/AuditsPage.d.ts +1 -0
  216. package/dist/features/logs/pages/FunctionLogsPage.d.ts +1 -0
  217. package/dist/features/logs/pages/LogsPage.d.ts +1 -0
  218. package/dist/features/logs/pages/MCPLogsPage.d.ts +1 -0
  219. package/dist/features/logs/services/audit.service.d.ts +7 -0
  220. package/dist/features/logs/services/log.service.d.ts +22 -0
  221. package/dist/features/logs/services/usage.service.d.ts +16 -0
  222. package/dist/features/realtime/components/ChannelFormDialog.d.ts +13 -0
  223. package/dist/features/realtime/components/ChannelRow.d.ts +12 -0
  224. package/dist/features/realtime/components/MessageRow.d.ts +7 -0
  225. package/dist/features/realtime/components/RealtimeEmptyState.d.ts +6 -0
  226. package/dist/features/realtime/components/RealtimeLayout.d.ts +1 -0
  227. package/dist/features/realtime/components/RealtimeSettingsMenuDialog.d.ts +6 -0
  228. package/dist/features/realtime/components/RealtimeSidebar.d.ts +1 -0
  229. package/dist/features/realtime/hooks/useRealtimeChannels.d.ts +66 -0
  230. package/dist/features/realtime/hooks/useRealtimeConfig.d.ts +14 -0
  231. package/dist/features/realtime/hooks/useRealtimeMessages.d.ts +64 -0
  232. package/dist/features/realtime/hooks/useRealtimePermissions.d.ts +48 -0
  233. package/dist/features/realtime/pages/RealtimeChannelsPage.d.ts +1 -0
  234. package/dist/features/realtime/pages/RealtimeMessagesPage.d.ts +1 -0
  235. package/dist/features/realtime/pages/RealtimePermissionsPage.d.ts +1 -0
  236. package/dist/features/realtime/services/realtime.service.d.ts +15 -0
  237. package/dist/features/storage/components/BucketFormDialog.d.ts +10 -0
  238. package/dist/features/storage/components/FilePreviewDialog.d.ts +9 -0
  239. package/dist/features/storage/components/StorageDataGrid.d.ts +14 -0
  240. package/dist/features/storage/components/StorageLayout.d.ts +1 -0
  241. package/dist/features/storage/components/StorageSettingsMenuDialog.d.ts +8 -0
  242. package/dist/features/storage/components/StorageSidebar.d.ts +13 -0
  243. package/dist/features/storage/components/UploadToast.d.ts +9 -0
  244. package/dist/features/storage/hooks/useStorage.d.ts +77 -0
  245. package/dist/features/storage/hooks/useStorageConfig.d.ts +29 -0
  246. package/dist/features/storage/pages/BucketsPage.d.ts +1 -0
  247. package/dist/features/storage/services/storage-config.service.d.ts +9 -0
  248. package/dist/features/storage/services/storage.service.d.ts +26 -0
  249. package/dist/features/visualizer/components/AuthNode.d.ts +11 -0
  250. package/dist/features/visualizer/components/BucketNode.d.ts +8 -0
  251. package/dist/features/visualizer/components/SchemaVisualizer.d.ts +18 -0
  252. package/dist/features/visualizer/components/TableNode.d.ts +10 -0
  253. package/dist/features/visualizer/components/VisualizerLayout.d.ts +1 -0
  254. package/dist/features/visualizer/components/VisualizerSkeleton.d.ts +1 -0
  255. package/dist/features/visualizer/components/index.d.ts +5 -0
  256. package/dist/features/visualizer/pages/VisualizerPage.d.ts +2 -0
  257. package/dist/index.d.ts +19 -0
  258. package/dist/index.js +83413 -0
  259. package/dist/layout/DashboardFrame.d.ts +15 -0
  260. package/dist/layout/DashboardOutletLayout.d.ts +1 -0
  261. package/dist/layout/DashboardSectionLayout.d.ts +7 -0
  262. package/dist/lib/analytics/posthog.d.ts +5 -0
  263. package/dist/lib/api/client.d.ts +20 -0
  264. package/dist/lib/config/DashboardHostContext.d.ts +3 -0
  265. package/dist/lib/config/runtime.d.ts +3 -0
  266. package/dist/lib/contexts/AuthContext.d.ts +18 -0
  267. package/dist/lib/contexts/ModalContext.d.ts +2 -0
  268. package/dist/lib/contexts/SocketContext.d.ts +42 -0
  269. package/dist/lib/contexts/ThemeContext.d.ts +17 -0
  270. package/dist/lib/hooks/useCloudProjectInfo.d.ts +19 -0
  271. package/dist/lib/hooks/useConfirm.d.ts +21 -0
  272. package/dist/lib/hooks/useHealth.d.ts +13 -0
  273. package/dist/lib/hooks/useInterval.d.ts +1 -0
  274. package/dist/lib/hooks/useMediaQuery.d.ts +6 -0
  275. package/dist/lib/hooks/useMetadata.d.ts +239 -0
  276. package/dist/lib/hooks/useModal.d.ts +1 -0
  277. package/dist/lib/hooks/usePageSize.d.ts +5 -0
  278. package/dist/lib/hooks/useTimeout.d.ts +1 -0
  279. package/dist/lib/hooks/useToast.d.ts +20 -0
  280. package/dist/lib/routing/AppRoutes.d.ts +1 -0
  281. package/dist/lib/routing/RequireAuth.d.ts +6 -0
  282. package/dist/lib/services/health.service.d.ts +8 -0
  283. package/dist/lib/services/metadata.service.d.ts +16 -0
  284. package/dist/lib/utils/__tests__/utils.test.d.ts +1 -0
  285. package/dist/lib/utils/cloudMessaging.d.ts +13 -0
  286. package/dist/lib/utils/constants.d.ts +17 -0
  287. package/dist/lib/utils/local-storage.d.ts +5 -0
  288. package/dist/lib/utils/menuItems.d.ts +22 -0
  289. package/dist/lib/utils/schemaValidations.d.ts +21 -0
  290. package/dist/lib/utils/utils.d.ts +46 -0
  291. package/dist/modals/DashboardModalContext.d.ts +16 -0
  292. package/dist/navigation/menuItems.d.ts +13 -0
  293. package/dist/router/DashboardHostRoutes.d.ts +7 -0
  294. package/dist/router/DashboardProtectedBoundary.d.ts +9 -0
  295. package/dist/router/DashboardRouter.d.ts +1 -0
  296. package/dist/router/index.d.ts +3 -0
  297. package/dist/router/paths.d.ts +5 -0
  298. package/dist/styles.css +1 -0
  299. package/dist/types/index.d.ts +80 -0
  300. package/package.json +78 -0
@@ -0,0 +1,2 @@
1
+ import { DatabaseTemplate } from './index';
2
+ export declare const notionCloneTemplate: DatabaseTemplate;
@@ -0,0 +1,2 @@
1
+ import { DatabaseTemplate } from './index';
2
+ export declare const redditCloneTemplate: DatabaseTemplate;
@@ -0,0 +1,7 @@
1
+ import type { DeploymentSchema } from '../services/deployments.service';
2
+ interface DeploymentMetaDataDialogProps {
3
+ deployment: DeploymentSchema | null;
4
+ onOpenChange: (open: boolean) => void;
5
+ }
6
+ export declare function DeploymentMetaDataDialog({ deployment, onOpenChange, }: DeploymentMetaDataDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export default function DeploymentsEmptyState(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function DeploymentsLayout(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function DeploymentsSidebar(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import type { DeploymentEnvVar } from '@insforge/shared-schemas';
2
+ type EnvVarSaveInput = {
3
+ key: string;
4
+ value: string;
5
+ };
6
+ interface EnvVarDialogProps {
7
+ open: boolean;
8
+ onOpenChange: (open: boolean) => void;
9
+ envVar?: DeploymentEnvVar | null;
10
+ onSave: (entries: EnvVarSaveInput[]) => Promise<boolean>;
11
+ isSaving?: boolean;
12
+ }
13
+ export declare function EnvVarDialog({ open, onOpenChange, envVar, onSave, isSaving, }: EnvVarDialogProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { DeploymentEnvVar } from '@insforge/shared-schemas';
2
+ interface EnvVarRowProps {
3
+ envVar: DeploymentEnvVar;
4
+ onEdit: (envVar: DeploymentEnvVar) => void;
5
+ onDelete: (envVar: DeploymentEnvVar) => void;
6
+ className?: string;
7
+ }
8
+ export declare function EnvVarRow({ envVar, onEdit, onDelete, className }: EnvVarRowProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export default function EnvVarsEmptyState(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ export interface EnvVarDraft {
2
+ id: string;
3
+ key: string;
4
+ value: string;
5
+ }
6
+ export declare const createEnvVarDraft: (input?: Partial<Omit<EnvVarDraft, "id">>) => EnvVarDraft;
7
+ export declare const normalizeEnvVarDrafts: (drafts: EnvVarDraft[]) => {
8
+ key: string;
9
+ value: string;
10
+ }[];
11
+ export declare const parseDotEnvInput: (input: string) => {
12
+ drafts: EnvVarDraft[];
13
+ invalidLineNumbers: number[];
14
+ };
@@ -0,0 +1,68 @@
1
+ /**
2
+ * Hook for managing user-owned custom domains on a deployment.
3
+ * Provides methods to list, add, verify DNS, and remove custom domains,
4
+ * each backed by React Query mutations with toast feedback.
5
+ */
6
+ export declare function useCustomDomains(): {
7
+ domains: {
8
+ domain: string;
9
+ apexDomain: string;
10
+ verified: boolean;
11
+ misconfigured: boolean;
12
+ verification: {
13
+ value: string;
14
+ type: string;
15
+ domain: string;
16
+ }[];
17
+ cnameTarget: string | null;
18
+ aRecordValue: string | null;
19
+ }[];
20
+ isLoading: boolean;
21
+ isError: boolean;
22
+ error: Error | null;
23
+ refetchDomains: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
24
+ domain: string;
25
+ apexDomain: string;
26
+ verified: boolean;
27
+ misconfigured: boolean;
28
+ verification: {
29
+ value: string;
30
+ type: string;
31
+ domain: string;
32
+ }[];
33
+ cnameTarget: string | null;
34
+ aRecordValue: string | null;
35
+ }[], Error>>;
36
+ addDomain: import("@tanstack/react-query").UseMutateAsyncFunction<{
37
+ domain: string;
38
+ apexDomain: string;
39
+ verified: boolean;
40
+ misconfigured: boolean;
41
+ verification: {
42
+ value: string;
43
+ type: string;
44
+ domain: string;
45
+ }[];
46
+ cnameTarget: string | null;
47
+ aRecordValue: string | null;
48
+ }, Error, string, unknown>;
49
+ isAdding: boolean;
50
+ verifyDomain: import("@tanstack/react-query").UseMutateAsyncFunction<{
51
+ domain: string;
52
+ apexDomain: string;
53
+ verified: boolean;
54
+ misconfigured: boolean;
55
+ verification: {
56
+ value: string;
57
+ type: string;
58
+ domain: string;
59
+ }[];
60
+ cnameTarget: string | null;
61
+ aRecordValue: string | null;
62
+ }, Error, string, unknown>;
63
+ isVerifying: boolean;
64
+ removeDomain: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, string, unknown>;
65
+ isRemoving: boolean;
66
+ verifyingDomain: string | undefined;
67
+ removingDomain: string | undefined;
68
+ };
@@ -0,0 +1,32 @@
1
+ import type { DeploymentEnvVar, UpsertEnvVarRequest } from '@insforge/shared-schemas';
2
+ export declare function useDeploymentEnvVars(): {
3
+ envVars: {
4
+ type: "system" | "plain" | "encrypted" | "secret" | "sensitive";
5
+ id: string;
6
+ key: string;
7
+ updatedAt?: number | undefined;
8
+ }[];
9
+ envVarsCount: number;
10
+ isLoading: boolean;
11
+ isUpserting: boolean;
12
+ isDeleting: boolean;
13
+ error: Error | null;
14
+ upsertEnvVars: (inputs: UpsertEnvVarRequest[]) => Promise<boolean>;
15
+ deleteEnvVar: (envVar: DeploymentEnvVar) => Promise<boolean>;
16
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
17
+ type: "system" | "plain" | "encrypted" | "secret" | "sensitive";
18
+ id: string;
19
+ key: string;
20
+ updatedAt?: number | undefined;
21
+ }[], Error>>;
22
+ confirmDialogProps: {
23
+ open: boolean;
24
+ onOpenChange: (open: boolean) => void;
25
+ title: string;
26
+ description: string;
27
+ confirmText: string | undefined;
28
+ cancelText: string | undefined;
29
+ destructive: boolean | undefined;
30
+ onConfirm: () => void;
31
+ };
32
+ };
@@ -0,0 +1,13 @@
1
+ export declare function useDeploymentMetadata(): {
2
+ currentDeploymentId: string | null;
3
+ defaultDomainUrl: string | null;
4
+ customDomainUrl: string | null;
5
+ isLoading: boolean;
6
+ error: Error | null;
7
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
8
+ currentDeploymentId: string | null;
9
+ defaultDomainUrl: string | null;
10
+ customDomainUrl: string | null;
11
+ }, Error>>;
12
+ invalidate: () => void;
13
+ };
@@ -0,0 +1,9 @@
1
+ export declare function useDeploymentSlug(): {
2
+ updateSlug: import("@tanstack/react-query").UseMutateAsyncFunction<{
3
+ success: boolean;
4
+ slug: string | null;
5
+ domain: string | null;
6
+ }, Error, string | null, unknown>;
7
+ isUpdating: boolean;
8
+ error: Error | null;
9
+ };
@@ -0,0 +1,85 @@
1
+ import { type DeploymentSchema } from '../services/deployments.service';
2
+ import type { StartDeploymentRequest } from '@insforge/shared-schemas';
3
+ export declare function useDeployments(): {
4
+ deployments: {
5
+ status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED";
6
+ provider: string;
7
+ id: string;
8
+ createdAt: string;
9
+ url: string | null;
10
+ metadata: Record<string, unknown> | null;
11
+ updatedAt: string;
12
+ providerDeploymentId: string | null;
13
+ }[];
14
+ deploymentsCount: number;
15
+ totalDeployments: number;
16
+ selectedDeployment: {
17
+ status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED";
18
+ provider: string;
19
+ id: string;
20
+ createdAt: string;
21
+ url: string | null;
22
+ metadata: Record<string, unknown> | null;
23
+ updatedAt: string;
24
+ providerDeploymentId: string | null;
25
+ } | null;
26
+ isLoadingDeployments: boolean;
27
+ deploymentsError: Error | null;
28
+ pageSize: number;
29
+ currentPage: number;
30
+ totalPages: number;
31
+ setPage: (page: number) => void;
32
+ isLoading: boolean;
33
+ isCreating: boolean;
34
+ isStarting: boolean;
35
+ isSyncing: boolean;
36
+ isCancelling: boolean;
37
+ selectDeployment: (deployment: DeploymentSchema | null) => void;
38
+ clearSelection: () => void;
39
+ createDeployment: import("@tanstack/react-query").UseMutateAsyncFunction<{
40
+ id: string;
41
+ uploadUrl: string;
42
+ uploadFields: Record<string, string>;
43
+ }, Error, void, unknown>;
44
+ startDeployment: import("@tanstack/react-query").UseMutateFunction<{
45
+ status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED";
46
+ provider: string;
47
+ id: string;
48
+ createdAt: string;
49
+ url: string | null;
50
+ metadata: Record<string, unknown> | null;
51
+ updatedAt: string;
52
+ providerDeploymentId: string | null;
53
+ }, Error, {
54
+ id: string;
55
+ data?: StartDeploymentRequest;
56
+ }, unknown>;
57
+ syncDeployment: import("@tanstack/react-query").UseMutateFunction<{
58
+ status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED";
59
+ provider: string;
60
+ id: string;
61
+ createdAt: string;
62
+ url: string | null;
63
+ metadata: Record<string, unknown> | null;
64
+ updatedAt: string;
65
+ providerDeploymentId: string | null;
66
+ }, Error, string, unknown>;
67
+ cancelDeployment: import("@tanstack/react-query").UseMutateFunction<void, Error, string, unknown>;
68
+ refetchDeployments: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
69
+ data: {
70
+ status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED";
71
+ provider: string;
72
+ id: string;
73
+ createdAt: string;
74
+ url: string | null;
75
+ metadata: Record<string, unknown> | null;
76
+ updatedAt: string;
77
+ providerDeploymentId: string | null;
78
+ }[];
79
+ pagination: {
80
+ total: number;
81
+ limit: number;
82
+ offset: number;
83
+ };
84
+ }, Error>>;
85
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Page for managing deployment domains.
3
+ * Shows the auto-generated default domain, the insforge.site custom slug,
4
+ * and user-owned custom domains with full DNS verification workflow.
5
+ */
6
+ export default function DeploymentDomainsPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function DeploymentEnvVarsPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function DeploymentLogsPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function DeploymentOverviewPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,36 @@
1
+ import type { DeploymentSchema, CreateDeploymentResponse, StartDeploymentRequest, ListDeploymentsResponse, DeploymentEnvVar, DeploymentEnvVarWithValue, ListEnvVarsResponse, GetEnvVarResponse, UpsertEnvVarRequest, UpsertEnvVarsRequest, UpsertEnvVarsResponse, DeleteEnvVarResponse, UpdateSlugRequest, UpdateSlugResponse, DeploymentMetadataResponse, CustomDomain, AddCustomDomainRequest, ListCustomDomainsResponse, VerifyCustomDomainResponse } from '@insforge/shared-schemas';
2
+ export type { DeploymentSchema, CreateDeploymentResponse, ListDeploymentsResponse, DeploymentEnvVar, DeploymentEnvVarWithValue, ListEnvVarsResponse, GetEnvVarResponse, UpsertEnvVarRequest, UpsertEnvVarsRequest, UpsertEnvVarsResponse, DeleteEnvVarResponse, UpdateSlugRequest, UpdateSlugResponse, DeploymentMetadataResponse, CustomDomain, AddCustomDomainRequest, ListCustomDomainsResponse, VerifyCustomDomainResponse, };
3
+ export declare class DeploymentsService {
4
+ /** Returns a paginated list of deployments for the project. */
5
+ listDeployments(limit?: number, offset?: number): Promise<ListDeploymentsResponse>;
6
+ /** Returns a single deployment by its ID. */
7
+ getDeployment(id: string): Promise<DeploymentSchema>;
8
+ /** Creates a new deployment record and returns a pre-signed S3 upload URL. */
9
+ createDeployment(): Promise<CreateDeploymentResponse>;
10
+ /** Triggers the Vercel deployment after the file upload to S3 is complete. */
11
+ startDeployment(id: string, data?: StartDeploymentRequest): Promise<DeploymentSchema>;
12
+ /** Polls Vercel and syncs the latest deployment state back to the database. */
13
+ syncDeployment(id: string): Promise<DeploymentSchema>;
14
+ /** Cancels an in-progress deployment on Vercel. */
15
+ cancelDeployment(id: string): Promise<void>;
16
+ /** Returns all environment variable keys (without values) for the Vercel project. */
17
+ listEnvVars(): Promise<DeploymentEnvVar[]>;
18
+ /** Returns a single environment variable including its decrypted value. */
19
+ getEnvVar(id: string): Promise<DeploymentEnvVarWithValue>;
20
+ upsertEnvVars(input: UpsertEnvVarsRequest): Promise<UpsertEnvVarsResponse>;
21
+ /** Deletes an environment variable from the Vercel project by its Vercel ID. */
22
+ deleteEnvVar(id: string): Promise<DeleteEnvVarResponse>;
23
+ /** Updates the custom insforge.site slug (subdomain) for the deployment. */
24
+ updateSlug(slug: string | null): Promise<UpdateSlugResponse>;
25
+ /** Returns deployment metadata including the current deployment ID and domain URLs. */
26
+ getMetadata(): Promise<DeploymentMetadataResponse>;
27
+ /** Returns all user-owned custom domains for the project. */
28
+ listCustomDomains(): Promise<CustomDomain[]>;
29
+ /** Registers a user-owned domain on the Vercel project and persists it to the database. */
30
+ addCustomDomain(domain: string): Promise<CustomDomain>;
31
+ /** Triggers Vercel DNS verification for a domain and updates its status in the database. */
32
+ verifyCustomDomain(domain: string): Promise<VerifyCustomDomainResponse>;
33
+ /** Removes a user-owned domain from both the Vercel project and the database. */
34
+ removeCustomDomain(domain: string): Promise<void>;
35
+ }
36
+ export declare const deploymentsService: DeploymentsService;
@@ -0,0 +1 @@
1
+ export default function FunctionEmptyState(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FunctionSchema } from '@insforge/shared-schemas';
2
+ interface FunctionRowProps {
3
+ function: FunctionSchema;
4
+ onClick: () => void;
5
+ className?: string;
6
+ deploymentUrl?: string | null;
7
+ }
8
+ export declare function FunctionRow({ function: func, onClick, className, deploymentUrl, }: FunctionRowProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export default function FunctionsLayout(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function FunctionsSidebar(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function ScheduleEmptyState(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import type { ScheduleFormSchema } from '../types';
2
+ interface ScheduleFormDialogProps {
3
+ open: boolean;
4
+ onOpenChange: (open: boolean) => void;
5
+ mode?: 'create' | 'edit';
6
+ scheduleId?: string | null;
7
+ initialValues?: Partial<ScheduleFormSchema>;
8
+ onSubmit?: (values: ScheduleFormSchema) => Promise<void> | void;
9
+ }
10
+ export declare function ScheduleFormDialog({ open, onOpenChange, mode, scheduleId, initialValues, onSubmit, }: ScheduleFormDialogProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,5 @@
1
+ interface ScheduleLogsProps {
2
+ scheduleId: string;
3
+ }
4
+ export declare function ScheduleLogs({ scheduleId }: ScheduleLogsProps): import("react/jsx-runtime").JSX.Element;
5
+ export default ScheduleLogs;
@@ -0,0 +1,12 @@
1
+ import type { ScheduleSchema } from '@insforge/shared-schemas';
2
+ interface ScheduleRowProps {
3
+ schedule: ScheduleSchema;
4
+ onClick: () => void;
5
+ onEdit: (id: string) => void;
6
+ onDelete: (id: string) => void;
7
+ onToggle: (scheduleId: string, isActive: boolean) => void;
8
+ isLoading?: boolean;
9
+ className?: string;
10
+ }
11
+ export declare function ScheduleRow({ schedule, onClick, onEdit, onDelete, onToggle, isLoading, className, }: ScheduleRowProps): import("react/jsx-runtime").JSX.Element;
12
+ export default ScheduleRow;
@@ -0,0 +1,5 @@
1
+ interface SecretEmptyStateProps {
2
+ searchQuery: string;
3
+ }
4
+ export default function SecretEmptyState({ searchQuery }: SecretEmptyStateProps): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,8 @@
1
+ import { SecretSchema } from '@insforge/shared-schemas';
2
+ interface SecretRowProps {
3
+ secret: SecretSchema;
4
+ onDelete: (secret: SecretSchema) => void;
5
+ className?: string;
6
+ }
7
+ export declare function SecretRow({ secret, onDelete, className }: SecretRowProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Normalize headers to Record<string, string> format.
3
+ * Handles JSON strings, objects, or null values.
4
+ */
5
+ export declare const normalizeHeaders: (h: unknown) => Record<string, string> | undefined;
@@ -0,0 +1,75 @@
1
+ import { FunctionSchema, type UpdateFunctionRequest } from '@insforge/shared-schemas';
2
+ export declare function useFunctions(): {
3
+ functions: {
4
+ code: string;
5
+ status: "error" | "draft" | "active";
6
+ id: string;
7
+ createdAt: string;
8
+ name: string;
9
+ description: string | null;
10
+ updatedAt: string;
11
+ slug: string;
12
+ deployedAt: string | null;
13
+ }[];
14
+ functionsCount: number;
15
+ selectedFunction: {
16
+ code: string;
17
+ status: "error" | "draft" | "active";
18
+ id: string;
19
+ createdAt: string;
20
+ name: string;
21
+ description: string | null;
22
+ updatedAt: string;
23
+ slug: string;
24
+ deployedAt: string | null;
25
+ } | null;
26
+ isViewingDetail: boolean;
27
+ deploymentUrl: string | null;
28
+ runtimeStatus: "unavailable" | "running";
29
+ isRuntimeAvailable: boolean;
30
+ isLoading: boolean;
31
+ isDeleting: boolean;
32
+ isUpdating: boolean;
33
+ error: Error | null;
34
+ selectFunction: (func: FunctionSchema) => Promise<void>;
35
+ clearSelection: () => void;
36
+ deleteFunction: (slug: string) => Promise<void>;
37
+ updateFunction: (slug: string, updates: UpdateFunctionRequest) => Promise<{
38
+ function: {
39
+ code: string;
40
+ status: "error" | "draft" | "active";
41
+ id: string;
42
+ createdAt: string;
43
+ name: string;
44
+ description: string | null;
45
+ updatedAt: string;
46
+ slug: string;
47
+ deployedAt: string | null;
48
+ };
49
+ success: boolean;
50
+ deployment?: {
51
+ status: "success" | "failed";
52
+ id: string;
53
+ url: string | null;
54
+ buildLogs?: string[] | undefined;
55
+ } | null | undefined;
56
+ }>;
57
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
58
+ functions: {
59
+ code: string;
60
+ status: "error" | "draft" | "active";
61
+ id: string;
62
+ createdAt: string;
63
+ name: string;
64
+ description: string | null;
65
+ updatedAt: string;
66
+ slug: string;
67
+ deployedAt: string | null;
68
+ }[];
69
+ runtime: {
70
+ status: "running" | "unavailable";
71
+ };
72
+ deploymentUrl?: string | null | undefined;
73
+ }, Error>>;
74
+ getFunctionBySlug: (slug: string) => FunctionSchema | undefined;
75
+ };
@@ -0,0 +1,90 @@
1
+ import type { CreateScheduleRequest, UpdateScheduleRequest } from '@insforge/shared-schemas';
2
+ export declare function useScheduleLogs(scheduleId: string, limit?: number, offset?: number): import("@tanstack/react-query").UseQueryResult<{
3
+ limit: number;
4
+ offset: number;
5
+ logs: {
6
+ message: string | null;
7
+ id: string;
8
+ statusCode: number;
9
+ success: boolean;
10
+ scheduleId: string;
11
+ executedAt: string;
12
+ durationMs: number;
13
+ }[];
14
+ totalCount: number;
15
+ }, Error>;
16
+ export declare function useSchedules(): {
17
+ schedules: {
18
+ id: string;
19
+ createdAt: string;
20
+ name: string;
21
+ updatedAt: string;
22
+ isActive: boolean;
23
+ headers: Record<string, string> | null;
24
+ body: string | Record<string, unknown> | null;
25
+ cronSchedule: string;
26
+ functionUrl: string;
27
+ httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
28
+ cronJobId: string | null;
29
+ lastExecutedAt: string | null;
30
+ nextRun: string | null;
31
+ }[];
32
+ filteredSchedules: {
33
+ id: string;
34
+ createdAt: string;
35
+ name: string;
36
+ updatedAt: string;
37
+ isActive: boolean;
38
+ headers: Record<string, string> | null;
39
+ body: string | Record<string, unknown> | null;
40
+ cronSchedule: string;
41
+ functionUrl: string;
42
+ httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
43
+ cronJobId: string | null;
44
+ lastExecutedAt: string | null;
45
+ nextRun: string | null;
46
+ }[];
47
+ schedulesCount: number;
48
+ searchQuery: string;
49
+ isLoading: boolean;
50
+ isCreating: boolean;
51
+ isUpdating: boolean;
52
+ isSaving: boolean;
53
+ isDeleting: boolean;
54
+ error: Error | null;
55
+ createSchedule: (payload: CreateScheduleRequest) => Promise<boolean>;
56
+ updateSchedule: (scheduleId: string, payload: UpdateScheduleRequest) => Promise<boolean>;
57
+ deleteSchedule: (scheduleId: string) => Promise<boolean>;
58
+ toggleSchedule: (scheduleId: string, isActive: boolean) => Promise<boolean>;
59
+ getSchedule: (scheduleId: string) => Promise<{
60
+ id: string;
61
+ createdAt: string;
62
+ name: string;
63
+ updatedAt: string;
64
+ isActive: boolean;
65
+ headers: Record<string, string> | null;
66
+ body: string | Record<string, unknown> | null;
67
+ cronSchedule: string;
68
+ functionUrl: string;
69
+ httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
70
+ cronJobId: string | null;
71
+ lastExecutedAt: string | null;
72
+ nextRun: string | null;
73
+ } | null>;
74
+ setSearchQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
75
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
76
+ id: string;
77
+ createdAt: string;
78
+ name: string;
79
+ updatedAt: string;
80
+ isActive: boolean;
81
+ headers: Record<string, string> | null;
82
+ body: string | Record<string, unknown> | null;
83
+ cronSchedule: string;
84
+ functionUrl: string;
85
+ httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
86
+ cronJobId: string | null;
87
+ lastExecutedAt: string | null;
88
+ nextRun: string | null;
89
+ }[], Error>>;
90
+ };
@@ -0,0 +1,62 @@
1
+ import type { SecretSchema } from '@insforge/shared-schemas';
2
+ export declare function useSecretValue(secret: Pick<SecretSchema, 'key' | 'updatedAt'>): {
3
+ isValueVisible: boolean;
4
+ valueError: string | null;
5
+ revealedSecret: {
6
+ value: string;
7
+ key: string;
8
+ } | undefined;
9
+ isFetchingValue: boolean;
10
+ toggleValue: () => Promise<void>;
11
+ };
12
+ export declare function useSecrets(): {
13
+ secrets: {
14
+ id: string;
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ key: string;
18
+ expiresAt: string | null;
19
+ isActive: boolean;
20
+ isReserved: boolean;
21
+ lastUsedAt: string | null;
22
+ }[];
23
+ filteredSecrets: {
24
+ id: string;
25
+ createdAt: string;
26
+ updatedAt: string;
27
+ key: string;
28
+ expiresAt: string | null;
29
+ isActive: boolean;
30
+ isReserved: boolean;
31
+ lastUsedAt: string | null;
32
+ }[];
33
+ secretsCount: number;
34
+ searchQuery: string;
35
+ isLoading: boolean;
36
+ isCreating: boolean;
37
+ isDeleting: boolean;
38
+ error: Error | null;
39
+ createSecret: (key: string, value: string) => Promise<boolean>;
40
+ deleteSecret: (secret: SecretSchema) => Promise<boolean>;
41
+ setSearchQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
42
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
43
+ id: string;
44
+ createdAt: string;
45
+ updatedAt: string;
46
+ key: string;
47
+ expiresAt: string | null;
48
+ isActive: boolean;
49
+ isReserved: boolean;
50
+ lastUsedAt: string | null;
51
+ }[], Error>>;
52
+ confirmDialogProps: {
53
+ open: boolean;
54
+ onOpenChange: (open: boolean) => void;
55
+ title: string;
56
+ description: string;
57
+ confirmText: string | undefined;
58
+ cancelText: string | undefined;
59
+ destructive: boolean | undefined;
60
+ onConfirm: () => void;
61
+ };
62
+ };
@@ -0,0 +1 @@
1
+ export default function FunctionsPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function SchedulesPage(): import("react/jsx-runtime").JSX.Element;