mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +00:00
feat(storage): confirm the reclaim count the admin was shown, name a running backup as a skip, bound a trip cover
The confirm request now carries the unreferenced count the admin saw, so the server can refuse a count its last report no longer holds. A pass that found objects due while a backup read the uploads reports backup_running for them. A trip cover is bounded to 2048 characters on REST, RPC and the MCP tool, as a place image already is, since a replaced cover is queued for release by every upload path it spells out.
This commit is contained in:
@@ -225,6 +225,7 @@ export class TripsMcp {
|
||||
is_archived: z.boolean().optional().describe('Archive (true) or unarchive (false) the trip'),
|
||||
cover_image: z
|
||||
.string()
|
||||
.max(2048)
|
||||
.nullable()
|
||||
.optional()
|
||||
.describe('Cover image path, e.g. /uploads/covers/abc.jpg; null removes the cover'),
|
||||
|
||||
Reference in New Issue
Block a user