mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +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