github-webhook-schemas 0.2.3 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -0
- package/dist/chunk-h08cfvmd.js +5 -0
- package/dist/chunk-h08cfvmd.js.map +10 -0
- package/dist/chunk-sgm7k1ae.js +5 -0
- package/dist/chunk-sgm7k1ae.js.map +9 -0
- package/dist/event-types.d.ts +3 -0
- package/dist/event-types.d.ts.map +1 -0
- package/dist/event-types.js +4 -0
- package/dist/event-types.js.map +9 -0
- package/dist/fixtures/index.d.ts.map +1 -1
- package/dist/fixtures/index.js +2 -2
- package/dist/fixtures/index.js.map +3 -3
- package/dist/index.js +4 -0
- package/dist/index.js.map +9 -0
- package/dist/registry.d.ts +25 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +4 -0
- package/dist/registry.js.map +10 -0
- package/dist/schemas/branch-protection-configuration-disabled-event.d.ts +25 -25
- package/dist/schemas/branch-protection-configuration-disabled-event.js +3 -3
- package/dist/schemas/branch-protection-configuration-disabled-event.js.map +2 -2
- package/dist/schemas/branch-protection-configuration-enabled-event.d.ts +25 -25
- package/dist/schemas/branch-protection-configuration-enabled-event.js +3 -3
- package/dist/schemas/branch-protection-configuration-enabled-event.js.map +2 -2
- package/dist/schemas/branch-protection-rule-created-event.d.ts +27 -27
- package/dist/schemas/branch-protection-rule-created-event.js +3 -3
- package/dist/schemas/branch-protection-rule-created-event.js.map +2 -2
- package/dist/schemas/branch-protection-rule-deleted-event.d.ts +27 -27
- package/dist/schemas/branch-protection-rule-deleted-event.js +3 -3
- package/dist/schemas/branch-protection-rule-deleted-event.js.map +2 -2
- package/dist/schemas/branch-protection-rule-edited-event.d.ts +31 -31
- package/dist/schemas/branch-protection-rule-edited-event.d.ts.map +1 -1
- package/dist/schemas/branch-protection-rule-edited-event.js +3 -3
- package/dist/schemas/branch-protection-rule-edited-event.js.map +3 -3
- package/dist/schemas/check-run-completed-event.d.ts +45 -45
- package/dist/schemas/check-run-completed-event.d.ts.map +1 -1
- package/dist/schemas/check-run-completed-event.js +3 -3
- package/dist/schemas/check-run-completed-event.js.map +3 -3
- package/dist/schemas/check-run-created-event.d.ts +46 -46
- package/dist/schemas/check-run-created-event.d.ts.map +1 -1
- package/dist/schemas/check-run-created-event.js +3 -3
- package/dist/schemas/check-run-created-event.js.map +3 -3
- package/dist/schemas/check-run-requested-action-event.d.ts +44 -44
- package/dist/schemas/check-run-requested-action-event.d.ts.map +1 -1
- package/dist/schemas/check-run-requested-action-event.js +3 -3
- package/dist/schemas/check-run-requested-action-event.js.map +3 -3
- package/dist/schemas/check-run-rerequested-event.d.ts +44 -44
- package/dist/schemas/check-run-rerequested-event.d.ts.map +1 -1
- package/dist/schemas/check-run-rerequested-event.js +3 -3
- package/dist/schemas/check-run-rerequested-event.js.map +3 -3
- package/dist/schemas/check-suite-completed-event.d.ts +38 -38
- package/dist/schemas/check-suite-completed-event.d.ts.map +1 -1
- package/dist/schemas/check-suite-completed-event.js +3 -3
- package/dist/schemas/check-suite-completed-event.js.map +3 -3
- package/dist/schemas/check-suite-requested-event.d.ts +38 -38
- package/dist/schemas/check-suite-requested-event.d.ts.map +1 -1
- package/dist/schemas/check-suite-requested-event.js +3 -3
- package/dist/schemas/check-suite-requested-event.js.map +3 -3
- package/dist/schemas/check-suite-rerequested-event.d.ts +36 -36
- package/dist/schemas/check-suite-rerequested-event.d.ts.map +1 -1
- package/dist/schemas/check-suite-rerequested-event.js +3 -3
- package/dist/schemas/check-suite-rerequested-event.js.map +3 -3
- package/dist/schemas/code-scanning-alert-appeared-in-branch-event.d.ts +39 -39
- package/dist/schemas/code-scanning-alert-appeared-in-branch-event.d.ts.map +1 -1
- package/dist/schemas/code-scanning-alert-appeared-in-branch-event.js +3 -3
- package/dist/schemas/code-scanning-alert-appeared-in-branch-event.js.map +3 -3
- package/dist/schemas/code-scanning-alert-closed-by-user-event.d.ts +38 -38
- package/dist/schemas/code-scanning-alert-closed-by-user-event.d.ts.map +1 -1
- package/dist/schemas/code-scanning-alert-closed-by-user-event.js +3 -3
- package/dist/schemas/code-scanning-alert-closed-by-user-event.js.map +3 -3
- package/dist/schemas/code-scanning-alert-created-event.d.ts +35 -35
- package/dist/schemas/code-scanning-alert-created-event.d.ts.map +1 -1
- package/dist/schemas/code-scanning-alert-created-event.js +3 -3
- package/dist/schemas/code-scanning-alert-created-event.js.map +3 -3
- package/dist/schemas/code-scanning-alert-fixed-event.d.ts +40 -40
- package/dist/schemas/code-scanning-alert-fixed-event.d.ts.map +1 -1
- package/dist/schemas/code-scanning-alert-fixed-event.js +3 -3
- package/dist/schemas/code-scanning-alert-fixed-event.js.map +3 -3
- package/dist/schemas/code-scanning-alert-reopened-by-user-event.d.ts +35 -35
- package/dist/schemas/code-scanning-alert-reopened-by-user-event.d.ts.map +1 -1
- package/dist/schemas/code-scanning-alert-reopened-by-user-event.js +3 -3
- package/dist/schemas/code-scanning-alert-reopened-by-user-event.js.map +3 -3
- package/dist/schemas/code-scanning-alert-reopened-event.d.ts +35 -35
- package/dist/schemas/code-scanning-alert-reopened-event.d.ts.map +1 -1
- package/dist/schemas/code-scanning-alert-reopened-event.js +3 -3
- package/dist/schemas/code-scanning-alert-reopened-event.js.map +3 -3
- package/dist/schemas/commit-comment-created-event.d.ts +29 -29
- package/dist/schemas/commit-comment-created-event.js +3 -3
- package/dist/schemas/commit-comment-created-event.js.map +3 -3
- package/dist/schemas/create-event.d.ts +26 -26
- package/dist/schemas/create-event.js +3 -3
- package/dist/schemas/create-event.js.map +3 -3
- package/dist/schemas/custom-property-created-event.d.ts +7 -7
- package/dist/schemas/custom-property-created-event.js +3 -3
- package/dist/schemas/custom-property-created-event.js.map +2 -2
- package/dist/schemas/custom-property-deleted-event.d.ts +2 -2
- package/dist/schemas/custom-property-deleted-event.js +3 -3
- package/dist/schemas/custom-property-deleted-event.js.map +2 -2
- package/dist/schemas/custom-property-values-updated-event.d.ts +27 -27
- package/dist/schemas/custom-property-values-updated-event.js +3 -3
- package/dist/schemas/custom-property-values-updated-event.js.map +2 -2
- package/dist/schemas/delete-event.d.ts +25 -25
- package/dist/schemas/delete-event.js +3 -3
- package/dist/schemas/delete-event.js.map +2 -2
- package/dist/schemas/dependabot-alert-created-event.d.ts +34 -34
- package/dist/schemas/dependabot-alert-created-event.js +3 -3
- package/dist/schemas/dependabot-alert-created-event.js.map +2 -2
- package/dist/schemas/dependabot-alert-dismissed-event.d.ts +36 -36
- package/dist/schemas/dependabot-alert-dismissed-event.js +3 -3
- package/dist/schemas/dependabot-alert-dismissed-event.js.map +2 -2
- package/dist/schemas/dependabot-alert-fixed-event.d.ts +34 -34
- package/dist/schemas/dependabot-alert-fixed-event.js +3 -3
- package/dist/schemas/dependabot-alert-fixed-event.js.map +2 -2
- package/dist/schemas/dependabot-alert-reintroduced-event.d.ts +34 -34
- package/dist/schemas/dependabot-alert-reintroduced-event.js +3 -3
- package/dist/schemas/dependabot-alert-reintroduced-event.js.map +2 -2
- package/dist/schemas/dependabot-alert-reopened-event.d.ts +35 -35
- package/dist/schemas/dependabot-alert-reopened-event.js +3 -3
- package/dist/schemas/dependabot-alert-reopened-event.js.map +2 -2
- package/dist/schemas/deploy-key-created-event.d.ts +25 -25
- package/dist/schemas/deploy-key-created-event.js +3 -3
- package/dist/schemas/deploy-key-created-event.js.map +2 -2
- package/dist/schemas/deploy-key-deleted-event.d.ts +25 -25
- package/dist/schemas/deploy-key-deleted-event.js +3 -3
- package/dist/schemas/deploy-key-deleted-event.js.map +2 -2
- package/dist/schemas/deployment-created-event.d.ts +37 -37
- package/dist/schemas/deployment-created-event.js +3 -3
- package/dist/schemas/deployment-created-event.js.map +2 -2
- package/dist/schemas/deployment-protection-rule-requested-event.d.ts +113 -113
- package/dist/schemas/deployment-protection-rule-requested-event.js +3 -3
- package/dist/schemas/deployment-protection-rule-requested-event.js.map +2 -2
- package/dist/schemas/deployment-review-approved-event.d.ts +43 -43
- package/dist/schemas/deployment-review-approved-event.d.ts.map +1 -1
- package/dist/schemas/deployment-review-approved-event.js +3 -3
- package/dist/schemas/deployment-review-approved-event.js.map +3 -3
- package/dist/schemas/deployment-review-rejected-event.d.ts +43 -43
- package/dist/schemas/deployment-review-rejected-event.d.ts.map +1 -1
- package/dist/schemas/deployment-review-rejected-event.js +3 -3
- package/dist/schemas/deployment-review-rejected-event.js.map +3 -3
- package/dist/schemas/deployment-review-requested-event.d.ts +42 -42
- package/dist/schemas/deployment-review-requested-event.d.ts.map +1 -1
- package/dist/schemas/deployment-review-requested-event.js +3 -3
- package/dist/schemas/deployment-review-requested-event.js.map +3 -3
- package/dist/schemas/deployment-status-created-event.d.ts +46 -46
- package/dist/schemas/deployment-status-created-event.d.ts.map +1 -1
- package/dist/schemas/deployment-status-created-event.js +3 -3
- package/dist/schemas/deployment-status-created-event.js.map +3 -3
- package/dist/schemas/discussion-answered-event.d.ts +32 -32
- package/dist/schemas/discussion-answered-event.js +3 -3
- package/dist/schemas/discussion-answered-event.js.map +2 -2
- package/dist/schemas/discussion-category-changed-event.d.ts +30 -30
- package/dist/schemas/discussion-category-changed-event.js +3 -3
- package/dist/schemas/discussion-category-changed-event.js.map +2 -2
- package/dist/schemas/discussion-comment-created-event.d.ts +32 -32
- package/dist/schemas/discussion-comment-created-event.js +3 -3
- package/dist/schemas/discussion-comment-created-event.js.map +3 -3
- package/dist/schemas/discussion-comment-deleted-event.d.ts +32 -32
- package/dist/schemas/discussion-comment-deleted-event.js +3 -3
- package/dist/schemas/discussion-comment-deleted-event.js.map +3 -3
- package/dist/schemas/discussion-comment-edited-event.d.ts +32 -32
- package/dist/schemas/discussion-comment-edited-event.js +3 -3
- package/dist/schemas/discussion-comment-edited-event.js.map +3 -3
- package/dist/schemas/discussion-created-event.d.ts +30 -30
- package/dist/schemas/discussion-created-event.js +3 -3
- package/dist/schemas/discussion-created-event.js.map +2 -2
- package/dist/schemas/discussion-deleted-event.d.ts +30 -30
- package/dist/schemas/discussion-deleted-event.js +3 -3
- package/dist/schemas/discussion-deleted-event.js.map +2 -2
- package/dist/schemas/discussion-edited-event.d.ts +32 -32
- package/dist/schemas/discussion-edited-event.d.ts.map +1 -1
- package/dist/schemas/discussion-edited-event.js +3 -3
- package/dist/schemas/discussion-edited-event.js.map +3 -3
- package/dist/schemas/discussion-labeled-event.d.ts +31 -31
- package/dist/schemas/discussion-labeled-event.js +3 -3
- package/dist/schemas/discussion-labeled-event.js.map +2 -2
- package/dist/schemas/discussion-locked-event.d.ts +30 -30
- package/dist/schemas/discussion-locked-event.js +3 -3
- package/dist/schemas/discussion-locked-event.js.map +2 -2
- package/dist/schemas/discussion-pinned-event.d.ts +30 -30
- package/dist/schemas/discussion-pinned-event.js +3 -3
- package/dist/schemas/discussion-pinned-event.js.map +2 -2
- package/dist/schemas/discussion-transferred-event.d.ts +58 -58
- package/dist/schemas/discussion-transferred-event.js +3 -3
- package/dist/schemas/discussion-transferred-event.js.map +2 -2
- package/dist/schemas/discussion-unanswered-event.d.ts +31 -31
- package/dist/schemas/discussion-unanswered-event.js +3 -3
- package/dist/schemas/discussion-unanswered-event.js.map +2 -2
- package/dist/schemas/discussion-unlabeled-event.d.ts +31 -31
- package/dist/schemas/discussion-unlabeled-event.js +3 -3
- package/dist/schemas/discussion-unlabeled-event.js.map +2 -2
- package/dist/schemas/discussion-unlocked-event.d.ts +30 -30
- package/dist/schemas/discussion-unlocked-event.js +3 -3
- package/dist/schemas/discussion-unlocked-event.js.map +2 -2
- package/dist/schemas/discussion-unpinned-event.d.ts +30 -30
- package/dist/schemas/discussion-unpinned-event.js +3 -3
- package/dist/schemas/discussion-unpinned-event.js.map +2 -2
- package/dist/schemas/fork-event.d.ts +48 -48
- package/dist/schemas/fork-event.js +3 -3
- package/dist/schemas/fork-event.js.map +2 -2
- package/dist/schemas/github-app-authorization-revoked-event.d.ts +1 -1
- package/dist/schemas/github-app-authorization-revoked-event.js +3 -3
- package/dist/schemas/github-app-authorization-revoked-event.js.map +2 -2
- package/dist/schemas/gollum-event.d.ts +25 -25
- package/dist/schemas/gollum-event.js +3 -3
- package/dist/schemas/gollum-event.js.map +2 -2
- package/dist/schemas/index.js +3 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/installation-created-event.d.ts +7 -7
- package/dist/schemas/installation-created-event.js +3 -3
- package/dist/schemas/installation-created-event.js.map +2 -2
- package/dist/schemas/installation-deleted-event.d.ts +6 -6
- package/dist/schemas/installation-deleted-event.js +3 -3
- package/dist/schemas/installation-deleted-event.js.map +2 -2
- package/dist/schemas/installation-new-permissions-accepted-event.d.ts +6 -6
- package/dist/schemas/installation-new-permissions-accepted-event.js +3 -3
- package/dist/schemas/installation-new-permissions-accepted-event.js.map +2 -2
- package/dist/schemas/installation-repositories-added-event.d.ts +7 -7
- package/dist/schemas/installation-repositories-added-event.js +3 -3
- package/dist/schemas/installation-repositories-added-event.js.map +2 -2
- package/dist/schemas/installation-repositories-removed-event.d.ts +7 -7
- package/dist/schemas/installation-repositories-removed-event.js +3 -3
- package/dist/schemas/installation-repositories-removed-event.js.map +2 -2
- package/dist/schemas/installation-suspend-event.d.ts +7 -7
- package/dist/schemas/installation-suspend-event.js +3 -3
- package/dist/schemas/installation-suspend-event.js.map +2 -2
- package/dist/schemas/installation-target-renamed-event.d.ts +29 -29
- package/dist/schemas/installation-target-renamed-event.js +3 -3
- package/dist/schemas/installation-target-renamed-event.js.map +3 -3
- package/dist/schemas/installation-unsuspend-event.d.ts +6 -6
- package/dist/schemas/installation-unsuspend-event.js +3 -3
- package/dist/schemas/installation-unsuspend-event.js.map +2 -2
- package/dist/schemas/issue-comment-created-event.d.ts +55 -55
- package/dist/schemas/issue-comment-created-event.js +3 -3
- package/dist/schemas/issue-comment-created-event.js.map +3 -3
- package/dist/schemas/issue-comment-deleted-event.d.ts +55 -55
- package/dist/schemas/issue-comment-deleted-event.js +3 -3
- package/dist/schemas/issue-comment-deleted-event.js.map +3 -3
- package/dist/schemas/issue-comment-edited-event.d.ts +55 -55
- package/dist/schemas/issue-comment-edited-event.js +3 -3
- package/dist/schemas/issue-comment-edited-event.js.map +3 -3
- package/dist/schemas/issues-assigned-event.d.ts +47 -47
- package/dist/schemas/issues-assigned-event.js +3 -3
- package/dist/schemas/issues-assigned-event.js.map +2 -2
- package/dist/schemas/issues-closed-event.d.ts +46 -46
- package/dist/schemas/issues-closed-event.js +3 -3
- package/dist/schemas/issues-closed-event.js.map +2 -2
- package/dist/schemas/issues-deleted-event.d.ts +46 -46
- package/dist/schemas/issues-deleted-event.js +3 -3
- package/dist/schemas/issues-deleted-event.js.map +2 -2
- package/dist/schemas/issues-demilestoned-event.d.ts +50 -50
- package/dist/schemas/issues-demilestoned-event.js +3 -3
- package/dist/schemas/issues-demilestoned-event.js.map +2 -2
- package/dist/schemas/issues-edited-event.d.ts +47 -47
- package/dist/schemas/issues-edited-event.js +3 -3
- package/dist/schemas/issues-edited-event.js.map +2 -2
- package/dist/schemas/issues-labeled-event.d.ts +47 -47
- package/dist/schemas/issues-labeled-event.js +3 -3
- package/dist/schemas/issues-labeled-event.js.map +2 -2
- package/dist/schemas/issues-locked-event.d.ts +47 -47
- package/dist/schemas/issues-locked-event.d.ts.map +1 -1
- package/dist/schemas/issues-locked-event.js +3 -3
- package/dist/schemas/issues-locked-event.js.map +3 -3
- package/dist/schemas/issues-milestoned-event.d.ts +54 -54
- package/dist/schemas/issues-milestoned-event.js +3 -3
- package/dist/schemas/issues-milestoned-event.js.map +2 -2
- package/dist/schemas/issues-opened-event.d.ts +90 -90
- package/dist/schemas/issues-opened-event.js +3 -3
- package/dist/schemas/issues-opened-event.js.map +2 -2
- package/dist/schemas/issues-pinned-event.d.ts +46 -46
- package/dist/schemas/issues-pinned-event.js +3 -3
- package/dist/schemas/issues-pinned-event.js.map +2 -2
- package/dist/schemas/issues-reopened-event.d.ts +46 -46
- package/dist/schemas/issues-reopened-event.js +3 -3
- package/dist/schemas/issues-reopened-event.js.map +2 -2
- package/dist/schemas/issues-transferred-event.d.ts +90 -90
- package/dist/schemas/issues-transferred-event.js +3 -3
- package/dist/schemas/issues-transferred-event.js.map +2 -2
- package/dist/schemas/issues-unassigned-event.d.ts +47 -47
- package/dist/schemas/issues-unassigned-event.js +3 -3
- package/dist/schemas/issues-unassigned-event.js.map +2 -2
- package/dist/schemas/issues-unlabeled-event.d.ts +47 -47
- package/dist/schemas/issues-unlabeled-event.js +3 -3
- package/dist/schemas/issues-unlabeled-event.js.map +2 -2
- package/dist/schemas/issues-unlocked-event.d.ts +46 -46
- package/dist/schemas/issues-unlocked-event.js +3 -3
- package/dist/schemas/issues-unlocked-event.js.map +2 -2
- package/dist/schemas/issues-unpinned-event.d.ts +46 -46
- package/dist/schemas/issues-unpinned-event.js +3 -3
- package/dist/schemas/issues-unpinned-event.js.map +2 -2
- package/dist/schemas/label-created-event.d.ts +26 -26
- package/dist/schemas/label-created-event.js +3 -3
- package/dist/schemas/label-created-event.js.map +2 -2
- package/dist/schemas/label-deleted-event.d.ts +26 -26
- package/dist/schemas/label-deleted-event.js +3 -3
- package/dist/schemas/label-deleted-event.js.map +2 -2
- package/dist/schemas/label-edited-event.d.ts +28 -28
- package/dist/schemas/label-edited-event.d.ts.map +1 -1
- package/dist/schemas/label-edited-event.js +3 -3
- package/dist/schemas/label-edited-event.js.map +3 -3
- package/dist/schemas/marketplace-purchase-cancelled-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-cancelled-event.js +3 -3
- package/dist/schemas/marketplace-purchase-cancelled-event.js.map +2 -2
- package/dist/schemas/marketplace-purchase-changed-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-changed-event.js +3 -3
- package/dist/schemas/marketplace-purchase-changed-event.js.map +2 -2
- package/dist/schemas/marketplace-purchase-pending-change-cancelled-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-pending-change-cancelled-event.js +3 -3
- package/dist/schemas/marketplace-purchase-pending-change-cancelled-event.js.map +2 -2
- package/dist/schemas/marketplace-purchase-pending-change-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-pending-change-event.js +3 -3
- package/dist/schemas/marketplace-purchase-pending-change-event.js.map +2 -2
- package/dist/schemas/marketplace-purchase-purchased-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-purchased-event.js +3 -3
- package/dist/schemas/marketplace-purchase-purchased-event.js.map +2 -2
- package/dist/schemas/member-added-event.d.ts +28 -28
- package/dist/schemas/member-added-event.d.ts.map +1 -1
- package/dist/schemas/member-added-event.js +3 -3
- package/dist/schemas/member-added-event.js.map +3 -3
- package/dist/schemas/member-edited-event.d.ts +26 -26
- package/dist/schemas/member-edited-event.js +3 -3
- package/dist/schemas/member-edited-event.js.map +2 -2
- package/dist/schemas/member-removed-event.d.ts +26 -26
- package/dist/schemas/member-removed-event.js +3 -3
- package/dist/schemas/member-removed-event.js.map +2 -2
- package/dist/schemas/membership-added-event.d.ts +7 -7
- package/dist/schemas/membership-added-event.js +3 -3
- package/dist/schemas/membership-added-event.js.map +2 -2
- package/dist/schemas/membership-removed-event.d.ts +8 -8
- package/dist/schemas/membership-removed-event.js +3 -3
- package/dist/schemas/membership-removed-event.js.map +3 -3
- package/dist/schemas/merge-group-checks-requested-event.d.ts +25 -25
- package/dist/schemas/merge-group-checks-requested-event.js +3 -3
- package/dist/schemas/merge-group-checks-requested-event.js.map +2 -2
- package/dist/schemas/merge-group-destroyed-event.d.ts +25 -25
- package/dist/schemas/merge-group-destroyed-event.js +3 -3
- package/dist/schemas/merge-group-destroyed-event.js.map +2 -2
- package/dist/schemas/meta-deleted-event.d.ts +24 -24
- package/dist/schemas/meta-deleted-event.js +3 -3
- package/dist/schemas/meta-deleted-event.js.map +2 -2
- package/dist/schemas/milestone-closed-event.d.ts +29 -29
- package/dist/schemas/milestone-closed-event.js +3 -3
- package/dist/schemas/milestone-closed-event.js.map +2 -2
- package/dist/schemas/milestone-created-event.d.ts +29 -29
- package/dist/schemas/milestone-created-event.js +3 -3
- package/dist/schemas/milestone-created-event.js.map +2 -2
- package/dist/schemas/milestone-deleted-event.d.ts +29 -29
- package/dist/schemas/milestone-deleted-event.js +3 -3
- package/dist/schemas/milestone-deleted-event.js.map +2 -2
- package/dist/schemas/milestone-edited-event.d.ts +29 -29
- package/dist/schemas/milestone-edited-event.js +3 -3
- package/dist/schemas/milestone-edited-event.js.map +2 -2
- package/dist/schemas/milestone-opened-event.d.ts +29 -29
- package/dist/schemas/milestone-opened-event.js +3 -3
- package/dist/schemas/milestone-opened-event.js.map +2 -2
- package/dist/schemas/org-block-blocked-event.d.ts +3 -3
- package/dist/schemas/org-block-blocked-event.js +3 -3
- package/dist/schemas/org-block-blocked-event.js.map +2 -2
- package/dist/schemas/org-block-unblocked-event.d.ts +3 -3
- package/dist/schemas/org-block-unblocked-event.js +3 -3
- package/dist/schemas/org-block-unblocked-event.js.map +2 -2
- package/dist/schemas/organization-deleted-event.d.ts +3 -3
- package/dist/schemas/organization-deleted-event.js +3 -3
- package/dist/schemas/organization-deleted-event.js.map +2 -2
- package/dist/schemas/organization-member-added-event.d.ts +3 -3
- package/dist/schemas/organization-member-added-event.js +3 -3
- package/dist/schemas/organization-member-added-event.js.map +2 -2
- package/dist/schemas/organization-member-invited-event.d.ts +7 -7
- package/dist/schemas/organization-member-invited-event.js +3 -3
- package/dist/schemas/organization-member-invited-event.js.map +3 -3
- package/dist/schemas/organization-member-removed-event.d.ts +3 -3
- package/dist/schemas/organization-member-removed-event.js +3 -3
- package/dist/schemas/organization-member-removed-event.js.map +2 -2
- package/dist/schemas/organization-renamed-event.d.ts +2 -2
- package/dist/schemas/organization-renamed-event.js +3 -3
- package/dist/schemas/organization-renamed-event.js.map +2 -2
- package/dist/schemas/package-published-event.d.ts +86 -86
- package/dist/schemas/package-published-event.d.ts.map +1 -1
- package/dist/schemas/package-published-event.js +3 -3
- package/dist/schemas/package-published-event.js.map +3 -3
- package/dist/schemas/package-updated-event.d.ts +86 -86
- package/dist/schemas/package-updated-event.d.ts.map +1 -1
- package/dist/schemas/package-updated-event.js +3 -3
- package/dist/schemas/package-updated-event.js.map +3 -3
- package/dist/schemas/page-build-event.d.ts +27 -27
- package/dist/schemas/page-build-event.js +3 -3
- package/dist/schemas/page-build-event.js.map +3 -3
- package/dist/schemas/ping-event.d.ts +25 -25
- package/dist/schemas/ping-event.js +3 -3
- package/dist/schemas/ping-event.js.map +2 -2
- package/dist/schemas/project-card-converted-event.d.ts +28 -28
- package/dist/schemas/project-card-converted-event.js +3 -3
- package/dist/schemas/project-card-converted-event.js.map +2 -2
- package/dist/schemas/project-card-created-event.d.ts +28 -28
- package/dist/schemas/project-card-created-event.js +3 -3
- package/dist/schemas/project-card-created-event.js.map +2 -2
- package/dist/schemas/project-card-deleted-event.d.ts +28 -28
- package/dist/schemas/project-card-deleted-event.js +3 -3
- package/dist/schemas/project-card-deleted-event.js.map +2 -2
- package/dist/schemas/project-card-edited-event.d.ts +28 -28
- package/dist/schemas/project-card-edited-event.js +3 -3
- package/dist/schemas/project-card-edited-event.js.map +2 -2
- package/dist/schemas/project-card-moved-event.d.ts +29 -29
- package/dist/schemas/project-card-moved-event.js +3 -3
- package/dist/schemas/project-card-moved-event.js.map +3 -3
- package/dist/schemas/project-closed-event.d.ts +27 -27
- package/dist/schemas/project-closed-event.js +3 -3
- package/dist/schemas/project-closed-event.js.map +2 -2
- package/dist/schemas/project-column-created-event.d.ts +25 -25
- package/dist/schemas/project-column-created-event.js +3 -3
- package/dist/schemas/project-column-created-event.js.map +2 -2
- package/dist/schemas/project-column-deleted-event.d.ts +25 -25
- package/dist/schemas/project-column-deleted-event.js +3 -3
- package/dist/schemas/project-column-deleted-event.js.map +2 -2
- package/dist/schemas/project-column-edited-event.d.ts +25 -25
- package/dist/schemas/project-column-edited-event.js +3 -3
- package/dist/schemas/project-column-edited-event.js.map +2 -2
- package/dist/schemas/project-column-moved-event.d.ts +25 -25
- package/dist/schemas/project-column-moved-event.js +3 -3
- package/dist/schemas/project-column-moved-event.js.map +2 -2
- package/dist/schemas/project-created-event.d.ts +27 -27
- package/dist/schemas/project-created-event.js +3 -3
- package/dist/schemas/project-created-event.js.map +2 -2
- package/dist/schemas/project-deleted-event.d.ts +27 -27
- package/dist/schemas/project-deleted-event.js +3 -3
- package/dist/schemas/project-deleted-event.js.map +2 -2
- package/dist/schemas/project-edited-event.d.ts +29 -29
- package/dist/schemas/project-edited-event.d.ts.map +1 -1
- package/dist/schemas/project-edited-event.js +3 -3
- package/dist/schemas/project-edited-event.js.map +3 -3
- package/dist/schemas/project-reopened-event.d.ts +27 -27
- package/dist/schemas/project-reopened-event.js +3 -3
- package/dist/schemas/project-reopened-event.js.map +2 -2
- package/dist/schemas/projects-v2-item-archived-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-archived-event.js +3 -3
- package/dist/schemas/projects-v2-item-archived-event.js.map +2 -2
- package/dist/schemas/projects-v2-item-converted-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-converted-event.js +3 -3
- package/dist/schemas/projects-v2-item-converted-event.js.map +2 -2
- package/dist/schemas/projects-v2-item-created-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-created-event.js +3 -3
- package/dist/schemas/projects-v2-item-created-event.js.map +2 -2
- package/dist/schemas/projects-v2-item-deleted-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-deleted-event.js +3 -3
- package/dist/schemas/projects-v2-item-deleted-event.js.map +2 -2
- package/dist/schemas/projects-v2-item-edited-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-edited-event.js +3 -3
- package/dist/schemas/projects-v2-item-edited-event.js.map +2 -2
- package/dist/schemas/projects-v2-item-reordered-event.d.ts +5 -5
- package/dist/schemas/projects-v2-item-reordered-event.js +3 -3
- package/dist/schemas/projects-v2-item-reordered-event.js.map +3 -3
- package/dist/schemas/projects-v2-item-restored-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-restored-event.js +3 -3
- package/dist/schemas/projects-v2-item-restored-event.js.map +2 -2
- package/dist/schemas/public-event.d.ts +25 -25
- package/dist/schemas/public-event.js +3 -3
- package/dist/schemas/public-event.js.map +2 -2
- package/dist/schemas/pull-request-assigned-event.d.ts +105 -105
- package/dist/schemas/pull-request-assigned-event.js +3 -3
- package/dist/schemas/pull-request-assigned-event.js.map +2 -2
- package/dist/schemas/pull-request-auto-merge-disabled-event.d.ts +104 -104
- package/dist/schemas/pull-request-auto-merge-disabled-event.js +3 -3
- package/dist/schemas/pull-request-auto-merge-disabled-event.js.map +2 -2
- package/dist/schemas/pull-request-auto-merge-enabled-event.d.ts +104 -104
- package/dist/schemas/pull-request-auto-merge-enabled-event.js +3 -3
- package/dist/schemas/pull-request-auto-merge-enabled-event.js.map +2 -2
- package/dist/schemas/pull-request-closed-event.d.ts +104 -104
- package/dist/schemas/pull-request-closed-event.js +3 -3
- package/dist/schemas/pull-request-closed-event.js.map +2 -2
- package/dist/schemas/pull-request-converted-to-draft-event.d.ts +104 -104
- package/dist/schemas/pull-request-converted-to-draft-event.js +3 -3
- package/dist/schemas/pull-request-converted-to-draft-event.js.map +2 -2
- package/dist/schemas/pull-request-demilestoned-event.d.ts +112 -112
- package/dist/schemas/pull-request-demilestoned-event.js +3 -3
- package/dist/schemas/pull-request-demilestoned-event.js.map +2 -2
- package/dist/schemas/pull-request-dequeued-event.d.ts +104 -104
- package/dist/schemas/pull-request-dequeued-event.js +3 -3
- package/dist/schemas/pull-request-dequeued-event.js.map +2 -2
- package/dist/schemas/pull-request-edited-event.d.ts +104 -104
- package/dist/schemas/pull-request-edited-event.js +3 -3
- package/dist/schemas/pull-request-edited-event.js.map +2 -2
- package/dist/schemas/pull-request-enqueued-event.d.ts +104 -104
- package/dist/schemas/pull-request-enqueued-event.js +3 -3
- package/dist/schemas/pull-request-enqueued-event.js.map +2 -2
- package/dist/schemas/pull-request-labeled-event.d.ts +105 -105
- package/dist/schemas/pull-request-labeled-event.js +3 -3
- package/dist/schemas/pull-request-labeled-event.js.map +2 -2
- package/dist/schemas/pull-request-locked-event.d.ts +104 -104
- package/dist/schemas/pull-request-locked-event.js +3 -3
- package/dist/schemas/pull-request-locked-event.js.map +2 -2
- package/dist/schemas/pull-request-milestoned-event.d.ts +112 -112
- package/dist/schemas/pull-request-milestoned-event.js +3 -3
- package/dist/schemas/pull-request-milestoned-event.js.map +2 -2
- package/dist/schemas/pull-request-opened-event.d.ts +104 -104
- package/dist/schemas/pull-request-opened-event.js +3 -3
- package/dist/schemas/pull-request-opened-event.js.map +2 -2
- package/dist/schemas/pull-request-ready-for-review-event.d.ts +104 -104
- package/dist/schemas/pull-request-ready-for-review-event.js +3 -3
- package/dist/schemas/pull-request-ready-for-review-event.js.map +2 -2
- package/dist/schemas/pull-request-reopened-event.d.ts +104 -104
- package/dist/schemas/pull-request-reopened-event.js +3 -3
- package/dist/schemas/pull-request-reopened-event.js.map +2 -2
- package/dist/schemas/pull-request-review-comment-created-event.d.ts +111 -111
- package/dist/schemas/pull-request-review-comment-created-event.d.ts.map +1 -1
- package/dist/schemas/pull-request-review-comment-created-event.js +3 -3
- package/dist/schemas/pull-request-review-comment-created-event.js.map +3 -3
- package/dist/schemas/pull-request-review-comment-deleted-event.d.ts +111 -111
- package/dist/schemas/pull-request-review-comment-deleted-event.d.ts.map +1 -1
- package/dist/schemas/pull-request-review-comment-deleted-event.js +3 -3
- package/dist/schemas/pull-request-review-comment-deleted-event.js.map +3 -3
- package/dist/schemas/pull-request-review-comment-edited-event.d.ts +111 -111
- package/dist/schemas/pull-request-review-comment-edited-event.d.ts.map +1 -1
- package/dist/schemas/pull-request-review-comment-edited-event.js +3 -3
- package/dist/schemas/pull-request-review-comment-edited-event.js.map +3 -3
- package/dist/schemas/pull-request-review-dismissed-event.d.ts +101 -101
- package/dist/schemas/pull-request-review-dismissed-event.js +3 -3
- package/dist/schemas/pull-request-review-dismissed-event.js.map +2 -2
- package/dist/schemas/pull-request-review-edited-event.d.ts +101 -101
- package/dist/schemas/pull-request-review-edited-event.js +3 -3
- package/dist/schemas/pull-request-review-edited-event.js.map +2 -2
- package/dist/schemas/pull-request-review-submitted-event.d.ts +101 -101
- package/dist/schemas/pull-request-review-submitted-event.js +3 -3
- package/dist/schemas/pull-request-review-submitted-event.js.map +2 -2
- package/dist/schemas/pull-request-review-thread-resolved-event.d.ts +104 -104
- package/dist/schemas/pull-request-review-thread-resolved-event.js +3 -3
- package/dist/schemas/pull-request-review-thread-resolved-event.js.map +2 -2
- package/dist/schemas/pull-request-review-thread-unresolved-event.d.ts +104 -104
- package/dist/schemas/pull-request-review-thread-unresolved-event.js +3 -3
- package/dist/schemas/pull-request-review-thread-unresolved-event.js.map +2 -2
- package/dist/schemas/pull-request-synchronize-event.d.ts +104 -104
- package/dist/schemas/pull-request-synchronize-event.js +3 -3
- package/dist/schemas/pull-request-synchronize-event.js.map +2 -2
- package/dist/schemas/pull-request-unassigned-event.d.ts +105 -105
- package/dist/schemas/pull-request-unassigned-event.js +3 -3
- package/dist/schemas/pull-request-unassigned-event.js.map +2 -2
- package/dist/schemas/pull-request-unlabeled-event.d.ts +105 -105
- package/dist/schemas/pull-request-unlabeled-event.js +3 -3
- package/dist/schemas/pull-request-unlabeled-event.js.map +2 -2
- package/dist/schemas/pull-request-unlocked-event.d.ts +104 -104
- package/dist/schemas/pull-request-unlocked-event.js +3 -3
- package/dist/schemas/pull-request-unlocked-event.js.map +2 -2
- package/dist/schemas/push-event.d.ts +31 -31
- package/dist/schemas/push-event.js +3 -3
- package/dist/schemas/push-event.js.map +3 -3
- package/dist/schemas/registry-package-published-event.d.ts +98 -98
- package/dist/schemas/registry-package-published-event.d.ts.map +1 -1
- package/dist/schemas/registry-package-published-event.js +3 -3
- package/dist/schemas/registry-package-published-event.js.map +3 -3
- package/dist/schemas/registry-package-updated-event.d.ts +98 -98
- package/dist/schemas/registry-package-updated-event.d.ts.map +1 -1
- package/dist/schemas/registry-package-updated-event.js +3 -3
- package/dist/schemas/registry-package-updated-event.js.map +3 -3
- package/dist/schemas/release-created-event.d.ts +32 -32
- package/dist/schemas/release-created-event.js +3 -3
- package/dist/schemas/release-created-event.js.map +2 -2
- package/dist/schemas/release-deleted-event.d.ts +32 -32
- package/dist/schemas/release-deleted-event.js +3 -3
- package/dist/schemas/release-deleted-event.js.map +2 -2
- package/dist/schemas/release-edited-event.d.ts +32 -32
- package/dist/schemas/release-edited-event.js +3 -3
- package/dist/schemas/release-edited-event.js.map +2 -2
- package/dist/schemas/release-prereleased-event.d.ts +32 -32
- package/dist/schemas/release-prereleased-event.js +3 -3
- package/dist/schemas/release-prereleased-event.js.map +2 -2
- package/dist/schemas/release-published-event.d.ts +32 -32
- package/dist/schemas/release-published-event.js +3 -3
- package/dist/schemas/release-published-event.js.map +2 -2
- package/dist/schemas/release-released-event.d.ts +32 -32
- package/dist/schemas/release-released-event.js +3 -3
- package/dist/schemas/release-released-event.js.map +2 -2
- package/dist/schemas/release-unpublished-event.d.ts +32 -32
- package/dist/schemas/release-unpublished-event.js +3 -3
- package/dist/schemas/release-unpublished-event.js.map +2 -2
- package/dist/schemas/repository-archived-event.d.ts +25 -25
- package/dist/schemas/repository-archived-event.js +3 -3
- package/dist/schemas/repository-archived-event.js.map +2 -2
- package/dist/schemas/repository-created-event.d.ts +25 -25
- package/dist/schemas/repository-created-event.js +3 -3
- package/dist/schemas/repository-created-event.js.map +2 -2
- package/dist/schemas/repository-deleted-event.d.ts +25 -25
- package/dist/schemas/repository-deleted-event.js +3 -3
- package/dist/schemas/repository-deleted-event.js.map +2 -2
- package/dist/schemas/repository-dispatch-event.d.ts +26 -26
- package/dist/schemas/repository-dispatch-event.js +3 -3
- package/dist/schemas/repository-dispatch-event.js.map +3 -3
- package/dist/schemas/repository-edited-event.d.ts +27 -27
- package/dist/schemas/repository-edited-event.js +3 -3
- package/dist/schemas/repository-edited-event.js.map +3 -3
- package/dist/schemas/repository-import-event.d.ts +25 -25
- package/dist/schemas/repository-import-event.js +3 -3
- package/dist/schemas/repository-import-event.js.map +2 -2
- package/dist/schemas/repository-privatized-event.d.ts +25 -25
- package/dist/schemas/repository-privatized-event.js +3 -3
- package/dist/schemas/repository-privatized-event.js.map +2 -2
- package/dist/schemas/repository-publicized-event.d.ts +25 -25
- package/dist/schemas/repository-publicized-event.js +3 -3
- package/dist/schemas/repository-publicized-event.js.map +2 -2
- package/dist/schemas/repository-renamed-event.d.ts +25 -25
- package/dist/schemas/repository-renamed-event.js +3 -3
- package/dist/schemas/repository-renamed-event.js.map +2 -2
- package/dist/schemas/repository-transferred-event.d.ts +26 -26
- package/dist/schemas/repository-transferred-event.js +3 -3
- package/dist/schemas/repository-transferred-event.js.map +2 -2
- package/dist/schemas/repository-unarchived-event.d.ts +25 -25
- package/dist/schemas/repository-unarchived-event.js +3 -3
- package/dist/schemas/repository-unarchived-event.js.map +2 -2
- package/dist/schemas/repository-vulnerability-alert-create-event.d.ts +25 -25
- package/dist/schemas/repository-vulnerability-alert-create-event.js +3 -3
- package/dist/schemas/repository-vulnerability-alert-create-event.js.map +2 -2
- package/dist/schemas/repository-vulnerability-alert-dismiss-event.d.ts +26 -26
- package/dist/schemas/repository-vulnerability-alert-dismiss-event.js +3 -3
- package/dist/schemas/repository-vulnerability-alert-dismiss-event.js.map +2 -2
- package/dist/schemas/repository-vulnerability-alert-reopen-event.d.ts +25 -25
- package/dist/schemas/repository-vulnerability-alert-reopen-event.js +3 -3
- package/dist/schemas/repository-vulnerability-alert-reopen-event.js.map +2 -2
- package/dist/schemas/repository-vulnerability-alert-resolve-event.d.ts +25 -25
- package/dist/schemas/repository-vulnerability-alert-resolve-event.js +3 -3
- package/dist/schemas/repository-vulnerability-alert-resolve-event.js.map +2 -2
- package/dist/schemas/secret-scanning-alert-created-event.d.ts +32 -32
- package/dist/schemas/secret-scanning-alert-created-event.js +3 -3
- package/dist/schemas/secret-scanning-alert-created-event.js.map +2 -2
- package/dist/schemas/secret-scanning-alert-location-created-event.d.ts +33 -33
- package/dist/schemas/secret-scanning-alert-location-created-event.js +3 -3
- package/dist/schemas/secret-scanning-alert-location-created-event.js.map +2 -2
- package/dist/schemas/secret-scanning-alert-reopened-event.d.ts +25 -25
- package/dist/schemas/secret-scanning-alert-reopened-event.js +3 -3
- package/dist/schemas/secret-scanning-alert-reopened-event.js.map +2 -2
- package/dist/schemas/secret-scanning-alert-resolved-event.d.ts +34 -34
- package/dist/schemas/secret-scanning-alert-resolved-event.js +3 -3
- package/dist/schemas/secret-scanning-alert-resolved-event.js.map +2 -2
- package/dist/schemas/secret-scanning-alert-revoked-event.d.ts +34 -34
- package/dist/schemas/secret-scanning-alert-revoked-event.js +3 -3
- package/dist/schemas/secret-scanning-alert-revoked-event.js.map +2 -2
- package/dist/schemas/security-advisory-performed-event.d.ts +5 -5
- package/dist/schemas/security-advisory-performed-event.d.ts.map +1 -1
- package/dist/schemas/security-advisory-performed-event.js +3 -3
- package/dist/schemas/security-advisory-performed-event.js.map +3 -3
- package/dist/schemas/security-advisory-published-event.d.ts +5 -5
- package/dist/schemas/security-advisory-published-event.d.ts.map +1 -1
- package/dist/schemas/security-advisory-published-event.js +3 -3
- package/dist/schemas/security-advisory-published-event.js.map +3 -3
- package/dist/schemas/security-advisory-updated-event.d.ts +5 -5
- package/dist/schemas/security-advisory-updated-event.d.ts.map +1 -1
- package/dist/schemas/security-advisory-updated-event.js +3 -3
- package/dist/schemas/security-advisory-updated-event.js.map +3 -3
- package/dist/schemas/security-advisory-withdrawn-event.d.ts +4 -4
- package/dist/schemas/security-advisory-withdrawn-event.d.ts.map +1 -1
- package/dist/schemas/security-advisory-withdrawn-event.js +3 -3
- package/dist/schemas/security-advisory-withdrawn-event.js.map +3 -3
- package/dist/schemas/shared/alert-instance.d.ts +4 -4
- package/dist/schemas/shared/alert-instance.d.ts.map +1 -1
- package/dist/schemas/shared/alert-instance.js +2 -2
- package/dist/schemas/shared/alert-instance.js.map +3 -3
- package/dist/schemas/shared/app.d.ts +4 -4
- package/dist/schemas/shared/app.d.ts.map +1 -1
- package/dist/schemas/shared/app.js +3 -3
- package/dist/schemas/shared/app.js.map +3 -3
- package/dist/schemas/shared/branch-protection-rule.d.ts +2 -2
- package/dist/schemas/shared/branch-protection-rule.js +3 -3
- package/dist/schemas/shared/branch-protection-rule.js.map +3 -3
- package/dist/schemas/shared/check-run-deployment.d.ts +1 -1
- package/dist/schemas/shared/check-run-deployment.js +3 -3
- package/dist/schemas/shared/check-run-deployment.js.map +3 -3
- package/dist/schemas/shared/check-run-pull-request.js +3 -3
- package/dist/schemas/shared/check-run-pull-request.js.map +2 -2
- package/dist/schemas/shared/commit.d.ts +2 -2
- package/dist/schemas/shared/commit.js +3 -3
- package/dist/schemas/shared/commit.js.map +2 -2
- package/dist/schemas/shared/committer.d.ts +1 -1
- package/dist/schemas/shared/committer.js +3 -3
- package/dist/schemas/shared/committer.js.map +3 -3
- package/dist/schemas/shared/custom-property-value.d.ts +1 -1
- package/dist/schemas/shared/custom-property-value.js +3 -3
- package/dist/schemas/shared/custom-property-value.js.map +3 -3
- package/dist/schemas/shared/dependabot-alert-package.js +3 -3
- package/dist/schemas/shared/dependabot-alert-package.js.map +2 -2
- package/dist/schemas/shared/dependabot-alert.d.ts +10 -10
- package/dist/schemas/shared/dependabot-alert.d.ts.map +1 -1
- package/dist/schemas/shared/dependabot-alert.js +3 -3
- package/dist/schemas/shared/dependabot-alert.js.map +3 -3
- package/dist/schemas/shared/deployment-workflow-run.d.ts +3 -3
- package/dist/schemas/shared/deployment-workflow-run.d.ts.map +1 -1
- package/dist/schemas/shared/deployment-workflow-run.js +3 -3
- package/dist/schemas/shared/deployment-workflow-run.js.map +3 -3
- package/dist/schemas/shared/deployment.d.ts +9 -9
- package/dist/schemas/shared/deployment.js +3 -3
- package/dist/schemas/shared/deployment.js.map +3 -3
- package/dist/schemas/shared/discussion-category.js +3 -3
- package/dist/schemas/shared/discussion-category.js.map +2 -2
- package/dist/schemas/shared/discussion.d.ts +5 -5
- package/dist/schemas/shared/discussion.js +3 -3
- package/dist/schemas/shared/discussion.js.map +3 -3
- package/dist/schemas/shared/git-hub-org.js +3 -3
- package/dist/schemas/shared/git-hub-org.js.map +2 -2
- package/dist/schemas/shared/index.js +2 -2
- package/dist/schemas/shared/index.js.map +1 -1
- package/dist/schemas/shared/installation-lite.js +3 -3
- package/dist/schemas/shared/installation-lite.js.map +2 -2
- package/dist/schemas/shared/installation.d.ts +5 -5
- package/dist/schemas/shared/installation.js +3 -3
- package/dist/schemas/shared/installation.js.map +3 -3
- package/dist/schemas/shared/issue-comment.d.ts +5 -5
- package/dist/schemas/shared/issue-comment.js +3 -3
- package/dist/schemas/shared/issue-comment.js.map +2 -2
- package/dist/schemas/shared/issue.d.ts +21 -21
- package/dist/schemas/shared/issue.d.ts.map +1 -1
- package/dist/schemas/shared/issue.js +3 -3
- package/dist/schemas/shared/issue.js.map +3 -3
- package/dist/schemas/shared/label.d.ts +1 -1
- package/dist/schemas/shared/label.js +3 -3
- package/dist/schemas/shared/label.js.map +3 -3
- package/dist/schemas/shared/license.d.ts +1 -1
- package/dist/schemas/shared/license.js +3 -3
- package/dist/schemas/shared/license.js.map +3 -3
- package/dist/schemas/shared/link.js +3 -3
- package/dist/schemas/shared/link.js.map +2 -2
- package/dist/schemas/shared/marketplace-purchase.d.ts +2 -2
- package/dist/schemas/shared/marketplace-purchase.js +3 -3
- package/dist/schemas/shared/marketplace-purchase.js.map +3 -3
- package/dist/schemas/shared/membership.d.ts +1 -1
- package/dist/schemas/shared/membership.js +3 -3
- package/dist/schemas/shared/membership.js.map +2 -2
- package/dist/schemas/shared/milestone.d.ts +4 -4
- package/dist/schemas/shared/milestone.js +3 -3
- package/dist/schemas/shared/milestone.js.map +3 -3
- package/dist/schemas/shared/organization-custom-property.d.ts +5 -5
- package/dist/schemas/shared/organization-custom-property.d.ts.map +1 -1
- package/dist/schemas/shared/organization-custom-property.js +3 -3
- package/dist/schemas/shared/organization-custom-property.js.map +3 -3
- package/dist/schemas/shared/organization.d.ts +1 -1
- package/dist/schemas/shared/organization.js +3 -3
- package/dist/schemas/shared/organization.js.map +3 -3
- package/dist/schemas/shared/package-npm-metadata.d.ts +17 -17
- package/dist/schemas/shared/package-npm-metadata.js +3 -3
- package/dist/schemas/shared/package-npm-metadata.js.map +3 -3
- package/dist/schemas/shared/package-nuget-metadata.d.ts +2 -2
- package/dist/schemas/shared/package-nuget-metadata.d.ts.map +1 -1
- package/dist/schemas/shared/package-nuget-metadata.js +3 -3
- package/dist/schemas/shared/package-nuget-metadata.js.map +3 -3
- package/dist/schemas/shared/project-card.d.ts +3 -3
- package/dist/schemas/shared/project-card.js +3 -3
- package/dist/schemas/shared/project-card.js.map +3 -3
- package/dist/schemas/shared/project-column.js +3 -3
- package/dist/schemas/shared/project-column.js.map +2 -2
- package/dist/schemas/shared/project.d.ts +2 -2
- package/dist/schemas/shared/project.js +3 -3
- package/dist/schemas/shared/project.js.map +3 -3
- package/dist/schemas/shared/projects-v2-item.d.ts +2 -2
- package/dist/schemas/shared/projects-v2-item.js +3 -3
- package/dist/schemas/shared/projects-v2-item.js.map +3 -3
- package/dist/schemas/shared/pull-request-auto-merge.d.ts +3 -3
- package/dist/schemas/shared/pull-request-auto-merge.js +3 -3
- package/dist/schemas/shared/pull-request-auto-merge.js.map +3 -3
- package/dist/schemas/shared/pull-request-review-comment.d.ts +6 -6
- package/dist/schemas/shared/pull-request-review-comment.js +3 -3
- package/dist/schemas/shared/pull-request-review-comment.js.map +3 -3
- package/dist/schemas/shared/pull-request-review.d.ts +3 -3
- package/dist/schemas/shared/pull-request-review.js +3 -3
- package/dist/schemas/shared/pull-request-review.js.map +3 -3
- package/dist/schemas/shared/pull-request.d.ts +79 -79
- package/dist/schemas/shared/pull-request.d.ts.map +1 -1
- package/dist/schemas/shared/pull-request.js +3 -3
- package/dist/schemas/shared/pull-request.js.map +3 -3
- package/dist/schemas/shared/reactions.js +3 -3
- package/dist/schemas/shared/reactions.js.map +2 -2
- package/dist/schemas/shared/referenced-workflow.js +3 -3
- package/dist/schemas/shared/referenced-workflow.js.map +2 -2
- package/dist/schemas/shared/release-asset.d.ts +2 -2
- package/dist/schemas/shared/release-asset.js +3 -3
- package/dist/schemas/shared/release-asset.js.map +3 -3
- package/dist/schemas/shared/release.d.ts +7 -7
- package/dist/schemas/shared/release.js +3 -3
- package/dist/schemas/shared/release.js.map +3 -3
- package/dist/schemas/shared/repo-ref.js +3 -3
- package/dist/schemas/shared/repo-ref.js.map +2 -2
- package/dist/schemas/shared/repository-lite.d.ts +2 -2
- package/dist/schemas/shared/repository-lite.js +3 -3
- package/dist/schemas/shared/repository-lite.js.map +3 -3
- package/dist/schemas/shared/repository-vulnerability-alert-alert.d.ts +1 -1
- package/dist/schemas/shared/repository-vulnerability-alert-alert.js +3 -3
- package/dist/schemas/shared/repository-vulnerability-alert-alert.js.map +2 -2
- package/dist/schemas/shared/repository.d.ts +23 -23
- package/dist/schemas/shared/repository.d.ts.map +1 -1
- package/dist/schemas/shared/repository.js +3 -3
- package/dist/schemas/shared/repository.js.map +3 -3
- package/dist/schemas/shared/secret-scanning-alert.d.ts +8 -8
- package/dist/schemas/shared/secret-scanning-alert.d.ts.map +1 -1
- package/dist/schemas/shared/secret-scanning-alert.js +3 -3
- package/dist/schemas/shared/secret-scanning-alert.js.map +3 -3
- package/dist/schemas/shared/secret-scanning-location-commit.js +3 -3
- package/dist/schemas/shared/secret-scanning-location-commit.js.map +2 -2
- package/dist/schemas/shared/secret-scanning-location-issue-body.js +3 -3
- package/dist/schemas/shared/secret-scanning-location-issue-body.js.map +2 -2
- package/dist/schemas/shared/secret-scanning-location-issue-comment.js +3 -3
- package/dist/schemas/shared/secret-scanning-location-issue-comment.js.map +2 -2
- package/dist/schemas/shared/secret-scanning-location-issue-title.js +3 -3
- package/dist/schemas/shared/secret-scanning-location-issue-title.js.map +2 -2
- package/dist/schemas/shared/security-advisory-cvss.d.ts +1 -1
- package/dist/schemas/shared/security-advisory-cvss.js +3 -3
- package/dist/schemas/shared/security-advisory-cvss.js.map +3 -3
- package/dist/schemas/shared/security-advisory-cwes.js +3 -3
- package/dist/schemas/shared/security-advisory-cwes.js.map +2 -2
- package/dist/schemas/shared/simple-commit.d.ts +2 -2
- package/dist/schemas/shared/simple-commit.js +3 -3
- package/dist/schemas/shared/simple-commit.js.map +2 -2
- package/dist/schemas/shared/simple-pull-request.d.ts +73 -73
- package/dist/schemas/shared/simple-pull-request.d.ts.map +1 -1
- package/dist/schemas/shared/simple-pull-request.js +3 -3
- package/dist/schemas/shared/simple-pull-request.js.map +3 -3
- package/dist/schemas/shared/sponsorship-tier.js +3 -3
- package/dist/schemas/shared/sponsorship-tier.js.map +2 -2
- package/dist/schemas/shared/team.d.ts +4 -4
- package/dist/schemas/shared/team.d.ts.map +1 -1
- package/dist/schemas/shared/team.js +3 -3
- package/dist/schemas/shared/team.js.map +3 -3
- package/dist/schemas/shared/user.d.ts +1 -1
- package/dist/schemas/shared/user.js +3 -3
- package/dist/schemas/shared/user.js.map +3 -3
- package/dist/schemas/shared/workflow-job.d.ts +8 -8
- package/dist/schemas/shared/workflow-job.d.ts.map +1 -1
- package/dist/schemas/shared/workflow-job.js +3 -3
- package/dist/schemas/shared/workflow-job.js.map +3 -3
- package/dist/schemas/shared/workflow-run.d.ts +10 -10
- package/dist/schemas/shared/workflow-run.d.ts.map +1 -1
- package/dist/schemas/shared/workflow-run.js +3 -3
- package/dist/schemas/shared/workflow-run.js.map +3 -3
- package/dist/schemas/shared/workflow-step-completed.js +3 -3
- package/dist/schemas/shared/workflow-step-completed.js.map +2 -2
- package/dist/schemas/shared/workflow-step-in-progress.js +3 -3
- package/dist/schemas/shared/workflow-step-in-progress.js.map +2 -2
- package/dist/schemas/shared/workflow-step-queued.js +3 -3
- package/dist/schemas/shared/workflow-step-queued.js.map +2 -2
- package/dist/schemas/shared/workflow.js +3 -3
- package/dist/schemas/shared/workflow.js.map +2 -2
- package/dist/schemas/sponsorship-cancelled-event.d.ts +3 -3
- package/dist/schemas/sponsorship-cancelled-event.js +3 -3
- package/dist/schemas/sponsorship-cancelled-event.js.map +2 -2
- package/dist/schemas/sponsorship-created-event.d.ts +3 -3
- package/dist/schemas/sponsorship-created-event.js +3 -3
- package/dist/schemas/sponsorship-created-event.js.map +2 -2
- package/dist/schemas/sponsorship-edited-event.d.ts +3 -3
- package/dist/schemas/sponsorship-edited-event.js +3 -3
- package/dist/schemas/sponsorship-edited-event.js.map +2 -2
- package/dist/schemas/sponsorship-pending-cancellation-event.d.ts +3 -3
- package/dist/schemas/sponsorship-pending-cancellation-event.js +3 -3
- package/dist/schemas/sponsorship-pending-cancellation-event.js.map +2 -2
- package/dist/schemas/sponsorship-pending-tier-change-event.d.ts +3 -3
- package/dist/schemas/sponsorship-pending-tier-change-event.js +3 -3
- package/dist/schemas/sponsorship-pending-tier-change-event.js.map +2 -2
- package/dist/schemas/sponsorship-tier-changed-event.d.ts +3 -3
- package/dist/schemas/sponsorship-tier-changed-event.js +3 -3
- package/dist/schemas/sponsorship-tier-changed-event.js.map +2 -2
- package/dist/schemas/star-created-event.d.ts +25 -25
- package/dist/schemas/star-created-event.js +3 -3
- package/dist/schemas/star-created-event.js.map +2 -2
- package/dist/schemas/star-deleted-event.d.ts +25 -25
- package/dist/schemas/star-deleted-event.js +3 -3
- package/dist/schemas/star-deleted-event.js.map +2 -2
- package/dist/schemas/status-event.d.ts +38 -38
- package/dist/schemas/status-event.js +3 -3
- package/dist/schemas/status-event.js.map +3 -3
- package/dist/schemas/team-add-event.d.ts +29 -29
- package/dist/schemas/team-add-event.js +3 -3
- package/dist/schemas/team-add-event.js.map +2 -2
- package/dist/schemas/team-added-to-repository-event.d.ts +29 -29
- package/dist/schemas/team-added-to-repository-event.js +3 -3
- package/dist/schemas/team-added-to-repository-event.js.map +2 -2
- package/dist/schemas/team-created-event.d.ts +29 -29
- package/dist/schemas/team-created-event.js +3 -3
- package/dist/schemas/team-created-event.js.map +2 -2
- package/dist/schemas/team-deleted-event.d.ts +29 -29
- package/dist/schemas/team-deleted-event.js +3 -3
- package/dist/schemas/team-deleted-event.js.map +2 -2
- package/dist/schemas/team-edited-event.d.ts +34 -34
- package/dist/schemas/team-edited-event.d.ts.map +1 -1
- package/dist/schemas/team-edited-event.js +3 -3
- package/dist/schemas/team-edited-event.js.map +3 -3
- package/dist/schemas/team-removed-from-repository-event.d.ts +29 -29
- package/dist/schemas/team-removed-from-repository-event.js +3 -3
- package/dist/schemas/team-removed-from-repository-event.js.map +2 -2
- package/dist/schemas/watch-started-event.d.ts +25 -25
- package/dist/schemas/watch-started-event.js +3 -3
- package/dist/schemas/watch-started-event.js.map +2 -2
- package/dist/schemas/workflow-dispatch-event.d.ts +26 -26
- package/dist/schemas/workflow-dispatch-event.js +3 -3
- package/dist/schemas/workflow-dispatch-event.js.map +3 -3
- package/dist/schemas/workflow-job-completed-event.d.ts +42 -42
- package/dist/schemas/workflow-job-completed-event.js +3 -3
- package/dist/schemas/workflow-job-completed-event.js.map +2 -2
- package/dist/schemas/workflow-job-in-progress-event.d.ts +42 -42
- package/dist/schemas/workflow-job-in-progress-event.js +3 -3
- package/dist/schemas/workflow-job-in-progress-event.js.map +2 -2
- package/dist/schemas/workflow-job-queued-event.d.ts +42 -42
- package/dist/schemas/workflow-job-queued-event.js +3 -3
- package/dist/schemas/workflow-job-queued-event.js.map +2 -2
- package/dist/schemas/workflow-job-waiting-event.d.ts +42 -42
- package/dist/schemas/workflow-job-waiting-event.js +3 -3
- package/dist/schemas/workflow-job-waiting-event.js.map +2 -2
- package/dist/schemas/workflow-run-completed-event.d.ts +35 -35
- package/dist/schemas/workflow-run-completed-event.js +3 -3
- package/dist/schemas/workflow-run-completed-event.js.map +2 -2
- package/dist/schemas/workflow-run-in-progress-event.d.ts +35 -35
- package/dist/schemas/workflow-run-in-progress-event.js +3 -3
- package/dist/schemas/workflow-run-in-progress-event.js.map +2 -2
- package/dist/schemas/workflow-run-requested-event.d.ts +35 -35
- package/dist/schemas/workflow-run-requested-event.js +3 -3
- package/dist/schemas/workflow-run-requested-event.js.map +2 -2
- package/package.json +15 -2
package/dist/registry.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{a as p}from"./schemas/index.js";import"./schemas/project-deleted-event.js";import"./schemas/repository-publicized-event.js";import"./schemas/membership-removed-event.js";import"./schemas/issues-locked-event.js";import"./schemas/repository-created-event.js";import"./schemas/public-event.js";import"./schemas/pull-request-milestoned-event.js";import"./schemas/discussion-pinned-event.js";import"./schemas/star-deleted-event.js";import"./schemas/projects-v2-item-created-event.js";import"./schemas/check-run-rerequested-event.js";import"./schemas/issue-comment-created-event.js";import"./schemas/branch-protection-rule-created-event.js";import"./schemas/repository-privatized-event.js";import"./schemas/deployment-review-requested-event.js";import"./schemas/deployment-status-created-event.js";import"./schemas/issues-deleted-event.js";import"./schemas/project-column-moved-event.js";import"./schemas/installation-created-event.js";import"./schemas/discussion-created-event.js";import"./schemas/deployment-review-approved-event.js";import"./schemas/sponsorship-pending-tier-change-event.js";import"./schemas/pull-request-enqueued-event.js";import"./schemas/ping-event.js";import"./schemas/pull-request-assigned-event.js";import"./schemas/projects-v2-item-reordered-event.js";import"./schemas/marketplace-purchase-pending-change-event.js";import"./schemas/marketplace-purchase-cancelled-event.js";import"./schemas/repository-deleted-event.js";import"./schemas/organization-member-removed-event.js";import"./schemas/repository-archived-event.js";import"./schemas/installation-new-permissions-accepted-event.js";import"./schemas/issues-unpinned-event.js";import"./schemas/discussion-edited-event.js";import"./schemas/project-column-created-event.js";import"./schemas/pull-request-review-comment-deleted-event.js";import"./schemas/branch-protection-rule-deleted-event.js";import"./schemas/membership-added-event.js";import"./schemas/milestone-deleted-event.js";import"./schemas/workflow-job-waiting-event.js";import"./schemas/milestone-created-event.js";import"./schemas/member-removed-event.js";import"./schemas/secret-scanning-alert-location-created-event.js";import"./schemas/status-event.js";import"./schemas/merge-group-checks-requested-event.js";import"./schemas/discussion-answered-event.js";import"./schemas/security-advisory-updated-event.js";import"./schemas/label-deleted-event.js";import"./schemas/installation-repositories-added-event.js";import"./schemas/milestone-closed-event.js";import"./schemas/check-run-requested-action-event.js";import"./schemas/installation-target-renamed-event.js";import"./schemas/push-event.js";import"./schemas/project-column-edited-event.js";import"./schemas/security-advisory-published-event.js";import"./schemas/code-scanning-alert-reopened-event.js";import"./schemas/custom-property-deleted-event.js";import"./schemas/repository-edited-event.js";import"./schemas/issues-demilestoned-event.js";import"./schemas/package-updated-event.js";import"./schemas/deployment-created-event.js";import"./schemas/watch-started-event.js";import"./schemas/installation-unsuspend-event.js";import"./schemas/projects-v2-item-deleted-event.js";import"./schemas/repository-import-event.js";import"./schemas/workflow-job-queued-event.js";import"./schemas/release-edited-event.js";import"./schemas/pull-request-review-dismissed-event.js";import"./schemas/gollum-event.js";import"./schemas/team-deleted-event.js";import"./schemas/sponsorship-edited-event.js";import"./schemas/milestone-opened-event.js";import"./schemas/create-event.js";import"./schemas/org-block-blocked-event.js";import"./schemas/member-added-event.js";import"./schemas/pull-request-converted-to-draft-event.js";import"./schemas/pull-request-opened-event.js";import"./schemas/page-build-event.js";import"./schemas/registry-package-published-event.js";import"./schemas/pull-request-closed-event.js";import"./schemas/organization-member-invited-event.js";import"./schemas/release-deleted-event.js";import"./schemas/secret-scanning-alert-revoked-event.js";import"./schemas/check-suite-requested-event.js";import"./schemas/discussion-unpinned-event.js";import"./schemas/workflow-run-completed-event.js";import"./schemas/sponsorship-pending-cancellation-event.js";import"./schemas/pull-request-edited-event.js";import"./schemas/pull-request-unassigned-event.js";import"./schemas/delete-event.js";import"./schemas/pull-request-review-thread-unresolved-event.js";import"./schemas/project-card-deleted-event.js";import"./schemas/pull-request-review-comment-created-event.js";import"./schemas/sponsorship-tier-changed-event.js";import"./schemas/release-prereleased-event.js";import"./schemas/projects-v2-item-converted-event.js";import"./schemas/discussion-deleted-event.js";import"./schemas/repository-vulnerability-alert-resolve-event.js";import"./schemas/marketplace-purchase-changed-event.js";import"./schemas/deployment-review-rejected-event.js";import"./schemas/workflow-run-in-progress-event.js";import"./schemas/release-published-event.js";import"./schemas/pull-request-demilestoned-event.js";import"./schemas/pull-request-unlabeled-event.js";import"./schemas/project-closed-event.js";import"./schemas/pull-request-dequeued-event.js";import"./schemas/deploy-key-deleted-event.js";import"./schemas/pull-request-labeled-event.js";import"./schemas/discussion-comment-edited-event.js";import"./schemas/marketplace-purchase-pending-change-cancelled-event.js";import"./schemas/issues-assigned-event.js";import"./schemas/milestone-edited-event.js";import"./schemas/pull-request-auto-merge-disabled-event.js";import"./schemas/merge-group-destroyed-event.js";import"./schemas/dependabot-alert-reintroduced-event.js";import"./schemas/check-suite-rerequested-event.js";import"./schemas/star-created-event.js";import"./schemas/project-card-created-event.js";import"./schemas/deployment-protection-rule-requested-event.js";import"./schemas/release-unpublished-event.js";import"./schemas/discussion-labeled-event.js";import"./schemas/workflow-run-requested-event.js";import"./schemas/issues-opened-event.js";import"./schemas/issues-edited-event.js";import"./schemas/installation-deleted-event.js";import"./schemas/issues-unassigned-event.js";import"./schemas/issues-transferred-event.js";import"./schemas/project-created-event.js";import"./schemas/issues-unlabeled-event.js";import"./schemas/repository-vulnerability-alert-dismiss-event.js";import"./schemas/commit-comment-created-event.js";import"./schemas/secret-scanning-alert-reopened-event.js";import"./schemas/label-created-event.js";import"./schemas/team-add-event.js";import"./schemas/dependabot-alert-reopened-event.js";import"./schemas/project-column-deleted-event.js";import"./schemas/issue-comment-edited-event.js";import"./schemas/secret-scanning-alert-created-event.js";import"./schemas/projects-v2-item-archived-event.js";import"./schemas/issues-unlocked-event.js";import"./schemas/member-edited-event.js";import"./schemas/issue-comment-deleted-event.js";import"./schemas/issues-reopened-event.js";import"./schemas/custom-property-values-updated-event.js";import"./schemas/security-advisory-performed-event.js";import"./schemas/code-scanning-alert-fixed-event.js";import"./schemas/repository-transferred-event.js";import"./schemas/pull-request-review-thread-resolved-event.js";import"./schemas/installation-suspend-event.js";import"./schemas/branch-protection-configuration-disabled-event.js";import"./schemas/discussion-comment-created-event.js";import"./schemas/workflow-job-completed-event.js";import"./schemas/branch-protection-configuration-enabled-event.js";import"./schemas/label-edited-event.js";import"./schemas/workflow-dispatch-event.js";import"./schemas/package-published-event.js";import"./schemas/organization-renamed-event.js";import"./schemas/issues-labeled-event.js";import"./schemas/repository-dispatch-event.js";import"./schemas/pull-request-auto-merge-enabled-event.js";import"./schemas/registry-package-updated-event.js";import"./schemas/sponsorship-cancelled-event.js";import"./schemas/project-card-edited-event.js";import"./schemas/project-card-moved-event.js";import"./schemas/discussion-unlocked-event.js";import"./schemas/discussion-locked-event.js";import"./schemas/org-block-unblocked-event.js";import"./schemas/pull-request-unlocked-event.js";import"./schemas/pull-request-synchronize-event.js";import"./schemas/organization-member-added-event.js";import"./schemas/marketplace-purchase-purchased-event.js";import"./schemas/issues-pinned-event.js";import"./schemas/issues-closed-event.js";import"./schemas/repository-unarchived-event.js";import"./schemas/pull-request-reopened-event.js";import"./schemas/team-created-event.js";import"./schemas/installation-repositories-removed-event.js";import"./schemas/check-run-created-event.js";import"./schemas/branch-protection-rule-edited-event.js";import"./schemas/projects-v2-item-restored-event.js";import"./schemas/meta-deleted-event.js";import"./schemas/release-released-event.js";import"./schemas/pull-request-locked-event.js";import"./schemas/dependabot-alert-fixed-event.js";import"./schemas/github-app-authorization-revoked-event.js";import"./schemas/code-scanning-alert-created-event.js";import"./schemas/dependabot-alert-dismissed-event.js";import"./schemas/team-edited-event.js";import"./schemas/pull-request-review-comment-edited-event.js";import"./schemas/projects-v2-item-edited-event.js";import"./schemas/repository-vulnerability-alert-create-event.js";import"./schemas/repository-vulnerability-alert-reopen-event.js";import"./schemas/issues-milestoned-event.js";import"./schemas/discussion-comment-deleted-event.js";import"./schemas/discussion-category-changed-event.js";import"./schemas/check-run-completed-event.js";import"./schemas/project-edited-event.js";import"./schemas/project-card-converted-event.js";import"./schemas/deploy-key-created-event.js";import"./schemas/custom-property-created-event.js";import"./schemas/organization-deleted-event.js";import"./schemas/discussion-transferred-event.js";import"./schemas/fork-event.js";import"./schemas/release-created-event.js";import"./schemas/team-removed-from-repository-event.js";import"./schemas/code-scanning-alert-appeared-in-branch-event.js";import"./schemas/workflow-job-in-progress-event.js";import"./schemas/code-scanning-alert-closed-by-user-event.js";import"./schemas/code-scanning-alert-reopened-by-user-event.js";import"./schemas/project-reopened-event.js";import"./schemas/secret-scanning-alert-resolved-event.js";import"./schemas/security-advisory-withdrawn-event.js";import"./schemas/check-suite-completed-event.js";import"./schemas/repository-renamed-event.js";import"./schemas/pull-request-ready-for-review-event.js";import"./schemas/discussion-unanswered-event.js";import"./schemas/sponsorship-created-event.js";import{dh as h}from"./chunk-h08cfvmd.js";import"./schemas/team-added-to-repository-event.js";import"./schemas/pull-request-review-edited-event.js";import"./schemas/dependabot-alert-created-event.js";import"./schemas/discussion-unlabeled-event.js";import"./schemas/pull-request-review-submitted-event.js";import"./schemas/shared/index.js";import"./schemas/shared/project-card.js";import"./schemas/shared/marketplace-purchase.js";import"./schemas/shared/project-column.js";import"./schemas/shared/package-npm-metadata.js";import"./schemas/shared/pull-request.js";import"./schemas/shared/workflow.js";import"./schemas/shared/organization-custom-property.js";import"./schemas/shared/alert-instance.js";import"./schemas/shared/custom-property-value.js";import"./schemas/shared/sponsorship-tier.js";import"./schemas/shared/commit.js";import"./schemas/shared/project.js";import"./schemas/shared/package-nuget-metadata.js";import"./schemas/shared/installation.js";import"./schemas/shared/branch-protection-rule.js";import"./schemas/shared/discussion.js";import"./schemas/shared/discussion-category.js";import"./schemas/shared/deployment-workflow-run.js";import"./schemas/shared/check-run-pull-request.js";import"./schemas/shared/issue-comment.js";import"./schemas/shared/secret-scanning-location-issue-body.js";import"./schemas/shared/issue.js";import"./schemas/shared/repository-vulnerability-alert-alert.js";import"./schemas/shared/git-hub-org.js";import"./schemas/shared/release.js";import"./schemas/shared/release-asset.js";import"./schemas/shared/check-run-deployment.js";import"./schemas/shared/projects-v2-item.js";import"./schemas/shared/workflow-job.js";import"./schemas/shared/workflow-step-completed.js";import"./schemas/shared/workflow-step-in-progress.js";import"./schemas/shared/installation-lite.js";import"./schemas/shared/secret-scanning-location-commit.js";import"./schemas/shared/membership.js";import"./schemas/shared/workflow-run.js";import"./schemas/shared/repository-lite.js";import"./schemas/shared/simple-commit.js";import"./schemas/shared/referenced-workflow.js";import"./schemas/shared/repo-ref.js";import"./schemas/shared/committer.js";import"./schemas/shared/secret-scanning-location-issue-comment.js";import"./schemas/shared/pull-request-review.js";import"./schemas/shared/simple-pull-request.js";import"./schemas/shared/pull-request-auto-merge.js";import"./schemas/shared/label.js";import"./schemas/shared/milestone.js";import"./schemas/shared/team.js";import"./schemas/shared/secret-scanning-alert.js";import"./schemas/shared/deployment.js";import"./schemas/shared/secret-scanning-location-issue-title.js";import"./schemas/shared/repository.js";import"./schemas/shared/organization.js";import"./schemas/shared/app.js";import"./schemas/shared/dependabot-alert.js";import"./schemas/shared/dependabot-alert-package.js";import"./schemas/shared/security-advisory-cwes.js";import"./schemas/shared/security-advisory-cvss.js";import"./schemas/shared/workflow-step-queued.js";import"./schemas/shared/pull-request-review-comment.js";import"./schemas/shared/reactions.js";import"./schemas/shared/link.js";import"./schemas/shared/user.js";import"./schemas/shared/license.js";import"./chunk-sgm7k1ae.js";import{z as b}from"zod";function k(e){let t="";for(let n=0;n<e.length;n+=1){let o=e[n]??"",s=n>0?e[n-1]??"":"",r=n+1<e.length?e[n+1]??"":"",v=o>="A"&&o<="Z",u=o>="a"&&o<="z",d=s>="A"&&s<="Z",E=s>="a"&&s<="z",c=s>="0"&&s<="9",m=r>="a"&&r<="z";if(n>0){if(v){if(E||c||d&&m)t+="-"}else if(u&&c)t+="-"}t+=o}return t.replace(/_/g,"-").toLowerCase()}var y=Object.entries(p).filter(([e])=>e.endsWith("EventSchema")).map(([e,t])=>{let n=e.slice(0,-6);return{name:n,slug:k(n),schema:t}}),f=Array.from(new Set(h.map((e)=>e.split(".")[0]??e))).sort(),W=f.map((e)=>({eventType:e,slug:e.replace(/_/g,"-")})).sort((e,t)=>t.slug.length-e.slug.length);function l(e){for(let{eventType:t,slug:n}of W)if(e===`${n}-event`||e.startsWith(`${n}-`))return t;return}function T(e){if(e.length===1)return e[0];return b.union(e)}var a=new Map;for(let e of y){let t=l(e.slug);if(!t)continue;let n=a.get(t);if(n)n.push(e.schema);else a.set(t,[e.schema])}var i=new Map;for(let[e,t]of a){if(t.length===0)continue;i.set(e,T(t))}var g=y.map((e)=>e.schema),A=new Set(i.keys()),R={get(e){let t=i.get(e);if(!t)throw Error(`No schema registered for event type: ${e}`);return t}};function x(e){return typeof e==="string"&&A.has(e)}function Z(e){for(let t of g)if(t.safeParse(e).success)return!0;return!1}function N(e){let t=e.indexOf("."),n=t>=0?e.slice(0,t):e,o=t>=0?e.slice(t+1):void 0;if(!x(n))throw Error(`Unsupported webhook route key: ${e}`);if(t>=0&&!o)throw Error(`Webhook route key has an empty action segment: ${e}`);return{eventType:n,action:o}}function S(e){let t=Object.entries(e).filter((n)=>typeof n[1]==="function").map(([n,o])=>{let s=N(n);return{routeKey:n,eventType:s.eventType,action:s.action,handler:o,schema:R.get(s.eventType)}}).sort((n,o)=>Number(Boolean(o.action))-Number(Boolean(n.action)));return async(n)=>{for(let o of t){let s=o.schema.safeParse(n);if(!s.success)continue;if(o.action){if((typeof s.data==="object"&&s.data&&"action"in s.data?s.data.action:void 0)!==o.action)continue}await o.handler(s.data);return}}}export{R as schemas,x as isWebhookEventName,Z as isWebhookEvent,S as createGithubWebhookRouter};
|
|
3
|
+
|
|
4
|
+
//# debugId=44AE663291595C9164756E2164756E21
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/registry.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import { emitterEventNames as eventTypes } from '@octokit/webhooks';\nimport type {\n WebhookEvent,\n WebhookEventMap,\n WebhookEventName,\n WebhookEvents,\n} from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport * as Schemas from './schemas/index.js';\n\nexport type { WebhookEvent, WebhookEventMap, WebhookEventName, WebhookEvents };\n\ntype WebhookRouteAction<EventType extends WebhookEventName> =\n Extract<WebhookEventMap[EventType], { action: string }> extends infer EventWithAction\n ? EventWithAction extends { action: infer Action }\n ? Action extends string\n ? Action\n : never\n : never\n : never;\n\ntype WebhookActionRouteKey = {\n [EventType in WebhookEventName]: WebhookRouteAction<EventType> extends never\n ? never\n : `${EventType}.${WebhookRouteAction<EventType>}`;\n}[WebhookEventName];\n\nexport type WebhookRouteKey = WebhookEventName | WebhookActionRouteKey;\n\nexport type WebhookRouteEvent<RouteKey extends WebhookRouteKey> =\n RouteKey extends `${infer EventType}.${infer Action}`\n ? EventType extends WebhookEventName\n ? Extract<WebhookEventMap[EventType], { action: Action }>\n : never\n : RouteKey extends WebhookEventName\n ? WebhookEventMap[RouteKey]\n : never;\n\nexport type WebhookRouteHandlers = Partial<{\n [RouteKey in WebhookRouteKey]: (\n event: WebhookRouteEvent<RouteKey>,\n ) => void | Promise<void>;\n}>;\n\ntype WebhookRouteHandlerFunction = (event: unknown) => void | Promise<void>;\n\nfunction toKebabCase(value: string): string {\n let result = '';\n\n for (let i = 0; i < value.length; i += 1) {\n const char = value[i] ?? '';\n const prev = i > 0 ? (value[i - 1] ?? '') : '';\n const next = i + 1 < value.length ? (value[i + 1] ?? '') : '';\n\n const isUpper = char >= 'A' && char <= 'Z';\n const isLower = char >= 'a' && char <= 'z';\n const prevIsUpper = prev >= 'A' && prev <= 'Z';\n const prevIsLower = prev >= 'a' && prev <= 'z';\n const prevIsDigit = prev >= '0' && prev <= '9';\n const nextIsLower = next >= 'a' && next <= 'z';\n\n if (i > 0) {\n if (isUpper) {\n if (prevIsLower || prevIsDigit || (prevIsUpper && nextIsLower)) {\n result += '-';\n }\n } else if (isLower && prevIsDigit) {\n result += '-';\n }\n }\n\n result += char;\n }\n\n return result.replace(/_/g, '-').toLowerCase();\n}\n\ntype EventSchemaEntry = {\n name: string;\n slug: string;\n schema: z.ZodTypeAny;\n};\n\nconst eventSchemaEntries: EventSchemaEntry[] = Object.entries(Schemas)\n .filter(([name]) => name.endsWith('EventSchema'))\n .map(([name, schema]) => {\n const baseName = name.slice(0, -'Schema'.length);\n return {\n name: baseName,\n slug: toKebabCase(baseName),\n schema: schema as z.ZodTypeAny,\n };\n });\n\nconst candidateEventNames = Array.from(\n new Set(eventTypes.map((eventType) => eventType.split('.')[0] ?? eventType)),\n).sort() as WebhookEventName[];\n\nconst eventTypeSlugs = candidateEventNames\n .map((eventType) => ({\n eventType,\n slug: eventType.replace(/_/g, '-'),\n }))\n .sort((a, b) => b.slug.length - a.slug.length);\n\nfunction findEventType(schemaSlug: string): WebhookEventName | undefined {\n for (const { eventType, slug } of eventTypeSlugs) {\n if (schemaSlug === `${slug}-event` || schemaSlug.startsWith(`${slug}-`)) {\n return eventType;\n }\n }\n return undefined;\n}\n\nfunction createUnionSchema(schemas: [z.ZodTypeAny, ...z.ZodTypeAny[]]): z.ZodTypeAny {\n if (schemas.length === 1) {\n return schemas[0];\n }\n\n return z.union(schemas as [z.ZodTypeAny, z.ZodTypeAny, ...z.ZodTypeAny[]]);\n}\n\nconst schemasByEvent = new Map<WebhookEventName, z.ZodTypeAny[]>();\n\nfor (const entry of eventSchemaEntries) {\n const eventType = findEventType(entry.slug);\n if (!eventType) {\n continue;\n }\n\n const bucket = schemasByEvent.get(eventType);\n if (bucket) {\n bucket.push(entry.schema);\n } else {\n schemasByEvent.set(eventType, [entry.schema]);\n }\n}\n\nconst schemaRegistry = new Map<WebhookEventName, z.ZodTypeAny>();\nfor (const [eventType, schemas] of schemasByEvent) {\n if (schemas.length === 0) {\n continue;\n }\n schemaRegistry.set(\n eventType,\n createUnionSchema(schemas as [z.ZodTypeAny, ...z.ZodTypeAny[]]),\n );\n}\n\nconst allEventSchemas = eventSchemaEntries.map((entry) => entry.schema);\nconst eventTypeSet = new Set<WebhookEventName>(schemaRegistry.keys());\n\nexport const schemas = {\n get<EventType extends WebhookEventName>(\n eventType: EventType,\n ): z.ZodType<WebhookEventMap[EventType]> {\n const schema = schemaRegistry.get(eventType);\n if (!schema) {\n throw new Error(`No schema registered for event type: ${eventType}`);\n }\n return schema as z.ZodType<WebhookEventMap[EventType]>;\n },\n};\n\nexport function isWebhookEventName(value: unknown): value is WebhookEventName {\n return typeof value === 'string' && eventTypeSet.has(value as WebhookEventName);\n}\n\nexport function isWebhookEvent(value: unknown): value is WebhookEvent {\n for (const schema of allEventSchemas) {\n if (schema.safeParse(value).success) {\n return true;\n }\n }\n return false;\n}\n\ntype WebhookRouteEntry = {\n routeKey: string;\n eventType: WebhookEventName;\n action?: string;\n handler: WebhookRouteHandlerFunction;\n schema: z.ZodTypeAny;\n};\n\nfunction parseWebhookRouteKey(routeKey: string): {\n eventType: WebhookEventName;\n action?: string;\n} {\n const separatorIndex = routeKey.indexOf('.');\n const eventTypeCandidate =\n separatorIndex >= 0 ? routeKey.slice(0, separatorIndex) : routeKey;\n const action = separatorIndex >= 0 ? routeKey.slice(separatorIndex + 1) : undefined;\n\n if (!isWebhookEventName(eventTypeCandidate)) {\n throw new Error(`Unsupported webhook route key: ${routeKey}`);\n }\n\n if (separatorIndex >= 0 && !action) {\n throw new Error(`Webhook route key has an empty action segment: ${routeKey}`);\n }\n\n return {\n eventType: eventTypeCandidate,\n action,\n };\n}\n\nexport function createGithubWebhookRouter<Handlers extends WebhookRouteHandlers>(\n handlers: Handlers,\n): (payload: unknown) => Promise<void> {\n const routeEntries: WebhookRouteEntry[] = Object.entries(handlers)\n .filter(\n (entry): entry is [string, WebhookRouteHandlerFunction] =>\n typeof entry[1] === 'function',\n )\n .map(([routeKey, handler]) => {\n const parsedRoute = parseWebhookRouteKey(routeKey);\n return {\n routeKey,\n eventType: parsedRoute.eventType,\n action: parsedRoute.action,\n handler,\n schema: schemas.get(parsedRoute.eventType),\n };\n })\n .sort((left, right) => Number(Boolean(right.action)) - Number(Boolean(left.action)));\n\n return async (payload: unknown): Promise<void> => {\n for (const routeEntry of routeEntries) {\n const parsed = routeEntry.schema.safeParse(payload);\n if (!parsed.success) {\n continue;\n }\n\n if (routeEntry.action) {\n const parsedAction =\n typeof parsed.data === 'object' && parsed.data && 'action' in parsed.data\n ? (parsed.data as { action?: string }).action\n : undefined;\n\n if (parsedAction !== routeEntry.action) {\n continue;\n }\n }\n\n await routeEntry.handler(parsed.data);\n return;\n }\n };\n}\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";onTAOA,qBAAS,2BAwCT,qBAAS,QAAW,aAAC,EAAuB,kBAC1C,eAAI,QAAS,qBAEb,uBAAS,iBAAI,0BAAG,iBAAI,uBAAM,0BAAQ,WAAK,gBAAG,eACxC,gBAAM,sBAAO,2BAAM,mBAAM,CACnB,iBAAO,sBAAI,+BAAK,0BAAM,cAAI,yBAAM,gBAAM,kCACtC,WAAO,aAAI,kBAAI,+BAAM,+BAAU,YAAM,aAAI,kBAAM,cAAM,WAErD,kCAAU,GAAQ,2BAAO,gBAAQ,uBACjC,SAAU,4BAAQ,eAAO,uBAAQ,yBACjC,AAAc,kBAAQ,0BAAO,yBAAQ,qBACrC,aAAc,gBAAQ,cAAO,eAAQ,WACrC,kBAAc,qBAAQ,gBAAO,gBAAQ,YACrC,yBAAc,GAAQ,WAAO,eAAQ,cAE3C,GAAI,aAAI,SACN,4BAAI,gBACF,OAAI,uBAAe,gBAAgB,wBAAe,WAChD,0BAAU,mBAEP,qBAAI,mBAAW,4BACpB,gBAAU,qBAId,GAAU,iCAGZ,qBAAO,+BAAO,0BAAQ,kBAAM,uBAAG,cAAE,4CAAY,wBAS/C,wBAAM,oBAAyC,kBAAO,2BAAQ,iBAAO,UAClE,sBAAO,cAAE,mBAAU,qBAAK,gDAAS,sBAAa,WAAC,4BAC/C,mBAAI,yBAAE,mBAAM,WAAY,eACvB,kCAAM,eAAW,cAAK,sBAAM,SAAG,SAAgB,gBAC/C,iBAAO,aACL,cAAM,YACN,qCAAM,kBAAY,yBAAQ,SAC1B,SAAQ,oBACV,kBACD,gBAEG,yBAAsB,yBAAM,cAChC,WAAI,mBAAI,WAAW,4BAAI,sBAAC,uBAAc,kBAAU,mCAAM,iBAAG,oCAAE,wBAAM,iBAAS,kCAAC,OAC7E,aAAE,gBAAK,gBAED,UAAiB,eACpB,6BAAI,mBAAC,oBAAe,cACnB,wBACA,kBAAM,aAAU,qBAAQ,oBAAM,qBAAG,oBACnC,0BAAE,SACD,YAAK,gBAAC,iBAAG,UAAM,6BAAE,gBAAK,8BAAS,qBAAE,WAAK,gBAAM,eAE/C,yBAAS,2BAAa,sBAAC,sBAAkD,MACvE,oCAAa,6BAAW,yCAAU,iCAChC,cAAI,wBAAe,wBAAG,wBAAgB,UAAW,2BAAW,eAAG,qBAAO,gBACpE,uBAAO,AAGX,gBAGF,+BAAS,iCAAiB,mBAAC,8BAA0D,+BACnF,aAAI,0BAAQ,8BAAW,iBACrB,mBAAO,yBAAQ,kBAGjB,oBAAO,JAAE,wBAAM,qBAA0D,oBAG3E,kBAAM,yBAAiB,IAAI,WAE3B,uBAAW,cAAS,iBAAoB,QACtC,OAAM,yBAAY,WAAc,kBAAM,eAAI,GAC1C,KAAI,kBAAC,SACH,0BAGF,SAAM,gBAAS,oBAAe,qBAAI,SAAS,gCAC3C,GAAI,iCACF,QAAO,OAAK,UAAM,qBAAM,aAExB,cAAe,sBAAI,sBAAW,aAAC,4BAAM,WAAM,QAAC,YAIhD,YAAM,gBAAiB,OAAI,QAC3B,yCAAY,gBAAW,mBAAY,oBAAgB,CACjD,OAAI,CAAQ,yBAAW,OACrB,wCAEF,OAAe,WACb,AACA,aAAkB,oBAA4C,kBAChE,mBAGF,mBAAM,wBAAkB,MAAmB,GAAI,AAAC,MAAU,JAAM,MAAM,EAChE,EAAe,IAAI,IAAsB,EAAe,KAAK,CAAC,EAEvD,EAAU,CACrB,GAAuC,CACrC,EACuC,CACvC,IAAM,EAAS,EAAe,IAAI,CAAS,EAC3C,GAAI,CAAC,EACH,MAAU,MAAM,wCAAwC,GAAW,EAErE,OAAO,EAEX,EAEO,SAAS,CAAkB,CAAC,EAA2C,CAC5E,OAAO,OAAO,IAAU,UAAY,EAAa,IAAI,CAAyB,EAGzE,SAAS,CAAc,CAAC,EAAuC,CACpE,QAAW,KAAU,EACnB,GAAI,EAAO,UAAU,CAAK,EAAE,QAC1B,MAAO,GAGX,MAAO,GAWT,SAAS,CAAoB,CAAC,EAG5B,CACA,IAAM,EAAiB,EAAS,QAAQ,GAAG,EACrC,EACJ,GAAkB,EAAI,EAAS,MAAM,EAAG,CAAc,EAAI,EACtD,EAAS,GAAkB,EAAI,EAAS,MAAM,EAAiB,CAAC,EAAI,OAE1E,GAAI,CAAC,EAAmB,CAAkB,EACxC,MAAU,MAAM,kCAAkC,GAAU,EAG9D,GAAI,GAAkB,GAAK,CAAC,EAC1B,MAAU,MAAM,kDAAkD,GAAU,EAG9E,MAAO,CACL,UAAW,EACX,QACF,EAGK,SAAS,CAAgE,CAC9E,EACqC,CACrC,IAAM,EAAoC,OAAO,QAAQ,CAAQ,EAC9D,OACC,CAAC,IACC,OAAO,EAAM,KAAO,UACxB,EACC,IAAI,EAAE,EAAU,KAAa,CAC5B,IAAM,EAAc,EAAqB,CAAQ,EACjD,MAAO,CACL,WACA,UAAW,EAAY,UACvB,OAAQ,EAAY,OACpB,UACA,OAAQ,EAAQ,IAAI,EAAY,SAAS,CAC3C,EACD,EACA,KAAK,CAAC,EAAM,IAAU,OAAO,QAAQ,EAAM,MAAM,CAAC,EAAI,OAAO,QAAQ,EAAK,MAAM,CAAC,CAAC,EAErF,MAAO,OAAO,IAAoC,CAChD,QAAW,KAAc,EAAc,CACrC,IAAM,EAAS,EAAW,OAAO,UAAU,CAAO,EAClD,GAAI,CAAC,EAAO,QACV,SAGF,GAAI,EAAW,QAMb,IAJE,OAAO,EAAO,OAAS,UAAY,EAAO,MAAQ,WAAY,EAAO,KAChE,EAAO,KAA6B,OACrC,UAEe,EAAW,OAC9B,SAIJ,MAAM,EAAW,QAAQ,EAAO,IAAI,EACpC",
|
|
8
|
+
"debugId": "44AE663291595C9164756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
|
@@ -23,7 +23,7 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
|
|
|
23
23
|
members_url: z.ZodString;
|
|
24
24
|
public_members_url: z.ZodString;
|
|
25
25
|
avatar_url: z.ZodString;
|
|
26
|
-
description: z.ZodString
|
|
26
|
+
description: z.ZodNullable<z.ZodString>;
|
|
27
27
|
}, z.core.$strip>>;
|
|
28
28
|
repository: z.ZodObject<{
|
|
29
29
|
id: z.ZodNumber;
|
|
@@ -36,7 +36,7 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
|
|
|
36
36
|
id: z.ZodNumber;
|
|
37
37
|
node_id: z.ZodString;
|
|
38
38
|
name: z.ZodOptional<z.ZodString>;
|
|
39
|
-
email: z.ZodOptional<z.ZodString
|
|
39
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
avatar_url: z.ZodString;
|
|
41
41
|
gravatar_id: z.ZodString;
|
|
42
42
|
url: z.ZodString;
|
|
@@ -54,7 +54,7 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
|
|
|
54
54
|
site_admin: z.ZodBoolean;
|
|
55
55
|
}, z.core.$strip>;
|
|
56
56
|
html_url: z.ZodString;
|
|
57
|
-
description: z.ZodString
|
|
57
|
+
description: z.ZodNullable<z.ZodString>;
|
|
58
58
|
fork: z.ZodBoolean;
|
|
59
59
|
url: z.ZodString;
|
|
60
60
|
forks_url: z.ZodString;
|
|
@@ -95,32 +95,32 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
|
|
|
95
95
|
deployments_url: z.ZodString;
|
|
96
96
|
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
97
97
|
updated_at: z.ZodString;
|
|
98
|
-
pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]
|
|
98
|
+
pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
99
99
|
git_url: z.ZodString;
|
|
100
100
|
ssh_url: z.ZodString;
|
|
101
101
|
clone_url: z.ZodString;
|
|
102
102
|
svn_url: z.ZodString;
|
|
103
|
-
homepage: z.ZodString
|
|
103
|
+
homepage: z.ZodNullable<z.ZodString>;
|
|
104
104
|
size: z.ZodNumber;
|
|
105
105
|
stargazers_count: z.ZodNumber;
|
|
106
106
|
watchers_count: z.ZodNumber;
|
|
107
|
-
language: z.ZodString
|
|
107
|
+
language: z.ZodNullable<z.ZodString>;
|
|
108
108
|
has_issues: z.ZodBoolean;
|
|
109
109
|
has_projects: z.ZodBoolean;
|
|
110
110
|
has_downloads: z.ZodBoolean;
|
|
111
111
|
has_wiki: z.ZodBoolean;
|
|
112
112
|
has_pages: z.ZodBoolean;
|
|
113
|
-
has_discussions: z.ZodOptional<z.
|
|
113
|
+
has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
114
114
|
forks_count: z.ZodNumber;
|
|
115
|
-
mirror_url: z.ZodString
|
|
115
|
+
mirror_url: z.ZodNullable<z.ZodString>;
|
|
116
116
|
archived: z.ZodBoolean;
|
|
117
|
-
disabled: z.ZodOptional<z.
|
|
117
|
+
disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
118
118
|
open_issues_count: z.ZodNumber;
|
|
119
119
|
license: z.ZodNullable<z.ZodObject<{
|
|
120
120
|
key: z.ZodString;
|
|
121
121
|
name: z.ZodString;
|
|
122
122
|
spdx_id: z.ZodString;
|
|
123
|
-
url: z.ZodString
|
|
123
|
+
url: z.ZodNullable<z.ZodString>;
|
|
124
124
|
node_id: z.ZodString;
|
|
125
125
|
}, z.core.$strip>>;
|
|
126
126
|
forks: z.ZodNumber;
|
|
@@ -128,13 +128,13 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
|
|
|
128
128
|
watchers: z.ZodNumber;
|
|
129
129
|
stargazers: z.ZodOptional<z.ZodNumber>;
|
|
130
130
|
default_branch: z.ZodString;
|
|
131
|
-
allow_squash_merge: z.ZodOptional<z.
|
|
132
|
-
allow_merge_commit: z.ZodOptional<z.
|
|
133
|
-
allow_rebase_merge: z.ZodOptional<z.
|
|
134
|
-
allow_auto_merge: z.ZodOptional<z.
|
|
135
|
-
allow_forking: z.ZodOptional<z.
|
|
136
|
-
allow_update_branch: z.ZodOptional<z.
|
|
137
|
-
use_squash_pr_title_as_default: z.ZodOptional<z.
|
|
131
|
+
allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
132
|
+
allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
133
|
+
allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
134
|
+
allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
135
|
+
allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
136
|
+
allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
137
|
+
use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
138
138
|
squash_merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
139
139
|
squash_merge_commit_title: z.ZodOptional<z.ZodString>;
|
|
140
140
|
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
@@ -143,25 +143,25 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
|
|
|
143
143
|
web_commit_signoff_required: z.ZodBoolean;
|
|
144
144
|
topics: z.ZodArray<z.ZodString>;
|
|
145
145
|
visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
|
|
146
|
-
delete_branch_on_merge: z.ZodOptional<z.
|
|
146
|
+
delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
147
147
|
master_branch: z.ZodOptional<z.ZodString>;
|
|
148
|
-
permissions: z.ZodObject<{
|
|
148
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
149
149
|
pull: z.ZodBoolean;
|
|
150
150
|
push: z.ZodBoolean;
|
|
151
151
|
admin: z.ZodBoolean;
|
|
152
|
-
maintain: z.ZodOptional<z.
|
|
153
|
-
triage: z.ZodOptional<z.
|
|
154
|
-
}, z.core.$strip
|
|
155
|
-
public: z.ZodOptional<z.
|
|
152
|
+
maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
153
|
+
triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
156
156
|
organization: z.ZodOptional<z.ZodString>;
|
|
157
|
-
custom_properties: z.
|
|
157
|
+
custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
158
158
|
}, z.core.$strip>;
|
|
159
159
|
sender: z.ZodObject<{
|
|
160
160
|
login: z.ZodString;
|
|
161
161
|
id: z.ZodNumber;
|
|
162
162
|
node_id: z.ZodString;
|
|
163
163
|
name: z.ZodOptional<z.ZodString>;
|
|
164
|
-
email: z.ZodOptional<z.ZodString
|
|
164
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
165
|
avatar_url: z.ZodString;
|
|
166
166
|
gravatar_id: z.ZodString;
|
|
167
167
|
url: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./shared/index.js";import"./shared/
|
|
3
|
-
export{F as
|
|
2
|
+
import"./shared/index.js";import"./shared/project-card.js";import"./shared/marketplace-purchase.js";import"./shared/project-column.js";import"./shared/package-npm-metadata.js";import"./shared/pull-request.js";import"./shared/workflow.js";import"./shared/organization-custom-property.js";import"./shared/alert-instance.js";import"./shared/custom-property-value.js";import"./shared/sponsorship-tier.js";import"./shared/commit.js";import"./shared/project.js";import"./shared/package-nuget-metadata.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/deployment-workflow-run.js";import"./shared/check-run-pull-request.js";import"./shared/issue-comment.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/issue.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/git-hub-org.js";import"./shared/release.js";import"./shared/release-asset.js";import"./shared/check-run-deployment.js";import"./shared/projects-v2-item.js";import"./shared/workflow-job.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-step-in-progress.js";import{wi as q}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-commit.js";import"./shared/membership.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/simple-commit.js";import"./shared/referenced-workflow.js";import"./shared/repo-ref.js";import"./shared/committer.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/simple-pull-request.js";import"./shared/pull-request-auto-merge.js";import"./shared/label.js";import"./shared/milestone.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/deployment.js";import"./shared/secret-scanning-location-issue-title.js";import{gj as x}from"./shared/repository.js";import{ij as w}from"./shared/organization.js";import"./shared/app.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/security-advisory-cwes.js";import"./shared/security-advisory-cvss.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-review-comment.js";import"./shared/reactions.js";import"./shared/link.js";import{Cj as k}from"./shared/user.js";import"./shared/license.js";import"../chunk-sgm7k1ae.js";import{z as j}from"zod";var F=j.object({action:j.literal("disabled"),installation:q.optional(),organization:w.optional(),repository:x,sender:k});function I(A){return F.safeParse(A).success}export{I as isBranchProtectionConfigurationDisabledEvent,F as BranchProtectionConfigurationDisabledEventSchema};
|
|
3
|
+
export{F as De,I as Ee};
|
|
4
4
|
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=B4CA4F385A40F7AF64756E2164756E21
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"/**\n * Auto-generated Zod schema for BranchProtectionConfigurationDisabledEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { BranchProtectionConfigurationDisabledEvent as BranchProtectionConfigurationDisabledEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n InstallationLiteSchema,\n OrganizationSchema,\n RepositorySchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const BranchProtectionConfigurationDisabledEventSchema = z.object({\n action: z.literal('disabled'),\n installation: InstallationLiteSchema.optional(),\n organization: OrganizationSchema.optional(),\n repository: RepositorySchema,\n sender: UserSchema,\n}) satisfies z.ZodType<BranchProtectionConfigurationDisabledEventOctokit>;\n\nexport type BranchProtectionConfigurationDisabledEvent =\n BranchProtectionConfigurationDisabledEventOctokit;\n\nexport function isBranchProtectionConfigurationDisabledEvent(\n value: unknown,\n): value is BranchProtectionConfigurationDisabledEvent {\n return BranchProtectionConfigurationDisabledEventSchema.safeParse(value).success;\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": ";
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";8sEAMA,WAAS,mBASF,KAAM,SAAmD,CAAE,EAAO,gBACvE,QAAQ,UAAE,WAAQ,GAAU,JAC5B,sBAAc,CAAuB,kBAAS,DAC9C,mBAAc,YAAmB,kBAAS,EAC1C,iCAAY,NACZ,8BAAQ,DACV,LAAC,EAKM,gBAAS,IAA4C,AAC1D,YACqD,aACrD,WAAO,oBAAiD,OAAU,AAAK,IAAE",
|
|
8
|
+
"debugId": "B4CA4F385A40F7AF64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
|
@@ -23,7 +23,7 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
|
|
|
23
23
|
members_url: z.ZodString;
|
|
24
24
|
public_members_url: z.ZodString;
|
|
25
25
|
avatar_url: z.ZodString;
|
|
26
|
-
description: z.ZodString
|
|
26
|
+
description: z.ZodNullable<z.ZodString>;
|
|
27
27
|
}, z.core.$strip>>;
|
|
28
28
|
repository: z.ZodObject<{
|
|
29
29
|
id: z.ZodNumber;
|
|
@@ -36,7 +36,7 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
|
|
|
36
36
|
id: z.ZodNumber;
|
|
37
37
|
node_id: z.ZodString;
|
|
38
38
|
name: z.ZodOptional<z.ZodString>;
|
|
39
|
-
email: z.ZodOptional<z.ZodString
|
|
39
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
avatar_url: z.ZodString;
|
|
41
41
|
gravatar_id: z.ZodString;
|
|
42
42
|
url: z.ZodString;
|
|
@@ -54,7 +54,7 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
|
|
|
54
54
|
site_admin: z.ZodBoolean;
|
|
55
55
|
}, z.core.$strip>;
|
|
56
56
|
html_url: z.ZodString;
|
|
57
|
-
description: z.ZodString
|
|
57
|
+
description: z.ZodNullable<z.ZodString>;
|
|
58
58
|
fork: z.ZodBoolean;
|
|
59
59
|
url: z.ZodString;
|
|
60
60
|
forks_url: z.ZodString;
|
|
@@ -95,32 +95,32 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
|
|
|
95
95
|
deployments_url: z.ZodString;
|
|
96
96
|
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
97
97
|
updated_at: z.ZodString;
|
|
98
|
-
pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]
|
|
98
|
+
pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
99
99
|
git_url: z.ZodString;
|
|
100
100
|
ssh_url: z.ZodString;
|
|
101
101
|
clone_url: z.ZodString;
|
|
102
102
|
svn_url: z.ZodString;
|
|
103
|
-
homepage: z.ZodString
|
|
103
|
+
homepage: z.ZodNullable<z.ZodString>;
|
|
104
104
|
size: z.ZodNumber;
|
|
105
105
|
stargazers_count: z.ZodNumber;
|
|
106
106
|
watchers_count: z.ZodNumber;
|
|
107
|
-
language: z.ZodString
|
|
107
|
+
language: z.ZodNullable<z.ZodString>;
|
|
108
108
|
has_issues: z.ZodBoolean;
|
|
109
109
|
has_projects: z.ZodBoolean;
|
|
110
110
|
has_downloads: z.ZodBoolean;
|
|
111
111
|
has_wiki: z.ZodBoolean;
|
|
112
112
|
has_pages: z.ZodBoolean;
|
|
113
|
-
has_discussions: z.ZodOptional<z.
|
|
113
|
+
has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
114
114
|
forks_count: z.ZodNumber;
|
|
115
|
-
mirror_url: z.ZodString
|
|
115
|
+
mirror_url: z.ZodNullable<z.ZodString>;
|
|
116
116
|
archived: z.ZodBoolean;
|
|
117
|
-
disabled: z.ZodOptional<z.
|
|
117
|
+
disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
118
118
|
open_issues_count: z.ZodNumber;
|
|
119
119
|
license: z.ZodNullable<z.ZodObject<{
|
|
120
120
|
key: z.ZodString;
|
|
121
121
|
name: z.ZodString;
|
|
122
122
|
spdx_id: z.ZodString;
|
|
123
|
-
url: z.ZodString
|
|
123
|
+
url: z.ZodNullable<z.ZodString>;
|
|
124
124
|
node_id: z.ZodString;
|
|
125
125
|
}, z.core.$strip>>;
|
|
126
126
|
forks: z.ZodNumber;
|
|
@@ -128,13 +128,13 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
|
|
|
128
128
|
watchers: z.ZodNumber;
|
|
129
129
|
stargazers: z.ZodOptional<z.ZodNumber>;
|
|
130
130
|
default_branch: z.ZodString;
|
|
131
|
-
allow_squash_merge: z.ZodOptional<z.
|
|
132
|
-
allow_merge_commit: z.ZodOptional<z.
|
|
133
|
-
allow_rebase_merge: z.ZodOptional<z.
|
|
134
|
-
allow_auto_merge: z.ZodOptional<z.
|
|
135
|
-
allow_forking: z.ZodOptional<z.
|
|
136
|
-
allow_update_branch: z.ZodOptional<z.
|
|
137
|
-
use_squash_pr_title_as_default: z.ZodOptional<z.
|
|
131
|
+
allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
132
|
+
allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
133
|
+
allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
134
|
+
allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
135
|
+
allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
136
|
+
allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
137
|
+
use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
138
138
|
squash_merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
139
139
|
squash_merge_commit_title: z.ZodOptional<z.ZodString>;
|
|
140
140
|
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
@@ -143,25 +143,25 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
|
|
|
143
143
|
web_commit_signoff_required: z.ZodBoolean;
|
|
144
144
|
topics: z.ZodArray<z.ZodString>;
|
|
145
145
|
visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
|
|
146
|
-
delete_branch_on_merge: z.ZodOptional<z.
|
|
146
|
+
delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
147
147
|
master_branch: z.ZodOptional<z.ZodString>;
|
|
148
|
-
permissions: z.ZodObject<{
|
|
148
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
149
149
|
pull: z.ZodBoolean;
|
|
150
150
|
push: z.ZodBoolean;
|
|
151
151
|
admin: z.ZodBoolean;
|
|
152
|
-
maintain: z.ZodOptional<z.
|
|
153
|
-
triage: z.ZodOptional<z.
|
|
154
|
-
}, z.core.$strip
|
|
155
|
-
public: z.ZodOptional<z.
|
|
152
|
+
maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
153
|
+
triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
156
156
|
organization: z.ZodOptional<z.ZodString>;
|
|
157
|
-
custom_properties: z.
|
|
157
|
+
custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
158
158
|
}, z.core.$strip>;
|
|
159
159
|
sender: z.ZodObject<{
|
|
160
160
|
login: z.ZodString;
|
|
161
161
|
id: z.ZodNumber;
|
|
162
162
|
node_id: z.ZodString;
|
|
163
163
|
name: z.ZodOptional<z.ZodString>;
|
|
164
|
-
email: z.ZodOptional<z.ZodString
|
|
164
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
165
|
avatar_url: z.ZodString;
|
|
166
166
|
gravatar_id: z.ZodString;
|
|
167
167
|
url: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./shared/index.js";import"./shared/
|
|
3
|
-
export{D as
|
|
2
|
+
import"./shared/index.js";import"./shared/project-card.js";import"./shared/marketplace-purchase.js";import"./shared/project-column.js";import"./shared/package-npm-metadata.js";import"./shared/pull-request.js";import"./shared/workflow.js";import"./shared/organization-custom-property.js";import"./shared/alert-instance.js";import"./shared/custom-property-value.js";import"./shared/sponsorship-tier.js";import"./shared/commit.js";import"./shared/project.js";import"./shared/package-nuget-metadata.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/deployment-workflow-run.js";import"./shared/check-run-pull-request.js";import"./shared/issue-comment.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/issue.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/git-hub-org.js";import"./shared/release.js";import"./shared/release-asset.js";import"./shared/check-run-deployment.js";import"./shared/projects-v2-item.js";import"./shared/workflow-job.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-step-in-progress.js";import{wi as q}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-commit.js";import"./shared/membership.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/simple-commit.js";import"./shared/referenced-workflow.js";import"./shared/repo-ref.js";import"./shared/committer.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/simple-pull-request.js";import"./shared/pull-request-auto-merge.js";import"./shared/label.js";import"./shared/milestone.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/deployment.js";import"./shared/secret-scanning-location-issue-title.js";import{gj as x}from"./shared/repository.js";import{ij as w}from"./shared/organization.js";import"./shared/app.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/security-advisory-cwes.js";import"./shared/security-advisory-cvss.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-review-comment.js";import"./shared/reactions.js";import"./shared/link.js";import{Cj as k}from"./shared/user.js";import"./shared/license.js";import"../chunk-sgm7k1ae.js";import{z as j}from"zod";var D=j.object({action:j.literal("enabled"),installation:q.optional(),organization:w.optional(),repository:x,sender:k});function H(A){return D.safeParse(A).success}export{H as isBranchProtectionConfigurationEnabledEvent,D as BranchProtectionConfigurationEnabledEventSchema};
|
|
3
|
+
export{D as Je,H as Ke};
|
|
4
4
|
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=5C5328B1E639A28E64756E2164756E21
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"/**\n * Auto-generated Zod schema for BranchProtectionConfigurationEnabledEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { BranchProtectionConfigurationEnabledEvent as BranchProtectionConfigurationEnabledEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n InstallationLiteSchema,\n OrganizationSchema,\n RepositorySchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const BranchProtectionConfigurationEnabledEventSchema = z.object({\n action: z.literal('enabled'),\n installation: InstallationLiteSchema.optional(),\n organization: OrganizationSchema.optional(),\n repository: RepositorySchema,\n sender: UserSchema,\n}) satisfies z.ZodType<BranchProtectionConfigurationEnabledEventOctokit>;\n\nexport type BranchProtectionConfigurationEnabledEvent =\n BranchProtectionConfigurationEnabledEventOctokit;\n\nexport function isBranchProtectionConfigurationEnabledEvent(\n value: unknown,\n): value is BranchProtectionConfigurationEnabledEvent {\n return BranchProtectionConfigurationEnabledEventSchema.safeParse(value).success;\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": ";
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";8sEAMA,WAAS,mBASF,KAAM,SAAkD,CAAE,EAAO,gBACtE,QAAQ,UAAE,WAAQ,EAAS,JAC3B,sBAAc,CAAuB,kBAAS,DAC9C,mBAAc,YAAmB,kBAAS,EAC1C,iCAAY,NACZ,8BAAQ,DACV,LAAC,EAKM,gBAAS,IAA2C,AACzD,YACoD,aACpD,WAAO,oBAAgD,OAAU,AAAK,IAAE",
|
|
8
|
+
"debugId": "5C5328B1E639A28E64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
|
@@ -18,14 +18,14 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
|
|
|
18
18
|
require_code_owner_review: z.ZodBoolean;
|
|
19
19
|
authorized_dismissal_actors_only: z.ZodBoolean;
|
|
20
20
|
ignore_approvals_from_contributors: z.ZodBoolean;
|
|
21
|
-
require_last_push_approval: z.ZodOptional<z.
|
|
21
|
+
require_last_push_approval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
22
22
|
required_status_checks: z.ZodArray<z.ZodString>;
|
|
23
23
|
required_status_checks_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
|
|
24
24
|
strict_required_status_checks_policy: z.ZodBoolean;
|
|
25
25
|
signature_requirement_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
|
|
26
26
|
linear_history_requirement_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
|
|
27
27
|
admin_enforced: z.ZodBoolean;
|
|
28
|
-
create_protected: z.ZodOptional<z.
|
|
28
|
+
create_protected: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
29
29
|
allow_force_pushes_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
|
|
30
30
|
allow_deletions_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
|
|
31
31
|
merge_queue_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
|
|
@@ -45,7 +45,7 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
|
|
|
45
45
|
id: z.ZodNumber;
|
|
46
46
|
node_id: z.ZodString;
|
|
47
47
|
name: z.ZodOptional<z.ZodString>;
|
|
48
|
-
email: z.ZodOptional<z.ZodString
|
|
48
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
avatar_url: z.ZodString;
|
|
50
50
|
gravatar_id: z.ZodString;
|
|
51
51
|
url: z.ZodString;
|
|
@@ -63,7 +63,7 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
|
|
|
63
63
|
site_admin: z.ZodBoolean;
|
|
64
64
|
}, z.core.$strip>;
|
|
65
65
|
html_url: z.ZodString;
|
|
66
|
-
description: z.ZodString
|
|
66
|
+
description: z.ZodNullable<z.ZodString>;
|
|
67
67
|
fork: z.ZodBoolean;
|
|
68
68
|
url: z.ZodString;
|
|
69
69
|
forks_url: z.ZodString;
|
|
@@ -104,32 +104,32 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
|
|
|
104
104
|
deployments_url: z.ZodString;
|
|
105
105
|
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
106
106
|
updated_at: z.ZodString;
|
|
107
|
-
pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]
|
|
107
|
+
pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
108
108
|
git_url: z.ZodString;
|
|
109
109
|
ssh_url: z.ZodString;
|
|
110
110
|
clone_url: z.ZodString;
|
|
111
111
|
svn_url: z.ZodString;
|
|
112
|
-
homepage: z.ZodString
|
|
112
|
+
homepage: z.ZodNullable<z.ZodString>;
|
|
113
113
|
size: z.ZodNumber;
|
|
114
114
|
stargazers_count: z.ZodNumber;
|
|
115
115
|
watchers_count: z.ZodNumber;
|
|
116
|
-
language: z.ZodString
|
|
116
|
+
language: z.ZodNullable<z.ZodString>;
|
|
117
117
|
has_issues: z.ZodBoolean;
|
|
118
118
|
has_projects: z.ZodBoolean;
|
|
119
119
|
has_downloads: z.ZodBoolean;
|
|
120
120
|
has_wiki: z.ZodBoolean;
|
|
121
121
|
has_pages: z.ZodBoolean;
|
|
122
|
-
has_discussions: z.ZodOptional<z.
|
|
122
|
+
has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
123
123
|
forks_count: z.ZodNumber;
|
|
124
|
-
mirror_url: z.ZodString
|
|
124
|
+
mirror_url: z.ZodNullable<z.ZodString>;
|
|
125
125
|
archived: z.ZodBoolean;
|
|
126
|
-
disabled: z.ZodOptional<z.
|
|
126
|
+
disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
127
127
|
open_issues_count: z.ZodNumber;
|
|
128
128
|
license: z.ZodNullable<z.ZodObject<{
|
|
129
129
|
key: z.ZodString;
|
|
130
130
|
name: z.ZodString;
|
|
131
131
|
spdx_id: z.ZodString;
|
|
132
|
-
url: z.ZodString
|
|
132
|
+
url: z.ZodNullable<z.ZodString>;
|
|
133
133
|
node_id: z.ZodString;
|
|
134
134
|
}, z.core.$strip>>;
|
|
135
135
|
forks: z.ZodNumber;
|
|
@@ -137,13 +137,13 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
|
|
|
137
137
|
watchers: z.ZodNumber;
|
|
138
138
|
stargazers: z.ZodOptional<z.ZodNumber>;
|
|
139
139
|
default_branch: z.ZodString;
|
|
140
|
-
allow_squash_merge: z.ZodOptional<z.
|
|
141
|
-
allow_merge_commit: z.ZodOptional<z.
|
|
142
|
-
allow_rebase_merge: z.ZodOptional<z.
|
|
143
|
-
allow_auto_merge: z.ZodOptional<z.
|
|
144
|
-
allow_forking: z.ZodOptional<z.
|
|
145
|
-
allow_update_branch: z.ZodOptional<z.
|
|
146
|
-
use_squash_pr_title_as_default: z.ZodOptional<z.
|
|
140
|
+
allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
141
|
+
allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
142
|
+
allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
143
|
+
allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
144
|
+
allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
145
|
+
allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
146
|
+
use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
147
147
|
squash_merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
148
148
|
squash_merge_commit_title: z.ZodOptional<z.ZodString>;
|
|
149
149
|
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
@@ -152,25 +152,25 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
|
|
|
152
152
|
web_commit_signoff_required: z.ZodBoolean;
|
|
153
153
|
topics: z.ZodArray<z.ZodString>;
|
|
154
154
|
visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
|
|
155
|
-
delete_branch_on_merge: z.ZodOptional<z.
|
|
155
|
+
delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
156
156
|
master_branch: z.ZodOptional<z.ZodString>;
|
|
157
|
-
permissions: z.ZodObject<{
|
|
157
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
158
158
|
pull: z.ZodBoolean;
|
|
159
159
|
push: z.ZodBoolean;
|
|
160
160
|
admin: z.ZodBoolean;
|
|
161
|
-
maintain: z.ZodOptional<z.
|
|
162
|
-
triage: z.ZodOptional<z.
|
|
163
|
-
}, z.core.$strip
|
|
164
|
-
public: z.ZodOptional<z.
|
|
161
|
+
maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
162
|
+
triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
163
|
+
}, z.core.$strip>>;
|
|
164
|
+
public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
165
165
|
organization: z.ZodOptional<z.ZodString>;
|
|
166
|
-
custom_properties: z.
|
|
166
|
+
custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
sender: z.ZodObject<{
|
|
169
169
|
login: z.ZodString;
|
|
170
170
|
id: z.ZodNumber;
|
|
171
171
|
node_id: z.ZodString;
|
|
172
172
|
name: z.ZodOptional<z.ZodString>;
|
|
173
|
-
email: z.ZodOptional<z.ZodString
|
|
173
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
174
|
avatar_url: z.ZodString;
|
|
175
175
|
gravatar_id: z.ZodString;
|
|
176
176
|
url: z.ZodString;
|
|
@@ -204,7 +204,7 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
|
|
|
204
204
|
members_url: z.ZodString;
|
|
205
205
|
public_members_url: z.ZodString;
|
|
206
206
|
avatar_url: z.ZodString;
|
|
207
|
-
description: z.ZodString
|
|
207
|
+
description: z.ZodNullable<z.ZodString>;
|
|
208
208
|
}, z.core.$strip>>;
|
|
209
209
|
}, z.core.$strip>;
|
|
210
210
|
export type BranchProtectionRuleCreatedEvent = BranchProtectionRuleCreatedEventOctokit;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./shared/index.js";import"./shared/
|
|
3
|
-
export{A as
|
|
2
|
+
import"./shared/index.js";import"./shared/project-card.js";import"./shared/marketplace-purchase.js";import"./shared/project-column.js";import"./shared/package-npm-metadata.js";import"./shared/pull-request.js";import"./shared/workflow.js";import"./shared/organization-custom-property.js";import"./shared/alert-instance.js";import"./shared/custom-property-value.js";import"./shared/sponsorship-tier.js";import"./shared/commit.js";import"./shared/project.js";import"./shared/package-nuget-metadata.js";import"./shared/installation.js";import{Qh as j}from"./shared/branch-protection-rule.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/deployment-workflow-run.js";import"./shared/check-run-pull-request.js";import"./shared/issue-comment.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/issue.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/git-hub-org.js";import"./shared/release.js";import"./shared/release-asset.js";import"./shared/check-run-deployment.js";import"./shared/projects-v2-item.js";import"./shared/workflow-job.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-step-in-progress.js";import{wi as k}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-commit.js";import"./shared/membership.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/simple-commit.js";import"./shared/referenced-workflow.js";import"./shared/repo-ref.js";import"./shared/committer.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/simple-pull-request.js";import"./shared/pull-request-auto-merge.js";import"./shared/label.js";import"./shared/milestone.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/deployment.js";import"./shared/secret-scanning-location-issue-title.js";import{gj as w}from"./shared/repository.js";import{ij as q}from"./shared/organization.js";import"./shared/app.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/security-advisory-cwes.js";import"./shared/security-advisory-cvss.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-review-comment.js";import"./shared/reactions.js";import"./shared/link.js";import{Cj as f}from"./shared/user.js";import"./shared/license.js";import"../chunk-sgm7k1ae.js";import{z as b}from"zod";var A=b.object({action:b.literal("created"),rule:j,repository:w,sender:f,installation:k.optional(),organization:q.optional()});function G(x){return A.safeParse(x).success}export{G as isBranchProtectionRuleCreatedEvent,A as BranchProtectionRuleCreatedEventSchema};
|
|
3
|
+
export{A as z,G as A};
|
|
4
4
|
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=328B19AC5CCD83E164756E2164756E21
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"/**\n * Auto-generated Zod schema for BranchProtectionRuleCreatedEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { BranchProtectionRuleCreatedEvent as BranchProtectionRuleCreatedEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n BranchProtectionRuleSchema,\n InstallationLiteSchema,\n OrganizationSchema,\n RepositorySchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const BranchProtectionRuleCreatedEventSchema = z.object({\n action: z.literal('created'),\n rule: BranchProtectionRuleSchema,\n repository: RepositorySchema,\n sender: UserSchema,\n installation: InstallationLiteSchema.optional(),\n organization: OrganizationSchema.optional(),\n}) satisfies z.ZodType<BranchProtectionRuleCreatedEventOctokit>;\n\nexport type BranchProtectionRuleCreatedEvent = BranchProtectionRuleCreatedEventOctokit;\n\nexport function isBranchProtectionRuleCreatedEvent(\n value: unknown,\n): value is BranchProtectionRuleCreatedEvent {\n return BranchProtectionRuleCreatedEventSchema.safeParse(value).success;\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": ";
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";2tEAMA,WAAS,mBAUF,KAAM,SAAyC,CAAE,EAAO,gBAC7D,QAAQ,UAAE,WAAQ,EAAS,JAC3B,cAAM,CACN,oBAAY,DACZ,aAAQ,YACR,sBAAc,EAAuB,+BAAS,NAC9C,oCAAc,AAAmB,GAAS,CAC5C,QAAC,KAIM,QAAS,WAAkC,aAChD,MAC2C,mBAC3C,IAAO,CAAuC,YAAU,CAAK,QAAE",
|
|
8
|
+
"debugId": "328B19AC5CCD83E164756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|