Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

605 B
Raw Blame
package cmd

import (
	"github.com/getfider/fider/app/models/entity"
)

type MarkAllNotificationsAsRead struct{}

type PurgeExpiredNotifications struct {
	NumOfDeletedNotifications int
}

type MarkNotificationAsRead struct {
	ID int
}

type AddNewNotification struct {
	User   *entity.User
	Title  string
	Link   string
	PostID int

	Result *entity.Notification
}

type AddSubscriber struct {
	Post *entity.Post
	User *entity.User
}

type RemoveSubscriber struct {
	Post *entity.Post
	User *entity.User
}

type SupressEmail struct {
	EmailAddresses []string

	//Output
	NumOfSupressedEmailAddresses int
}