X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/cba0f400f56889778321bdc0fdcf6cee236f6a79..a8595bc84a3272c75e6d3163db1d6031cd166bd7:/src/models/mount-types.ts diff --git a/src/models/mount-types.ts b/src/models/mount-types.ts index ec48c852..52b29499 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,7 +16,8 @@ export type MountType = GitTreeMount | TemporaryDirectoryMount | KeepMount | - JSONMount; + JSONMount | + FileMount; export interface CollectionMount { kind: MountKind.COLLECTION; @@ -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; }