summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-27 11:52:13 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-27 11:52:13 -0700
commita133f82421d2c67ef32b0aae69a6646a14f97dfc (patch)
tree35fe7dcf6b208437111c5d3a843eabf2f4703101 /store/store.go
parente22b9f53034280cd3b730c03520469dca4046484 (diff)
parente0f69060fa462390779dd7b4cf6b67a12c3974ba (diff)
downloadchat-a133f82421d2c67ef32b0aae69a6646a14f97dfc.tar.gz
chat-a133f82421d2c67ef32b0aae69a6646a14f97dfc.tar.bz2
chat-a133f82421d2c67ef32b0aae69a6646a14f97dfc.zip
Merge branch 'master' into PLT-340
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 {