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>; sendNotification( id: string, ctx: IBaseActionContext, ): Promise<Notification>; unreadNotificationsCount(ctx: IBaseActionContext): Promise<number>;} Methods
createNotifications
markNotificationsAsRead
Returns Promise<boolean>
notification
notificationCreated
notifications
sendNotification
unreadNotificationsCount
Returns Promise<number>