Interface: GithubCreateOrUpdatePrBuilder<TIn, TOut, THandle>
Defined in: github/src/builders/github-create-or-update-pr-builder.ts:13
Fluent builder for a GithubCreateOrUpdatePrNode domain step (github.createOrUpdatePr).
Supports narrowing the step's input and output Zod validation schemas before compiling into a deeply frozen passive GithubCreateOrUpdatePrNode via .toAST().
Extends
AstBuilder<GithubCreateOrUpdatePrNode<TIn,TOut,THandle>>
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated step input payload type. |
TOut | unknown | Validated step output payload type. |
THandle | unknown | Runtime handle type of the enclosing isolation scope. |
Methods
input()
input<TNextIn>(schema): GithubCreateOrUpdatePrBuilder<TNextIn, TOut, THandle>;Defined in: github/src/builders/github-create-or-update-pr-builder.ts:32
Binds a new Zod input schema for the pull-request creation step.
Returns a new immutable builder instance typed for TNextIn.
Type Parameters
| Type Parameter | Description |
|---|---|
TNextIn | New validated step input payload type. |
Parameters
| Parameter | Type | Description |
|---|---|---|
schema | ZodType<TNextIn> | Zod schema validating step input. |
Returns
GithubCreateOrUpdatePrBuilder<TNextIn, TOut, THandle>
Updated immutable builder instance.
output()
output<TNextOut>(schema): GithubCreateOrUpdatePrBuilder<TIn, TNextOut, THandle>;Defined in: github/src/builders/github-create-or-update-pr-builder.ts:47
Binds a new Zod output schema for the pull-request creation step.
Returns a new immutable builder instance typed for TNextOut.
Type Parameters
| Type Parameter | Description |
|---|---|
TNextOut | New validated step output payload type. |
Parameters
| Parameter | Type | Description |
|---|---|---|
schema | ZodType<TNextOut> | Zod schema validating step output. |
Returns
GithubCreateOrUpdatePrBuilder<TIn, TNextOut, THandle>
Updated immutable builder instance.
toAST()
toAST(): GithubCreateOrUpdatePrNode<TIn, TOut, THandle>;Defined in: github/src/builders/github-create-or-update-pr-builder.ts:58
Compiles the builder configuration into a passive, frozen GithubCreateOrUpdatePrNode.
Preserves all configured projections and boundary schemas on the resulting AST node.
Returns
GithubCreateOrUpdatePrNode<TIn, TOut, THandle>
Compiled passive AST node.
Overrides
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
id | readonly | string | Unique step node identifier. | github/src/builders/github-create-or-update-pr-builder.ts:19 |