mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
code refactor
This commit is contained in:
@@ -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[] = [
|
||||
|
||||
Reference in New Issue
Block a user