Class NotificationsBL

Constructors

Properties

NoticationCache: NotificationsCache = ...

Methods

  • Create a notification for a list of users on a specific item in a project. The notification will be due to a specific date

    Parameters

    • users: string[]
    • project: string
    • item: string
    • text: string
    • type: string
    • atDate: Date

    Returns Promise<XRTodo[]>

  • Return all notifications for a specific project. The notifications are divided into two groups: for now and for later

    Parameters

    • project: string

    Returns Promise<{
        todosForLater: XRTodo[];
        todosForNow: XRTodo[];
    }>

Generated using TypeDoc