mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
af49e95cc7
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Jesper Bylund <mail@jesperbylund.com> Co-authored-by: OlegIvaniv <me@olegivaniv.com> Co-authored-by: Deborah <deborah@starfallprojects.co.uk> Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com> Co-authored-by: Jon <jonathan.bennetts@gmail.com> Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com> Co-authored-by: Giulio Andreini <andreini@netseven.it> Co-authored-by: Mason Geloso <Mason.geloso@gmail.com> Co-authored-by: Mason Geloso <hone@Masons-Mac-mini.local> Co-authored-by: Mutasem Aldmour <mutasem@n8n.io>
71 lines
2.4 KiB
TypeScript
71 lines
2.4 KiB
TypeScript
import { randFirstName, randLastName } from '@ngneat/falso';
|
|
|
|
export const BACKEND_BASE_URL = 'http://localhost:5678';
|
|
export const N8N_AUTH_COOKIE = 'n8n-auth';
|
|
|
|
const DEFAULT_USER_PASSWORD = 'CypressTest123';
|
|
|
|
export const INSTANCE_OWNER = {
|
|
email: 'nathan@n8n.io',
|
|
password: DEFAULT_USER_PASSWORD,
|
|
firstName: randFirstName(),
|
|
lastName: randLastName(),
|
|
};
|
|
|
|
export const INSTANCE_ADMIN = {
|
|
email: 'admin@n8n.io',
|
|
password: DEFAULT_USER_PASSWORD,
|
|
firstName: randFirstName(),
|
|
lastName: randLastName(),
|
|
};
|
|
|
|
export const INSTANCE_MEMBERS = [
|
|
{
|
|
email: 'rebecca@n8n.io',
|
|
password: DEFAULT_USER_PASSWORD,
|
|
firstName: randFirstName(),
|
|
lastName: randLastName(),
|
|
},
|
|
{
|
|
email: 'mustafa@n8n.io',
|
|
password: DEFAULT_USER_PASSWORD,
|
|
firstName: randFirstName(),
|
|
lastName: randLastName(),
|
|
},
|
|
];
|
|
|
|
export const MANUAL_TRIGGER_NODE_NAME = 'Manual Trigger';
|
|
export const MANUAL_TRIGGER_NODE_DISPLAY_NAME = 'When clicking "Test Workflow"';
|
|
export const MANUAL_CHAT_TRIGGER_NODE_NAME = 'Chat Trigger';
|
|
export const SCHEDULE_TRIGGER_NODE_NAME = 'Schedule Trigger';
|
|
export const CODE_NODE_NAME = 'Code';
|
|
export const SET_NODE_NAME = 'Set';
|
|
export const EDIT_FIELDS_SET_NODE_NAME = 'Edit Fields';
|
|
export const IF_NODE_NAME = 'If';
|
|
export const MERGE_NODE_NAME = 'Merge';
|
|
export const SWITCH_NODE_NAME = 'Switch';
|
|
export const GMAIL_NODE_NAME = 'Gmail';
|
|
export const TRELLO_NODE_NAME = 'Trello';
|
|
export const NOTION_NODE_NAME = 'Notion';
|
|
export const PIPEDRIVE_NODE_NAME = 'Pipedrive';
|
|
export const HTTP_REQUEST_NODE_NAME = 'HTTP Request';
|
|
export const AGENT_NODE_NAME = 'AI Agent';
|
|
export const BASIC_LLM_CHAIN_NODE_NAME = 'Basic LLM Chain';
|
|
export const AI_MEMORY_WINDOW_BUFFER_MEMORY_NODE_NAME = 'Window Buffer Memory';
|
|
export const AI_TOOL_CALCULATOR_NODE_NAME = 'Calculator';
|
|
export const AI_TOOL_CODE_NODE_NAME = 'Custom Code Tool';
|
|
export const AI_TOOL_WIKIPEDIA_NODE_NAME = 'Wikipedia';
|
|
export const AI_LANGUAGE_MODEL_OPENAI_CHAT_MODEL_NODE_NAME = 'OpenAI Chat Model';
|
|
export const AI_OUTPUT_PARSER_AUTO_FIXING_NODE_NAME = 'Auto-fixing Output Parser';
|
|
|
|
export const META_KEY = Cypress.platform === 'darwin' ? '{meta}' : '{ctrl}';
|
|
|
|
export const NEW_GOOGLE_ACCOUNT_NAME = 'Gmail account';
|
|
export const NEW_TRELLO_ACCOUNT_NAME = 'Trello account';
|
|
export const NEW_NOTION_ACCOUNT_NAME = 'Notion account';
|
|
export const NEW_QUERY_AUTH_ACCOUNT_NAME = 'Query Auth account';
|
|
|
|
export const ROUTES = {
|
|
NEW_WORKFLOW_PAGE: '/workflow/new',
|
|
};
|