2020-10-21 09:56:03 +02:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2021-10-07 13:51:01 +02:00
|
|
|
// Source: github.com/mattermost/focalboard/server/services/store (interfaces: Store)
|
2020-10-21 09:56:03 +02:00
|
|
|
|
2021-10-07 13:51:01 +02:00
|
|
|
// Package mockstore is a generated GoMock package.
|
2020-10-21 09:56:03 +02:00
|
|
|
package mockstore
|
|
|
|
|
|
|
|
import (
|
2021-03-26 19:01:54 +01:00
|
|
|
reflect "reflect"
|
2021-12-10 16:46:37 +01:00
|
|
|
time "time"
|
2021-03-26 19:01:54 +01:00
|
|
|
|
2020-10-21 09:56:03 +02:00
|
|
|
gomock "github.com/golang/mock/gomock"
|
2021-01-26 23:13:46 +01:00
|
|
|
model "github.com/mattermost/focalboard/server/model"
|
2020-10-21 09:56:03 +02:00
|
|
|
)
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// MockStore is a mock of Store interface.
|
2020-10-21 09:56:03 +02:00
|
|
|
type MockStore struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockStoreMockRecorder
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// MockStoreMockRecorder is the mock recorder for MockStore.
|
2020-10-21 09:56:03 +02:00
|
|
|
type MockStoreMockRecorder struct {
|
|
|
|
mock *MockStore
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// NewMockStore creates a new mock instance.
|
2020-10-21 09:56:03 +02:00
|
|
|
func NewMockStore(ctrl *gomock.Controller) *MockStore {
|
|
|
|
mock := &MockStore{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockStoreMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
2020-10-21 09:56:03 +02:00
|
|
|
func (m *MockStore) EXPECT() *MockStoreMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// AddUpdateCategoryBlock mocks base method.
|
|
|
|
func (m *MockStore) AddUpdateCategoryBlock(arg0, arg1, arg2 string) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "AddUpdateCategoryBlock", arg0, arg1, arg2)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// AddUpdateCategoryBlock indicates an expected call of AddUpdateCategoryBlock.
|
|
|
|
func (mr *MockStoreMockRecorder) AddUpdateCategoryBlock(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUpdateCategoryBlock", reflect.TypeOf((*MockStore)(nil).AddUpdateCategoryBlock), arg0, arg1, arg2)
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// CleanUpSessions mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) CleanUpSessions(arg0 int64) error {
|
2021-01-11 15:33:34 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "CleanUpSessions", arg0)
|
2021-01-11 15:33:34 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// CleanUpSessions indicates an expected call of CleanUpSessions.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) CleanUpSessions(arg0 interface{}) *gomock.Call {
|
2021-01-11 15:33:34 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanUpSessions", reflect.TypeOf((*MockStore)(nil).CleanUpSessions), arg0)
|
2021-01-11 15:33:34 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// CreateBoardsAndBlocks mocks base method.
|
|
|
|
func (m *MockStore) CreateBoardsAndBlocks(arg0 *model.BoardsAndBlocks, arg1 string) (*model.BoardsAndBlocks, error) {
|
2022-02-28 12:28:16 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "CreateBoardsAndBlocks", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*model.BoardsAndBlocks)
|
2022-02-28 12:28:16 +01:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// CreateBoardsAndBlocks indicates an expected call of CreateBoardsAndBlocks.
|
|
|
|
func (mr *MockStoreMockRecorder) CreateBoardsAndBlocks(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBoardsAndBlocks", reflect.TypeOf((*MockStore)(nil).CreateBoardsAndBlocks), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateBoardsAndBlocksWithAdmin mocks base method.
|
|
|
|
func (m *MockStore) CreateBoardsAndBlocksWithAdmin(arg0 *model.BoardsAndBlocks, arg1 string) (*model.BoardsAndBlocks, []*model.BoardMember, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "CreateBoardsAndBlocksWithAdmin", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*model.BoardsAndBlocks)
|
|
|
|
ret1, _ := ret[1].([]*model.BoardMember)
|
|
|
|
ret2, _ := ret[2].(error)
|
|
|
|
return ret0, ret1, ret2
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateBoardsAndBlocksWithAdmin indicates an expected call of CreateBoardsAndBlocksWithAdmin.
|
|
|
|
func (mr *MockStoreMockRecorder) CreateBoardsAndBlocksWithAdmin(arg0, arg1 interface{}) *gomock.Call {
|
2022-02-28 12:28:16 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBoardsAndBlocksWithAdmin", reflect.TypeOf((*MockStore)(nil).CreateBoardsAndBlocksWithAdmin), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateCategory mocks base method.
|
|
|
|
func (m *MockStore) CreateCategory(arg0 model.Category) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "CreateCategory", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateCategory indicates an expected call of CreateCategory.
|
|
|
|
func (mr *MockStoreMockRecorder) CreateCategory(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCategory", reflect.TypeOf((*MockStore)(nil).CreateCategory), arg0)
|
2022-02-28 12:28:16 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// CreateSession mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) CreateSession(arg0 *model.Session) error {
|
2020-12-04 16:04:28 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "CreateSession", arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// CreateSession indicates an expected call of CreateSession.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) CreateSession(arg0 interface{}) *gomock.Call {
|
2020-12-04 16:04:28 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSession", reflect.TypeOf((*MockStore)(nil).CreateSession), arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// CreateSubscription mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) CreateSubscription(arg0 *model.Subscription) (*model.Subscription, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "CreateSubscription", arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].(*model.Subscription)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateSubscription indicates an expected call of CreateSubscription.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) CreateSubscription(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSubscription", reflect.TypeOf((*MockStore)(nil).CreateSubscription), arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// CreateUser mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) CreateUser(arg0 *model.User) error {
|
2020-11-17 15:43:56 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "CreateUser", arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// CreateUser indicates an expected call of CreateUser.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) CreateUser(arg0 interface{}) *gomock.Call {
|
2020-11-17 15:43:56 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateUser", reflect.TypeOf((*MockStore)(nil).CreateUser), arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
}
|
|
|
|
|
2022-02-22 22:30:47 +01:00
|
|
|
// DBType mocks base method.
|
|
|
|
func (m *MockStore) DBType() string {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "DBType")
|
|
|
|
ret0, _ := ret[0].(string)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// DBType indicates an expected call of DBType.
|
|
|
|
func (mr *MockStoreMockRecorder) DBType() *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DBType", reflect.TypeOf((*MockStore)(nil).DBType))
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// DeleteBlock mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) DeleteBlock(arg0, arg1 string) error {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "DeleteBlock", arg0, arg1)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// DeleteBlock indicates an expected call of DeleteBlock.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) DeleteBlock(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBlock", reflect.TypeOf((*MockStore)(nil).DeleteBlock), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteBoard mocks base method.
|
|
|
|
func (m *MockStore) DeleteBoard(arg0, arg1 string) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "DeleteBoard", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteBoard indicates an expected call of DeleteBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) DeleteBoard(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBoard", reflect.TypeOf((*MockStore)(nil).DeleteBoard), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteBoardsAndBlocks mocks base method.
|
|
|
|
func (m *MockStore) DeleteBoardsAndBlocks(arg0 *model.DeleteBoardsAndBlocks, arg1 string) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "DeleteBoardsAndBlocks", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteBoardsAndBlocks indicates an expected call of DeleteBoardsAndBlocks.
|
|
|
|
func (mr *MockStoreMockRecorder) DeleteBoardsAndBlocks(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBoardsAndBlocks", reflect.TypeOf((*MockStore)(nil).DeleteBoardsAndBlocks), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteCategory mocks base method.
|
|
|
|
func (m *MockStore) DeleteCategory(arg0, arg1, arg2 string) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "DeleteCategory", arg0, arg1, arg2)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteCategory indicates an expected call of DeleteCategory.
|
|
|
|
func (mr *MockStoreMockRecorder) DeleteCategory(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCategory", reflect.TypeOf((*MockStore)(nil).DeleteCategory), arg0, arg1, arg2)
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMember mocks base method.
|
|
|
|
func (m *MockStore) DeleteMember(arg0, arg1 string) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "DeleteMember", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMember indicates an expected call of DeleteMember.
|
|
|
|
func (mr *MockStoreMockRecorder) DeleteMember(arg0, arg1 interface{}) *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteMember", reflect.TypeOf((*MockStore)(nil).DeleteMember), arg0, arg1)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// DeleteNotificationHint mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) DeleteNotificationHint(arg0 string) error {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "DeleteNotificationHint", arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteNotificationHint indicates an expected call of DeleteNotificationHint.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) DeleteNotificationHint(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNotificationHint", reflect.TypeOf((*MockStore)(nil).DeleteNotificationHint), arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// DeleteSession mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) DeleteSession(arg0 string) error {
|
2020-12-04 16:04:28 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "DeleteSession", arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// DeleteSession indicates an expected call of DeleteSession.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) DeleteSession(arg0 interface{}) *gomock.Call {
|
2020-12-04 16:04:28 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSession", reflect.TypeOf((*MockStore)(nil).DeleteSession), arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// DeleteSubscription mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) DeleteSubscription(arg0, arg1 string) error {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "DeleteSubscription", arg0, arg1)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteSubscription indicates an expected call of DeleteSubscription.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) DeleteSubscription(arg0, arg1 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSubscription", reflect.TypeOf((*MockStore)(nil).DeleteSubscription), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// DuplicateBlock mocks base method.
|
|
|
|
func (m *MockStore) DuplicateBlock(arg0, arg1, arg2 string, arg3 bool) ([]model.Block, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "DuplicateBlock", arg0, arg1, arg2, arg3)
|
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DuplicateBlock indicates an expected call of DuplicateBlock.
|
|
|
|
func (mr *MockStoreMockRecorder) DuplicateBlock(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DuplicateBlock", reflect.TypeOf((*MockStore)(nil).DuplicateBlock), arg0, arg1, arg2, arg3)
|
|
|
|
}
|
|
|
|
|
|
|
|
// DuplicateBoard mocks base method.
|
|
|
|
func (m *MockStore) DuplicateBoard(arg0, arg1, arg2 string, arg3 bool) (*model.BoardsAndBlocks, []*model.BoardMember, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "DuplicateBoard", arg0, arg1, arg2, arg3)
|
|
|
|
ret0, _ := ret[0].(*model.BoardsAndBlocks)
|
|
|
|
ret1, _ := ret[1].([]*model.BoardMember)
|
|
|
|
ret2, _ := ret[2].(error)
|
|
|
|
return ret0, ret1, ret2
|
|
|
|
}
|
|
|
|
|
|
|
|
// DuplicateBoard indicates an expected call of DuplicateBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) DuplicateBoard(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DuplicateBoard", reflect.TypeOf((*MockStore)(nil).DuplicateBoard), arg0, arg1, arg2, arg3)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetActiveUserCount mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) GetActiveUserCount(arg0 int64) (int, error) {
|
2021-01-27 19:01:24 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "GetActiveUserCount", arg0)
|
2021-01-27 19:01:24 +01:00
|
|
|
ret0, _ := ret[0].(int)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetActiveUserCount indicates an expected call of GetActiveUserCount.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetActiveUserCount(arg0 interface{}) *gomock.Call {
|
2021-01-27 19:01:24 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetActiveUserCount", reflect.TypeOf((*MockStore)(nil).GetActiveUserCount), arg0)
|
2021-01-27 19:01:24 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetAllTeams mocks base method.
|
|
|
|
func (m *MockStore) GetAllTeams() ([]*model.Team, error) {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetAllTeams")
|
|
|
|
ret0, _ := ret[0].([]*model.Team)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetAllTeams indicates an expected call of GetAllTeams.
|
|
|
|
func (mr *MockStoreMockRecorder) GetAllTeams() *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllTeams", reflect.TypeOf((*MockStore)(nil).GetAllTeams))
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-07-08 16:36:43 +02:00
|
|
|
// GetBlock mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetBlock(arg0 string) (*model.Block, error) {
|
2021-07-08 16:36:43 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetBlock", arg0)
|
2021-07-08 16:36:43 +02:00
|
|
|
ret0, _ := ret[0].(*model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBlock indicates an expected call of GetBlock.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetBlock(arg0 interface{}) *gomock.Call {
|
2021-07-08 16:36:43 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlock", reflect.TypeOf((*MockStore)(nil).GetBlock), arg0)
|
2021-07-08 16:36:43 +02:00
|
|
|
}
|
|
|
|
|
2021-06-04 16:38:49 +02:00
|
|
|
// GetBlockCountsByType mocks base method.
|
|
|
|
func (m *MockStore) GetBlockCountsByType() (map[string]int64, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetBlockCountsByType")
|
|
|
|
ret0, _ := ret[0].(map[string]int64)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBlockCountsByType indicates an expected call of GetBlockCountsByType.
|
|
|
|
func (mr *MockStoreMockRecorder) GetBlockCountsByType() *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlockCountsByType", reflect.TypeOf((*MockStore)(nil).GetBlockCountsByType))
|
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// GetBlockHistory mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetBlockHistory(arg0 string, arg1 model.QueryBlockHistoryOptions) ([]model.Block, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetBlockHistory", arg0, arg1)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBlockHistory indicates an expected call of GetBlockHistory.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetBlockHistory(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlockHistory", reflect.TypeOf((*MockStore)(nil).GetBlockHistory), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBlocksForBoard mocks base method.
|
|
|
|
func (m *MockStore) GetBlocksForBoard(arg0 string) ([]model.Block, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetBlocksForBoard", arg0)
|
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBlocksForBoard indicates an expected call of GetBlocksForBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) GetBlocksForBoard(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksForBoard", reflect.TypeOf((*MockStore)(nil).GetBlocksForBoard), arg0)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBlocksWithBoardID mocks base method.
|
|
|
|
func (m *MockStore) GetBlocksWithBoardID(arg0 string) ([]model.Block, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetBlocksWithBoardID", arg0)
|
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBlocksWithBoardID indicates an expected call of GetBlocksWithBoardID.
|
|
|
|
func (mr *MockStoreMockRecorder) GetBlocksWithBoardID(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksWithBoardID", reflect.TypeOf((*MockStore)(nil).GetBlocksWithBoardID), arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetBlocksWithParent mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetBlocksWithParent(arg0, arg1 string) ([]model.Block, error) {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "GetBlocksWithParent", arg0, arg1)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetBlocksWithParent indicates an expected call of GetBlocksWithParent.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetBlocksWithParent(arg0, arg1 interface{}) *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksWithParent", reflect.TypeOf((*MockStore)(nil).GetBlocksWithParent), arg0, arg1)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetBlocksWithParentAndType mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetBlocksWithParentAndType(arg0, arg1, arg2 string) ([]model.Block, error) {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "GetBlocksWithParentAndType", arg0, arg1, arg2)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetBlocksWithParentAndType indicates an expected call of GetBlocksWithParentAndType.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetBlocksWithParentAndType(arg0, arg1, arg2 interface{}) *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksWithParentAndType", reflect.TypeOf((*MockStore)(nil).GetBlocksWithParentAndType), arg0, arg1, arg2)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetBlocksWithType mocks base method.
|
|
|
|
func (m *MockStore) GetBlocksWithType(arg0, arg1 string) ([]model.Block, error) {
|
2021-05-13 23:04:49 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetBlocksWithType", arg0, arg1)
|
2021-05-13 23:04:49 +02:00
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetBlocksWithType indicates an expected call of GetBlocksWithType.
|
|
|
|
func (mr *MockStoreMockRecorder) GetBlocksWithType(arg0, arg1 interface{}) *gomock.Call {
|
2021-05-13 23:04:49 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksWithType", reflect.TypeOf((*MockStore)(nil).GetBlocksWithType), arg0, arg1)
|
2021-05-13 23:04:49 +02:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetBoard mocks base method.
|
|
|
|
func (m *MockStore) GetBoard(arg0 string) (*model.Board, error) {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetBoard", arg0)
|
|
|
|
ret0, _ := ret[0].(*model.Board)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetBoard indicates an expected call of GetBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) GetBoard(arg0 interface{}) *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBoard", reflect.TypeOf((*MockStore)(nil).GetBoard), arg0)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// GetBoardAndCard mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetBoardAndCard(arg0 *model.Block) (*model.Board, *model.Block, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetBoardAndCard", arg0)
|
|
|
|
ret0, _ := ret[0].(*model.Board)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret1, _ := ret[1].(*model.Block)
|
|
|
|
ret2, _ := ret[2].(error)
|
|
|
|
return ret0, ret1, ret2
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBoardAndCard indicates an expected call of GetBoardAndCard.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetBoardAndCard(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBoardAndCard", reflect.TypeOf((*MockStore)(nil).GetBoardAndCard), arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// GetBoardAndCardByID mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetBoardAndCardByID(arg0 string) (*model.Board, *model.Block, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetBoardAndCardByID", arg0)
|
|
|
|
ret0, _ := ret[0].(*model.Board)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret1, _ := ret[1].(*model.Block)
|
|
|
|
ret2, _ := ret[2].(error)
|
|
|
|
return ret0, ret1, ret2
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetBoardAndCardByID indicates an expected call of GetBoardAndCardByID.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetBoardAndCardByID(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBoardAndCardByID", reflect.TypeOf((*MockStore)(nil).GetBoardAndCardByID), arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetBoardsForUserAndTeam mocks base method.
|
|
|
|
func (m *MockStore) GetBoardsForUserAndTeam(arg0, arg1 string) ([]*model.Board, error) {
|
2022-02-02 19:25:06 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetBoardsForUserAndTeam", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].([]*model.Board)
|
2022-02-02 19:25:06 +01:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetBoardsForUserAndTeam indicates an expected call of GetBoardsForUserAndTeam.
|
|
|
|
func (mr *MockStoreMockRecorder) GetBoardsForUserAndTeam(arg0, arg1 interface{}) *gomock.Call {
|
2022-02-02 19:25:06 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBoardsForUserAndTeam", reflect.TypeOf((*MockStore)(nil).GetBoardsForUserAndTeam), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetCategory mocks base method.
|
|
|
|
func (m *MockStore) GetCategory(arg0 string) (*model.Category, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetCategory", arg0)
|
|
|
|
ret0, _ := ret[0].(*model.Category)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetCategory indicates an expected call of GetCategory.
|
|
|
|
func (mr *MockStoreMockRecorder) GetCategory(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCategory", reflect.TypeOf((*MockStore)(nil).GetCategory), arg0)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMemberForBoard mocks base method.
|
|
|
|
func (m *MockStore) GetMemberForBoard(arg0, arg1 string) (*model.BoardMember, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetMemberForBoard", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*model.BoardMember)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMemberForBoard indicates an expected call of GetMemberForBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) GetMemberForBoard(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMemberForBoard", reflect.TypeOf((*MockStore)(nil).GetMemberForBoard), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMembersForBoard mocks base method.
|
|
|
|
func (m *MockStore) GetMembersForBoard(arg0 string) ([]*model.BoardMember, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetMembersForBoard", arg0)
|
|
|
|
ret0, _ := ret[0].([]*model.BoardMember)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMembersForBoard indicates an expected call of GetMembersForBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) GetMembersForBoard(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMembersForBoard", reflect.TypeOf((*MockStore)(nil).GetMembersForBoard), arg0)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMembersForUser mocks base method.
|
|
|
|
func (m *MockStore) GetMembersForUser(arg0 string) ([]*model.BoardMember, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetMembersForUser", arg0)
|
|
|
|
ret0, _ := ret[0].([]*model.BoardMember)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMembersForUser indicates an expected call of GetMembersForUser.
|
|
|
|
func (mr *MockStoreMockRecorder) GetMembersForUser(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMembersForUser", reflect.TypeOf((*MockStore)(nil).GetMembersForUser), arg0)
|
2022-02-02 19:25:06 +01:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// GetNextNotificationHint mocks base method.
|
|
|
|
func (m *MockStore) GetNextNotificationHint(arg0 bool) (*model.NotificationHint, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetNextNotificationHint", arg0)
|
|
|
|
ret0, _ := ret[0].(*model.NotificationHint)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetNextNotificationHint indicates an expected call of GetNextNotificationHint.
|
|
|
|
func (mr *MockStoreMockRecorder) GetNextNotificationHint(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNextNotificationHint", reflect.TypeOf((*MockStore)(nil).GetNextNotificationHint), arg0)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetNotificationHint mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetNotificationHint(arg0 string) (*model.NotificationHint, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetNotificationHint", arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].(*model.NotificationHint)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetNotificationHint indicates an expected call of GetNotificationHint.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetNotificationHint(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNotificationHint", reflect.TypeOf((*MockStore)(nil).GetNotificationHint), arg0)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetRegisteredUserCount mocks base method.
|
2021-01-27 18:22:33 +01:00
|
|
|
func (m *MockStore) GetRegisteredUserCount() (int, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetRegisteredUserCount")
|
|
|
|
ret0, _ := ret[0].(int)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetRegisteredUserCount indicates an expected call of GetRegisteredUserCount.
|
2021-01-27 18:22:33 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetRegisteredUserCount() *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRegisteredUserCount", reflect.TypeOf((*MockStore)(nil).GetRegisteredUserCount))
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSession mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) GetSession(arg0 string, arg1 int64) (*model.Session, error) {
|
2020-12-04 16:04:28 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "GetSession", arg0, arg1)
|
2020-12-04 16:04:28 +01:00
|
|
|
ret0, _ := ret[0].(*model.Session)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSession indicates an expected call of GetSession.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetSession(arg0, arg1 interface{}) *gomock.Call {
|
2020-12-04 16:04:28 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSession", reflect.TypeOf((*MockStore)(nil).GetSession), arg0, arg1)
|
2020-12-04 16:04:28 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSharing mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetSharing(arg0 string) (*model.Sharing, error) {
|
2021-01-13 00:35:30 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetSharing", arg0)
|
2021-01-13 00:35:30 +01:00
|
|
|
ret0, _ := ret[0].(*model.Sharing)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSharing indicates an expected call of GetSharing.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetSharing(arg0 interface{}) *gomock.Call {
|
2021-01-13 00:35:30 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSharing", reflect.TypeOf((*MockStore)(nil).GetSharing), arg0)
|
2021-01-13 00:35:30 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSubTree2 mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetSubTree2(arg0, arg1 string, arg2 model.QuerySubtreeOptions) ([]model.Block, error) {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2021-12-10 16:46:37 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetSubTree2", arg0, arg1, arg2)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSubTree2 indicates an expected call of GetSubTree2.
|
2021-12-10 16:46:37 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetSubTree2(arg0, arg1, arg2 interface{}) *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-10 16:46:37 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubTree2", reflect.TypeOf((*MockStore)(nil).GetSubTree2), arg0, arg1, arg2)
|
2020-11-12 19:48:08 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSubTree3 mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetSubTree3(arg0, arg1 string, arg2 model.QuerySubtreeOptions) ([]model.Block, error) {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2021-12-10 16:46:37 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetSubTree3", arg0, arg1, arg2)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret0, _ := ret[0].([]model.Block)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSubTree3 indicates an expected call of GetSubTree3.
|
2021-12-10 16:46:37 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetSubTree3(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubTree3", reflect.TypeOf((*MockStore)(nil).GetSubTree3), arg0, arg1, arg2)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscribersCountForBlock mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetSubscribersCountForBlock(arg0 string) (int, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetSubscribersCountForBlock", arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].(int)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscribersCountForBlock indicates an expected call of GetSubscribersCountForBlock.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetSubscribersCountForBlock(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscribersCountForBlock", reflect.TypeOf((*MockStore)(nil).GetSubscribersCountForBlock), arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscribersForBlock mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetSubscribersForBlock(arg0 string) ([]*model.Subscriber, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetSubscribersForBlock", arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].([]*model.Subscriber)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscribersForBlock indicates an expected call of GetSubscribersForBlock.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetSubscribersForBlock(arg0 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscribersForBlock", reflect.TypeOf((*MockStore)(nil).GetSubscribersForBlock), arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscription mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetSubscription(arg0, arg1 string) (*model.Subscription, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetSubscription", arg0, arg1)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].(*model.Subscription)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscription indicates an expected call of GetSubscription.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetSubscription(arg0, arg1 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscription", reflect.TypeOf((*MockStore)(nil).GetSubscription), arg0, arg1)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscriptions mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) GetSubscriptions(arg0 string) ([]*model.Subscription, error) {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetSubscriptions", arg0)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].([]*model.Subscription)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetSubscriptions indicates an expected call of GetSubscriptions.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) GetSubscriptions(arg0 interface{}) *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscriptions", reflect.TypeOf((*MockStore)(nil).GetSubscriptions), arg0)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-11-11 17:01:43 +01:00
|
|
|
// GetSystemSetting mocks base method.
|
|
|
|
func (m *MockStore) GetSystemSetting(arg0 string) (string, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetSystemSetting", arg0)
|
|
|
|
ret0, _ := ret[0].(string)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetSystemSetting indicates an expected call of GetSystemSetting.
|
|
|
|
func (mr *MockStoreMockRecorder) GetSystemSetting(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemSetting", reflect.TypeOf((*MockStore)(nil).GetSystemSetting), arg0)
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSystemSettings mocks base method.
|
2020-10-21 09:56:03 +02:00
|
|
|
func (m *MockStore) GetSystemSettings() (map[string]string, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetSystemSettings")
|
|
|
|
ret0, _ := ret[0].(map[string]string)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetSystemSettings indicates an expected call of GetSystemSettings.
|
2020-10-21 09:56:03 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetSystemSettings() *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemSettings", reflect.TypeOf((*MockStore)(nil).GetSystemSettings))
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetTeam mocks base method.
|
|
|
|
func (m *MockStore) GetTeam(arg0 string) (*model.Team, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetTeam", arg0)
|
|
|
|
ret0, _ := ret[0].(*model.Team)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetTeam indicates an expected call of GetTeam.
|
|
|
|
func (mr *MockStoreMockRecorder) GetTeam(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTeam", reflect.TypeOf((*MockStore)(nil).GetTeam), arg0)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetTeamCount mocks base method.
|
|
|
|
func (m *MockStore) GetTeamCount() (int64, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetTeamCount")
|
|
|
|
ret0, _ := ret[0].(int64)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetTeamCount indicates an expected call of GetTeamCount.
|
|
|
|
func (mr *MockStoreMockRecorder) GetTeamCount() *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTeamCount", reflect.TypeOf((*MockStore)(nil).GetTeamCount))
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetTeamsForUser mocks base method.
|
|
|
|
func (m *MockStore) GetTeamsForUser(arg0 string) ([]*model.Team, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetTeamsForUser", arg0)
|
|
|
|
ret0, _ := ret[0].([]*model.Team)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetTeamsForUser indicates an expected call of GetTeamsForUser.
|
|
|
|
func (mr *MockStoreMockRecorder) GetTeamsForUser(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTeamsForUser", reflect.TypeOf((*MockStore)(nil).GetTeamsForUser), arg0)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetTemplateBoards mocks base method.
|
|
|
|
func (m *MockStore) GetTemplateBoards(arg0 string) ([]*model.Board, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "GetTemplateBoards", arg0)
|
|
|
|
ret0, _ := ret[0].([]*model.Board)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetTemplateBoards indicates an expected call of GetTemplateBoards.
|
|
|
|
func (mr *MockStoreMockRecorder) GetTemplateBoards(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTemplateBoards", reflect.TypeOf((*MockStore)(nil).GetTemplateBoards), arg0)
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetUserByEmail mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) GetUserByEmail(arg0 string) (*model.User, error) {
|
2020-11-17 15:43:56 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "GetUserByEmail", arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
ret0, _ := ret[0].(*model.User)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetUserByEmail indicates an expected call of GetUserByEmail.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetUserByEmail(arg0 interface{}) *gomock.Call {
|
2020-11-17 15:43:56 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserByEmail", reflect.TypeOf((*MockStore)(nil).GetUserByEmail), arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
}
|
|
|
|
|
2021-06-21 11:21:42 +02:00
|
|
|
// GetUserByID mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) GetUserByID(arg0 string) (*model.User, error) {
|
2020-11-17 15:43:56 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "GetUserByID", arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
ret0, _ := ret[0].(*model.User)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-06-21 11:21:42 +02:00
|
|
|
// GetUserByID indicates an expected call of GetUserByID.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetUserByID(arg0 interface{}) *gomock.Call {
|
2020-11-17 15:43:56 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserByID", reflect.TypeOf((*MockStore)(nil).GetUserByID), arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetUserByUsername mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) GetUserByUsername(arg0 string) (*model.User, error) {
|
2020-11-17 15:43:56 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "GetUserByUsername", arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
ret0, _ := ret[0].(*model.User)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// GetUserByUsername indicates an expected call of GetUserByUsername.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) GetUserByUsername(arg0 interface{}) *gomock.Call {
|
2020-11-17 15:43:56 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserByUsername", reflect.TypeOf((*MockStore)(nil).GetUserByUsername), arg0)
|
2021-09-08 06:52:03 +02:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetUserCategoryBlocks mocks base method.
|
|
|
|
func (m *MockStore) GetUserCategoryBlocks(arg0, arg1 string) ([]model.CategoryBlocks, error) {
|
2021-09-08 06:52:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetUserCategoryBlocks", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].([]model.CategoryBlocks)
|
2021-09-08 06:52:03 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetUserCategoryBlocks indicates an expected call of GetUserCategoryBlocks.
|
|
|
|
func (mr *MockStoreMockRecorder) GetUserCategoryBlocks(arg0, arg1 interface{}) *gomock.Call {
|
2021-09-08 06:52:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserCategoryBlocks", reflect.TypeOf((*MockStore)(nil).GetUserCategoryBlocks), arg0, arg1)
|
2021-06-04 15:23:15 +02:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetUsersByTeam mocks base method.
|
|
|
|
func (m *MockStore) GetUsersByTeam(arg0 string) ([]*model.User, error) {
|
2021-06-04 15:23:15 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "GetUsersByTeam", arg0)
|
2021-06-04 15:23:15 +02:00
|
|
|
ret0, _ := ret[0].([]*model.User)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// GetUsersByTeam indicates an expected call of GetUsersByTeam.
|
|
|
|
func (mr *MockStoreMockRecorder) GetUsersByTeam(arg0 interface{}) *gomock.Call {
|
2021-06-04 15:23:15 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUsersByTeam", reflect.TypeOf((*MockStore)(nil).GetUsersByTeam), arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBlock mocks base method.
|
|
|
|
func (m *MockStore) InsertBlock(arg0 *model.Block, arg1 string) error {
|
2021-01-14 01:56:01 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "InsertBlock", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
2021-01-14 01:56:01 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBlock indicates an expected call of InsertBlock.
|
|
|
|
func (mr *MockStoreMockRecorder) InsertBlock(arg0, arg1 interface{}) *gomock.Call {
|
2021-01-14 01:56:01 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertBlock", reflect.TypeOf((*MockStore)(nil).InsertBlock), arg0, arg1)
|
2021-01-14 01:56:01 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBlocks mocks base method.
|
|
|
|
func (m *MockStore) InsertBlocks(arg0 []model.Block, arg1 string) error {
|
2021-06-04 16:38:49 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "InsertBlocks", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
2021-06-04 16:38:49 +02:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBlocks indicates an expected call of InsertBlocks.
|
|
|
|
func (mr *MockStoreMockRecorder) InsertBlocks(arg0, arg1 interface{}) *gomock.Call {
|
2021-06-04 16:38:49 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertBlocks", reflect.TypeOf((*MockStore)(nil).InsertBlocks), arg0, arg1)
|
2021-06-04 16:38:49 +02:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBoard mocks base method.
|
|
|
|
func (m *MockStore) InsertBoard(arg0 *model.Board, arg1 string) (*model.Board, error) {
|
2021-05-24 19:06:11 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "InsertBoard", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*model.Board)
|
2021-05-24 19:06:11 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBoard indicates an expected call of InsertBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) InsertBoard(arg0, arg1 interface{}) *gomock.Call {
|
2021-05-24 19:06:11 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertBoard", reflect.TypeOf((*MockStore)(nil).InsertBoard), arg0, arg1)
|
2021-05-24 19:06:11 +02:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBoardWithAdmin mocks base method.
|
|
|
|
func (m *MockStore) InsertBoardWithAdmin(arg0 *model.Board, arg1 string) (*model.Board, *model.BoardMember, error) {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "InsertBoardWithAdmin", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*model.Board)
|
|
|
|
ret1, _ := ret[1].(*model.BoardMember)
|
|
|
|
ret2, _ := ret[2].(error)
|
|
|
|
return ret0, ret1, ret2
|
2021-12-10 15:17:00 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// InsertBoardWithAdmin indicates an expected call of InsertBoardWithAdmin.
|
|
|
|
func (mr *MockStoreMockRecorder) InsertBoardWithAdmin(arg0, arg1 interface{}) *gomock.Call {
|
2021-12-10 15:17:00 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertBoardWithAdmin", reflect.TypeOf((*MockStore)(nil).InsertBoardWithAdmin), arg0, arg1)
|
2021-12-10 15:17:00 +01:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// IsErrNotFound mocks base method.
|
|
|
|
func (m *MockStore) IsErrNotFound(arg0 error) bool {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "IsErrNotFound", arg0)
|
|
|
|
ret0, _ := ret[0].(bool)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// IsErrNotFound indicates an expected call of IsErrNotFound.
|
|
|
|
func (mr *MockStoreMockRecorder) IsErrNotFound(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsErrNotFound", reflect.TypeOf((*MockStore)(nil).IsErrNotFound), arg0)
|
|
|
|
}
|
|
|
|
|
2021-08-06 14:10:24 +02:00
|
|
|
// PatchBlock mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) PatchBlock(arg0 string, arg1 *model.BlockPatch, arg2 string) error {
|
2021-08-06 14:10:24 +02:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "PatchBlock", arg0, arg1, arg2)
|
2021-08-06 14:10:24 +02:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchBlock indicates an expected call of PatchBlock.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) PatchBlock(arg0, arg1, arg2 interface{}) *gomock.Call {
|
2021-08-06 14:10:24 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchBlock", reflect.TypeOf((*MockStore)(nil).PatchBlock), arg0, arg1, arg2)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-12-10 15:17:00 +01:00
|
|
|
// PatchBlocks mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) PatchBlocks(arg0 *model.BlockPatchBatch, arg1 string) error {
|
2021-12-10 15:17:00 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "PatchBlocks", arg0, arg1)
|
2021-12-10 15:17:00 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchBlocks indicates an expected call of PatchBlocks.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) PatchBlocks(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchBlocks", reflect.TypeOf((*MockStore)(nil).PatchBlocks), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchBoard mocks base method.
|
|
|
|
func (m *MockStore) PatchBoard(arg0 string, arg1 *model.BoardPatch, arg2 string) (*model.Board, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "PatchBoard", arg0, arg1, arg2)
|
|
|
|
ret0, _ := ret[0].(*model.Board)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchBoard indicates an expected call of PatchBoard.
|
|
|
|
func (mr *MockStoreMockRecorder) PatchBoard(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchBoard", reflect.TypeOf((*MockStore)(nil).PatchBoard), arg0, arg1, arg2)
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchBoardsAndBlocks mocks base method.
|
|
|
|
func (m *MockStore) PatchBoardsAndBlocks(arg0 *model.PatchBoardsAndBlocks, arg1 string) (*model.BoardsAndBlocks, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "PatchBoardsAndBlocks", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*model.BoardsAndBlocks)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchBoardsAndBlocks indicates an expected call of PatchBoardsAndBlocks.
|
|
|
|
func (mr *MockStoreMockRecorder) PatchBoardsAndBlocks(arg0, arg1 interface{}) *gomock.Call {
|
2021-12-10 15:17:00 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchBoardsAndBlocks", reflect.TypeOf((*MockStore)(nil).PatchBoardsAndBlocks), arg0, arg1)
|
2021-12-10 15:17:00 +01:00
|
|
|
}
|
|
|
|
|
2022-02-28 12:28:16 +01:00
|
|
|
// PatchUserProps mocks base method.
|
|
|
|
func (m *MockStore) PatchUserProps(arg0 string, arg1 model.UserPropPatch) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "PatchUserProps", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchUserProps indicates an expected call of PatchUserProps.
|
|
|
|
func (mr *MockStoreMockRecorder) PatchUserProps(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchUserProps", reflect.TypeOf((*MockStore)(nil).PatchUserProps), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// RefreshSession mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) RefreshSession(arg0 *model.Session) error {
|
2020-12-04 16:04:28 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "RefreshSession", arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// RefreshSession indicates an expected call of RefreshSession.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) RefreshSession(arg0 interface{}) *gomock.Call {
|
2020-12-04 16:04:28 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RefreshSession", reflect.TypeOf((*MockStore)(nil).RefreshSession), arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
}
|
|
|
|
|
2022-02-02 19:25:06 +01:00
|
|
|
// RemoveDefaultTemplates mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) RemoveDefaultTemplates(arg0 []*model.Board) error {
|
2022-02-02 19:25:06 +01:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "RemoveDefaultTemplates", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemoveDefaultTemplates indicates an expected call of RemoveDefaultTemplates.
|
|
|
|
func (mr *MockStoreMockRecorder) RemoveDefaultTemplates(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveDefaultTemplates", reflect.TypeOf((*MockStore)(nil).RemoveDefaultTemplates), arg0)
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// SaveMember mocks base method.
|
|
|
|
func (m *MockStore) SaveMember(arg0 *model.BoardMember) (*model.BoardMember, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "SaveMember", arg0)
|
|
|
|
ret0, _ := ret[0].(*model.BoardMember)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SaveMember indicates an expected call of SaveMember.
|
|
|
|
func (mr *MockStoreMockRecorder) SaveMember(arg0 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaveMember", reflect.TypeOf((*MockStore)(nil).SaveMember), arg0)
|
|
|
|
}
|
|
|
|
|
|
|
|
// SearchBoardsForUserAndTeam mocks base method.
|
|
|
|
func (m *MockStore) SearchBoardsForUserAndTeam(arg0, arg1, arg2 string) ([]*model.Board, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "SearchBoardsForUserAndTeam", arg0, arg1, arg2)
|
|
|
|
ret0, _ := ret[0].([]*model.Board)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SearchBoardsForUserAndTeam indicates an expected call of SearchBoardsForUserAndTeam.
|
|
|
|
func (mr *MockStoreMockRecorder) SearchBoardsForUserAndTeam(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBoardsForUserAndTeam", reflect.TypeOf((*MockStore)(nil).SearchBoardsForUserAndTeam), arg0, arg1, arg2)
|
|
|
|
}
|
|
|
|
|
|
|
|
// SearchUsersByTeam mocks base method.
|
|
|
|
func (m *MockStore) SearchUsersByTeam(arg0, arg1 string) ([]*model.User, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "SearchUsersByTeam", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].([]*model.User)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SearchUsersByTeam indicates an expected call of SearchUsersByTeam.
|
|
|
|
func (mr *MockStoreMockRecorder) SearchUsersByTeam(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchUsersByTeam", reflect.TypeOf((*MockStore)(nil).SearchUsersByTeam), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// SetSystemSetting mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) SetSystemSetting(arg0, arg1 string) error {
|
2020-10-21 09:56:03 +02:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "SetSystemSetting", arg0, arg1)
|
2020-10-21 09:56:03 +02:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// SetSystemSetting indicates an expected call of SetSystemSetting.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) SetSystemSetting(arg0, arg1 interface{}) *gomock.Call {
|
2020-10-21 09:56:03 +02:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSystemSetting", reflect.TypeOf((*MockStore)(nil).SetSystemSetting), arg0, arg1)
|
2020-10-21 09:56:03 +02:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// Shutdown mocks base method.
|
2020-10-21 09:56:03 +02:00
|
|
|
func (m *MockStore) Shutdown() error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "Shutdown")
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// Shutdown indicates an expected call of Shutdown.
|
2020-10-21 09:56:03 +02:00
|
|
|
func (mr *MockStoreMockRecorder) Shutdown() *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockStore)(nil).Shutdown))
|
|
|
|
}
|
2020-11-17 15:43:56 +01:00
|
|
|
|
2022-02-22 18:42:49 +01:00
|
|
|
// UndeleteBlock mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) UndeleteBlock(arg0, arg1 string) error {
|
2022-02-22 18:42:49 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "UndeleteBlock", arg0, arg1)
|
2022-02-22 18:42:49 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// UndeleteBlock indicates an expected call of UndeleteBlock.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) UndeleteBlock(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UndeleteBlock", reflect.TypeOf((*MockStore)(nil).UndeleteBlock), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateCategory mocks base method.
|
|
|
|
func (m *MockStore) UpdateCategory(arg0 model.Category) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "UpdateCategory", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateCategory indicates an expected call of UpdateCategory.
|
|
|
|
func (mr *MockStoreMockRecorder) UpdateCategory(arg0 interface{}) *gomock.Call {
|
2022-02-22 18:42:49 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCategory", reflect.TypeOf((*MockStore)(nil).UpdateCategory), arg0)
|
2022-02-22 18:42:49 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateSession mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) UpdateSession(arg0 *model.Session) error {
|
2020-12-04 16:04:28 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "UpdateSession", arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateSession indicates an expected call of UpdateSession.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) UpdateSession(arg0 interface{}) *gomock.Call {
|
2020-12-04 16:04:28 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSession", reflect.TypeOf((*MockStore)(nil).UpdateSession), arg0)
|
2020-12-04 16:04:28 +01:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// UpdateSubscribersNotifiedAt mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) UpdateSubscribersNotifiedAt(arg0 string, arg1 int64) error {
|
2021-12-10 16:46:37 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "UpdateSubscribersNotifiedAt", arg0, arg1)
|
2021-12-10 16:46:37 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateSubscribersNotifiedAt indicates an expected call of UpdateSubscribersNotifiedAt.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) UpdateSubscribersNotifiedAt(arg0, arg1 interface{}) *gomock.Call {
|
2021-12-10 16:46:37 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSubscribersNotifiedAt", reflect.TypeOf((*MockStore)(nil).UpdateSubscribersNotifiedAt), arg0, arg1)
|
2021-12-10 16:46:37 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateUser mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) UpdateUser(arg0 *model.User) error {
|
2020-11-17 15:43:56 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "UpdateUser", arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateUser indicates an expected call of UpdateUser.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) UpdateUser(arg0 interface{}) *gomock.Call {
|
2020-11-17 15:43:56 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUser", reflect.TypeOf((*MockStore)(nil).UpdateUser), arg0)
|
2020-11-17 15:43:56 +01:00
|
|
|
}
|
2021-01-13 00:35:30 +01:00
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateUserPassword mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) UpdateUserPassword(arg0, arg1 string) error {
|
2021-01-20 22:52:54 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "UpdateUserPassword", arg0, arg1)
|
2021-01-20 22:52:54 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateUserPassword indicates an expected call of UpdateUserPassword.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) UpdateUserPassword(arg0, arg1 interface{}) *gomock.Call {
|
2021-01-20 22:52:54 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUserPassword", reflect.TypeOf((*MockStore)(nil).UpdateUserPassword), arg0, arg1)
|
2021-01-20 22:52:54 +01:00
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateUserPasswordByID mocks base method.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (m *MockStore) UpdateUserPasswordByID(arg0, arg1 string) error {
|
2021-01-21 19:25:35 +01:00
|
|
|
m.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
ret := m.ctrl.Call(m, "UpdateUserPasswordByID", arg0, arg1)
|
2021-01-21 19:25:35 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpdateUserPasswordByID indicates an expected call of UpdateUserPasswordByID.
|
2021-10-07 13:51:01 +02:00
|
|
|
func (mr *MockStoreMockRecorder) UpdateUserPasswordByID(arg0, arg1 interface{}) *gomock.Call {
|
2021-01-21 19:25:35 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-10-07 13:51:01 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUserPasswordByID", reflect.TypeOf((*MockStore)(nil).UpdateUserPasswordByID), arg0, arg1)
|
2021-01-21 19:25:35 +01:00
|
|
|
}
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// UpsertNotificationHint mocks base method.
|
|
|
|
func (m *MockStore) UpsertNotificationHint(arg0 *model.NotificationHint, arg1 time.Duration) (*model.NotificationHint, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "UpsertNotificationHint", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*model.NotificationHint)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpsertNotificationHint indicates an expected call of UpsertNotificationHint.
|
|
|
|
func (mr *MockStoreMockRecorder) UpsertNotificationHint(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsertNotificationHint", reflect.TypeOf((*MockStore)(nil).UpsertNotificationHint), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpsertSharing mocks base method.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (m *MockStore) UpsertSharing(arg0 model.Sharing) error {
|
2021-01-13 00:35:30 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "UpsertSharing", arg0)
|
2021-01-13 00:35:30 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-03-26 19:01:54 +01:00
|
|
|
// UpsertSharing indicates an expected call of UpsertSharing.
|
2022-03-22 15:24:34 +01:00
|
|
|
func (mr *MockStoreMockRecorder) UpsertSharing(arg0 interface{}) *gomock.Call {
|
2021-01-13 00:35:30 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsertSharing", reflect.TypeOf((*MockStore)(nil).UpsertSharing), arg0)
|
2021-01-13 00:35:30 +01:00
|
|
|
}
|
2021-01-14 01:56:01 +01:00
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// UpsertTeamSettings mocks base method.
|
|
|
|
func (m *MockStore) UpsertTeamSettings(arg0 model.Team) error {
|
2021-01-14 01:56:01 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "UpsertTeamSettings", arg0)
|
2021-01-14 01:56:01 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// UpsertTeamSettings indicates an expected call of UpsertTeamSettings.
|
|
|
|
func (mr *MockStoreMockRecorder) UpsertTeamSettings(arg0 interface{}) *gomock.Call {
|
2021-01-14 01:56:01 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsertTeamSettings", reflect.TypeOf((*MockStore)(nil).UpsertTeamSettings), arg0)
|
2021-01-14 01:56:01 +01:00
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// UpsertTeamSignupToken mocks base method.
|
|
|
|
func (m *MockStore) UpsertTeamSignupToken(arg0 model.Team) error {
|
2021-01-14 01:56:01 +01:00
|
|
|
m.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
ret := m.ctrl.Call(m, "UpsertTeamSignupToken", arg0)
|
2021-01-14 01:56:01 +01:00
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2022-03-22 15:24:34 +01:00
|
|
|
// UpsertTeamSignupToken indicates an expected call of UpsertTeamSignupToken.
|
|
|
|
func (mr *MockStoreMockRecorder) UpsertTeamSignupToken(arg0 interface{}) *gomock.Call {
|
2021-01-14 01:56:01 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-03-22 15:24:34 +01:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsertTeamSignupToken", reflect.TypeOf((*MockStore)(nil).UpsertTeamSignupToken), arg0)
|
2021-01-14 01:56:01 +01:00
|
|
|
}
|