Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

453 B
Raw Blame
import type { NotificationsSchemaTypeForSelect } from 'taskview-db-schemas';
import type { NotificationChannel } from './types';

export interface NotificationMeta {
    goalId: number;
    goalListId: number | null;
    organizationId: number | null;
}

export interface NotificationProvider {
    readonly channel: NotificationChannel;
    send(userId: number, notification: NotificationsSchemaTypeForSelect, meta: NotificationMeta): Promise<void>;
}