Interface: GithubWebhookStreamNode<TEvent>
Defined in: ast/domain/github-webhook-stream-node.ts:12
Passive AST node configuring a GitHub webhook event stream source (github.webhookStream).
Verifies incoming X-Hub-Signature-256 HMAC signatures using secret and filters webhook deliveries by repo and subscribed events.
Extends
BaseStreamSourceASTNode<"github:webhook-stream",TEvent>
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TEvent | unknown | Raw webhook event payload type. |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__eventBrand? | readonly | TEvent | Phantom type brand preserving the stream event payload type. | BaseStreamSourceASTNode.__eventBrand | ast/base/base-stream-source-ast-node.ts:14 |
events | readonly | readonly string[] | Subscribed GitHub webhook event names (such as 'pull_request.closed'). | - | ast/domain/github-webhook-stream-node.ts:23 |
path? | readonly | string | Optional HTTP webhook route path (defaults to '/webhooks/github'). | - | ast/domain/github-webhook-stream-node.ts:19 |
port? | readonly | number | Optional HTTP listener port (defaults to 3000). | - | ast/domain/github-webhook-stream-node.ts:17 |
repo? | readonly | string | Optional GitHub repository slug in owner/repo format used to filter incoming events. | - | ast/domain/github-webhook-stream-node.ts:15 |
secret | readonly | string | EnvRef | Webhook HMAC secret string or symbolic EnvRef. | - | ast/domain/github-webhook-stream-node.ts:21 |
type | readonly | "github:webhook-stream" | Unique string-literal discriminant of the stream source node. | BaseStreamSourceASTNode.type | ast/base/base-stream-source-ast-node.ts:12 |