Interface: GithubCreateOrUpdatePrNode<TIn, TOut, THandle>
Defined in: core/dist/ast/domain/github-create-or-update-pr-node.d.ts:14
Passive AST node creating or updating a GitHub pull request (github.createOrUpdatePr).
Idempotently opens a new pull request or updates an existing open pull request for branch against baseBranch in repo.
Extends
BaseDomainStepASTNode<"github:create-or-update-pr",TIn,TOut,THandle>
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated step input type. |
TOut | unknown | Validated step output type. |
THandle | unknown | Isolation scope handle type. |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__handleBrand? | readonly | BivariantCallback<[handle: THandle], void> | Phantom type brand binding the step to its compatible scope handle type. | BaseDomainStepASTNode.__handleBrand | core/dist/ast/base/base-domain-step-ast-node.d.ts:24 |
baseBranch? | readonly | BivariantCallback<[input: TIn], string> | Optional pure projection deriving the target base branch name from TIn. | - | core/dist/ast/domain/github-create-or-update-pr-node.d.ts:22 |
body | readonly | BivariantCallback<[input: TIn], string> | Pure projection deriving the pull request body from TIn. | - | core/dist/ast/domain/github-create-or-update-pr-node.d.ts:26 |
branch | readonly | BivariantCallback<[input: TIn], string> | Pure projection deriving the head branch name from TIn. | - | core/dist/ast/domain/github-create-or-update-pr-node.d.ts:20 |
id | readonly | string | Logical identifier of the step node. | BaseDomainStepASTNode.id | core/dist/ast/base/base-domain-step-ast-node.d.ts:18 |
inputSchema | readonly | ZodType<TIn> | Zod schema validating the step's input payload at entry. | BaseDomainStepASTNode.inputSchema | core/dist/ast/base/base-domain-step-ast-node.d.ts:20 |
outputSchema | readonly | ZodType<TOut> | Zod schema validating the step's output payload at exit. | BaseDomainStepASTNode.outputSchema | core/dist/ast/base/base-domain-step-ast-node.d.ts:22 |
repo | readonly | string | GitHub repository slug in owner/repo format. | - | core/dist/ast/domain/github-create-or-update-pr-node.d.ts:16 |
title | readonly | BivariantCallback<[input: TIn], string> | Pure projection deriving the pull request title from TIn. | - | core/dist/ast/domain/github-create-or-update-pr-node.d.ts:24 |
token | readonly | string | EnvRef | GitHub API token or symbolic EnvRef. | - | core/dist/ast/domain/github-create-or-update-pr-node.d.ts:18 |
type | readonly | "github:create-or-update-pr" | Unique string-literal discriminant of the domain step node. | BaseDomainStepASTNode.type | core/dist/ast/base/base-domain-step-ast-node.d.ts:16 |