mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
7663c2a643
* 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> * refactor * refactor * wip * tsc * fix: Signed-out view throw, spacing * revert --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>