UNPKG

osu-api-extended

Version:

Advanced osu! api wrapper cover all V2 and V1 endpoints, and provide useful tools

65 lines (64 loc) 1.53 kB
export interface CommentsActionsUnvoteResponse { comments: Comment[]; has_more: boolean; has_more_id: any; included_comments: any[]; pinned_comments: any[]; user_votes: any[]; user_follow: boolean; users: User[]; sort: string; cursor: Cursor; top_level_count: number; total: number; commentable_meta: CommentableMeum[]; } export interface Comment { id: number; parent_id: any; user_id: number; pinned: boolean; replies_count: number; votes_count: number; commentable_type: string; commentable_id: number; legacy_name: any; created_at: string; updated_at: string; deleted_at: any; edited_at: any; edited_by_id: any; message: string; message_html: string; } export interface User { avatar_url: string; country_code: string; default_group: string; id: number; is_active: boolean; is_bot: boolean; is_deleted: boolean; is_online: boolean; is_supporter: boolean; last_visit: string; pm_friends_only: boolean; profile_colour: any; username: string; } export interface Cursor { created_at: string; id: number; } export interface CommentableMeum { current_user_attributes?: CurrentUserAttributes; id?: number; type?: string; title: string; url?: string; owner_id?: number; owner_title?: string; } export interface CurrentUserAttributes { can_new_comment_reason: any; }