Browse Source

update attachment interface

ryoji-s 3 years ago
parent
commit
61a183cc97
1 changed files with 2 additions and 2 deletions
  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 = {
 export type IAttachment = {
   page?: Ref<IPage>,
   page?: Ref<IPage>,
   creator?: Ref<IUser>,
   creator?: Ref<IUser>,
-
+  createdAt: Date,
+  fileSize: number,
   // virtual property
   // virtual property
   filePathProxied: string,
   filePathProxied: string,
-
   fileFormat: string,
   fileFormat: string,
   downloadPathProxied: string,
   downloadPathProxied: string,
   originalName: string,
   originalName: string,