⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import { nullableResponseTimestamp, responseTimestamp, z } from "../openapi";
export const timeEntrySchema = z
.object({
id: z.string(),
taskId: z.string(),
userId: z.string().nullable().openapi({
description: "Null once the user who logged the time has been removed.",
}),
description: z.string().nullable(),
startTime: responseTimestamp,
endTime: nullableResponseTimestamp.openapi({
description: "Null while the timer is still running.",
}),
duration: z.number().nullable().openapi({
description: "Elapsed seconds, filled in once the entry has an endTime.",
}),
createdAt: responseTimestamp,
updatedAt: responseTimestamp,
})
.openapi("TimeEntry");
export const timeEntryListSchema = z.array(
timeEntrySchema
.extend({ userName: z.string().nullable() })
.openapi("TimeEntryWithUser"),
);