GitHub Star Event
GitHub star webhook payload with created/deleted action and timestamp.
github
Install
$ npx shadcn@latest add @open-types/github-star-event
Dependencies
Source
import type {
GitHubUser,
GitHubRepository,
GitHubOrganization,
} from "./github-shared";
export type GitHubStarEventAction = "created" | "deleted";
export interface GitHubStarEvent {
action: GitHubStarEventAction;
starred_at: string | null;
repository: GitHubRepository;
sender: GitHubUser;
organization?: GitHubOrganization;
}
import type {
GitHubUser,
GitHubRepository,
GitHubOrganization,
} from "./github-shared";
export type GitHubStarEventAction = "created" | "deleted";
export interface GitHubStarEvent {
action: GitHubStarEventAction;
starred_at: string | null;
repository: GitHubRepository;
sender: GitHubUser;
organization?: GitHubOrganization;
}