github.repository
Home > @runlightyear/github > Repository
Repository type
Documentation: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28\#get-a-repository
Signature:declare type Repository = {
id: number;
nodeId: string;
name: string;
fullName: string;
private: boolean;
owner: {
login: string;
id: number;
nodeId: string;
avatarUrl: string;
gravatarId: string;
url: string;
htmlUrl: string;
followersUrl: string;
followingUrl: string;
gistsUrl: string;
starredUrl: string;
subscriptionsUrl: string;
organizationsUrl: string;
reposUrl: string;
eventsUrl: string;
receivedEventsUrl: string;
type: string;
siteAdmin: boolean;
};
htmlUrl: string;
description: string | null;
fork: boolean;
url: string;
forksUrl: string;
keysUrl: string;
collaboratorsUrl: string;
teamsUrl: string;
hooksUrl: string;
issueEventsUrl: string;
eventsUrl: string;
assigneesUrl: string;
branchesUrl: string;
tagsUrl: string;
blobsUrl: string;
gitTagsUrl: string;
gitRefsUrl: string;
treesUrl: string;
statusesUrl: string;
languagesUrl: string;
stargazersUrl: string;
contributorsUrl: string;
subscribersUrl: string;
subscriptionUrl: string;
commitsUrl: string;
gitCommitsUrl: string;
commentsUrl: string;
issueCommentUrl: string;
contentsUrl: string;
compareUrl: string;
mergesUrl: string;
archiveUrl: string;
downloadsUrl: string;
issuesUrl: string;
pullsUrl: string;
milestonesUrl: string;
notificationsUrl: string;
labelsUrl: string;
releasesUrl: string;
deploymentsUrl: string;
createdAt: string;
updatedAt: string;
pushedAt: string;
gitUrl: string;
sshUrl: string;
cloneUrl: string;
svnUrl: string;
homepage: string | null;
size: number;
stargazersCount: number;
watchersCount: number;
language: string | null;
hasIssues: boolean;
hasProjects: boolean;
hasDownloads: boolean;
hasWiki: boolean;
hasPages: boolean;
hasDiscussions: boolean;
forksCount: number;
mirrorUrl: string | null;
archived: boolean;
disabled: boolean;
openIssuesCount: number;
license: string | null;
allowForking: boolean;
isTemplate: boolean;
webCommitSignoffRequired: boolean;
topics: string[];
visibility: string;
forks: number;
openIssues: number;
watchers: number;
defaultBranch: string;
};