OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/modules/github_integration/frontend/module/typings.d.ts

55 lines
1.1 KiB

import { HalResourceClass } from 'core-app/modules/hal/resources/hal-resource';
export interface ISnippet {
id:string;
name:string;
textToCopy:() => string
}
export interface IGithubPullRequestResource extends HalResourceClass {
additionsCount?:number;
body?:{
format?:string;
raw?:string;
html?:string;
},
changedFilesCount?:number;
commentsCount?:number;
createdAt?:string;
deletionsCount?:number;
draft?:boolean;
githubUpdatedAt?:string;
htmlUrl?:string;
id?:number;
labels?:string[];
merged?:boolean;
mergedAt?:string;
mergedBy?:IGithubUserResource;
number?:number;
repository?:string;
reviewCommentsCount?:number;
state?:string;
title?:string;
updatedAt?:string;
githubUser?:IGithubUserResource;
checkRuns?:IGithubCheckRunResource[];
}
export interface IGithubUserResource {
avatarUrl:string;
htmlUrl:string;
login:string;
}
export interface IGithubCheckRunResource {
appOwnerAvatarUrl:string;
completedAt:string;
conclusion:string;
detailsUrl:string;
htmlUrl:string;
name:string;
outputSummary:string;
outputTitle:string;
startedAt:string;
status:string;
}