[MM-58745] export/import: enable exporting and importing bots canonically (#28214)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3049191e2f
Коммит
f41d2d7774
@@ -497,7 +497,9 @@ type UserStore interface {
|
||||
|
||||
type BotStore interface {
|
||||
Get(userID string, includeDeleted bool) (*model.Bot, error)
|
||||
GetByUsername(username string) (*model.Bot, error)
|
||||
GetAll(options *model.BotGetOptions) ([]*model.Bot, error)
|
||||
GetAllAfter(limit int, afterId string) ([]*model.Bot, error)
|
||||
Save(bot *model.Bot) (*model.Bot, error)
|
||||
Update(bot *model.Bot) (*model.Bot, error)
|
||||
PermanentDelete(userID string) error
|
||||
|
||||
Ссылка в новой задаче
Block a user