коммит произвёл
GitHub
родитель
62495f16bd
Коммит
150c6e7aef
@@ -12,8 +12,6 @@ import (
|
||||
"github.com/mattermost/mattermost/server/public/shared/mlog"
|
||||
"github.com/mattermost/mattermost/server/v8/channels/app/request"
|
||||
"github.com/mattermost/mattermost/server/v8/platform/shared/filestore"
|
||||
|
||||
fb_model "github.com/mattermost/mattermost/server/v8/boards/model"
|
||||
)
|
||||
|
||||
// RouterService enables registering the product router to the server. After registering the
|
||||
@@ -214,26 +212,6 @@ type PreferencesService interface {
|
||||
DeletePreferencesForUser(userID string, preferences model.Preferences) *model.AppError
|
||||
}
|
||||
|
||||
// BoardsService is the API for accessing Boards service APIs.
|
||||
//
|
||||
// The service shall be registered via app.BoardsKey service key.
|
||||
type BoardsService interface {
|
||||
GetTemplates(teamID string, userID string) ([]*fb_model.Board, error)
|
||||
GetBoard(boardID string) (*fb_model.Board, error)
|
||||
CreateBoard(board *fb_model.Board, userID string, addmember bool) (*fb_model.Board, error)
|
||||
PatchBoard(boardPatch *fb_model.BoardPatch, boardID string, userID string) (*fb_model.Board, error)
|
||||
DeleteBoard(boardID string, userID string) error
|
||||
SearchBoards(searchTerm string, searchField fb_model.BoardSearchField, userID string, includePublicBoards bool) ([]*fb_model.Board, error)
|
||||
LinkBoardToChannel(boardID string, channelID string, userID string) (*fb_model.Board, error)
|
||||
GetCards(boardID string) ([]*fb_model.Card, error)
|
||||
GetCard(cardID string) (*fb_model.Card, error)
|
||||
CreateCard(card *fb_model.Card, boardID string, userID string) (*fb_model.Card, error)
|
||||
PatchCard(cardPatch *fb_model.CardPatch, cardID string, userID string) (*fb_model.Card, error)
|
||||
DeleteCard(cardID string, userID string) error
|
||||
HasPermissionToBoard(userID, boardID string, permission *model.Permission) bool
|
||||
DuplicateBoard(boardID string, userID string, toTeam string, asTemplate bool) (*fb_model.BoardsAndBlocks, []*fb_model.BoardMember, error)
|
||||
}
|
||||
|
||||
// SessionService is the API for accessing the session.
|
||||
//
|
||||
// The service shall be registered via app.SessionKey service key.
|
||||
|
||||
@@ -25,7 +25,6 @@ const (
|
||||
StoreKey ServiceKey = "storekey"
|
||||
SystemKey ServiceKey = "systemkey"
|
||||
PreferencesKey ServiceKey = "preferenceskey"
|
||||
BoardsKey ServiceKey = "boards"
|
||||
SessionKey ServiceKey = "sessionkey"
|
||||
FrontendKey ServiceKey = "frontendkey"
|
||||
CommandKey ServiceKey = "commandkey"
|
||||
|
||||
Ссылка в новой задаче
Block a user