//! Sharing: public links, per-user grants, and the shared-with-me page. //! //! `POST /api/share/link/create|revoke|remint` mints, kills, and re-mints //! bearer links over a //! file or folder (`can_download`, optional expiry in days; only the token //! hash is stored). `POST /api/share/user/add|remove` grants and revokes //! named users the same way. `GET /s/{token}` is public — no auth — //! rendering the viewer page in the document shell, the download only when //! `can_download` allows, the stored webp preview on `?thumb=1` regardless //! of the flag, and the card's `