Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-07 22:34:05 +0300
committerGitHub <noreply@github.com>2017-11-07 22:34:05 +0300
commit0913bc2157293acafa186afec4018ad25d7fbb22 (patch)
tree07db80e5fd5df55a694691431a79a31bd384a538 /lib/public/RichObjectStrings
parent19069f2b9c0aff5cf02f76856f34436690547c58 (diff)
parentd517d63a4d7ba93ca9fc57d1f30fa6896ad26a9c (diff)
Merge pull request #6552 from nextcloud/notifications-add-highlight-definition
Notifications: Add highlight type definition
Diffstat (limited to 'lib/public/RichObjectStrings')
-rw-r--r--lib/public/RichObjectStrings/Definitions.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index 8ee3ad3bf3d..d1d636fe36b 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -256,6 +256,31 @@ class Definitions {
],
],
],
+ 'highlight' => [
+ 'author' => 'Nextcloud',
+ 'app' => 'core',
+ 'since' => '13.0.0',
+ 'parameters' => [
+ 'id' => [
+ 'since' => '13.0.0',
+ 'required' => true,
+ 'description' => 'The id used to identify the highlighted object on the instance',
+ 'example' => '42',
+ ],
+ 'name' => [
+ 'since' => '13.0.0',
+ 'required' => true,
+ 'description' => 'The string that should be highlighted.',
+ 'example' => 'Hello World',
+ ],
+ 'link' => [
+ 'since' => '13.0.0',
+ 'required' => false,
+ 'description' => 'The full URL that should be opened when clicking the highlighted text.',
+ 'example' => 'http://localhost/index.php/f/42',
+ ],
+ ],
+ ],
'open-graph' => [
'author' => 'Maxence Lange',
'app' => 'mood',