( id: string, updates: Partial<Omit<Account, 'id' | 'createdAt'>> )
| 90 | |
| 91 | // 更新账户信息 |
| 92 | export async function updateAccount( |
| 93 | id: string, |
| 94 | updates: Partial<Omit<Account, 'id' | 'createdAt'>> |
| 95 | ): Promise<void> { |
| 96 | await stores.account.update(id, updates) |
| 97 | } |
| 98 | |
| 99 | // 删除账户 |
| 100 | export async function removeAccount(accountId: string): Promise<void> { |
no test coverage detected