huridocs/uwazi

View on GitHub
app/api/entities/events/EntityUpdatedEvent.ts

Summary

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

interface EntityUpdatedData {
  before: EntitySchema[];
  after: EntitySchema[];
  targetLanguageKey: string;
}

class EntityUpdatedEvent extends AbstractEvent<EntityUpdatedData> {}

export { EntityUpdatedEvent };