(account: string)
| 115 | }, |
| 116 | |
| 117 | async _addToIndex(account: string): Promise<void> { |
| 118 | const mod = await loadModule() |
| 119 | const indexEntry = new mod.Entry(SERVICE_NAME, '__index__') |
| 120 | const existing = await this.list() |
| 121 | if (!existing.includes(account)) { |
| 122 | indexEntry.setPassword(JSON.stringify([...existing, account])) |
| 123 | } |
| 124 | }, |
| 125 | |
| 126 | async _removeFromIndex(account: string): Promise<void> { |
| 127 | const mod = await loadModule() |
nothing calls this directly
no test coverage detected