@daocloud-proto/baize 0.116.0 → 0.116.2
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.
|
@@ -109,8 +109,6 @@ export type Dataset = {
|
|
|
109
109
|
creationTimestamp?: GoogleProtobufTimestamp.Timestamp
|
|
110
110
|
labels?: {[key: string]: string}
|
|
111
111
|
annotations?: {[key: string]: string}
|
|
112
|
-
share?: boolean
|
|
113
|
-
sharedToWorkspaces?: BaizeManagement_apiWorkspaceV1alpha1Workspace.Workspace[]
|
|
114
112
|
boundPVC?: DatasetBoundPVC
|
|
115
113
|
lastSync?: GoogleProtobufTimestamp.Timestamp
|
|
116
114
|
resources?: BaizeCommonK8s.Resources
|
|
@@ -158,12 +156,16 @@ export type DataSourceOptionsHttp = {
|
|
|
158
156
|
headers?: {[key: string]: string}
|
|
159
157
|
}
|
|
160
158
|
|
|
159
|
+
export type DataSourceOptionsReference = {
|
|
160
|
+
sourceWorkspace?: BaizeManagement_apiWorkspaceV1alpha1Workspace.Workspace
|
|
161
|
+
}
|
|
162
|
+
|
|
161
163
|
|
|
162
164
|
/* baize modified */ export type BaseDataSourceOptions = {
|
|
163
165
|
}
|
|
164
166
|
|
|
165
167
|
export type DataSourceOptions = BaseDataSourceOptions
|
|
166
|
-
& OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope }>
|
|
168
|
+
& OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope; reference: DataSourceOptionsReference }>
|
|
167
169
|
|
|
168
170
|
export type SecretOptionsBasicAuth = {
|
|
169
171
|
username?: string
|
|
@@ -218,6 +220,7 @@ export type ListDatasetRequest = {
|
|
|
218
220
|
workspace?: number
|
|
219
221
|
cluster?: string
|
|
220
222
|
namespace?: string
|
|
223
|
+
sharedTo?: number
|
|
221
224
|
page?: BaizeCommonCommon.Pagination
|
|
222
225
|
}
|
|
223
226
|
|
|
@@ -250,7 +253,7 @@ export type SingleDatasetRequest = {
|
|
|
250
253
|
}
|
|
251
254
|
|
|
252
255
|
export type UpdateDatasetRequest = BaseUpdateDatasetRequest
|
|
253
|
-
& OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope }>
|
|
256
|
+
& OneOf<{ git: DataSourceOptionsGit; s3: DataSourceOptionsS3; http: DataSourceOptionsHttp; conda: DataSourceOptionsConda; huggingFace: DataSourceOptionsHuggingFace; modelScope: DataSourceOptionsModelScope; reference: DataSourceOptionsReference }>
|
|
254
257
|
|
|
255
258
|
export type DatasetActionRequest = {
|
|
256
259
|
workspace?: number
|