Files
SheetHappens/types/incident.ts
T

17 lines
351 B
TypeScript

export type IncidentStatus = "open" | "resolved";
export interface Incident {
id: string;
title: string;
service: string;
symptom: string;
rootCause: string;
fix: string;
status: IncidentStatus;
createdAt: string;
updatedAt: string;
tags: string[];
}
export type IncidentDraft = Omit<Incident, "id" | "createdAt" | "updatedAt">;