package updates, minor bug fixes, stack items, background animation fixes

This commit is contained in:
2026-06-06 12:15:01 +02:00
parent 65b9184a22
commit f5e8b87846
21 changed files with 775 additions and 359 deletions

View File

@@ -13,4 +13,14 @@ export const cvEntryRouter = router({
})
return res;
}),
byCategoryAndToDateDescending: publicProcedure.input(z.string()).query(async ({input}) => {
const res = await db.query.cvEntry.findMany({
with: {
category: true
},
where: (fields, {eq}) => eq(fields.categoryId,input),
orderBy: (t,{desc}) => desc(t.toTime),
})
return res;
})
});