-
Notifications
You must be signed in to change notification settings - Fork 46
/
events.go
38 lines (36 loc) · 1.81 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
31
32
33
34
35
36
37
38
package types
// Subspaces module event types
const (
EventTypeCreatedSubspace = "created_subspace"
EventTypeEditedSubspace = "edited_subspace"
EventTypeDeletedSubspace = "deleted_subspace"
EventTypeCreatedSection = "created_section"
EventTypeEditedSection = "edited_section"
EventTypeMovedSection = "moved_section"
EventTypeDeletedSection = "deleted_section"
EventTypeCreatedUserGroup = "created_user_group"
EventTypeEditedUserGroup = "edited_user_group"
EventTypeMovedUserGroup = "moved_user_group"
EventTypeSetUserGroupPermissions = "set_user_group_permissions"
EventTypeDeletedUserGroup = "deleted_user_group"
EventTypeAddedUserToGroup = "added_group_member"
EventTypeRemovedUserFromGroup = "removed_group_member"
EventTypeSetUserPermissions = "set_user_permissions"
EventTypeGrantedTreasuryAuthorization = "granted_treasury_authorization"
EventTypeRevokedTreasuryAuthorization = "revoked_treasury_authorization"
EventTypeGrantedAllowance = "granted_allowance"
EventTypeRevokedAllowance = "revoked_allowance"
EventTypeUpdatedSubspaceFeeToken = "updated_subspace_fee_token"
AttributeKeySubspaceID = "subspace_id"
AttributeKeySubspaceName = "subspace_name"
AttributeKeySubspaceCreator = "subspace_creator"
AttributeKeyCreationTime = "creation_date"
AttributeKeySectionID = "section_id"
AttributeKeyUserGroupID = "user_group_id"
AttributeKeyPermissions = "permissions"
AttributeKeyUser = "user"
AttributeKeyGranter = "granter"
AttributeKeyGrantee = "grantee"
AttributeKeyUserGrantee = "user_grantee"
AttributeKeyGroupGrantee = "group_grantee"
)