Made an interface that represents GitHub Webhook payload

This commit is contained in:
Kir_Antipov 2023-04-19 17:48:19 +00:00
parent 9ec2a47202
commit 14a3dedd03

View file

@ -0,0 +1,11 @@
import { GitHubRelease } from "./github-release";
/**
* Represents the payload of a GitHub webhook event.
*/
export interface GitHubWebhookPayload {
/**
* Information about the release associated with the webhook event, if applicable.
*/
release?: GitHubRelease;
}