X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f63f3a5360ae6381d4b332bf86ef52b4e22107fb..bf4ccae9e1adeb1fcb757a5539587a4b8cbf4d28:/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; }