diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-08-26 12:49:07 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-04 11:11:38 -0400 |
commit | f0fd9a9e8b85544089246bde71b6d61ba90eeb0e (patch) | |
tree | 256896117078ef1396a52fcecf3116863b3bb716 /store/store.go | |
parent | 1b923528448eace438a1f498116a19361a8b0fb2 (diff) | |
download | chat-f0fd9a9e8b85544089246bde71b6d61ba90eeb0e.tar.gz chat-f0fd9a9e8b85544089246bde71b6d61ba90eeb0e.tar.bz2 chat-f0fd9a9e8b85544089246bde71b6d61ba90eeb0e.zip |
Adding ability to export data from mattermost
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 271caa366..959e93fa4 100644 --- a/store/store.go +++ b/store/store.go @@ -44,6 +44,7 @@ type TeamStore interface { Get(id string) StoreChannel GetByName(name string) StoreChannel GetTeamsForEmail(domain string) StoreChannel + GetForExport() StoreChannel } type ChannelStore interface { @@ -55,6 +56,7 @@ type ChannelStore interface { GetChannels(teamId string, userId string) StoreChannel GetMoreChannels(teamId string, userId string) StoreChannel GetChannelCounts(teamId string, userId string) StoreChannel + GetForExport(teamId string) StoreChannel SaveMember(member *model.ChannelMember) StoreChannel GetMembers(channelId string) StoreChannel @@ -78,6 +80,7 @@ type PostStore interface { GetPostsSince(channelId string, time int64) StoreChannel GetEtag(channelId string) StoreChannel Search(teamId string, userId string, terms string, isHashtagSearch bool) StoreChannel + GetForExport(channelId string) StoreChannel } type UserStore interface { @@ -96,6 +99,7 @@ type UserStore interface { VerifyEmail(userId string) StoreChannel GetEtagForProfiles(teamId string) StoreChannel UpdateFailedPasswordAttempts(userId string, attempts int) StoreChannel + GetForExport(teamId string) StoreChannel } type SessionStore interface { |