summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index 608d501c0..f375bfb0f 100644
--- a/store/store.go
+++ b/store/store.go
@@ -65,6 +65,7 @@ type Store interface {
UserAccessToken() UserAccessTokenStore
ChannelMemberHistory() ChannelMemberHistoryStore
Plugin() PluginStore
+ ServiceTerms() ServiceTermsStore
MarkSystemRanUnitTests()
Close()
LockToMaster()
@@ -518,3 +519,9 @@ type SchemeStore interface {
Delete(schemeId string) StoreChannel
PermanentDeleteAll() StoreChannel
}
+
+type ServiceTermsStore interface {
+ Save(serviceTerms *model.ServiceTerms) StoreChannel
+ GetLatest(allowFromCache bool) StoreChannel
+ Get(id string, allowFromCache bool) StoreChannel
+}