kaneo (minimalist kanban) fork to experiment adding a tangled integration github.com/usekaneo/kaneo
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 14 lines 329 B view raw
1import { eq } from "drizzle-orm"; 2import db from "../../database"; 3import { timeEntryTable } from "../../database/schema"; 4 5async function getTimeEntry(id: string) { 6 const [timeEntry] = await db 7 .select() 8 .from(timeEntryTable) 9 .where(eq(timeEntryTable.id, id)); 10 11 return timeEntry; 12} 13 14export default getTimeEntry;