Interface TravisCiNodeParameters

Source
interface TravisCiNodeParameters {
    additionalFields?:
        | { include?: string }
        | {
            include?: string;
            order?: "asc" | "desc";
            sortBy?:
                | "number"
                | "id"
                | "created_at"
                | "finished_at"
                | "started_at";
        }
        | {
            mergeMode?: | "replace"
            | "merge"
            | "deep_merge"
            | "deep_merge_append"
            | "deep_merge_prepend";
            message?: string;
        };
    branch?: string;
    buildId?: string;
    limit?: number;
    operation?: | "get"
    | "getAll"
    | "cancel"
    | "trigger"
    | "restart";
    resource?: "build";
    returnAll?: boolean;
    slug?: string;
}

Properties§

Source§

readonly additionalFields?:
    | { include?: string }
    | {
        include?: string;
        order?: "asc" | "desc";
        sortBy?:
            | "number"
            | "id"
            | "created_at"
            | "finished_at"
            | "started_at";
    }
    | {
        mergeMode?: | "replace"
        | "merge"
        | "deep_merge"
        | "deep_merge_append"
        | "deep_merge_prepend";
        message?: string;
    }

Default: {}

Source§

readonly branch?: string

Branch requested to be built

Source§

readonly buildId?: string

Value uniquely identifying the build

Source§

readonly limit?: number

Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":500}

Source§

readonly operation?: "get" | "getAll" | "cancel" | "trigger" | "restart"

Default: "cancel"

Source§

readonly resource?: "build"

Default: "build"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly slug?: string

Same as {ownerName}/{repositoryName}