feat: add -date flag

This commit is contained in:
Riccardo Senica
2025-01-23 20:29:42 +00:00
parent 6589e8a815
commit fc75d5da15
5 changed files with 12 additions and 7 deletions

View File

@@ -35,7 +35,8 @@ export interface ShortcutsResponse {
const ExpenseSchema = z.object({
description: z.string().min(1),
cost: z.number().positive(),
categoryName: z.string()
categoryName: z.string(),
date: z.date()
});
export type ExpenseType = z.infer<typeof ExpenseSchema>;