github-webhook-schemas 0.2.2 → 0.2.4
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/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/schemas/branch-protection-configuration-disabled-event.d.ts +25 -25
- package/dist/schemas/branch-protection-configuration-enabled-event.d.ts +25 -25
- package/dist/schemas/branch-protection-rule-created-event.d.ts +27 -27
- package/dist/schemas/branch-protection-rule-deleted-event.d.ts +27 -27
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-deleted-event.d.ts +2 -2
- package/dist/schemas/custom-property-values-updated-event.d.ts +27 -27
- package/dist/schemas/delete-event.d.ts +25 -25
- package/dist/schemas/dependabot-alert-created-event.d.ts +34 -34
- package/dist/schemas/dependabot-alert-dismissed-event.d.ts +36 -36
- package/dist/schemas/dependabot-alert-fixed-event.d.ts +34 -34
- package/dist/schemas/dependabot-alert-reintroduced-event.d.ts +34 -34
- package/dist/schemas/dependabot-alert-reopened-event.d.ts +35 -35
- package/dist/schemas/deploy-key-created-event.d.ts +25 -25
- package/dist/schemas/deploy-key-deleted-event.d.ts +25 -25
- package/dist/schemas/deployment-created-event.d.ts +37 -37
- package/dist/schemas/deployment-protection-rule-requested-event.d.ts +113 -113
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-category-changed-event.d.ts +30 -30
- package/dist/schemas/discussion-comment-created-event.d.ts +32 -32
- package/dist/schemas/discussion-comment-created-event.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-deleted-event.d.ts +30 -30
- 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 +2 -2
- package/dist/schemas/discussion-edited-event.js.map +3 -3
- package/dist/schemas/discussion-labeled-event.d.ts +31 -31
- package/dist/schemas/discussion-locked-event.d.ts +30 -30
- package/dist/schemas/discussion-pinned-event.d.ts +30 -30
- package/dist/schemas/discussion-transferred-event.d.ts +58 -58
- package/dist/schemas/discussion-unanswered-event.d.ts +31 -31
- package/dist/schemas/discussion-unlabeled-event.d.ts +31 -31
- package/dist/schemas/discussion-unlocked-event.d.ts +30 -30
- package/dist/schemas/discussion-unpinned-event.d.ts +30 -30
- package/dist/schemas/fork-event.d.ts +48 -48
- package/dist/schemas/github-app-authorization-revoked-event.d.ts +1 -1
- package/dist/schemas/gollum-event.d.ts +25 -25
- package/dist/schemas/installation-created-event.d.ts +7 -7
- package/dist/schemas/installation-deleted-event.d.ts +6 -6
- package/dist/schemas/installation-new-permissions-accepted-event.d.ts +6 -6
- package/dist/schemas/installation-repositories-added-event.d.ts +7 -7
- package/dist/schemas/installation-repositories-removed-event.d.ts +7 -7
- package/dist/schemas/installation-suspend-event.d.ts +7 -7
- package/dist/schemas/installation-target-renamed-event.d.ts +29 -29
- package/dist/schemas/installation-target-renamed-event.js +2 -2
- package/dist/schemas/installation-target-renamed-event.js.map +3 -3
- package/dist/schemas/installation-unsuspend-event.d.ts +6 -6
- package/dist/schemas/issue-comment-created-event.d.ts +55 -55
- package/dist/schemas/issue-comment-created-event.js +2 -2
- 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-closed-event.d.ts +46 -46
- package/dist/schemas/issues-deleted-event.d.ts +46 -46
- package/dist/schemas/issues-demilestoned-event.d.ts +50 -50
- package/dist/schemas/issues-edited-event.d.ts +47 -47
- package/dist/schemas/issues-labeled-event.d.ts +47 -47
- 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 +2 -2
- package/dist/schemas/issues-locked-event.js.map +3 -3
- package/dist/schemas/issues-milestoned-event.d.ts +54 -54
- package/dist/schemas/issues-opened-event.d.ts +90 -90
- package/dist/schemas/issues-pinned-event.d.ts +46 -46
- package/dist/schemas/issues-reopened-event.d.ts +46 -46
- package/dist/schemas/issues-transferred-event.d.ts +90 -90
- package/dist/schemas/issues-unassigned-event.d.ts +47 -47
- package/dist/schemas/issues-unlabeled-event.d.ts +47 -47
- package/dist/schemas/issues-unlocked-event.d.ts +46 -46
- package/dist/schemas/issues-unpinned-event.d.ts +46 -46
- package/dist/schemas/label-created-event.d.ts +26 -26
- package/dist/schemas/label-deleted-event.d.ts +26 -26
- 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-changed-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-pending-change-cancelled-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-pending-change-event.d.ts +4 -4
- package/dist/schemas/marketplace-purchase-purchased-event.d.ts +4 -4
- 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-removed-event.d.ts +26 -26
- package/dist/schemas/membership-added-event.d.ts +7 -7
- 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-destroyed-event.d.ts +25 -25
- package/dist/schemas/meta-deleted-event.d.ts +24 -24
- package/dist/schemas/milestone-closed-event.d.ts +29 -29
- package/dist/schemas/milestone-created-event.d.ts +29 -29
- package/dist/schemas/milestone-deleted-event.d.ts +29 -29
- package/dist/schemas/milestone-edited-event.d.ts +29 -29
- package/dist/schemas/milestone-opened-event.d.ts +29 -29
- package/dist/schemas/org-block-blocked-event.d.ts +3 -3
- package/dist/schemas/org-block-unblocked-event.d.ts +3 -3
- package/dist/schemas/organization-deleted-event.d.ts +3 -3
- package/dist/schemas/organization-member-added-event.d.ts +3 -3
- package/dist/schemas/organization-member-invited-event.d.ts +7 -7
- package/dist/schemas/organization-member-invited-event.js +2 -2
- 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-renamed-event.d.ts +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 +2 -2
- package/dist/schemas/page-build-event.js.map +3 -3
- package/dist/schemas/ping-event.d.ts +25 -25
- package/dist/schemas/project-card-converted-event.d.ts +28 -28
- package/dist/schemas/project-card-created-event.d.ts +28 -28
- package/dist/schemas/project-card-deleted-event.d.ts +28 -28
- package/dist/schemas/project-card-edited-event.d.ts +28 -28
- package/dist/schemas/project-card-moved-event.d.ts +29 -29
- package/dist/schemas/project-card-moved-event.js +2 -2
- 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-column-created-event.d.ts +25 -25
- package/dist/schemas/project-column-deleted-event.d.ts +25 -25
- package/dist/schemas/project-column-edited-event.d.ts +25 -25
- package/dist/schemas/project-column-moved-event.d.ts +25 -25
- package/dist/schemas/project-created-event.d.ts +27 -27
- package/dist/schemas/project-deleted-event.d.ts +27 -27
- 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/projects-v2-item-archived-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-converted-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-created-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-deleted-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-edited-event.d.ts +4 -4
- package/dist/schemas/projects-v2-item-reordered-event.d.ts +5 -5
- package/dist/schemas/projects-v2-item-reordered-event.js +2 -2
- 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/public-event.d.ts +25 -25
- package/dist/schemas/pull-request-assigned-event.d.ts +105 -105
- package/dist/schemas/pull-request-auto-merge-disabled-event.d.ts +104 -104
- package/dist/schemas/pull-request-auto-merge-enabled-event.d.ts +104 -104
- package/dist/schemas/pull-request-closed-event.d.ts +104 -104
- package/dist/schemas/pull-request-converted-to-draft-event.d.ts +104 -104
- package/dist/schemas/pull-request-demilestoned-event.d.ts +112 -112
- package/dist/schemas/pull-request-dequeued-event.d.ts +104 -104
- package/dist/schemas/pull-request-edited-event.d.ts +104 -104
- package/dist/schemas/pull-request-enqueued-event.d.ts +104 -104
- package/dist/schemas/pull-request-labeled-event.d.ts +105 -105
- package/dist/schemas/pull-request-locked-event.d.ts +104 -104
- package/dist/schemas/pull-request-milestoned-event.d.ts +112 -112
- package/dist/schemas/pull-request-opened-event.d.ts +104 -104
- package/dist/schemas/pull-request-ready-for-review-event.d.ts +104 -104
- package/dist/schemas/pull-request-reopened-event.d.ts +104 -104
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-edited-event.d.ts +101 -101
- package/dist/schemas/pull-request-review-submitted-event.d.ts +101 -101
- package/dist/schemas/pull-request-review-thread-resolved-event.d.ts +104 -104
- package/dist/schemas/pull-request-review-thread-unresolved-event.d.ts +104 -104
- package/dist/schemas/pull-request-synchronize-event.d.ts +104 -104
- package/dist/schemas/pull-request-unassigned-event.d.ts +105 -105
- package/dist/schemas/pull-request-unlabeled-event.d.ts +105 -105
- package/dist/schemas/pull-request-unlocked-event.d.ts +104 -104
- package/dist/schemas/push-event.d.ts +31 -31
- package/dist/schemas/push-event.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-deleted-event.d.ts +32 -32
- package/dist/schemas/release-edited-event.d.ts +32 -32
- package/dist/schemas/release-prereleased-event.d.ts +32 -32
- package/dist/schemas/release-published-event.d.ts +32 -32
- package/dist/schemas/release-released-event.d.ts +32 -32
- package/dist/schemas/release-unpublished-event.d.ts +32 -32
- package/dist/schemas/repository-archived-event.d.ts +25 -25
- package/dist/schemas/repository-created-event.d.ts +25 -25
- package/dist/schemas/repository-deleted-event.d.ts +25 -25
- package/dist/schemas/repository-dispatch-event.d.ts +26 -26
- package/dist/schemas/repository-dispatch-event.js +2 -2
- 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-privatized-event.d.ts +25 -25
- package/dist/schemas/repository-publicized-event.d.ts +25 -25
- package/dist/schemas/repository-renamed-event.d.ts +25 -25
- package/dist/schemas/repository-transferred-event.d.ts +26 -26
- package/dist/schemas/repository-unarchived-event.d.ts +25 -25
- package/dist/schemas/repository-vulnerability-alert-create-event.d.ts +25 -25
- package/dist/schemas/repository-vulnerability-alert-dismiss-event.d.ts +26 -26
- package/dist/schemas/repository-vulnerability-alert-reopen-event.d.ts +25 -25
- package/dist/schemas/repository-vulnerability-alert-resolve-event.d.ts +25 -25
- package/dist/schemas/secret-scanning-alert-created-event.d.ts +32 -32
- package/dist/schemas/secret-scanning-alert-location-created-event.d.ts +33 -33
- package/dist/schemas/secret-scanning-alert-reopened-event.d.ts +25 -25
- package/dist/schemas/secret-scanning-alert-resolved-event.d.ts +34 -34
- package/dist/schemas/secret-scanning-alert-revoked-event.d.ts +34 -34
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/schemas/shared/check-run-deployment.js.map +3 -3
- package/dist/schemas/shared/commit.d.ts +2 -2
- package/dist/schemas/shared/committer.d.ts +1 -1
- package/dist/schemas/shared/committer.js +2 -2
- 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 +2 -2
- package/dist/schemas/shared/custom-property-value.js.map +3 -3
- 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 +2 -2
- 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.d.ts +5 -5
- package/dist/schemas/shared/discussion.js +2 -2
- package/dist/schemas/shared/discussion.js.map +3 -3
- package/dist/schemas/shared/installation.d.ts +5 -5
- package/dist/schemas/shared/installation.js +2 -2
- package/dist/schemas/shared/installation.js.map +3 -3
- package/dist/schemas/shared/issue-comment.d.ts +5 -5
- 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 +2 -2
- 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/marketplace-purchase.d.ts +2 -2
- package/dist/schemas/shared/marketplace-purchase.js +2 -2
- package/dist/schemas/shared/marketplace-purchase.js.map +3 -3
- package/dist/schemas/shared/membership.d.ts +1 -1
- package/dist/schemas/shared/milestone.d.ts +4 -4
- package/dist/schemas/shared/milestone.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/schemas/shared/project-card.js.map +3 -3
- package/dist/schemas/shared/project.d.ts +2 -2
- package/dist/schemas/shared/project.js +2 -2
- 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 +2 -2
- 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/release-asset.d.ts +2 -2
- package/dist/schemas/shared/release-asset.js +2 -2
- 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/repository-lite.d.ts +2 -2
- package/dist/schemas/shared/repository-lite.js +2 -2
- 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.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/security-advisory-cvss.d.ts +1 -1
- package/dist/schemas/shared/security-advisory-cvss.js +2 -2
- package/dist/schemas/shared/security-advisory-cvss.js.map +3 -3
- package/dist/schemas/shared/simple-commit.d.ts +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/team.d.ts +4 -4
- package/dist/schemas/shared/team.d.ts.map +1 -1
- package/dist/schemas/shared/team.js +2 -2
- package/dist/schemas/shared/team.js.map +3 -3
- package/dist/schemas/shared/user.d.ts +1 -1
- package/dist/schemas/shared/user.js +2 -2
- 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/sponsorship-cancelled-event.d.ts +3 -3
- package/dist/schemas/sponsorship-created-event.d.ts +3 -3
- package/dist/schemas/sponsorship-edited-event.d.ts +3 -3
- package/dist/schemas/sponsorship-pending-cancellation-event.d.ts +3 -3
- package/dist/schemas/sponsorship-pending-tier-change-event.d.ts +3 -3
- package/dist/schemas/sponsorship-tier-changed-event.d.ts +3 -3
- package/dist/schemas/star-created-event.d.ts +25 -25
- package/dist/schemas/star-deleted-event.d.ts +25 -25
- 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-added-to-repository-event.d.ts +29 -29
- package/dist/schemas/team-created-event.d.ts +29 -29
- package/dist/schemas/team-deleted-event.d.ts +29 -29
- 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/watch-started-event.d.ts +25 -25
- package/dist/schemas/workflow-dispatch-event.d.ts +26 -26
- package/dist/schemas/workflow-dispatch-event.js +2 -2
- 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-in-progress-event.d.ts +42 -42
- package/dist/schemas/workflow-job-queued-event.d.ts +42 -42
- package/dist/schemas/workflow-job-waiting-event.d.ts +42 -42
- package/dist/schemas/workflow-run-completed-event.d.ts +35 -35
- package/dist/schemas/workflow-run-in-progress-event.d.ts +35 -35
- package/dist/schemas/workflow-run-requested-event.d.ts +35 -35
- package/package.json +7 -1
|
@@ -6,17 +6,17 @@ import type { MemberAddedEvent as MemberAddedEventOctokit } from '@octokit/webho
|
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
export declare const MemberAddedEventSchema: z.ZodObject<{
|
|
8
8
|
action: z.ZodLiteral<"added">;
|
|
9
|
-
changes: z.ZodObject<{
|
|
9
|
+
changes: z.ZodOptional<z.ZodObject<{
|
|
10
10
|
permission: z.ZodOptional<z.ZodObject<{
|
|
11
11
|
to: z.ZodUnion<readonly [z.ZodLiteral<"write">, z.ZodLiteral<"admin">]>;
|
|
12
12
|
}, z.core.$strip>>;
|
|
13
|
-
}, z.core.$strip
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
14
|
member: z.ZodObject<{
|
|
15
15
|
login: z.ZodString;
|
|
16
16
|
id: z.ZodNumber;
|
|
17
17
|
node_id: z.ZodString;
|
|
18
18
|
name: z.ZodOptional<z.ZodString>;
|
|
19
|
-
email: z.ZodOptional<z.ZodString
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
avatar_url: z.ZodString;
|
|
21
21
|
gravatar_id: z.ZodString;
|
|
22
22
|
url: z.ZodString;
|
|
@@ -44,7 +44,7 @@ export declare const MemberAddedEventSchema: z.ZodObject<{
|
|
|
44
44
|
id: z.ZodNumber;
|
|
45
45
|
node_id: z.ZodString;
|
|
46
46
|
name: z.ZodOptional<z.ZodString>;
|
|
47
|
-
email: z.ZodOptional<z.ZodString
|
|
47
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
avatar_url: z.ZodString;
|
|
49
49
|
gravatar_id: z.ZodString;
|
|
50
50
|
url: z.ZodString;
|
|
@@ -62,7 +62,7 @@ export declare const MemberAddedEventSchema: z.ZodObject<{
|
|
|
62
62
|
site_admin: z.ZodBoolean;
|
|
63
63
|
}, z.core.$strip>;
|
|
64
64
|
html_url: z.ZodString;
|
|
65
|
-
description: z.ZodString
|
|
65
|
+
description: z.ZodNullable<z.ZodString>;
|
|
66
66
|
fork: z.ZodBoolean;
|
|
67
67
|
url: z.ZodString;
|
|
68
68
|
forks_url: z.ZodString;
|
|
@@ -103,32 +103,32 @@ export declare const MemberAddedEventSchema: z.ZodObject<{
|
|
|
103
103
|
deployments_url: z.ZodString;
|
|
104
104
|
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
105
105
|
updated_at: z.ZodString;
|
|
106
|
-
pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]
|
|
106
|
+
pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
107
107
|
git_url: z.ZodString;
|
|
108
108
|
ssh_url: z.ZodString;
|
|
109
109
|
clone_url: z.ZodString;
|
|
110
110
|
svn_url: z.ZodString;
|
|
111
|
-
homepage: z.ZodString
|
|
111
|
+
homepage: z.ZodNullable<z.ZodString>;
|
|
112
112
|
size: z.ZodNumber;
|
|
113
113
|
stargazers_count: z.ZodNumber;
|
|
114
114
|
watchers_count: z.ZodNumber;
|
|
115
|
-
language: z.ZodString
|
|
115
|
+
language: z.ZodNullable<z.ZodString>;
|
|
116
116
|
has_issues: z.ZodBoolean;
|
|
117
117
|
has_projects: z.ZodBoolean;
|
|
118
118
|
has_downloads: z.ZodBoolean;
|
|
119
119
|
has_wiki: z.ZodBoolean;
|
|
120
120
|
has_pages: z.ZodBoolean;
|
|
121
|
-
has_discussions: z.ZodOptional<z.
|
|
121
|
+
has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
122
122
|
forks_count: z.ZodNumber;
|
|
123
|
-
mirror_url: z.ZodString
|
|
123
|
+
mirror_url: z.ZodNullable<z.ZodString>;
|
|
124
124
|
archived: z.ZodBoolean;
|
|
125
|
-
disabled: z.ZodOptional<z.
|
|
125
|
+
disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
126
126
|
open_issues_count: z.ZodNumber;
|
|
127
127
|
license: z.ZodNullable<z.ZodObject<{
|
|
128
128
|
key: z.ZodString;
|
|
129
129
|
name: z.ZodString;
|
|
130
130
|
spdx_id: z.ZodString;
|
|
131
|
-
url: z.ZodString
|
|
131
|
+
url: z.ZodNullable<z.ZodString>;
|
|
132
132
|
node_id: z.ZodString;
|
|
133
133
|
}, z.core.$strip>>;
|
|
134
134
|
forks: z.ZodNumber;
|
|
@@ -136,13 +136,13 @@ export declare const MemberAddedEventSchema: z.ZodObject<{
|
|
|
136
136
|
watchers: z.ZodNumber;
|
|
137
137
|
stargazers: z.ZodOptional<z.ZodNumber>;
|
|
138
138
|
default_branch: z.ZodString;
|
|
139
|
-
allow_squash_merge: z.ZodOptional<z.
|
|
140
|
-
allow_merge_commit: z.ZodOptional<z.
|
|
141
|
-
allow_rebase_merge: z.ZodOptional<z.
|
|
142
|
-
allow_auto_merge: z.ZodOptional<z.
|
|
143
|
-
allow_forking: z.ZodOptional<z.
|
|
144
|
-
allow_update_branch: z.ZodOptional<z.
|
|
145
|
-
use_squash_pr_title_as_default: z.ZodOptional<z.
|
|
139
|
+
allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
140
|
+
allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
141
|
+
allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
142
|
+
allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
143
|
+
allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
144
|
+
allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
145
|
+
use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
146
146
|
squash_merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
147
147
|
squash_merge_commit_title: z.ZodOptional<z.ZodString>;
|
|
148
148
|
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
@@ -151,18 +151,18 @@ export declare const MemberAddedEventSchema: z.ZodObject<{
|
|
|
151
151
|
web_commit_signoff_required: z.ZodBoolean;
|
|
152
152
|
topics: z.ZodArray<z.ZodString>;
|
|
153
153
|
visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
|
|
154
|
-
delete_branch_on_merge: z.ZodOptional<z.
|
|
154
|
+
delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
155
155
|
master_branch: z.ZodOptional<z.ZodString>;
|
|
156
|
-
permissions: z.ZodObject<{
|
|
156
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
157
157
|
pull: z.ZodBoolean;
|
|
158
158
|
push: z.ZodBoolean;
|
|
159
159
|
admin: z.ZodBoolean;
|
|
160
|
-
maintain: z.ZodOptional<z.
|
|
161
|
-
triage: z.ZodOptional<z.
|
|
162
|
-
}, z.core.$strip
|
|
163
|
-
public: z.ZodOptional<z.
|
|
160
|
+
maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
161
|
+
triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
164
164
|
organization: z.ZodOptional<z.ZodString>;
|
|
165
|
-
custom_properties: z.
|
|
165
|
+
custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
166
166
|
}, z.core.$strip>;
|
|
167
167
|
installation: z.ZodOptional<z.ZodObject<{
|
|
168
168
|
id: z.ZodNumber;
|
|
@@ -181,14 +181,14 @@ export declare const MemberAddedEventSchema: z.ZodObject<{
|
|
|
181
181
|
members_url: z.ZodString;
|
|
182
182
|
public_members_url: z.ZodString;
|
|
183
183
|
avatar_url: z.ZodString;
|
|
184
|
-
description: z.ZodString
|
|
184
|
+
description: z.ZodNullable<z.ZodString>;
|
|
185
185
|
}, z.core.$strip>>;
|
|
186
186
|
sender: z.ZodObject<{
|
|
187
187
|
login: z.ZodString;
|
|
188
188
|
id: z.ZodNumber;
|
|
189
189
|
node_id: z.ZodString;
|
|
190
190
|
name: z.ZodOptional<z.ZodString>;
|
|
191
|
-
email: z.ZodOptional<z.ZodString
|
|
191
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
192
|
avatar_url: z.ZodString;
|
|
193
193
|
gravatar_id: z.ZodString;
|
|
194
194
|
url: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member-added-event.d.ts","sourceRoot":"","sources":["../../src/schemas/member-added-event.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"member-added-event.d.ts","sourceRoot":"","sources":["../../src/schemas/member-added-event.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBY,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,CAAC;AAEvD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,gBAAgB,CAE5E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./shared/index.js";import"./shared/marketplace-purchase.js";import"./shared/pull-request.js";import"./shared/simple-pull-request.js";import"./shared/sponsorship-tier.js";import"./shared/project-card.js";import{wh as
|
|
3
|
-
export{
|
|
2
|
+
import"./shared/index.js";import"./shared/marketplace-purchase.js";import"./shared/pull-request.js";import"./shared/simple-pull-request.js";import"./shared/sponsorship-tier.js";import"./shared/project-card.js";import{wh as n}from"./shared/organization.js";import"./shared/deployment.js";import"./shared/projects-v2-item.js";import"./shared/alert-instance.js";import"./shared/release.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/git-hub-org.js";import"./shared/deployment-workflow-run.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/commit.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/pull-request-review-comment.js";import"./shared/link.js";import{ei as o}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-issue-title.js";import"./shared/secret-scanning-location-commit.js";import"./shared/package-nuget-metadata.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/workflow-job.js";import"./shared/workflow-step-in-progress.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-auto-merge.js";import"./shared/security-advisory-cvss.js";import"./shared/package-npm-metadata.js";import"./shared/organization-custom-property.js";import"./shared/security-advisory-cwes.js";import"./shared/project-column.js";import"./shared/issue.js";import"./shared/label.js";import"./shared/release-asset.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/workflow.js";import"./shared/check-run-deployment.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/referenced-workflow.js";import"./shared/project.js";import"./shared/check-run-pull-request.js";import"./shared/repo-ref.js";import"./shared/simple-commit.js";import"./shared/committer.js";import"./shared/membership.js";import"./shared/issue-comment.js";import"./shared/reactions.js";import"./shared/app.js";import{uj as r}from"./shared/repository.js";import"./shared/license.js";import"./shared/milestone.js";import{Aj as t}from"./shared/user.js";import"./shared/custom-property-value.js";import{z as e}from"zod";var d=e.object({action:e.literal("added"),changes:e.object({permission:e.object({to:e.union([e.literal("write"),e.literal("admin")])}).optional()}).optional(),member:t,repository:r,installation:o.optional(),organization:n.optional(),sender:t});function s(i){return d.safeParse(i).success}export{s as isMemberAddedEvent,d as MemberAddedEventSchema};
|
|
3
|
+
export{d as Wd,s as Xd};
|
|
4
4
|
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=98B674ED2B0BA19B64756E2164756E21
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/schemas/member-added-event.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"/**\n * Auto-generated Zod schema for MemberAddedEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { MemberAddedEvent as MemberAddedEventOctokit } 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 MemberAddedEventSchema = z.object({\n action: z.literal('added'),\n changes: z.object({\n
|
|
5
|
+
"/**\n * Auto-generated Zod schema for MemberAddedEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { MemberAddedEvent as MemberAddedEventOctokit } 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 MemberAddedEventSchema = z.object({\n action: z.literal('added'),\n changes: z\n .object({\n permission: z\n .object({\n to: z.union([z.literal('write'), z.literal('admin')]),\n })\n .optional(),\n })\n .optional(),\n member: UserSchema,\n repository: RepositorySchema,\n installation: InstallationLiteSchema.optional(),\n organization: OrganizationSchema.optional(),\n sender: UserSchema,\n}) satisfies z.ZodType<MemberAddedEventOctokit>;\n\nexport type MemberAddedEvent = MemberAddedEventOctokit;\n\nexport function isMemberAddedEvent(value: unknown): value is MemberAddedEvent {\n return MemberAddedEventSchema.safeParse(value).success;\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": ";4qEAMA,mBAAS,WASF,UAAM,KAAyB,CAAE,MAAO,FAC7C,UAAQ,GAAE,EAAQ,8BAAO,2BACzB,cAAS,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";4qEAMA,mBAAS,WASF,UAAM,KAAyB,CAAE,MAAO,FAC7C,UAAQ,GAAE,EAAQ,8BAAO,2BACzB,cAAS,CACN,gBAAO,DACN,qBAAY,KACT,kBAAO,NACN,yBAAI,gBAAE,HAAM,KAAC,yBAAE,0BAAQ,gBAAO,PAAG,UAAE,OAAQ,mBAAO,QAAC,WAAC,UACtD,QAAC,iBACA,kBAAS,EACd,PAAC,NACA,SAAS,DACZ,aAAQ,HACR,kBAAY,YACZ,YAAc,IAAuB,eAAS,JAC9C,sBAAc,HAAmB,SAAS,FAC1C,IAAQ,CACV,HAAC,RAIM,MAAS,LAAkB,HAAC,PAA2C,SAC5E,OAAO,EAAuB,UAAU,CAAK,EAAE",
|
|
8
|
+
"debugId": "98B674ED2B0BA19B64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
|
@@ -11,7 +11,7 @@ export declare const MemberEditedEventSchema: z.ZodObject<{
|
|
|
11
11
|
id: z.ZodNumber;
|
|
12
12
|
node_id: z.ZodString;
|
|
13
13
|
name: z.ZodOptional<z.ZodString>;
|
|
14
|
-
email: z.ZodOptional<z.ZodString
|
|
14
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
avatar_url: z.ZodString;
|
|
16
16
|
gravatar_id: z.ZodString;
|
|
17
17
|
url: z.ZodString;
|
|
@@ -44,7 +44,7 @@ export declare const MemberEditedEventSchema: z.ZodObject<{
|
|
|
44
44
|
id: z.ZodNumber;
|
|
45
45
|
node_id: z.ZodString;
|
|
46
46
|
name: z.ZodOptional<z.ZodString>;
|
|
47
|
-
email: z.ZodOptional<z.ZodString
|
|
47
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
avatar_url: z.ZodString;
|
|
49
49
|
gravatar_id: z.ZodString;
|
|
50
50
|
url: z.ZodString;
|
|
@@ -62,7 +62,7 @@ export declare const MemberEditedEventSchema: z.ZodObject<{
|
|
|
62
62
|
site_admin: z.ZodBoolean;
|
|
63
63
|
}, z.core.$strip>;
|
|
64
64
|
html_url: z.ZodString;
|
|
65
|
-
description: z.ZodString
|
|
65
|
+
description: z.ZodNullable<z.ZodString>;
|
|
66
66
|
fork: z.ZodBoolean;
|
|
67
67
|
url: z.ZodString;
|
|
68
68
|
forks_url: z.ZodString;
|
|
@@ -103,32 +103,32 @@ export declare const MemberEditedEventSchema: z.ZodObject<{
|
|
|
103
103
|
deployments_url: z.ZodString;
|
|
104
104
|
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
105
105
|
updated_at: z.ZodString;
|
|
106
|
-
pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]
|
|
106
|
+
pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
107
107
|
git_url: z.ZodString;
|
|
108
108
|
ssh_url: z.ZodString;
|
|
109
109
|
clone_url: z.ZodString;
|
|
110
110
|
svn_url: z.ZodString;
|
|
111
|
-
homepage: z.ZodString
|
|
111
|
+
homepage: z.ZodNullable<z.ZodString>;
|
|
112
112
|
size: z.ZodNumber;
|
|
113
113
|
stargazers_count: z.ZodNumber;
|
|
114
114
|
watchers_count: z.ZodNumber;
|
|
115
|
-
language: z.ZodString
|
|
115
|
+
language: z.ZodNullable<z.ZodString>;
|
|
116
116
|
has_issues: z.ZodBoolean;
|
|
117
117
|
has_projects: z.ZodBoolean;
|
|
118
118
|
has_downloads: z.ZodBoolean;
|
|
119
119
|
has_wiki: z.ZodBoolean;
|
|
120
120
|
has_pages: z.ZodBoolean;
|
|
121
|
-
has_discussions: z.ZodOptional<z.
|
|
121
|
+
has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
122
122
|
forks_count: z.ZodNumber;
|
|
123
|
-
mirror_url: z.ZodString
|
|
123
|
+
mirror_url: z.ZodNullable<z.ZodString>;
|
|
124
124
|
archived: z.ZodBoolean;
|
|
125
|
-
disabled: z.ZodOptional<z.
|
|
125
|
+
disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
126
126
|
open_issues_count: z.ZodNumber;
|
|
127
127
|
license: z.ZodNullable<z.ZodObject<{
|
|
128
128
|
key: z.ZodString;
|
|
129
129
|
name: z.ZodString;
|
|
130
130
|
spdx_id: z.ZodString;
|
|
131
|
-
url: z.ZodString
|
|
131
|
+
url: z.ZodNullable<z.ZodString>;
|
|
132
132
|
node_id: z.ZodString;
|
|
133
133
|
}, z.core.$strip>>;
|
|
134
134
|
forks: z.ZodNumber;
|
|
@@ -136,13 +136,13 @@ export declare const MemberEditedEventSchema: z.ZodObject<{
|
|
|
136
136
|
watchers: z.ZodNumber;
|
|
137
137
|
stargazers: z.ZodOptional<z.ZodNumber>;
|
|
138
138
|
default_branch: z.ZodString;
|
|
139
|
-
allow_squash_merge: z.ZodOptional<z.
|
|
140
|
-
allow_merge_commit: z.ZodOptional<z.
|
|
141
|
-
allow_rebase_merge: z.ZodOptional<z.
|
|
142
|
-
allow_auto_merge: z.ZodOptional<z.
|
|
143
|
-
allow_forking: z.ZodOptional<z.
|
|
144
|
-
allow_update_branch: z.ZodOptional<z.
|
|
145
|
-
use_squash_pr_title_as_default: z.ZodOptional<z.
|
|
139
|
+
allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
140
|
+
allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
141
|
+
allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
142
|
+
allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
143
|
+
allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
144
|
+
allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
145
|
+
use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
146
146
|
squash_merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
147
147
|
squash_merge_commit_title: z.ZodOptional<z.ZodString>;
|
|
148
148
|
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
@@ -151,18 +151,18 @@ export declare const MemberEditedEventSchema: z.ZodObject<{
|
|
|
151
151
|
web_commit_signoff_required: z.ZodBoolean;
|
|
152
152
|
topics: z.ZodArray<z.ZodString>;
|
|
153
153
|
visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
|
|
154
|
-
delete_branch_on_merge: z.ZodOptional<z.
|
|
154
|
+
delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
155
155
|
master_branch: z.ZodOptional<z.ZodString>;
|
|
156
|
-
permissions: z.ZodObject<{
|
|
156
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
157
157
|
pull: z.ZodBoolean;
|
|
158
158
|
push: z.ZodBoolean;
|
|
159
159
|
admin: z.ZodBoolean;
|
|
160
|
-
maintain: z.ZodOptional<z.
|
|
161
|
-
triage: z.ZodOptional<z.
|
|
162
|
-
}, z.core.$strip
|
|
163
|
-
public: z.ZodOptional<z.
|
|
160
|
+
maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
161
|
+
triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
164
164
|
organization: z.ZodOptional<z.ZodString>;
|
|
165
|
-
custom_properties: z.
|
|
165
|
+
custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
166
166
|
}, z.core.$strip>;
|
|
167
167
|
installation: z.ZodOptional<z.ZodObject<{
|
|
168
168
|
id: z.ZodNumber;
|
|
@@ -181,14 +181,14 @@ export declare const MemberEditedEventSchema: z.ZodObject<{
|
|
|
181
181
|
members_url: z.ZodString;
|
|
182
182
|
public_members_url: z.ZodString;
|
|
183
183
|
avatar_url: z.ZodString;
|
|
184
|
-
description: z.ZodString
|
|
184
|
+
description: z.ZodNullable<z.ZodString>;
|
|
185
185
|
}, z.core.$strip>>;
|
|
186
186
|
sender: z.ZodObject<{
|
|
187
187
|
login: z.ZodString;
|
|
188
188
|
id: z.ZodNumber;
|
|
189
189
|
node_id: z.ZodString;
|
|
190
190
|
name: z.ZodOptional<z.ZodString>;
|
|
191
|
-
email: z.ZodOptional<z.ZodString
|
|
191
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
192
|
avatar_url: z.ZodString;
|
|
193
193
|
gravatar_id: z.ZodString;
|
|
194
194
|
url: z.ZodString;
|
|
@@ -11,7 +11,7 @@ export declare const MemberRemovedEventSchema: z.ZodObject<{
|
|
|
11
11
|
id: z.ZodNumber;
|
|
12
12
|
node_id: z.ZodString;
|
|
13
13
|
name: z.ZodOptional<z.ZodString>;
|
|
14
|
-
email: z.ZodOptional<z.ZodString
|
|
14
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
avatar_url: z.ZodString;
|
|
16
16
|
gravatar_id: z.ZodString;
|
|
17
17
|
url: z.ZodString;
|
|
@@ -39,7 +39,7 @@ export declare const MemberRemovedEventSchema: z.ZodObject<{
|
|
|
39
39
|
id: z.ZodNumber;
|
|
40
40
|
node_id: z.ZodString;
|
|
41
41
|
name: z.ZodOptional<z.ZodString>;
|
|
42
|
-
email: z.ZodOptional<z.ZodString
|
|
42
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
avatar_url: z.ZodString;
|
|
44
44
|
gravatar_id: z.ZodString;
|
|
45
45
|
url: z.ZodString;
|
|
@@ -57,7 +57,7 @@ export declare const MemberRemovedEventSchema: z.ZodObject<{
|
|
|
57
57
|
site_admin: z.ZodBoolean;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
59
|
html_url: z.ZodString;
|
|
60
|
-
description: z.ZodString
|
|
60
|
+
description: z.ZodNullable<z.ZodString>;
|
|
61
61
|
fork: z.ZodBoolean;
|
|
62
62
|
url: z.ZodString;
|
|
63
63
|
forks_url: z.ZodString;
|
|
@@ -98,32 +98,32 @@ export declare const MemberRemovedEventSchema: z.ZodObject<{
|
|
|
98
98
|
deployments_url: z.ZodString;
|
|
99
99
|
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
100
100
|
updated_at: z.ZodString;
|
|
101
|
-
pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]
|
|
101
|
+
pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
102
102
|
git_url: z.ZodString;
|
|
103
103
|
ssh_url: z.ZodString;
|
|
104
104
|
clone_url: z.ZodString;
|
|
105
105
|
svn_url: z.ZodString;
|
|
106
|
-
homepage: z.ZodString
|
|
106
|
+
homepage: z.ZodNullable<z.ZodString>;
|
|
107
107
|
size: z.ZodNumber;
|
|
108
108
|
stargazers_count: z.ZodNumber;
|
|
109
109
|
watchers_count: z.ZodNumber;
|
|
110
|
-
language: z.ZodString
|
|
110
|
+
language: z.ZodNullable<z.ZodString>;
|
|
111
111
|
has_issues: z.ZodBoolean;
|
|
112
112
|
has_projects: z.ZodBoolean;
|
|
113
113
|
has_downloads: z.ZodBoolean;
|
|
114
114
|
has_wiki: z.ZodBoolean;
|
|
115
115
|
has_pages: z.ZodBoolean;
|
|
116
|
-
has_discussions: z.ZodOptional<z.
|
|
116
|
+
has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
117
117
|
forks_count: z.ZodNumber;
|
|
118
|
-
mirror_url: z.ZodString
|
|
118
|
+
mirror_url: z.ZodNullable<z.ZodString>;
|
|
119
119
|
archived: z.ZodBoolean;
|
|
120
|
-
disabled: z.ZodOptional<z.
|
|
120
|
+
disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
121
121
|
open_issues_count: z.ZodNumber;
|
|
122
122
|
license: z.ZodNullable<z.ZodObject<{
|
|
123
123
|
key: z.ZodString;
|
|
124
124
|
name: z.ZodString;
|
|
125
125
|
spdx_id: z.ZodString;
|
|
126
|
-
url: z.ZodString
|
|
126
|
+
url: z.ZodNullable<z.ZodString>;
|
|
127
127
|
node_id: z.ZodString;
|
|
128
128
|
}, z.core.$strip>>;
|
|
129
129
|
forks: z.ZodNumber;
|
|
@@ -131,13 +131,13 @@ export declare const MemberRemovedEventSchema: z.ZodObject<{
|
|
|
131
131
|
watchers: z.ZodNumber;
|
|
132
132
|
stargazers: z.ZodOptional<z.ZodNumber>;
|
|
133
133
|
default_branch: z.ZodString;
|
|
134
|
-
allow_squash_merge: z.ZodOptional<z.
|
|
135
|
-
allow_merge_commit: z.ZodOptional<z.
|
|
136
|
-
allow_rebase_merge: z.ZodOptional<z.
|
|
137
|
-
allow_auto_merge: z.ZodOptional<z.
|
|
138
|
-
allow_forking: z.ZodOptional<z.
|
|
139
|
-
allow_update_branch: z.ZodOptional<z.
|
|
140
|
-
use_squash_pr_title_as_default: z.ZodOptional<z.
|
|
134
|
+
allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
135
|
+
allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
136
|
+
allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
137
|
+
allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
138
|
+
allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
139
|
+
allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
140
|
+
use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
141
141
|
squash_merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
142
142
|
squash_merge_commit_title: z.ZodOptional<z.ZodString>;
|
|
143
143
|
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
@@ -146,18 +146,18 @@ export declare const MemberRemovedEventSchema: z.ZodObject<{
|
|
|
146
146
|
web_commit_signoff_required: z.ZodBoolean;
|
|
147
147
|
topics: z.ZodArray<z.ZodString>;
|
|
148
148
|
visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
|
|
149
|
-
delete_branch_on_merge: z.ZodOptional<z.
|
|
149
|
+
delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
150
150
|
master_branch: z.ZodOptional<z.ZodString>;
|
|
151
|
-
permissions: z.ZodObject<{
|
|
151
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
152
152
|
pull: z.ZodBoolean;
|
|
153
153
|
push: z.ZodBoolean;
|
|
154
154
|
admin: z.ZodBoolean;
|
|
155
|
-
maintain: z.ZodOptional<z.
|
|
156
|
-
triage: z.ZodOptional<z.
|
|
157
|
-
}, z.core.$strip
|
|
158
|
-
public: z.ZodOptional<z.
|
|
155
|
+
maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
156
|
+
triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
157
|
+
}, z.core.$strip>>;
|
|
158
|
+
public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
159
159
|
organization: z.ZodOptional<z.ZodString>;
|
|
160
|
-
custom_properties: z.
|
|
160
|
+
custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
161
161
|
}, z.core.$strip>;
|
|
162
162
|
installation: z.ZodOptional<z.ZodObject<{
|
|
163
163
|
id: z.ZodNumber;
|
|
@@ -176,14 +176,14 @@ export declare const MemberRemovedEventSchema: z.ZodObject<{
|
|
|
176
176
|
members_url: z.ZodString;
|
|
177
177
|
public_members_url: z.ZodString;
|
|
178
178
|
avatar_url: z.ZodString;
|
|
179
|
-
description: z.ZodString
|
|
179
|
+
description: z.ZodNullable<z.ZodString>;
|
|
180
180
|
}, z.core.$strip>>;
|
|
181
181
|
sender: z.ZodObject<{
|
|
182
182
|
login: z.ZodString;
|
|
183
183
|
id: z.ZodNumber;
|
|
184
184
|
node_id: z.ZodString;
|
|
185
185
|
name: z.ZodOptional<z.ZodString>;
|
|
186
|
-
email: z.ZodOptional<z.ZodString
|
|
186
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
187
|
avatar_url: z.ZodString;
|
|
188
188
|
gravatar_id: z.ZodString;
|
|
189
189
|
url: z.ZodString;
|
|
@@ -12,7 +12,7 @@ export declare const MembershipAddedEventSchema: z.ZodObject<{
|
|
|
12
12
|
id: z.ZodNumber;
|
|
13
13
|
node_id: z.ZodString;
|
|
14
14
|
name: z.ZodOptional<z.ZodString>;
|
|
15
|
-
email: z.ZodOptional<z.ZodString
|
|
15
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
avatar_url: z.ZodString;
|
|
17
17
|
gravatar_id: z.ZodString;
|
|
18
18
|
url: z.ZodString;
|
|
@@ -34,7 +34,7 @@ export declare const MembershipAddedEventSchema: z.ZodObject<{
|
|
|
34
34
|
id: z.ZodNumber;
|
|
35
35
|
node_id: z.ZodString;
|
|
36
36
|
name: z.ZodOptional<z.ZodString>;
|
|
37
|
-
email: z.ZodOptional<z.ZodString
|
|
37
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
avatar_url: z.ZodString;
|
|
39
39
|
gravatar_id: z.ZodString;
|
|
40
40
|
url: z.ZodString;
|
|
@@ -56,19 +56,19 @@ export declare const MembershipAddedEventSchema: z.ZodObject<{
|
|
|
56
56
|
id: z.ZodNumber;
|
|
57
57
|
node_id: z.ZodString;
|
|
58
58
|
slug: z.ZodString;
|
|
59
|
-
description: z.ZodString
|
|
59
|
+
description: z.ZodNullable<z.ZodString>;
|
|
60
60
|
privacy: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"closed">, z.ZodLiteral<"secret">]>;
|
|
61
61
|
url: z.ZodString;
|
|
62
62
|
html_url: z.ZodString;
|
|
63
63
|
members_url: z.ZodString;
|
|
64
64
|
repositories_url: z.ZodString;
|
|
65
65
|
permission: z.ZodString;
|
|
66
|
-
parent: z.ZodObject<{
|
|
66
|
+
parent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
67
67
|
name: z.ZodString;
|
|
68
68
|
id: z.ZodNumber;
|
|
69
69
|
node_id: z.ZodString;
|
|
70
70
|
slug: z.ZodString;
|
|
71
|
-
description: z.ZodString
|
|
71
|
+
description: z.ZodNullable<z.ZodString>;
|
|
72
72
|
privacy: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"closed">, z.ZodLiteral<"secret">]>;
|
|
73
73
|
url: z.ZodString;
|
|
74
74
|
html_url: z.ZodString;
|
|
@@ -76,7 +76,7 @@ export declare const MembershipAddedEventSchema: z.ZodObject<{
|
|
|
76
76
|
repositories_url: z.ZodString;
|
|
77
77
|
permission: z.ZodString;
|
|
78
78
|
notification_setting: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"notifications_enabled">, z.ZodLiteral<"notifications_disabled">]>>;
|
|
79
|
-
}, z.core.$strip
|
|
79
|
+
}, z.core.$strip>>>;
|
|
80
80
|
notification_setting: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"notifications_enabled">, z.ZodLiteral<"notifications_disabled">]>>;
|
|
81
81
|
}, z.core.$strip>;
|
|
82
82
|
organization: z.ZodObject<{
|
|
@@ -92,7 +92,7 @@ export declare const MembershipAddedEventSchema: z.ZodObject<{
|
|
|
92
92
|
members_url: z.ZodString;
|
|
93
93
|
public_members_url: z.ZodString;
|
|
94
94
|
avatar_url: z.ZodString;
|
|
95
|
-
description: z.ZodString
|
|
95
|
+
description: z.ZodNullable<z.ZodString>;
|
|
96
96
|
}, z.core.$strip>;
|
|
97
97
|
installation: z.ZodOptional<z.ZodObject<{
|
|
98
98
|
id: z.ZodNumber;
|
|
@@ -12,7 +12,7 @@ export declare const MembershipRemovedEventSchema: z.ZodObject<{
|
|
|
12
12
|
id: z.ZodNumber;
|
|
13
13
|
node_id: z.ZodString;
|
|
14
14
|
name: z.ZodOptional<z.ZodString>;
|
|
15
|
-
email: z.ZodOptional<z.ZodString
|
|
15
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
avatar_url: z.ZodString;
|
|
17
17
|
gravatar_id: z.ZodString;
|
|
18
18
|
url: z.ZodString;
|
|
@@ -34,7 +34,7 @@ export declare const MembershipRemovedEventSchema: z.ZodObject<{
|
|
|
34
34
|
id: z.ZodNumber;
|
|
35
35
|
node_id: z.ZodString;
|
|
36
36
|
name: z.ZodOptional<z.ZodString>;
|
|
37
|
-
email: z.ZodOptional<z.ZodString
|
|
37
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
avatar_url: z.ZodString;
|
|
39
39
|
gravatar_id: z.ZodString;
|
|
40
40
|
url: z.ZodString;
|
|
@@ -56,19 +56,19 @@ export declare const MembershipRemovedEventSchema: z.ZodObject<{
|
|
|
56
56
|
id: z.ZodNumber;
|
|
57
57
|
node_id: z.ZodString;
|
|
58
58
|
slug: z.ZodString;
|
|
59
|
-
description: z.ZodString
|
|
59
|
+
description: z.ZodNullable<z.ZodString>;
|
|
60
60
|
privacy: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"closed">, z.ZodLiteral<"secret">]>;
|
|
61
61
|
url: z.ZodString;
|
|
62
62
|
html_url: z.ZodString;
|
|
63
63
|
members_url: z.ZodString;
|
|
64
64
|
repositories_url: z.ZodString;
|
|
65
65
|
permission: z.ZodString;
|
|
66
|
-
parent: z.ZodObject<{
|
|
66
|
+
parent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
67
67
|
name: z.ZodString;
|
|
68
68
|
id: z.ZodNumber;
|
|
69
69
|
node_id: z.ZodString;
|
|
70
70
|
slug: z.ZodString;
|
|
71
|
-
description: z.ZodString
|
|
71
|
+
description: z.ZodNullable<z.ZodString>;
|
|
72
72
|
privacy: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"closed">, z.ZodLiteral<"secret">]>;
|
|
73
73
|
url: z.ZodString;
|
|
74
74
|
html_url: z.ZodString;
|
|
@@ -76,12 +76,12 @@ export declare const MembershipRemovedEventSchema: z.ZodObject<{
|
|
|
76
76
|
repositories_url: z.ZodString;
|
|
77
77
|
permission: z.ZodString;
|
|
78
78
|
notification_setting: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"notifications_enabled">, z.ZodLiteral<"notifications_disabled">]>>;
|
|
79
|
-
}, z.core.$strip
|
|
79
|
+
}, z.core.$strip>>>;
|
|
80
80
|
notification_setting: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"notifications_enabled">, z.ZodLiteral<"notifications_disabled">]>>;
|
|
81
81
|
}, z.core.$strip>, z.ZodObject<{
|
|
82
82
|
id: z.ZodNumber;
|
|
83
83
|
name: z.ZodString;
|
|
84
|
-
deleted: z.ZodOptional<z.
|
|
84
|
+
deleted: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
85
85
|
}, z.core.$strip>]>;
|
|
86
86
|
organization: z.ZodObject<{
|
|
87
87
|
login: z.ZodString;
|
|
@@ -96,7 +96,7 @@ export declare const MembershipRemovedEventSchema: z.ZodObject<{
|
|
|
96
96
|
members_url: z.ZodString;
|
|
97
97
|
public_members_url: z.ZodString;
|
|
98
98
|
avatar_url: z.ZodString;
|
|
99
|
-
description: z.ZodString
|
|
99
|
+
description: z.ZodNullable<z.ZodString>;
|
|
100
100
|
}, z.core.$strip>;
|
|
101
101
|
installation: z.ZodOptional<z.ZodObject<{
|
|
102
102
|
id: z.ZodNumber;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./shared/index.js";import"./shared/marketplace-purchase.js";import"./shared/pull-request.js";import"./shared/simple-pull-request.js";import"./shared/sponsorship-tier.js";import"./shared/project-card.js";import{wh as
|
|
3
|
-
export{
|
|
2
|
+
import"./shared/index.js";import"./shared/marketplace-purchase.js";import"./shared/pull-request.js";import"./shared/simple-pull-request.js";import"./shared/sponsorship-tier.js";import"./shared/project-card.js";import{wh as i}from"./shared/organization.js";import"./shared/deployment.js";import"./shared/projects-v2-item.js";import"./shared/alert-instance.js";import"./shared/release.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/git-hub-org.js";import"./shared/deployment-workflow-run.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/commit.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/pull-request-review-comment.js";import"./shared/link.js";import{ei as o}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-issue-title.js";import"./shared/secret-scanning-location-commit.js";import"./shared/package-nuget-metadata.js";import{mi as n}from"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/workflow-job.js";import"./shared/workflow-step-in-progress.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-auto-merge.js";import"./shared/security-advisory-cvss.js";import"./shared/package-npm-metadata.js";import"./shared/organization-custom-property.js";import"./shared/security-advisory-cwes.js";import"./shared/project-column.js";import"./shared/issue.js";import"./shared/label.js";import"./shared/release-asset.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/workflow.js";import"./shared/check-run-deployment.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/referenced-workflow.js";import"./shared/project.js";import"./shared/check-run-pull-request.js";import"./shared/repo-ref.js";import"./shared/simple-commit.js";import"./shared/committer.js";import"./shared/membership.js";import"./shared/issue-comment.js";import"./shared/reactions.js";import"./shared/app.js";import"./shared/repository.js";import"./shared/license.js";import"./shared/milestone.js";import{Aj as t}from"./shared/user.js";import"./shared/custom-property-value.js";import{z as e}from"zod";var m=e.object({action:e.literal("removed"),scope:e.union([e.literal("organization"),e.literal("team")]),member:t,sender:t,team:e.union([n,e.object({id:e.number(),name:e.string(),deleted:e.union([e.literal(!1),e.literal(!0)]).optional()})]),organization:i,installation:o.optional()});function p(r){return m.safeParse(r).success}export{p as isMembershipRemovedEvent,m as MembershipRemovedEventSchema};
|
|
3
|
+
export{m as Gb,p as Hb};
|
|
4
4
|
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=39392F6E63C9C8EF64756E2164756E21
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/schemas/membership-removed-event.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"/**\n * Auto-generated Zod schema for MembershipRemovedEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { MembershipRemovedEvent as MembershipRemovedEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n InstallationLiteSchema,\n OrganizationSchema,\n TeamSchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const MembershipRemovedEventSchema = z.object({\n action: z.literal('removed'),\n scope: z.union([z.literal('organization'), z.literal('team')]),\n member: UserSchema,\n sender: UserSchema,\n team: z.union([\n TeamSchema,\n z.object({\n id: z.number(),\n name: z.string(),\n deleted: z.
|
|
5
|
+
"/**\n * Auto-generated Zod schema for MembershipRemovedEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { MembershipRemovedEvent as MembershipRemovedEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n InstallationLiteSchema,\n OrganizationSchema,\n TeamSchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const MembershipRemovedEventSchema = z.object({\n action: z.literal('removed'),\n scope: z.union([z.literal('organization'), z.literal('team')]),\n member: UserSchema,\n sender: UserSchema,\n team: z.union([\n TeamSchema,\n z.object({\n id: z.number(),\n name: z.string(),\n deleted: z.union([z.literal(false), z.literal(true)]).optional(),\n }),\n ]),\n organization: OrganizationSchema,\n installation: InstallationLiteSchema.optional(),\n}) satisfies z.ZodType<MembershipRemovedEventOctokit>;\n\nexport type MembershipRemovedEvent = MembershipRemovedEventOctokit;\n\nexport function isMembershipRemovedEvent(\n value: unknown,\n): value is MembershipRemovedEvent {\n return MembershipRemovedEventSchema.safeParse(value).success;\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": ";4qEAMA,mBAAS,WASF,UAAM,KAA+B,CAAE,MAAO,FACnD,UAAQ,GAAE,EAAQ,gCAAS,2BAC3B,YAAO,CAAE,eAAM,DAAC,YAAE,WAAQ,yBAAc,LAAG,wBAAE,sBAAQ,HAAM,KAAC,wBAAC,oBAC7D,gBAAQ,PACR,eAAQ,CACR,iBAAM,SAAE,gBAAM,UACZ,SACA,iBAAE,gBAAO,EACP,LAAI,NAAE,OAAO,DACb,WAAM,HAAE,cAAO,YACf,OAAS,IAAE,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";4qEAMA,mBAAS,WASF,UAAM,KAA+B,CAAE,MAAO,FACnD,UAAQ,GAAE,EAAQ,gCAAS,2BAC3B,YAAO,CAAE,eAAM,DAAC,YAAE,WAAQ,yBAAc,LAAG,wBAAE,sBAAQ,HAAM,KAAC,wBAAC,oBAC7D,gBAAQ,PACR,eAAQ,CACR,iBAAM,SAAE,gBAAM,UACZ,SACA,iBAAE,gBAAO,EACP,LAAI,NAAE,OAAO,DACb,WAAM,HAAE,cAAO,YACf,OAAS,IAAE,YAAM,LAAC,WAAE,GAAQ,EAAK,FAAG,DAAE,QAAQ,FAAI,TAAC,FAAC,JAAE,KAAS,RACjE,SAAC,CACH,CAAC,EACD,aAAc,EACd,aAAc,EAAuB,SAAS,CAChD,CAAC,EAIM,SAAS,CAAwB,CACtC,EACiC,CACjC,OAAO,EAA6B,UAAU,CAAK,EAAE",
|
|
8
|
+
"debugId": "39392F6E63C9C8EF64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|