Dev-only — append an inbox entry.
(body: InboxSeedBody)
| 74 | |
| 75 | /** Dev-only — append an inbox entry. */ |
| 76 | async seed(body: InboxSeedBody): Promise<{ entry: InboxEntry }> { |
| 77 | return fetchJson('/api/inbox/seed', { |
| 78 | method: 'POST', |
| 79 | headers: { 'Content-Type': 'application/json' }, |
| 80 | body: JSON.stringify(body), |
| 81 | }) |
| 82 | }, |
| 83 | |
| 84 | /** Hard-delete an inbox entry. Returns true on success, false if |
| 85 | * the entry didn't exist (server replied 404). */ |
nothing calls this directly
no test coverage detected