浏览代码

fix: add ids in FetchDatasetsParams (#13459)

Wu Tianwei 2 月之前
父节点
当前提交
33990426c1
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      web/models/datasets.ts

+ 3 - 2
web/models/datasets.ts

@@ -140,9 +140,10 @@ export type FetchDatasetsParams = {
   url: string
   params: {
     page: number
+    ids?: string[]
     tag_ids?: string[]
-    limit: number
-    include_all: boolean
+    limit?: number
+    include_all?: boolean
     keyword?: string
   }
 }