feat: introduce basic flows page

This commit is contained in:
Ali BARIN
2022-01-05 21:36:51 +01:00
parent d25d327ef7
commit 430f0d07e8
8 changed files with 186 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
export const DASHBOARD = '/dashboard';
export const APPS = '/apps';
export const CONNECTIONS = '/connections';
export const FLOWS = '/flows';
export const EXPLORE = '/explore';
export const EDITOR = '/editor';
export const APPS = '/apps';
export const NEW_APP_CONNECTION = '/apps/new';
export const APP = (appKey: string) => `/app/${appKey}`;
export const APP_PATTERN = '/app/:appKey';
export const APP_CONNECTIONS = (appKey: string) => `/app/${appKey}/connections`;
@@ -14,8 +14,11 @@ export const APP_RECONNECT_CONNECTION = (appKey: string, connectionId: string) =
export const APP_RECONNECT_CONNECTION_PATTERN = '/app/:appKey/connections/:connectionId/reconnect';
export const APP_FLOWS = (appKey: string) => `/app/${appKey}/flows`;
export const APP_FLOWS_PATTERN = '/app/:appKey/flows';
export const NEW_APP_CONNECTION = '/apps/new';
export const EDITOR = '/editor';
export const CREATE_FLOW = '/editor/create';
export const FLOW_EDITOR = (flowId: string) => `/editor/${flowId}`;
export const FLOWS = '/flows';
export const FLOW = (flowId: string) => `/flows/${flowId}`;
export const FLOW_PATTERN = '/flows/:flowId';