firefish/packages/megalodon/src/misskey/entities/poll.ts
ThatOneCalculator a75a19cd17
chore: 🚨 lint megalodon
2023-09-01 16:36:33 -07:00

14 lines
204 B
TypeScript

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