|
@@ -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
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
/*
|