gatelineAPI reference

A work item as the diff view needs it: enough to name the item and show the approver what its membership was judged against, without shipping the scope and notes prose that belong on the artifact page.

interface SurfaceItemRef {
    id: string;
    path: string;
    status:
        | null
        | "done"
        | "pending"
        | "in-progress"
        | "in-review"
        | "review-approved"
        | "verified";
    statusText: string;
    surface: string[];
    title: string;
}

Properties

id: string
path: string

Run-relative path of the work item, for linking back to the record.

status:
    | null
    | "done"
    | "pending"
    | "in-progress"
    | "in-review"
    | "review-approved"
    | "verified"

Null when the status cell is not a word contracts/work-item.yaml names.

statusText: string

The status cell verbatim.

surface: string[]

The declared surface, verbatim — what membership below was judged against.

title: string