import ScanResultEntry from '~/models/scan-result-entry'; export default class ScanResultEntryFlattened implements ScanResultEntry { readonly id: string; readonly completed: boolean; readonly succeeded: boolean | null; readonly threats: string[]; constructor(id: string, completed: boolean, succeeded: boolean | null, threats: string[]) { this.id = id; this.completed = completed; this.succeeded = succeeded; this.threats = threats; } }