Skip to content

Commit a9e3f68

Browse files
Merge pull request #53735 from nextcloud/bugfix/noid/document-hide-download
fix(ROS): Document hide-download option on files
2 parents 54f55a1 + d471803 commit a9e3f68

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/public/RichObjectStrings/Definitions.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,12 @@ class Definitions {
374374
'description' => 'The blurhash of the image',
375375
'example' => 'LEHV9uae2yk8pyo0adR*.7kCMdnj',
376376
],
377+
'hide-download' => [
378+
'since' => '31.0.5',
379+
'required' => false,
380+
'description' => 'Whether the download option should be hidden. If not set to `yes` the option can be shown',
381+
'example' => 'yes',
382+
],
377383
],
378384
],
379385
'forms-form' => [

lib/public/RichObjectStrings/IValidator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* path?: string,
2727
* mimetype?: string,
2828
* 'preview-available'?: 'yes'|'no',
29+
* 'hide-download'?: 'yes'|'no',
2930
* mtime?: string,
3031
* latitude?: string,
3132
* longitude?: string,

0 commit comments

Comments
 (0)