feat: add /editor/create to create a flow

This commit is contained in:
Ali BARIN
2021-12-18 00:42:28 +01:00
committed by Ömer Faruk Aydın
parent 19a8323058
commit d06ce4958e
8 changed files with 80 additions and 16 deletions

View File

@@ -3,6 +3,7 @@ export const APPS = '/apps';
export const CONNECTIONS = '/connections';
export const FLOWS = '/flows';
export const EXPLORE = '/explore';
export const EDITOR = '/editor';
export const APP = (appKey: string) => `/app/${appKey}`;
export const APP_PATTERN = '/app/:appKey';
export const APP_CONNECTIONS = (appKey: string) => `/app/${appKey}/connections`;
@@ -14,5 +15,6 @@ export const APP_RECONNECT_CONNECTION_PATTERN = '/app/:appKey/connections/:conne
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 CREATE_FLOW = '/editor/create';
export const FLOW = (flowKey: string) => `/flows/${flowKey}`;
export const FLOW_PATTERN = '/flows/:flowKey';
export const FLOW_PATTERN = '/flows/:flowKey';