mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-21 16:00:59 -05:00
Made an interface that represents GitHub Webhook payload
This commit is contained in:
parent
9ec2a47202
commit
14a3dedd03
1 changed files with 11 additions and 0 deletions
11
src/platforms/github/github-webhook-payload.ts
Normal file
11
src/platforms/github/github-webhook-payload.ts
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue