mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
12 lines
249 B
TypeScript
12 lines
249 B
TypeScript
import type { APIPollOption } from "./poll_option";
|
|
|
|
export interface APIPoll {
|
|
id: string;
|
|
expires_at: string | null;
|
|
expired: boolean;
|
|
multiple: boolean;
|
|
votes_count: number;
|
|
options: APIPollOption[];
|
|
voted: boolean;
|
|
}
|