migrate schedule frequency select / selection sheet to composition API and typescript

This commit is contained in:
MaysWind
2025-01-12 00:48:03 +08:00
parent 75a96e871a
commit b517409229
5 changed files with 283 additions and 239 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
import type { TypeAndName } from './base.ts';
import type { TypeAndName, TypeAndDisplayName } from './base.ts';
type AccountTypeName = 'SingleAccount' | 'MultiSubAccounts';
@@ -74,3 +74,9 @@ export class AccountCategory implements TypeAndName {
return AccountCategory.allInstancesByType[type];
}
}
export interface LocalizedAccountCategory extends TypeAndDisplayName {
readonly type: number;
readonly displayName: string;
readonly defaultAccountIconId: string;
}