mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* add smsSegments to creditExpenseLog * add download button * download only data from selected month * improvements * improve design * use repository function * add tests for credit repository * fix type error * fix unit test * fix type error * fix unit test * code clean up * fix skeleton loader * remove empty mt * code clean up * move csv headers out of function --------- Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: Benny Joo <[email protected]>
10 lines
247 B
TypeScript
10 lines
247 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZDownloadExpenseLogSchema = z.object({
|
|
teamId: z.number().optional(),
|
|
startDate: z.string(),
|
|
endDate: z.string(),
|
|
});
|
|
|
|
export type TDownloadExpenseLogSchema = z.infer<typeof ZDownloadExpenseLogSchema>;
|