mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
migrate transaction category preset page to composition API and typescript
This commit is contained in:
+1
-14
@@ -1,17 +1,4 @@
|
||||
import type { ColorValue } from '@/core/color.ts';
|
||||
|
||||
export interface PresetCategory {
|
||||
readonly name: string;
|
||||
readonly categoryIconId: string;
|
||||
readonly color: ColorValue;
|
||||
readonly subCategories: PresetSubCategory[];
|
||||
}
|
||||
|
||||
export interface PresetSubCategory {
|
||||
readonly name: string;
|
||||
readonly categoryIconId: string;
|
||||
readonly color: ColorValue;
|
||||
}
|
||||
import type { PresetCategory } from '@/core/category.ts';
|
||||
|
||||
export const DEFAULT_EXPENSE_CATEGORIES: PresetCategory[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user