notification-service
    Preparing search index...
    interface NotificationRepository {
        countUnread(): Promise<number>;
        existsRecentUnread(sourceId: string, since: Date): Promise<boolean>;
        findAll(): Promise<Notification[]>;
        findById(id: NotificationId): Promise<Notification | undefined>;
        remove(notification: Notification): Promise<void>;
        removeAll(): Promise<void>;
        save(notification: Notification): Promise<void>;
    }

    Implemented by

    Index

    Methods