Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

579 B
Raw Blame
export type DataSourceNodeProcessingResponse = {
  event: 'datasource_processing'
  total: number
  completed: number
}

type OnlineDriveFile = {
  id: string
  name: string
  size: number
  type: 'file' | 'folder'
}

export type OnlineDriveData = {
  bucket: string
  files: OnlineDriveFile[]
  is_truncated: boolean
  next_page_parameters: Record<string, unknown>
}

export type DataSourceNodeCompletedResponse = {
  event: 'datasource_completed'
  data: any
  time_consuming: number
}

export type DataSourceNodeErrorResponse = {
  event: 'datasource_error'
  error: string
}