File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ const result = WebhookSchema.parse(data);
9292| ** secret** | ` string ` | optional | Signing secret for HMAC signature verification |
9393| ** isActive** | ` boolean ` | ✅ | Whether webhook is active |
9494| ** description** | ` string ` | optional | Webhook description |
95+ | ** protection** | ` { lock: Enum<'none' \| 'no-overlay' \| 'no-delete' \| 'full'>; reason: string; docsUrl?: string } ` | optional | Package author protection block — lock policy for this webhook. |
96+ | ** _ lock** | ` Enum<'none' \| 'no-overlay' \| 'no-delete' \| 'full'> ` | optional | Item-level lock — controls overlay & delete (ADR-0010). |
97+ | ** _ lockReason** | ` string ` | optional | Human-readable reason shown when a write is refused by _ lock. |
98+ | ** _ lockSource** | ` Enum<'artifact' \| 'package' \| 'env-forced'> ` | optional | Layer that set _ lock (artifact \| package \| env-forced). |
99+ | ** _ provenance** | ` Enum<'package' \| 'org' \| 'env-forced'> ` | optional | Origin of the item (package \| org \| env-forced). |
100+ | ** _ packageId** | ` string ` | optional | Owning package machine id. |
101+ | ** _ packageVersion** | ` string ` | optional | Owning package version. |
102+ | ** _ lockDocsUrl** | ` string ` | optional | Optional documentation link surfaced next to _ lockReason. |
95103
96104
97105---
Original file line number Diff line number Diff line change @@ -517,6 +517,14 @@ Synchronization strategy
517517| ** secret** | ` string ` | optional | Signing secret for HMAC signature verification |
518518| ** isActive** | ` boolean ` | ✅ | Whether webhook is active |
519519| ** description** | ` string ` | optional | Webhook description |
520+ | ** protection** | ` { lock: Enum<'none' \| 'no-overlay' \| 'no-delete' \| 'full'>; reason: string; docsUrl?: string } ` | optional | Package author protection block — lock policy for this webhook. |
521+ | ** _ lock** | ` Enum<'none' \| 'no-overlay' \| 'no-delete' \| 'full'> ` | optional | Item-level lock — controls overlay & delete (ADR-0010). |
522+ | ** _ lockReason** | ` string ` | optional | Human-readable reason shown when a write is refused by _ lock. |
523+ | ** _ lockSource** | ` Enum<'artifact' \| 'package' \| 'env-forced'> ` | optional | Layer that set _ lock (artifact \| package \| env-forced). |
524+ | ** _ provenance** | ` Enum<'package' \| 'org' \| 'env-forced'> ` | optional | Origin of the item (package \| org \| env-forced). |
525+ | ** _ packageId** | ` string ` | optional | Owning package machine id. |
526+ | ** _ packageVersion** | ` string ` | optional | Owning package version. |
527+ | ** _ lockDocsUrl** | ` string ` | optional | Optional documentation link surfaced next to _ lockReason. |
520528| ** events** | ` Enum<'record.created' \| 'record.updated' \| 'record.deleted' \| 'sync.started' \| 'sync.completed' \| 'sync.failed' \| 'auth.expired' \| 'rate_limit.exceeded'>[] ` | optional | Connector events to subscribe to (not yet enforced — no runtime dispatches these; see #3197 ) |
521529| ** signatureAlgorithm** | ` Enum<'hmac_sha256' \| 'hmac_sha512' \| 'none'> ` | ✅ | Webhook signature algorithm |
522530
You can’t perform that action at this time.
0 commit comments