NotificationsVariables is an interface representing the variables for the NotificationsQuery. It includes optional page, per page, type, reset notification count, type in, and as html.

interface NotificationsVariables {
    asHtml?: boolean;
    page?: number;
    perPage?: number;
    resetNotificationCount?: boolean;
    type?: string;
    type_in?: string[];
}

Properties

asHtml?: boolean

asHtml is a boolean representing whether to return the result as HTML.

page?: number

page is a number representing the page number.

perPage?: number

perPage is a number representing the number of items per page.

resetNotificationCount?: boolean

resetNotificationCount is a boolean representing whether to reset the notification count.

type?: string

type is a string representing the type of the notification.

type_in?: string[]

type_in is an array of strings representing the types of notifications that should be included.