diff options
author | JoramWilander <jwawilander@gmail.com> | 2016-02-25 12:32:46 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2016-03-01 10:46:30 -0500 |
commit | 8239c68cf323e4bb20007d2b456336becead273d (patch) | |
tree | 3422ed0946afafa47d6649e09f6f09ee71692363 /store/store.go | |
parent | 8aa4e28932ec43090ca6b481929fafbe0119a660 (diff) | |
download | chat-8239c68cf323e4bb20007d2b456336becead273d.tar.gz chat-8239c68cf323e4bb20007d2b456336becead273d.tar.bz2 chat-8239c68cf323e4bb20007d2b456336becead273d.zip |
Refactor and modularize analytics on the client
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 397601543..b041cfa25 100644 --- a/store/store.go +++ b/store/store.go @@ -55,6 +55,7 @@ type TeamStore interface { GetAllTeamListing() StoreChannel GetByInviteId(inviteId string) StoreChannel PermanentDelete(teamId string) StoreChannel + AnalyticsTeamCount() StoreChannel } type ChannelStore interface { @@ -141,6 +142,7 @@ type SessionStore interface { UpdateLastActivityAt(sessionId string, time int64) StoreChannel UpdateRoles(userId string, roles string) StoreChannel UpdateDeviceId(id string, deviceId string) StoreChannel + AnalyticsSessionCount(teamId string) StoreChannel } type AuditStore interface { @@ -196,6 +198,7 @@ type CommandStore interface { Delete(commandId string, time int64) StoreChannel PermanentDeleteByUser(userId string) StoreChannel Update(hook *model.Command) StoreChannel + AnalyticsCommandCount(teamId string) StoreChannel } type PreferenceStore interface { |