feat(FE-199): create Expense API types

This commit is contained in:
ValdiANS
2025-10-31 14:33:28 +07:00
parent 026e60704b
commit 15893c18c9
+14
View File
@@ -0,0 +1,14 @@
import { BaseMetadata } from '@/types/api/api-general';
export type BaseExpense = {
id: number;
name: string;
};
export type Expense = BaseMetadata & BaseExpense;
export type CreateExpensePayload = {
name: string;
};
export type UpdateExpensePayload = CreateExpensePayload;