mirror of
https://github.com/outline/outline.git
synced 2026-01-07 03:30:10 -06:00
* Add TeamPreference to prevent document embedding - Add PreventDocumentEmbedding enum value to TeamPreference - Add default value (false) to maintain backward compatibility - Update TeamPreferences interface with new boolean property - Modify renderShare function to respect team preference - When preference is true, X-Frame-Options header is kept to prevent iframe embedding - When preference is false (default), X-Frame-Options is removed to allow embedding * Add preventDocumentEmbedding to TeamsUpdateSchema - Add preventDocumentEmbedding boolean field to the preferences object in TeamsUpdateSchema - This allows the new TeamPreference to be modified through the API - The existing teamUpdater function will automatically handle the new preference - API responses will include the preference via the presentTeam function --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>