Constants
GitHubReasons
A set of constants representing possible reasons for a GitHub event.
Explanations for each reason can be found in the GitHub Docs.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Provides type definitions for working with GitHub notification events.
GitHubReasonsExplanations for each reason can be found in the GitHub Docs.
export const GitHubReasons: {
Assign: 'assign';
Author: 'author';
Comment: 'comment';
Invitation: 'invitation';
Manual: 'manual';
Mention: 'mention';
ReviewRequested: 'review_requested';
SecurityAlert: 'security_alert';
StateChange: 'state_change';
Subscribed: 'subscribed';
TeamMention: 'team_mention';
CiActivity: 'ci_activity';
};
GitHubTypesexport const GitHubTypes: {
CheckSuite: 'CheckSuite';
Commit: 'Commit';
Discussion: 'Discussion';
Issue: 'Issue';
PullRequest: 'PullRequest';
Release: 'Release';
RepositoryVulnerabilityAlert: 'RepositoryVulnerabilityAlert';
};
GitHubEventinterface GitHubEvent {
title: string;
url: string;
reason: string;
type: string;
repository: GitHubRepository;
}
GitHubRepositoryinterface GitHubRepository {
fullName: string;
name: string;
url: string;
private: boolean;
description: string;
fork: boolean;
owner: GitHubOwner;
}
GitHubOwnerinterface GitHubOwner {
login: string;
url: string;
type: string;
siteAdmin: boolean;
}