2023-06-22 15:38:12 -07:00
|
|
|
|
import { randFirstName, randLastName } from '@ngneat/falso';
|
2023-06-15 04:40:23 -07:00
|
|
|
|
|
2023-06-22 15:38:12 -07:00
|
|
|
|
export const BACKEND_BASE_URL = 'http://localhost:5678';
|
2022-11-08 04:21:10 -08:00
|
|
|
|
export const N8N_AUTH_COOKIE = 'n8n-auth';
|
|
|
|
|
|
2023-06-22 15:38:12 -07:00
|
|
|
|
const DEFAULT_USER_PASSWORD = 'CypressTest123';
|
|
|
|
|
|
|
|
|
|
export const INSTANCE_OWNER = {
|
|
|
|
|
email: 'nathan@n8n.io',
|
|
|
|
|
password: DEFAULT_USER_PASSWORD,
|
|
|
|
|
firstName: randFirstName(),
|
|
|
|
|
lastName: randLastName(),
|
|
|
|
|
};
|
|
|
|
|
|
2023-12-06 05:31:06 -08:00
|
|
|
|
export const INSTANCE_ADMIN = {
|
|
|
|
|
email: 'admin@n8n.io',
|
|
|
|
|
password: DEFAULT_USER_PASSWORD,
|
|
|
|
|
firstName: randFirstName(),
|
|
|
|
|
lastName: randLastName(),
|
|
|
|
|
};
|
|
|
|
|
|
2023-06-22 15:38:12 -07:00
|
|
|
|
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(),
|
|
|
|
|
},
|
|
|
|
|
];
|
2022-12-14 01:33:44 -08:00
|
|
|
|
|
|
|
|
|
export const MANUAL_TRIGGER_NODE_NAME = 'Manual Trigger';
|
2024-05-30 07:53:33 -07:00
|
|
|
|
export const MANUAL_TRIGGER_NODE_DISPLAY_NAME = 'When clicking ‘Test workflow’';
|
2024-01-09 03:11:39 -08:00
|
|
|
|
export const MANUAL_CHAT_TRIGGER_NODE_NAME = 'Chat Trigger';
|
2024-08-05 04:59:02 -07:00
|
|
|
|
export const CHAT_TRIGGER_NODE_DISPLAY_NAME = 'When chat message received';
|
2022-12-14 01:33:44 -08:00
|
|
|
|
export const SCHEDULE_TRIGGER_NODE_NAME = 'Schedule Trigger';
|
2022-12-15 07:39:59 -08:00
|
|
|
|
export const CODE_NODE_NAME = 'Code';
|
|
|
|
|
export const SET_NODE_NAME = 'Set';
|
2023-09-19 03:16:35 -07:00
|
|
|
|
export const EDIT_FIELDS_SET_NODE_NAME = 'Edit Fields';
|
2023-12-13 05:45:22 -08:00
|
|
|
|
export const IF_NODE_NAME = 'If';
|
2023-02-08 05:48:28 -08:00
|
|
|
|
export const MERGE_NODE_NAME = 'Merge';
|
|
|
|
|
export const SWITCH_NODE_NAME = 'Switch';
|
2023-01-27 00:05:43 -08:00
|
|
|
|
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';
|
2023-11-29 03:13:55 -08:00
|
|
|
|
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';
|
2024-07-23 07:40:28 -07:00
|
|
|
|
export const AI_TOOL_CODE_NODE_NAME = 'Code Tool';
|
2023-11-29 03:13:55 -08:00
|
|
|
|
export const AI_TOOL_WIKIPEDIA_NODE_NAME = 'Wikipedia';
|
2024-07-24 05:10:16 -07:00
|
|
|
|
export const AI_TOOL_HTTP_NODE_NAME = 'HTTP Request Tool';
|
2023-11-29 03:13:55 -08:00
|
|
|
|
export const AI_LANGUAGE_MODEL_OPENAI_CHAT_MODEL_NODE_NAME = 'OpenAI Chat Model';
|
2024-08-02 07:00:09 -07:00
|
|
|
|
export const AI_MEMORY_POSTGRES_NODE_NAME = 'Postgres Chat Memory';
|
2023-11-29 03:13:55 -08:00
|
|
|
|
export const AI_OUTPUT_PARSER_AUTO_FIXING_NODE_NAME = 'Auto-fixing Output Parser';
|
2024-05-29 03:51:33 -07:00
|
|
|
|
export const WEBHOOK_NODE_NAME = 'Webhook';
|
2022-12-20 01:33:20 -08:00
|
|
|
|
|
2024-06-11 05:45:15 -07:00
|
|
|
|
export const META_KEY = Cypress.platform === 'darwin' ? 'meta' : 'ctrl';
|
2023-01-27 00:05:43 -08:00
|
|
|
|
|
|
|
|
|
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';
|
2023-11-29 03:13:55 -08:00
|
|
|
|
|
|
|
|
|
export const ROUTES = {
|
|
|
|
|
NEW_WORKFLOW_PAGE: '/workflow/new',
|
|
|
|
|
};
|