| 1 | // TODO-FE: refactor |
| 2 | export interface Artifact { |
| 3 | description: string |
| 4 | name: string |
| 5 | author?: string | null |
| 6 | precondition?: string | null |
| 7 | parameters?: ArtifactParameter[] |
| 8 | } |
| 9 | |
| 10 | export interface ArtifactParameter { |
| 11 | name: string |
| 12 | description?: string |
| 13 | type?: string |
| 14 | default?: string | boolean | null |
| 15 | } |
| 16 | |
| 17 | export interface CollectResult { |
| 18 | [key: string]: string | number | null | object |
| 19 | } |
| 20 | |
| 21 | export interface CommandResult { |
| 22 | Stdout: string |
| 23 | Stderr: string |
| 24 | ReturnCode: number |
| 25 | Complete: boolean |
| 26 | } |
| 27 | |
| 28 | export interface QuarantineResult { |
| 29 | Time: string |
| 30 | Result: string |
| 31 | } |
| 32 | |
| 33 | export interface Recommendation { |
| 34 | name: string |
| 35 | description: string |
| 36 | explanation: string |
| 37 | } |
| 38 | |
| 39 | export interface MatchingParameter { |
| 40 | name: string |
| 41 | description: string |
| 42 | type: string |
| 43 | default?: string |
| 44 | } |
| 45 | |
| 46 | export interface FileCollection { |
| 47 | flow_id?: string |
| 48 | session_id?: string |
| 49 | } |