2023-02-13 19:20:50 +00:00
|
|
|
export interface Vote {
|
|
|
|
influence: number
|
|
|
|
like: boolean
|
|
|
|
postid: string
|
|
|
|
rating: number
|
|
|
|
lastUpdated: string
|
|
|
|
timestamp: string
|
|
|
|
voter: string
|
|
|
|
_id: {
|
|
|
|
voteid: string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-07-20 06:57:07 +00:00
|
|
|
export interface Notification {
|
2023-02-13 19:20:50 +00:00
|
|
|
_id: string
|
2023-07-20 06:57:07 +00:00
|
|
|
eventType: string
|
|
|
|
count: number
|
|
|
|
senderYupScore: number
|
|
|
|
platform: string
|
|
|
|
meta: {
|
|
|
|
like?: boolean
|
|
|
|
quantity?: number
|
|
|
|
postid?: string
|
|
|
|
url?: string
|
|
|
|
message?: string
|
2023-04-13 00:32:37 +00:00
|
|
|
}
|
2023-07-20 06:57:07 +00:00
|
|
|
image: string
|
2023-02-13 19:20:50 +00:00
|
|
|
createdAt: string
|
2023-07-20 06:57:07 +00:00
|
|
|
senders: {
|
|
|
|
_id: string
|
|
|
|
handle: string
|
|
|
|
avatar: string
|
|
|
|
}[]
|
2023-02-13 19:20:50 +00:00
|
|
|
message?: string
|
2023-07-20 06:57:07 +00:00
|
|
|
}
|