index.ts 681 Bytes
import type { CategoryConfigType, NodeItemConfigType } from '../../types/node';
import { RuleNodeTypeEnum } from '../index.type';
import { AcknowledgeConfig } from './Acknowledge';
import { CheckpointConfig } from './Checkpoint';
import { RuleChainConfig } from './RuleChain';
import { OutputConfig } from './Output';

export const FlowCategoryConfig: CategoryConfigType = {
  category: RuleNodeTypeEnum.FLOW,
  title: 'Flow',
  backgroundColor: '#d6c4f1',
  icon: 'material-symbols:settings-ethernet',
  description: 'Organizes message flow',
};

export const FlowComponents: NodeItemConfigType[] = [
  AcknowledgeConfig,
  CheckpointConfig,
  OutputConfig,
  RuleChainConfig,
];