936cc820ab
* cleanup log levels * Standardize on model.IsErrNotFound instead of the mix of error checking done previously. * fix merge conflicts * fix comment typo * add description to asserts
14 lines
476 B
Go
14 lines
476 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 Store interface {
|
|
GetUserByID(userID string) (*model.User, error)
|
|
|
|
GetMemberForBoard(boardID, userID string) (*model.BoardMember, error)
|
|
SaveMember(bm *model.BoardMember) (*model.BoardMember, error)
|
|
|
|
CreateSubscription(sub *model.Subscription) (*model.Subscription, error)
|
|
}
|