import { defineEndpoints } from '../types.js' export const TIME_TRACKING_ENDPOINTS = defineEndpoints({ current: { path: '/current', method: 'GET' }, event: { path: '/event', method: 'POST' }, day: { path: '/day/:date', method: 'GET' }, week: { path: '/week/:startDate', method: 'GET' }, month: { path: '/month/:yearMonth', method: 'GET' }, year: { path: '/year/:year', method: 'GET' }, stats: { path: '/stats', method: 'GET' }, }) export type TimeTrackingEndpoints = typeof TIME_TRACKING_ENDPOINTS