* Save the auto-archive queue to plugin data
(queue: PendingAutoArchive[])
| 286 | * Save the auto-archive queue to plugin data |
| 287 | */ |
| 288 | private async saveQueue(queue: PendingAutoArchive[]): Promise<void> { |
| 289 | const data = (await this.plugin.loadData()) || {}; |
| 290 | data.autoArchiveQueue = queue; |
| 291 | await this.plugin.saveData(data); |
| 292 | } |
| 293 | |
| 294 | /** |
| 295 | * Clear all pending auto-archives (for testing or emergency reset) |
no test coverage detected