kaori 4 лет назад
Родитель
Сommit
bcc78b199b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/src/interfaces/in-app-notification.ts

+ 2 - 2
packages/app/src/interfaces/in-app-notification.ts

@@ -3,13 +3,13 @@ import { IUser } from './user';
 import { IPage } from './page';
 import { IPage } from './page';
 
 
 export interface IInAppNotification {
 export interface IInAppNotification {
-  user: string
+  user: IUser
   targetModel: 'Page'
   targetModel: 'Page'
   target: IPage
   target: IPage
   action: 'COMMENT' | 'LIKE'
   action: 'COMMENT' | 'LIKE'
   status: string
   status: string
   actionUsers: IUser[]
   actionUsers: IUser[]
-  createdAt: string
+  createdAt: Date
 }
 }
 
 
 /*
 /*