diff options
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 7f4db396c..29a7e8d82 100644 --- a/store/store.go +++ b/store/store.go @@ -42,6 +42,7 @@ type Store interface { Preference() PreferenceStore License() LicenseStore PasswordRecovery() PasswordRecoveryStore + Emoji() EmojiStore MarkSystemRanUnitTests() Close() DropAllTables() @@ -254,3 +255,11 @@ type PasswordRecoveryStore interface { Get(userId string) StoreChannel GetByCode(code string) StoreChannel } + +type EmojiStore interface { + Save(emoji *model.Emoji) StoreChannel + Get(id string) StoreChannel + GetByName(name string) StoreChannel + GetAll() StoreChannel + Delete(id string, time int64) StoreChannel +} |