feat: Add input parameter to begin operator #3355 (#3375)

### What problem does this PR solve?

feat: Add input parameter to begin operator #3355

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-11-13 14:54:10 +08:00
committed by GitHub
parent 9fc092a911
commit 1fe9a2e6fd
8 changed files with 443 additions and 17 deletions

View File

@ -2859,3 +2859,23 @@ export const TuShareSrcOptions = [
'jinrongjie',
];
export const CrawlerResultOptions = ['markdown', 'html', 'content'];
export enum BeginQueryType {
Line = 'line',
Paragraph = 'paragraph',
Options = 'options',
File = 'file',
Integer = 'integer',
Boolean = 'boolean',
Url = 'url',
}
export const BeginQueryTypeMap = {
[BeginQueryType.Line]: 'input',
[BeginQueryType.Paragraph]: 'textarea',
[BeginQueryType.Options]: 'select',
[BeginQueryType.File]: 'file',
[BeginQueryType.Integer]: 'inputnumber',
[BeginQueryType.Boolean]: 'switch',
[BeginQueryType.Url]: 'input',
};