diff options
Diffstat (limited to 'modules/structs/repo.go')
-rw-r--r-- | modules/structs/repo.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/structs/repo.go b/modules/structs/repo.go index 01239188c2..fc4ed03de5 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -374,3 +374,9 @@ type RepoTransfer struct { Recipient *User `json:"recipient"` Teams []*Team `json:"teams"` } + +// NewIssuePinsAllowed represents an API response that says if new Issue Pins are allowed +type NewIssuePinsAllowed struct { + Issues bool `json:"issues"` + PullRequests bool `json:"pull_requests"` +} |