huridocs/uwazi

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

Summary

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

interface EntityCreatedData {
  entities: EntitySchema[];
  targetLanguageKey: string;
}

class EntityCreatedEvent extends AbstractEvent<EntityCreatedData> {}

export { EntityCreatedEvent };