@deep/nest-kit
    Preparing search index...

    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

    • Parameters

      Returns Promise<boolean>

    • Parameters

      Returns Promise<number>