barkey/packages/megalodon/src/misskey/entities/poll.ts
2023-09-25 01:49:57 +02:00

13 lines
212 B
TypeScript

namespace MisskeyEntity {
export type Choice = {
text: string
votes: number
isVoted: boolean
}
export type Poll = {
multiple: boolean
expiresAt: string
choices: Array<Choice>
}
}