feat: Generate operator names in an auto-incremental manner #1739 (#2844)

### What problem does this PR solve?

feat: Generate operator names in an auto-incremental manner #1739

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
This commit is contained in:
balibabu
2024-10-15 15:36:09 +08:00
committed by GitHub
parent b540d41cdc
commit fcabdf7745
2 changed files with 59 additions and 2 deletions

View File

@ -75,6 +75,10 @@ export enum Operator {
Note = 'Note',
}
export const CommonOperatorList = Object.values(Operator).filter(
(x) => x !== Operator.Note,
);
export const operatorIconMap = {
[Operator.Retrieval]: RocketOutlined,
[Operator.Generate]: MergeCellsOutlined,