Przeglądaj źródła

update attachment interface

ryoji-s 3 lat temu
rodzic
commit
61a183cc97
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      packages/core/src/interfaces/attachment.ts

+ 2 - 2
packages/core/src/interfaces/attachment.ts

@@ -5,10 +5,10 @@ import { IUser } from './user';
 export type IAttachment = {
   page?: Ref<IPage>,
   creator?: Ref<IUser>,
-
+  createdAt: Date,
+  fileSize: number,
   // virtual property
   filePathProxied: string,
-
   fileFormat: string,
   downloadPathProxied: string,
   originalName: string,