frontend_nyla/src/components/Automation2FlowEditor/constants.ts
idittrich-valueon 896f7b5968 sharepoint nodes
2026-03-22 19:50:06 +01:00

38 lines
958 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Automation2 Flow Editor - Constants
* Category ordering for node sidebar.
*/
/** Node type IDs hidden from the sidebar (hidden, not removed still work when present in saved graphs) */
export const HIDDEN_NODE_IDS = new Set([
'trigger.schedule', // zeitplan
'trigger.formSubmit', // formular-absendung
'flow.ifElse',
'flow.switch',
'flow.merge',
'flow.loop',
'flow.wait',
'flow.stop', // alle abschnitt ablauf
'data.setFields',
'data.filter',
'data.parseJson',
'data.template', // alle abschnitt daten
'ai.webResearch',
'ai.summarizeDocument',
'ai.translateDocument',
'ai.convertDocument',
'ai.generateDocument',
'ai.generateCode', // alle KI ausser ai.prompt
'sharepoint.listFiles', // dateien auflisten
]);
/** Default category display order */
export const CATEGORY_ORDER = [
'trigger',
'input',
'flow',
'data',
'ai',
'email',
'sharepoint',
] as const;