Skip to content

@usine/config/board

Places Items with this GitHub label in the lane; Board moves can write the label.

  • Schema.Class

new LabelLaneSource(…args): LabelLaneSource

Parameter Type
…args [props: object, options?: MakeOptions]

LabelLaneSource

readonly label: string & Brand<"GitHubLabelName">


A named Board column containing Items that match any of its configured sources.

  • Schema.Class

new Lane(…args): Lane

Parameter Type
…args [props: object, options?: MakeOptions]

Lane

readonly name: string & Brand<"LaneName">

readonly sources: readonly (LabelLaneSource | StateLaneSource)[]


Places Items with this GitHub state in the lane; Board moves cannot change the state.

  • Schema.Class

new StateLaneSource(…args): StateLaneSource

Parameter Type
…args [props: object, options?: MakeOptions]

StateLaneSource

readonly state: "issue-open" | "issue-closed" | "pr-open" | "pr-closed" | "pr-merged"

LaneItemState = typeof LaneItemState.Type

An issue or pull-request state that can place an Item in a Board lane.


LaneName = typeof LaneName.Type

The operator-visible name of one lane on a Project’s Board.


LaneSource = typeof LaneSource.Type

A GitHub label or Item state that routes matching Items to a Board lane.

const LaneItemState: Schema.Literals<readonly ["issue-open", "issue-closed", "pr-open", "pr-closed", "pr-merged"]>

An issue or pull-request state that can place an Item in a Board lane.


const LaneName: Schema.brand<Schema.String, "LaneName">

The operator-visible name of one lane on a Project’s Board.


const LaneSource: Schema.Union<readonly [typeof LabelLaneSource, typeof StateLaneSource]>

A GitHub label or Item state that routes matching Items to a Board lane.