Refactor code structure for improved readability and maintainability

This commit is contained in:
Felipe Coutinho
2025-11-17 16:17:58 -03:00
parent 3ca495384c
commit 71e083fd49
6 changed files with 404 additions and 422 deletions

View File

@@ -1,9 +1,3 @@
/**
* Category constants and types
*
* Consolidated from /lib/categories.ts
*/
export const CATEGORY_TYPES = ["receita", "despesa"] as const;
export type CategoryType = (typeof CATEGORY_TYPES)[number];

View File

@@ -39,6 +39,7 @@ export const CATEGORY_ICON_OPTIONS: CategoryIconOption[] = [
{ label: "Café", value: "RiCupLine" },
{ label: "Bebida", value: "RiDrinksFill" },
{ label: "Pizza", value: "RiCake3Line" },
{ label: "Cerveja", value: "RiBeerLine" },
// Transporte
{ label: "Ônibus", value: "RiBusLine" },