focalboard/server/services/notify/notifymentions/app_api.go
Doug Lauder 11bd3720f1
Refactor notify init (#3043)
* 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>
2022-05-16 11:53:41 -04:00

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)
}