Open platform to collect and prioritize feedback
package query
import (
"github.com/getfider/fider/app/models/entity"
"github.com/getfider/fider/app/models/enum"
)
type CountUnreadNotifications struct {
Result int
}
type GetNotificationByID struct {
ID int
Result *entity.Notification
}
type GetActiveNotifications struct {
Result []*entity.Notification
}
type GetActiveSubscribers struct {
Number int
Channel enum.NotificationChannel
Event enum.NotificationEvent
Result []*entity.User
}
type GetMentionNotifications struct {
CommentID int
PostID int
Result []*entity.MentionNotification
}