feature(dashboard): customize event columns

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-05-09 20:59:24 +02:00
parent 584a6d21f1
commit dd39ff70a9
10 changed files with 408 additions and 230 deletions

View File

@@ -96,6 +96,12 @@ export const eventRouter = createTRPCRouter({
...input,
take: 50,
cursor: input.cursor ? new Date(input.cursor) : undefined,
select: {
properties: true,
sessionId: true,
deviceId: true,
profileId: true,
},
});
// Hacky join to get profile for entire session