// The address the Posts library page gives a captured file (lane posts-library): the route // /api/library/media///. In a file of its own, with no import, so a browser bundle takes it // without the resolver beside it (lib/library/media.mjs reads the disk). /** * @param {string} lib * @param {string} id * @param {string} name */ export function libraryMediaSrc(lib, id, name) { return `/api/library/media/${encodeURIComponent(lib)}/${encodeURIComponent(id)}/${encodeURIComponent(name)}`; }