15 lines
271 B
TypeScript
15 lines
271 B
TypeScript
|
/// <reference path="poll_option.ts" />
|
||
|
|
||
|
namespace Entity {
|
||
|
export type Poll = {
|
||
|
id: string;
|
||
|
expires_at: string | null;
|
||
|
expired: boolean;
|
||
|
multiple: boolean;
|
||
|
votes_count: number;
|
||
|
options: Array<PollOption>;
|
||
|
voted: boolean;
|
||
|
own_votes: Array<number>;
|
||
|
};
|
||
|
}
|