mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-19 14:51:11 +02:00
14 lines
204 B
TypeScript
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>;
|
|
};
|
|
}
|