Files
oneuptime/Common/Server/Services/IncidentPostmortemTemplateService.ts
Nawaz Dhandala 668093b09c feat(incident): add postmortem template & postmortem note feed support
- 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
2025-10-30 12:27:13 +00:00

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();