-
Notifications
You must be signed in to change notification settings - Fork 5
/
keys.go
43 lines (37 loc) · 1.26 KB
/
keys.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
31
32
33
34
35
36
37
38
39
40
41
42
43
package types
const (
NotificationTypeKey = "type"
TransactionHashKey = "tx_hash"
TransactionErrorKey = "tx_error"
RecipientKey = "recipient"
SubspaceIDKey = "subspace_id"
RelationshipCreatorKey = "relationship_creator"
PostIDKey = "post_id"
PostAuthorKey = "post_author"
RepostIDKey = "repost_id"
RepostAuthorKey = "repost_author"
CommentIDKey = "comment_id"
CommentAuthorKey = "comment_author"
ReplyIDKey = "reply_id"
ReplyAuthorKey = "reply_author"
QuoteIDKey = "quote_id"
QuoteAuthorKey = "quote_author"
ReactionIDKey = "reaction_id"
ReactionAuthorKey = "reaction_author"
// Actions
ClickActionKey = "click_action"
ClickActionValue = "open"
NotificationActionKey = "action"
ActionOpenPost = "open_post"
ActionOpenProfile = "open_profile"
// Notification types
TypeTransactionSuccess = "transaction_success"
TypeTransactionFailed = "transaction_fail"
TypeFollow = "follow"
TypeReply = "reply"
TypeComment = "comment"
TypeRepost = "repost"
TypeQuote = "quote"
TypeMention = "mention"
TypeReaction = "reaction"
)