14 lines
212 B
TypeScript
14 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>
|
|
}
|
|
}
|