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.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
import type { RealtimeEventMap, RealtimeHandler } from '../types'
import { handleNotification } from './notification'
import { handleGoalsChanged } from './goals-changed'
import { handleRecurrenceInstanceCreated } from './recurrence'
import { handleFilesChanged } from './files'
import { handleTasksChanged } from './tasks'
import {
handleTimeEntryCreated,
handleTimeEntryDeleted,
handleTimeEntryStarted,
handleTimeEntryStopped,
handleTimeEntryUpdated,
} from './time-entry'
export const eventHandlers: { [K in keyof RealtimeEventMap]: RealtimeHandler<K> } = {
'notification': handleNotification,
'goals.changed': handleGoalsChanged,
'time-entry.started': handleTimeEntryStarted,
'time-entry.stopped': handleTimeEntryStopped,
'time-entry.created': handleTimeEntryCreated,
'time-entry.updated': handleTimeEntryUpdated,
'time-entry.deleted': handleTimeEntryDeleted,
'recurrence.instanceCreated': handleRecurrenceInstanceCreated,
'files.changed': handleFilesChanged,
'tasks.changed': handleTasksChanged,
}