@deep/nest-kit
Preparing search index...
modules/notifications
IBaseNotificationsResolverHost
Interface IBaseNotificationsResolverHost
interface
IBaseNotificationsResolverHost
{
createNotifications
(
input
:
CreateNotificationsInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
Notification
[]
>
;
markNotificationsAsRead
(
ids
:
string
[]
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
boolean
>
;
notification
(
id
:
string
,
ctx
:
IBaseActionContext
)
:
Promise
<
Notification
>
;
notificationCreated
(
input
:
NotificationCreatedSubscriptionInput
,
)
:
AsyncIterator
<
NotificationCreatedSubscriptionPayload
>
;
notifications
(
input
:
FetchNotificationsInput
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
PaginatedNotifications
>
;
unreadNotificationsCount
(
ctx
:
IBaseActionContext
)
:
Promise
<
number
>
;
}
Index
Methods
create
Notifications
mark
Notifications
As
Read
notification
notification
Created
notifications
unread
Notifications
Count
Methods
create
Notifications
createNotifications
(
input
:
CreateNotificationsInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
Notification
[]
>
Parameters
input
:
CreateNotificationsInput
ctx
:
IBaseActionContext
Returns
Promise
<
Notification
[]
>
mark
Notifications
As
Read
markNotificationsAsRead
(
ids
:
string
[]
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
boolean
>
Parameters
ids
:
string
[]
ctx
:
IBaseActionContext
Returns
Promise
<
boolean
>
notification
notification
(
id
:
string
,
ctx
:
IBaseActionContext
)
:
Promise
<
Notification
>
Parameters
id
:
string
ctx
:
IBaseActionContext
Returns
Promise
<
Notification
>
notification
Created
notificationCreated
(
input
:
NotificationCreatedSubscriptionInput
,
)
:
AsyncIterator
<
NotificationCreatedSubscriptionPayload
>
Parameters
input
:
NotificationCreatedSubscriptionInput
Returns
AsyncIterator
<
NotificationCreatedSubscriptionPayload
>
notifications
notifications
(
input
:
FetchNotificationsInput
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
PaginatedNotifications
>
Parameters
input
:
FetchNotificationsInput
info
:
GraphQLResolveInfo
Returns
Promise
<
PaginatedNotifications
>
unread
Notifications
Count
unreadNotificationsCount
(
ctx
:
IBaseActionContext
)
:
Promise
<
number
>
Parameters
ctx
:
IBaseActionContext
Returns
Promise
<
number
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Notifications
mark
Notifications
As
Read
notification
notification
Created
notifications
unread
Notifications
Count
@deep/nest-kit
Loading...