Merge pull request #53735 from nextcloud/bugfix/noid/document-hide-download

fix(ROS): Document hide-download option on files
pull/52963/head
Joas Schilling 3 months ago committed by GitHub
commit a9e3f6820f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      lib/public/RichObjectStrings/Definitions.php
  2. 1
      lib/public/RichObjectStrings/IValidator.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' => [

@ -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,

Loading…
Cancel
Save