summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-27 11:40:49 -0700
committerCorey Hulen <corey@hulen.com>2015-10-27 11:40:49 -0700
commite0f69060fa462390779dd7b4cf6b67a12c3974ba (patch)
treeb1ea3f745c2607a0f12eaa0af18db3c4c846ab63 /store/store.go
parent4dbde3e1d8f6c6a7087c6af1407140a7b250c8d0 (diff)
parent399e9c6f4bbed7f9eac0a75242ec75e4b0d2bb59 (diff)
downloadchat-e0f69060fa462390779dd7b4cf6b67a12c3974ba.tar.gz
chat-e0f69060fa462390779dd7b4cf6b67a12c3974ba.tar.bz2
chat-e0f69060fa462390779dd7b4cf6b67a12c3974ba.zip
Merge pull request #1190 from mattermost/PLT-25
PLT-25 adding stats to admin console
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index bd2c3681e..42329b036 100644
--- a/store/store.go
+++ b/store/store.go
@@ -75,6 +75,7 @@ type ChannelStore interface {
CheckPermissionsToByName(teamId string, channelName string, userId string) StoreChannel
UpdateLastViewedAt(channelId string, userId string) StoreChannel
IncrementMentionCount(channelId string, userId string) StoreChannel
+ AnalyticsTypeCount(teamId string, channelType string) StoreChannel
}
type PostStore interface {
@@ -87,6 +88,9 @@ type PostStore interface {
GetEtag(channelId string) StoreChannel
Search(teamId string, userId string, params *model.SearchParams) StoreChannel
GetForExport(channelId string) StoreChannel
+ AnalyticsUserCountsWithPostsByDay(teamId string) StoreChannel
+ AnalyticsPostCountsByDay(teamId string) StoreChannel
+ AnalyticsPostCount(teamId string) StoreChannel
}
type UserStore interface {