code refactor

This commit is contained in:
MaysWind
2025-01-14 00:14:07 +08:00
parent 593e123610
commit f4ea9a85f0
11 changed files with 73 additions and 73 deletions
+7 -7
View File
@@ -1,16 +1,16 @@
import type { ColorValue } from '@/core/color.ts';
export interface PresetCategory {
name: string;
categoryIconId: string;
color: ColorValue;
subCategories: PresetSubCategory[];
readonly name: string;
readonly categoryIconId: string;
readonly color: ColorValue;
readonly subCategories: PresetSubCategory[];
}
export interface PresetSubCategory {
name: string;
categoryIconId: string;
color: ColorValue;
readonly name: string;
readonly categoryIconId: string;
readonly color: ColorValue;
}
export const DEFAULT_EXPENSE_CATEGORIES: PresetCategory[] = [