11bd3720f1
* remove unneeded store interfaces * - reduce dependencies for notifications service - notifications service no longer concerned with web socket notifications gnored, and an empty message aborts the commit. * use app to add member to board * remove unneeded API * remove dependency on app package * fix webapp jest Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
10 lines
362 B
Go
10 lines
362 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
package notifymentions
|
|
|
|
import "github.com/mattermost/focalboard/server/model"
|
|
|
|
type AppAPI interface {
|
|
GetMemberForBoard(boardID, userID string) (*model.BoardMember, error)
|
|
AddMemberToBoard(member *model.BoardMember) (*model.BoardMember, error)
|
|
}
|