mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- add IncidentPostmortemTemplate model and IncidentPostmortemTemplateService - expose model in Common/Models/DatabaseModels index and register API route in BaseAPI - add postmortemNote column to Incident model - add IncidentFeedEventType.PostmortemNote enum value - emit IncidentFeed item when postmortemNote is added/updated/cleared (IncidentService) - update Dashboard IncidentFeed to show Book icon for PostmortemNote events
11 lines
260 B
TypeScript
11 lines
260 B
TypeScript
import DatabaseService from "./DatabaseService";
|
|
import Model from "../../Models/DatabaseModels/IncidentPostmortemTemplate";
|
|
|
|
export class Service extends DatabaseService<Model> {
|
|
public constructor() {
|
|
super(Model);
|
|
}
|
|
}
|
|
|
|
export default new Service();
|