1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2024-12-24 22:22:41 +00:00
setup-node/node_modules/@actions/github/lib/interfaces.d.ts
Danny McCormick 5273d0df9c Add auth
2019-08-06 18:29:44 -04:00

36 lines
740 B
TypeScript

export interface PayloadRepository {
[key: string]: any;
full_name?: string;
name: string;
owner: {
[key: string]: any;
login: string;
name?: string;
};
html_url?: string;
}
export interface WebhookPayload {
[key: string]: any;
repository?: PayloadRepository;
issue?: {
[key: string]: any;
number: number;
html_url?: string;
body?: string;
};
pull_request?: {
[key: string]: any;
number: number;
html_url?: string;
body?: string;
};
sender?: {
[key: string]: any;
type: string;
};
action?: string;
installation?: {
id: number;
[key: string]: any;
};
}