Add http base authentication for gist

This commit is contained in:
DefectingCat
2022-06-20 16:12:43 +08:00
parent 2b5d71620c
commit becd9d988e
5 changed files with 89 additions and 11 deletions

View File

@ -114,6 +114,12 @@ export enum GistsOwnerType {
}
// Generated by https://quicktype.io
export interface SignalGist extends Gist {
forks: any[];
history: History[];
}
// Generated by https://quicktype.io
export interface GithubUser {
login: string;
id: number;
@ -137,7 +143,7 @@ export interface GithubUser {
company: null;
blog: string;
location: null;
email: null;
email: string;
hireable: null;
bio: string;
twitter_username: string;
@ -147,10 +153,18 @@ export interface GithubUser {
following: number;
created_at: string;
updated_at: string;
private_gists: number;
total_private_repos: number;
owned_private_repos: number;
disk_usage: number;
collaborators: number;
two_factor_authentication: boolean;
plan: Plan;
}
// Generated by https://quicktype.io
export interface SignalGist extends Gist {
forks: any[];
history: History[];
export interface Plan {
name: string;
space: number;
collaborators: number;
private_repos: number;
}