@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.
38 lines (33 loc) • 672 B
text/typescript
export enum IssuePRStateEnum {
Open = 'Open',
Close = 'Close',
All = 'All',
Undefined = 'Undefined',
}
export enum IssueSortEnum {
Asc = 'Asc',
Desc = 'Desc',
}
/**
* Provide all informations needed to interact with an Issue via a Git API
*/
export class GitIssueInfos {
comment: string;
number: string;
title: string;
state: IssuePRStateEnum;
labels: string[];
assignees: string[];
description: string;
}
/**
* Provide all search parameters to fetch Issues througth a Git API
*/
export class GitIssuePRSearch {
sort: IssueSortEnum;
state: IssuePRStateEnum;
}
export class IssueSearchResult {
number: number;
updatedAt: string;
}