FileContext
Last updated on 13-May-2020 by Jakob Jakobsen Boysen
On this page
- Definition
- Properties
entity:
Entity
- [
fileInfos:
FileInfo[]
](#fileinfos-fileinfofile-info)
- Variations
- Properties
Definition
interface FileContext {
entity?: Entity;
fileInfos: FileInfo[];
[key: string]: any;
}
Properties
entity:
Entity
entity:
If used on an entity detail page, this will be set.
fileInfos:
FileInfo[]
fileInfos:
An array of files uploaded by the user.
Variations
From ELN
interface FileContext {
...
experiment: Entity;
steps: Entity[];
resultSets: Entity[];
}
From Result Set
interface FileContext {
...
resultSet: Entity;
experiment: Entity;
step: Entity;
}