@daocloud-proto/baize 0.116.0 → 0.116.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -158,12 +158,16 @@ export type DataSourceOptionsHttp = {
158
158
  headers?: {[key: string]: string}
159
159
  }
160
160
 
161
+ export type DataSourceOptionsReference = {
162
+ sourceWorkspace?: number
163
+ }
164
+
161
165
 
162
166
  /* baize modified */ export type BaseDataSourceOptions = {
163
167
  }
164
168
 
165
169
  export type DataSourceOptions = BaseDataSourceOptions
166
- & OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope }>
170
+ & OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope; reference: DataSourceOptionsReference }>
167
171
 
168
172
  export type SecretOptionsBasicAuth = {
169
173
  username?: string
@@ -218,6 +222,7 @@ export type ListDatasetRequest = {
218
222
  workspace?: number
219
223
  cluster?: string
220
224
  namespace?: string
225
+ sharedTo?: number
221
226
  page?: BaizeCommonCommon.Pagination
222
227
  }
223
228
 
@@ -250,7 +255,7 @@ export type SingleDatasetRequest = {
250
255
  }
251
256
 
252
257
  export type UpdateDatasetRequest = BaseUpdateDatasetRequest
253
- & OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope }>
258
+ & OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope; reference: DataSourceOptionsReference }>
254
259
 
255
260
  export type DatasetActionRequest = {
256
261
  workspace?: number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/baize",
3
- "version": "v0.116.0",
3
+ "version": "v0.116.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"