huridocs/uwazi

View on GitHub
app/api/files/events/FileCreatedEvent.ts

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import { AbstractEvent } from 'api/eventsbus';
import { WithId } from 'api/odm/model';

import { FileType } from 'shared/types/fileType';

interface FileCreationData {
  newFile: WithId<FileType>;
}

class FileCreatedEvent extends AbstractEvent<FileCreationData> {}

export { FileCreatedEvent };