All files / src components.ts

0% Statements 0/33
100% Branches 0/0
0% Functions 0/62
0% Lines 0/33

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46                                                                                           
import { PageKeys } from "./pageKeys";
 
// Dynamically import each component using functions
export const components = {
  [PageKeys.LOGIN]: () => import("./pages/auth/Login"),
  [PageKeys.SIGNUP]: () => import("./pages/auth/SignUp"),
  [PageKeys.RESET_PASSWORD]: () => import("./pages/auth/ResetPassword"),
  [PageKeys.OAUTH_CALLBACK]: () => import("./pages/auth/OAuthCallback"),
  [PageKeys.PLAYBOOKS_CREATE]: () => import("./pages/playbooks/Playbook"),
  [PageKeys.PLAYBOOK_VIEW]: () => import("./pages/playbooks/Playbook"),
  [PageKeys.PLAYBOOK_LOGS]: () => import("./pages/playbooks/PlaybookLog"),
  [PageKeys.PLAYBOOK_EDIT]: () => import("./pages/playbooks/Playbook"),
  [PageKeys.HOME]: () => import("./pages/playbooks"),
  [PageKeys.PLAYBOOKS]: () => import("./pages/playbooks/index"),
  [PageKeys.PLAYBOOK_EXECUTIONS_LIST]: () =>
    import("./pages/playbooks/PlaybookExecutions"),
  [PageKeys.PLAYBOOK_EXECUTIONS]: () =>
    import("./pages/playbooks/PlaybookExecutions"),
  [PageKeys.WORKFLOWS_CREATE]: () => import("./pages/workflows/CreateWorkflow"),
  [PageKeys.WORKFLOWS]: () => import("./pages/workflows"),
  [PageKeys.WORKFLOW_VIEW]: () => import("./pages/workflows/CreateWorkflow"),
  [PageKeys.WORKFLOW_EXECUTIONS]: () =>
    import("./pages/workflows/WorkflowExecutions"),
  [PageKeys.WORKFLOW_EXECUTIONS_LIST]: () =>
    import("./pages/workflows/WorkflowExecutionList"),
  [PageKeys.WORKFLOW_EXECUTION_LOGS]: () =>
    import("./pages/workflows/WorkflowExecutionLogs"),
  [PageKeys.PLAYGROUND]: () => import("./pages/playgrounds"),
  [PageKeys.DATA_SOURCES]: () => import("./pages/integrations"),
  [PageKeys.INTEGRATIONS_ADD]: () =>
    import("./pages/integrations/AddIntegration"),
  [PageKeys.CONNECTOR_PAGE]: () => import("./pages/integrations/ConnectorPage"),
  [PageKeys.CONNECTOR_PAGE_ID]: () =>
    import("./pages/integrations/ConnectorPage"),
  [PageKeys.API_TOKENS]: () => import("./pages/Apikeys"),
  [PageKeys.INVITE_TEAM]: () => import("./pages/InviteTeam"),
  [PageKeys.SUPPORT]: () => import("./pages/Support"),
  [PageKeys.NOT_FOUND]: () => import("./pages/NotFound"),
  [PageKeys.SETTINGS]: () => import("./pages/Settings"),
  [PageKeys.DYNAMIC_ALERTS]: () => import("./pages/dynamicAlerts"),
  [PageKeys.CREATE_DYNAMIC_ALERTS]: () =>
    import("./pages/dynamicAlerts/CreateDynamicAlert"),
  [PageKeys.DYNAMIC_ALERT_VIEW]: () =>
    import("./pages/dynamicAlerts/CreateDynamicAlert"),
};