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:
authorJulius Härtl <jus@bitgrid.net>2017-09-18 15:01:35 +0300
committerJulius Härtl <jus@bitgrid.net>2017-10-03 16:38:15 +0300
commitd517d63a4d7ba93ca9fc57d1f30fa6896ad26a9c (patch)
treefa40dd73c3ac6b3d613364f21f04880e44af222b /lib/public/RichObjectStrings
parent42bd94261904574d807d9cf1917f6283b08287ac (diff)
Notifications: Add highlight type definition
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 b938fa5e6cb..ca41c4d806d 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -252,6 +252,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',