diff options
author | Joas Schilling <coding@schilljs.com> | 2025-06-30 20:04:34 +0200 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2025-07-02 19:46:30 +0200 |
commit | b1e9fe6ff4936a38814601b782c81958649af522 (patch) | |
tree | 02f951f5422ff17890f374ec3d9fb68339e715c9 | |
parent | 009763b1431f0d2174debc5ebf27a005749090eb (diff) | |
download | nextcloud-server-backport/53735/stable31.tar.gz nextcloud-server-backport/53735/stable31.zip |
fix(ROS): Document hide-download option on filesbackport/53735/stable31
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/public/RichObjectStrings/Definitions.php | 6 | ||||
-rw-r--r-- | lib/public/RichObjectStrings/IValidator.php | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index 5974659e16b..8019118a59e 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -374,6 +374,12 @@ class Definitions { 'description' => 'The blurhash of the image', 'example' => 'LEHV9uae2yk8pyo0adR*.7kCMdnj', ], + 'hide-download' => [ + 'since' => '31.0.5', + 'required' => false, + 'description' => 'Whether the download option should be hidden. If not set to `yes` the option can be shown', + 'example' => 'yes', + ], ], ], 'forms-form' => [ diff --git a/lib/public/RichObjectStrings/IValidator.php b/lib/public/RichObjectStrings/IValidator.php index 3bf83582adc..fc486663c73 100644 --- a/lib/public/RichObjectStrings/IValidator.php +++ b/lib/public/RichObjectStrings/IValidator.php @@ -26,6 +26,7 @@ namespace OCP\RichObjectStrings; * path?: string, * mimetype?: string, * 'preview-available'?: 'yes'|'no', + * 'hide-download'?: 'yes'|'no', * mtime?: string, * latitude?: string, * longitude?: string, |