-
Notifications
You must be signed in to change notification settings - Fork 45
/
events.go
30 lines (28 loc) · 1.27 KB
/
events.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package types
// Posts module event types
const (
EventTypeCreatedPost = "created_post"
EventTypeEditedPost = "edited_post"
EventTypeDeletedPost = "deleted_post"
EventTypeAddedPostAttachment = "added_post_attachment"
EventTypeRemovedPostAttachment = "removed_post_attachment"
EventTypeAnsweredPoll = "answered_poll"
EventTypeTalliedPoll = "tallied_poll"
EventTypeMovedPost = "moved_post"
EventTypeRequestedPostOwnerTransfer = "requested_post_owner_transfer"
EventTypeCanceledPostOwnerTransfer = "canceled_post_owner_transfer"
EventTypeAcceptedPostOwnerTransfer = "accepted_post_owner_transfer"
EventTypeRefusedPostOwnerTransfer = "refused_post_owner_transfer"
AttributeKeyPostID = "post_id"
AttributeKeyAuthor = "author"
AttributeKeyCreationTime = "creation_date"
AttributeKeyLastEditTime = "last_edit_date"
AttributeKeyAttachmentID = "attachment_id"
AttributeKeyPollID = "poll_id"
AttributeKeyAnswersIndexes = "answers_indexes"
AttributeKeyAnswerer = "answerer"
AttributeKeyNewSubspaceID = "new_subspace_id"
AttributeKeyNewPostID = "new_post_id"
AttributeKeySender = "sender"
AttributeKeyReceiver = "receiver"
)