yup-live-chrome-extension/src/utils/types.ts

38 lines
642 B
TypeScript
Raw Normal View History

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
}
}
export interface Notification {
_id: string
action: string
image: string
invoker: {
username: string
eosname: string
}
like: boolean
post: {
postid: string
url: string
title: string
tag: string
}
seen: boolean
postid: string
rating: number
recipient: string
voter: string
createdAt: string
quantity?: string
message?: string
}