File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -1185,22 +1185,26 @@ function jsonToCredential(cred: string): Credential {
1185
1185
1186
1186
// Dataset types
1187
1187
1188
- export type DatasetElementMeta = {
1188
+ export interface DatasetElementMeta {
1189
1189
name : string
1190
1190
description : string
1191
1191
}
1192
1192
1193
- export type DatasetElement = DatasetElementMeta & {
1193
+ export interface DatasetElement {
1194
+ name : string
1195
+ description : string
1194
1196
contents : string
1195
1197
}
1196
1198
1197
- export type DatasetMeta = {
1199
+ export interface DatasetMeta {
1198
1200
id : string
1199
1201
name : string
1200
1202
description : string
1201
1203
}
1202
1204
1203
- export type Dataset = DatasetMeta & {
1204
- baseDir : string
1205
+ export interface Dataset {
1206
+ id : string
1207
+ name : string
1208
+ description : string
1205
1209
elements : Record < string , DatasetElementMeta >
1206
1210
}
You can’t perform that action at this time.
0 commit comments