interfaces/ts/data/incident.ts

23 lines
516 B
TypeScript
Raw Normal View History

2022-07-16 15:45:10 +00:00
import * as plugins from '../ul-interfaces.plugins.js';
2021-09-26 14:11:41 +00:00
export interface IIncident {
timestamp: number;
firstResponseTimestamp?: number;
/**
2022-07-16 15:45:10 +00:00
* indicates
2021-09-26 14:11:41 +00:00
*/
status: 'discovered' | 'investigating' | 'fixing' | 'fixImplemented' | 'watching' | 'resolved';
creationMode: 'monitor' | 'manual';
assignedUserId?: string;
postMortemLink?: string;
updates: {
markdownText: string;
2022-07-16 15:45:10 +00:00
type: 'comment' | 'manualUpdate' | 'automaticUpdate';
2021-09-26 14:11:41 +00:00
}[];
justForLooks: {
isoTimestamp: string;
2022-07-16 15:45:10 +00:00
};
}