fix: Exports show as 0 bytes

This commit is contained in:
Tom Moor
2022-05-15 07:10:35 +01:00
parent 06d966ad0c
commit bca66f7415
3 changed files with 30 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
import { Context } from "koa";
import { User } from "./models";
import { FileOperation, User } from "./models";
export type ContextWithState = Context & {
state: {
@@ -112,14 +112,7 @@ export type FileOperationEvent = {
teamId: string;
actorId: string;
modelId: string;
data: {
type: string;
state: string;
id: string;
size: number;
createdAt: string;
collectionId: string;
};
data: Partial<FileOperation>;
};
export type CollectionEvent =