X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/97de0bf90660e72220f350483981e35d53a5998f..5e020488f67b5bc919796e0dc8b0b9f3b3ff23b0:/src/models/mount-types.ts diff --git a/src/models/mount-types.ts b/src/models/mount-types.ts index ec48c852..db87db18 100644 --- a/src/models/mount-types.ts +++ b/src/models/mount-types.ts @@ -8,7 +8,7 @@ export enum MountKind { TEMPORARY_DIRECTORY = 'tmp', KEEP = 'keep', MOUNTED_FILE = 'file', - JSON = 'JSON' + JSON = 'json' } export type MountType = @@ -16,12 +16,13 @@ export type MountType = GitTreeMount | TemporaryDirectoryMount | KeepMount | - JSONMount; + JSONMount | + FileMount; export interface CollectionMount { kind: MountKind.COLLECTION; uuid?: string; - portableDataHash?: string; + portable_data_hash?: string; path?: string; writable?: boolean; } @@ -52,5 +53,10 @@ export interface KeepMount { export interface JSONMount { kind: MountKind.JSON; - content: string; + content: any; +} + +export interface FileMount { + kind: MountKind.MOUNTED_FILE; + path: string; }