投票支持
This commit is contained in:
@@ -174,6 +174,59 @@ export type CachedStatusAttachment = {
|
||||
description: string | null;
|
||||
};
|
||||
|
||||
export type Poll = {
|
||||
id: string;
|
||||
status_id: string;
|
||||
user_id: string;
|
||||
expires_at: string | null;
|
||||
multiple: number;
|
||||
hide_totals: number;
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
export type PollOption = {
|
||||
poll_id: string;
|
||||
position: number;
|
||||
title: string;
|
||||
};
|
||||
|
||||
export type PollVote = {
|
||||
poll_id: string;
|
||||
position: number;
|
||||
voter_actor: string;
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
export type AccountList = {
|
||||
id: string;
|
||||
user_id: string;
|
||||
title: string;
|
||||
replies_policy: string;
|
||||
exclusive: number;
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
export type PushSubscription = {
|
||||
id: string;
|
||||
user_id: string;
|
||||
endpoint: string;
|
||||
server_key: string;
|
||||
auth: string;
|
||||
alerts_json: string;
|
||||
policy: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
};
|
||||
|
||||
export type ScheduledStatus = {
|
||||
id: string;
|
||||
user_id: string;
|
||||
params_json: string;
|
||||
media_ids_json: string;
|
||||
scheduled_at: string;
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
export type OAuthToken = {
|
||||
token: string;
|
||||
user_id: string;
|
||||
|
||||
Reference in New Issue
Block a user