Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

572 B
Raw Blame
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
}