mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-08 09:05:44 -05:00
RemoteDrawingLibrary covers upload, query, get, package download, revisions, revision packages, guarded package/metadata updates, archive and restore. It checks the shared bounds before sending, refuses oversized or inconsistent pages, and verifies that the server stored the exact package it sent. A 404 on the library routes means the server predates them: the client raises ServerTooOldException and never falls back to another store. Because a 404 for one drawing is ambiguous, it probes the query route before deciding between "unknown drawing" and "server too old". Conflicts raise DrawingLibraryConflictException carrying the current record, which the save flow needs to offer a reload or the next revision. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>