refactor: update data source handling and replace icon implementation

This commit is contained in:
twwu
2025-05-27 13:52:43 +08:00
parent 6bd28cadc4
commit 049a6de4b3
5 changed files with 20 additions and 31 deletions

View File

@ -7,9 +7,9 @@ import type { Viewport } from 'reactflow'
import type { TransferMethod } from '@/types/app'
export enum DatasourceType {
localFile = 'local-file',
onlineDocument = 'online-document',
websiteCrawl = 'website-crawl',
localFile = 'local_file',
onlineDocument = 'online_document',
websiteCrawl = 'website_crawl',
}
export type PipelineTemplateListParams = {