You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

activity.go 689B

12345678910111213141516171819202122
  1. // Copyright 2023 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package structs
  4. import "time"
  5. type Activity struct {
  6. ID int64 `json:"id"`
  7. UserID int64 `json:"user_id"` // Receiver user
  8. OpType string `json:"op_type"`
  9. ActUserID int64 `json:"act_user_id"`
  10. ActUser *User `json:"act_user"`
  11. RepoID int64 `json:"repo_id"`
  12. Repo *Repository `json:"repo"`
  13. CommentID int64 `json:"comment_id"`
  14. Comment *Comment `json:"comment"`
  15. RefName string `json:"ref_name"`
  16. IsPrivate bool `json:"is_private"`
  17. Content string `json:"content"`
  18. Created time.Time `json:"created"`
  19. }