PLT-7218: CLI to move slash commands between teams. (#7574)

Этот коммит содержится в:
George Goldberg
2017-10-04 19:08:59 +01:00
коммит произвёл Chris
родитель e16bdf8d1d
Коммит f3fc6d11fa
9 изменённых файлов: 252 добавлений и 1 удалений

Просмотреть файл

@@ -7,6 +7,7 @@ import (
"time"
l4g "github.com/alecthomas/log4go"
"github.com/mattermost/mattermost-server/model"
)
@@ -322,6 +323,7 @@ type CommandStore interface {
Save(webhook *model.Command) StoreChannel
Get(id string) StoreChannel
GetByTeam(teamId string) StoreChannel
GetByTrigger(teamId string, trigger string) StoreChannel
Delete(commandId string, time int64) StoreChannel
PermanentDeleteByTeam(teamId string) StoreChannel
PermanentDeleteByUser(userId string) StoreChannel