Files
Tom MoorandClaude Sonnet 4.5 0d0cbb0076 Add backlinks support for publicly shared documents
Include backlinks in the documents.info API response for publicly shared documents, filtering to only show backlinks that exist within the shared tree.

Changes:
- Add findSourceDocumentIdsInSharedTree method to Relationship model to find backlinks within allowed document IDs
- Export getAllIdsInSharedTree helper from shareLoader for reuse
- Update presentDocument to accept and include backlinkIds in response
- Modify documents.info endpoint to fetch and include backlinks for public shares
- Add backlinkIds property to Document model and update backlinks getter to use it when available

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 11:34:16 -05:00
..
2026-01-05 19:58:46 -05:00
2026-01-05 19:58:46 -05:00
2026-01-05 19:58:46 -05:00
2026-01-05 19:58:46 -05:00
2026-01-05 19:58:46 -05:00