mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
23 lines
433 B
TypeScript
23 lines
433 B
TypeScript
export type DataSourceNodeProcessingResponse = {
|
|
event: 'datasource_processing'
|
|
total: number
|
|
completed: number
|
|
}
|
|
|
|
export type DataSourceNodeError = {
|
|
event: 'datasource_error'
|
|
message: string
|
|
code?: string
|
|
}
|
|
|
|
export type DataSourceNodeCompletedResponse = {
|
|
event: 'datasource_completed'
|
|
data: any
|
|
time_consuming?: number
|
|
}
|
|
|
|
export type DataSourceNodeErrorResponse = {
|
|
event: 'datasource_error'
|
|
error: string
|
|
}
|