projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 14430-shared-with-me-tree
[arvados-workbench2.git]
/
src
/
models
/
mount-types.ts
diff --git
a/src/models/mount-types.ts
b/src/models/mount-types.ts
index ec48c852450df5a239a546c3bc4c11c64d72806f..52b29499bbc6f91e3752ffc137b4e3aadd4ea4c3 100644
(file)
--- 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',
TEMPORARY_DIRECTORY = 'tmp',
KEEP = 'keep',
MOUNTED_FILE = 'file',
- JSON = '
JSON
'
+ JSON = '
json
'
}
export type MountType =
}
export type MountType =
@@
-16,7
+16,8
@@
export type MountType =
GitTreeMount |
TemporaryDirectoryMount |
KeepMount |
GitTreeMount |
TemporaryDirectoryMount |
KeepMount |
- JSONMount;
+ JSONMount |
+ FileMount;
export interface CollectionMount {
kind: MountKind.COLLECTION;
export interface CollectionMount {
kind: MountKind.COLLECTION;
@@
-52,5
+53,10
@@
export interface KeepMount {
export interface JSONMount {
kind: MountKind.JSON;
export interface JSONMount {
kind: MountKind.JSON;
- content: string;
+ content: any;
+}
+
+export interface FileMount {
+ kind: MountKind.MOUNTED_FILE;
+ path: string;
}
}