Interface PullRequest

interface PullRequest {
    author: User;
    destination: PullRequestDestination;
    id: number;
    source: PullRequestSource;
    state: "MERGED" | "SUPERSEDED" | "OPEN" | "DECLINED";
    summary: {
        html: string;
        markup: "markdown" | "creole" | "plaintext";
        raw: string;
    };
    taskCount: number;
    title: string;
    get labels(): LabelRefCollection;
}

Properties

author: User
destination: PullRequestDestination
id: number
source: PullRequestSource
state: "MERGED" | "SUPERSEDED" | "OPEN" | "DECLINED"
summary: {
    html: string;
    markup: "markdown" | "creole" | "plaintext";
    raw: string;
}

Type declaration

  • html: string
  • markup: "markdown" | "creole" | "plaintext"
  • raw: string
taskCount: number
title: string

Accessors

Generated using TypeDoc