mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-16 15:51:14 +00:00
Add new file activity.
This commit is contained in:
@@ -13,6 +13,7 @@ const (
|
||||
ActivityTypeNewResource
|
||||
ActivityTypeUpdateResource
|
||||
ActivityTypeNewComment
|
||||
ActivityTypeNewFile
|
||||
)
|
||||
|
||||
type Activity struct {
|
||||
@@ -29,4 +30,5 @@ type ActivityView struct {
|
||||
User UserView `json:"user"`
|
||||
Comment *CommentView `json:"comment,omitempty"`
|
||||
Resource *ResourceView `json:"resource,omitempty"`
|
||||
File *FileView `json:"file,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user