sharkey/packages/megalodon/src/misskey/entities/poll.ts

14 lines
204 B
TypeScript
Raw Normal View History

2023-09-24 01:49:47 +09:00
namespace MisskeyEntity {
export type Choice = {
text: string;
votes: number;
isVoted: boolean;
};
export type Poll = {
multiple: boolean;
expiresAt: string;
choices: Array<Choice>;
};
}