UNPKG

@vssue/api-github-v3

Version:

Vssue api for github v3

38 lines (37 loc) 789 B
export interface ResponseAccessToken { access_token: string; } export interface ResponseUser { login: string; html_url: string; avatar_url: string; } export interface ResponseIssue { number: number; title: string; body: string; html_url: string; comments: number; } export interface ResponseComment { id: number; user: ResponseUser; body: string; body_html: string; created_at: string; updated_at: string; reactions: ResponseReactionsSummary; } export interface ResponseReaction { id: number; content: '+1' | '-1' | 'heart' | string; } export interface ResponseReactionsSummary { '+1': number; '-1': number; heart: number; } export interface ResponseSearch<T> { total_count: number; items: T[]; }