@@ -25,8 +25,8 @@ type NotificationsRepository interface {
2525
2626 GetDashboardNotifications (ctx context.Context , userId uint64 , chainIds []uint64 , cursor string , colSort t.Sort [enums.NotificationDashboardsColumn ], search string , limit uint64 ) ([]t.NotificationDashboardsTableRow , * t.Paging , error )
2727 // depending on how notifications are implemented, we may need to use something other than `notificationId` for identifying the notification
28- GetValidatorDashboardNotificationDetails (ctx context.Context , dashboardId t.VDBIdPrimary , groupId uint64 , epoch uint64 ) (* t.NotificationValidatorDashboardDetail , error )
29- GetAccountDashboardNotificationDetails (ctx context.Context , dashboardId uint64 , groupId uint64 , epoch uint64 ) (* t.NotificationAccountDashboardDetail , error )
28+ GetValidatorDashboardNotificationDetails (ctx context.Context , dashboardId t.VDBIdPrimary , groupId uint64 , epoch uint64 , search string ) (* t.NotificationValidatorDashboardDetail , error )
29+ GetAccountDashboardNotificationDetails (ctx context.Context , dashboardId uint64 , groupId uint64 , epoch uint64 , search string ) (* t.NotificationAccountDashboardDetail , error )
3030
3131 GetMachineNotifications (ctx context.Context , userId uint64 , cursor string , colSort t.Sort [enums.NotificationMachinesColumn ], search string , limit uint64 ) ([]t.NotificationMachinesTableRow , * t.Paging , error )
3232 GetClientNotifications (ctx context.Context , userId uint64 , cursor string , colSort t.Sort [enums.NotificationClientsColumn ], search string , limit uint64 ) ([]t.NotificationClientsTableRow , * t.Paging , error )
@@ -61,12 +61,12 @@ func (d *DataAccessService) GetDashboardNotifications(ctx context.Context, userI
6161 return d .dummy .GetDashboardNotifications (ctx , userId , chainIds , cursor , colSort , search , limit )
6262}
6363
64- func (d * DataAccessService ) GetValidatorDashboardNotificationDetails (ctx context.Context , dashboardId t.VDBIdPrimary , groupId uint64 , epoch uint64 ) (* t.NotificationValidatorDashboardDetail , error ) {
65- return d .dummy .GetValidatorDashboardNotificationDetails (ctx , dashboardId , groupId , epoch )
64+ func (d * DataAccessService ) GetValidatorDashboardNotificationDetails (ctx context.Context , dashboardId t.VDBIdPrimary , groupId uint64 , epoch uint64 , search string ) (* t.NotificationValidatorDashboardDetail , error ) {
65+ return d .dummy .GetValidatorDashboardNotificationDetails (ctx , dashboardId , groupId , epoch , search )
6666}
6767
68- func (d * DataAccessService ) GetAccountDashboardNotificationDetails (ctx context.Context , dashboardId uint64 , groupId uint64 , epoch uint64 ) (* t.NotificationAccountDashboardDetail , error ) {
69- return d .dummy .GetAccountDashboardNotificationDetails (ctx , dashboardId , groupId , epoch )
68+ func (d * DataAccessService ) GetAccountDashboardNotificationDetails (ctx context.Context , dashboardId uint64 , groupId uint64 , epoch uint64 , search string ) (* t.NotificationAccountDashboardDetail , error ) {
69+ return d .dummy .GetAccountDashboardNotificationDetails (ctx , dashboardId , groupId , epoch , search )
7070}
7171
7272func (d * DataAccessService ) GetMachineNotifications (ctx context.Context , userId uint64 , cursor string , colSort t.Sort [enums.NotificationMachinesColumn ], search string , limit uint64 ) ([]t.NotificationMachinesTableRow , * t.Paging , error ) {
0 commit comments