interfaces/ts/data/incident.ts
2021-09-26 16:11:41 +02:00

22 lines
511 B
TypeScript

import * as plugins from '../ul-interfaces.plugins';
export interface IIncident {
timestamp: number;
firstResponseTimestamp?: number;
/**
* indicates
*/
status: 'discovered' | 'investigating' | 'fixing' | 'fixImplemented' | 'watching' | 'resolved';
creationMode: 'monitor' | 'manual';
assignedUserId?: string;
postMortemLink?: string;
updates: {
markdownText: string;
type: 'comment' | 'manualUpdate' | 'automaticUpdate'
}[];
justForLooks: {
isoTimestamp: string;
}
}