Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + func AclActivity(author string, workspace *idm.Workspace, permission string) (ac *activity.Object) + func Collection(items []*activity.Object) (c *activity.Object) + func CountCollection(count int32) (c *activity.Object) + func Digest(ctx context.Context, items []*activity.Object) (*activity.Object, error) + func DocumentActivity(author string, event *tree.NodeChangeEvent) (ac *activity.Object, detectedNode *tree.Node) + func NewDAO(o dao.DAO) dao.DAO + type BoxName string + const BoxInbox + const BoxLastRead + const BoxLastSent + const BoxOutbox + const BoxSubscriptions + type DAO interface + ActivitiesFor func(ownerType activity.OwnerType, ownerId string, boxName BoxName, ...) error + CountUnreadForUser func(userId string) int + Delete func(ownerType activity.OwnerType, ownerId string) error + ListSubscriptions func(objectType activity.OwnerType, objectIds []string) ([]*activity.Subscription, error) + PostActivity func(ownerType activity.OwnerType, ownerId string, boxName BoxName, ...) error + StoreLastUserInbox func(userId string, boxName BoxName, last []byte, activityId string) error + UpdateSubscription func(subscription *activity.Subscription) error Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020