happy-server/sources/app/types.ts
2025-08-26 20:08:13 -07:00

39 lines
955 B
TypeScript

export interface GitHubProfile {
id: number;
login: string;
type: string;
site_admin: boolean;
avatar_url: string;
gravatar_id: string | null;
name: string | null;
company: string | null;
blog: string | null;
location: string | null;
email: string | null;
hireable: boolean | null;
bio: string | null;
twitter_username: string | null;
public_repos: number;
public_gists: number;
followers: number;
following: number;
created_at: string;
updated_at: string;
// Private user fields (only available when authenticated)
private_gists?: number;
total_private_repos?: number;
owned_private_repos?: number;
disk_usage?: number;
collaborators?: number;
two_factor_authentication?: boolean;
plan?: {
collaborators: number;
name: string;
space: number;
private_repos: number;
};
}
export interface GitHubOrg {
}