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