zerobyte/app/client/api-client
Eric Hess d2f65716fe
feat(mirrors): add selective snapshot sync to mirror repositories (#755)
* feat(mirrors): add selective snapshot sync to mirror repositories

Allow users to sync missing snapshots from the source repository to a
mirror. A new sync button per mirror opens a dialog showing which
snapshots are missing, with checkboxes to select which ones to copy.

- Add GET /:shortId/mirrors/:mirrorShortId/status endpoint to compare
  snapshots between source and mirror repositories
- Add POST /:shortId/mirrors/:mirrorShortId/sync endpoint accepting
  selected snapshotIds in the request body
- Extend restic copy command to accept multiple snapshotIds
- Add sync preview dialog with snapshot selection to the frontend

* refactor: stylistic changes

---------

Co-authored-by: Nicolas Meienberger <github@thisprops.com>
2026-04-16 21:28:48 +02:00
..
@tanstack feat(mirrors): add selective snapshot sync to mirror repositories (#755) 2026-04-16 21:28:48 +02:00
client fix(slack): channel is not supported in combination with webhooks (#770) 2026-04-09 22:24:24 +02:00
core fix(slack): channel is not supported in combination with webhooks (#770) 2026-04-09 22:24:24 +02:00
client.gen.ts refactor: react-router -> tanstack start (#498) 2026-02-11 21:41:06 +01:00
index.ts feat(mirrors): add selective snapshot sync to mirror repositories (#755) 2026-04-16 21:28:48 +02:00
sdk.gen.ts feat(mirrors): add selective snapshot sync to mirror repositories (#755) 2026-04-16 21:28:48 +02:00
types.gen.ts feat(mirrors): add selective snapshot sync to mirror repositories (#755) 2026-04-16 21:28:48 +02:00