Class OrganizationConfig

Source
Expand description

Represents the configuration for the Logus organization.

Constructors§

Source§

new OrganizationConfig(
    keywordConfig?: OrganizationConfig | undefined,
): OrganizationConfig

Creates an instance of OrganizationConfig.

Properties§

§readonly addPullRequestAuthorAsAssignee: booleanfalse

Indicates whether the pull request author should be added as an assignee.

§readonly firstReviewSubmitDateProjectFieldName?: string

The name of the field for the first review submit date.

§readonly lastApprovedReviewSubmitDateProjectFieldName?: string

The name of the field for the last approved review submit date.

§readonly lastReviewSubmitDateProjectFieldName?: string

The name of the field for the last review submit date.

§readonly openPullRequestDateProjectFieldName?: string

The name of the field for the open pull request date.

§readonly projectTemplateNumber?: number

The number of the project template.

§readonly projectTitlePrefix: string"monitor-"

The prefix for project titles.

§readonly reviewIterationNumberProjectFieldName?: string

The name of the field for the review iteration number.

§private static readonly configFileName: string"logus.yml"

The name of the configuration file.

Methods§

Source§

load(context: LogusOrgConfigContext): Promise<OrganizationConfig>

Loads the organization configuration from the repository.