diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-06-30 12:07:23 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-06-30 12:07:23 -0400 |
commit | 5507154992eedd323385c37e59b2008586b9aaa0 (patch) | |
tree | b017d2a40207cb437b9aa84703990577539df9f8 /store/store.go | |
parent | 6b77a054c25acb0437a58107c4592ad66c830993 (diff) | |
download | chat-5507154992eedd323385c37e59b2008586b9aaa0.tar.gz chat-5507154992eedd323385c37e59b2008586b9aaa0.tar.bz2 chat-5507154992eedd323385c37e59b2008586b9aaa0.zip |
Add some basic sorting support for GET /users endpoint (#6801)
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go index 23c6acd37..9ae5f4b81 100644 --- a/store/store.go +++ b/store/store.go @@ -208,7 +208,8 @@ type UserStore interface { AnalyticsActiveCount(time int64) StoreChannel GetUnreadCount(userId string) StoreChannel GetUnreadCountForChannel(userId string, channelId string) StoreChannel - GetRecentlyActiveUsersForTeam(teamId string) StoreChannel + GetRecentlyActiveUsersForTeam(teamId string, offset, limit int) StoreChannel + GetNewUsersForTeam(teamId string, offset, limit int) StoreChannel Search(teamId string, term string, options map[string]bool) StoreChannel SearchNotInTeam(notInTeamId string, term string, options map[string]bool) StoreChannel SearchInChannel(channelId string, term string, options map[string]bool) StoreChannel |