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:
parent
f549d53b68
commit
2e97ba5700
11 changed files with 174 additions and 50 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue