fix: Add datasets list access control and fix datasets config display issue (#12533)

Co-authored-by: nite-knite <nkCoding@gmail.com>
This commit is contained in:
Wu Tianwei
2025-01-09 17:44:11 +08:00
committed by GitHub
parent f549d53b68
commit 2e97ba5700
11 changed files with 174 additions and 50 deletions

View File

@@ -132,6 +132,17 @@ export type FileItem = {
progress: number
}
export type FetchDatasetsParams = {
url: string
params: {
page: number
tag_ids?: string[]
limit: number
include_all: boolean
keyword?: string
}
}
export type DataSetListResponse = {
data: DataSet[]
has_more: boolean