huridocs/uwazi

View on GitHub
app/api/templates/events/TemplateUpdatedEvent.ts

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import { AbstractEvent } from 'api/eventsbus';
import { TemplateSchema } from 'shared/types/templateType';

interface TemplateUpdatedData {
  before: TemplateSchema;
  after: TemplateSchema;
}

export class TemplateUpdatedEvent extends AbstractEvent<TemplateUpdatedData> {}