mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
15 lines
270 B
TypeScript
15 lines
270 B
TypeScript
export type Poll = {
|
|
id: string;
|
|
expires_at: string | null;
|
|
expired: boolean;
|
|
multiple: boolean;
|
|
votes_count: number;
|
|
options: PollOption[];
|
|
voted: boolean;
|
|
};
|
|
|
|
export type PollOption = {
|
|
title: string;
|
|
votes_count: number | null;
|
|
};
|