mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
added member-time-tracking route
This commit is contained in:
@@ -227,6 +227,13 @@ export const OrgMembersQuerySchema = z.object({
|
||||
|
||||
export type OrgMembersQuery = z.infer<typeof OrgMembersQuerySchema>;
|
||||
|
||||
export const OrgMemberTimeTrackingQuerySchema = z.object({
|
||||
organisationId: z.coerce.number().int().positive("organisationId must be a positive integer"),
|
||||
fromDate: z.coerce.date().optional(),
|
||||
});
|
||||
|
||||
export type OrgMemberTimeTrackingQuery = z.infer<typeof OrgMemberTimeTrackingQuerySchema>;
|
||||
|
||||
export const OrgAddMemberRequestSchema = z.object({
|
||||
organisationId: z.number().int().positive("organisationId must be a positive integer"),
|
||||
userId: z.number().int().positive("userId must be a positive integer"),
|
||||
|
||||
Reference in New Issue
Block a user