@dxdeveloperexperience/hygie
Version:
Hygie is an easy-to-use Open-Source REST API allowing you to interact with GIT events. This NestJS API expose a set of customizable rules to automate your project's life cycle.
70 lines (65 loc) • 983 B
text/typescript
/**
* GithubIssue dto
*/
export interface GithubIssue {
pull_request?: any;
number: number;
title: string;
body: string;
}
/**
* GithubRepository dto
*/
export interface GithubRepository {
full_name: string;
name: string;
description: string;
clone_url: string;
default_branch: string;
}
/**
* GithubCommit dto
*/
export interface GithubCommit {
message: string;
id: string;
added: string[];
modified: string[];
removed: string[];
}
/**
* GithubSender dto
*/
export interface GithubSender {
login: string;
}
/**
* GithubHeadPR dto
*/
export interface GithubHeadPR {
ref: string;
}
/**
* GithubBasePR dto
*/
export interface GithubBasePR {
ref: string;
}
/**
* GithubPullRequest dto
*/
export interface GithubPullRequest {
state: string;
title: string;
body: string;
merged: boolean;
head: GithubHeadPR;
base: GithubBasePR;
}
/**
* GithubComment dto
*/
export interface GithubComment {
id: number;
body: string;
}