(id: string)
| 132 | } |
| 133 | |
| 134 | delete(id: string): boolean { |
| 135 | const sources = this.loadAll() |
| 136 | const filtered = sources.filter((s) => s.id !== id) |
| 137 | if (filtered.length === sources.length) return false |
| 138 | this.saveAll(filtered) |
| 139 | return true |
| 140 | } |
| 141 | |
| 142 | // ==================== ImportSession CRUD ==================== |
| 143 |