add: Megalodon, initial mastodon api
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/// <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>;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user