Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

notify.go 662B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package swagger
  4. import (
  5. api "code.gitea.io/gitea/modules/structs"
  6. )
  7. // NotificationThread
  8. // swagger:response NotificationThread
  9. type swaggerNotificationThread struct {
  10. // in:body
  11. Body api.NotificationThread `json:"body"`
  12. }
  13. // NotificationThreadList
  14. // swagger:response NotificationThreadList
  15. type swaggerNotificationThreadList struct {
  16. // in:body
  17. Body []api.NotificationThread `json:"body"`
  18. }
  19. // Number of unread notifications
  20. // swagger:response NotificationCount
  21. type swaggerNotificationCount struct {
  22. // in:body
  23. Body api.NotificationCount `json:"body"`
  24. }