Function: createGithubIssuesBuilder()
ts
function createGithubIssuesBuilder<TExternal, TExternalState>(options): GithubIssuesTrackerNode<TExternal, TExternalState>;Defined in: github/src/builders/create-github-issues-builder.ts:20
Compiles a passive GithubIssuesTrackerNode from GithubIssuesOptions (github.issues).
Validates that options.repo is a non-empty owner/repo slug and freezes the resulting tracker AST node and optional label array.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TExternal | GithubIssueRecord | External issue record type (defaults to GithubIssueRecord). |
TExternalState extends string | string | External tracker state string union. |
Parameters
| Parameter | Type | Description |
|---|---|---|
options | GithubIssuesOptions | Repository, token, and optional label filter configuration. |
Returns
GithubIssuesTrackerNode<TExternal, TExternalState>
Frozen passive GitHub Issues tracker AST node.
Throws
If options.repo is not a non-empty 'owner/repo' slug.