huridocs/uwazi

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

Summary

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

interface EntityDeletedData {
  entity: EntitySchema[];
}

class EntityDeletedEvent extends AbstractEvent<EntityDeletedData> {}

export { EntityDeletedEvent };