summaryrefslogtreecommitdiffstats
path: root/store/layered_store_supplier.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/layered_store_supplier.go')
-rw-r--r--store/layered_store_supplier.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/store/layered_store_supplier.go b/store/layered_store_supplier.go
index 841b75a32..482ccd126 100644
--- a/store/layered_store_supplier.go
+++ b/store/layered_store_supplier.go
@@ -31,4 +31,10 @@ type LayeredStoreSupplier interface {
ReactionGetForPost(ctx context.Context, postId string, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
ReactionDeleteAllWithEmojiName(ctx context.Context, emojiName string, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
ReactionPermanentDeleteBatch(ctx context.Context, endTime int64, limit int64, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
+
+ // Roles
+ RoleSave(ctx context.Context, role *model.Role, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
+ RoleGet(ctx context.Context, roleId string, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
+ RoleGetByName(ctx context.Context, name string, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
+ RoleGetByNames(ctx context.Context, names []string, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
}