Browse Source

Make adjustments based on the review

Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
tags/v29.0.0beta1
Hamid Dehnavi 11 months ago
parent
commit
82a503a50a
2 changed files with 0 additions and 27 deletions
  1. 0
    6
      lib/private/Notification/Action.php
  2. 0
    21
      lib/private/Notification/Notification.php

+ 0
- 6
lib/private/Notification/Action.php View File

use OCP\Notification\IAction; use OCP\Notification\IAction;


class Action implements IAction { class Action implements IAction {
/** @var string */
protected string $label; protected string $label;


/** @var string */
protected string $labelParsed; protected string $labelParsed;


/** @var string */
protected string $link; protected string $link;


/** @var string */
protected string $requestType; protected string $requestType;


/** @var string */
protected string $icon; protected string $icon;


/** @var bool */
protected bool $primary; protected bool $primary;


public function __construct() { public function __construct() {

+ 0
- 21
lib/private/Notification/Notification.php View File

use OCP\RichObjectStrings\IValidator; use OCP\RichObjectStrings\IValidator;


class Notification implements INotification { class Notification implements INotification {
/** @var string */
protected string $app; protected string $app;


/** @var string */
protected string $user; protected string $user;


/** @var \DateTime */
protected \DateTime $dateTime; protected \DateTime $dateTime;


/** @var string */
protected string $objectType; protected string $objectType;


/** @var string */
protected string $objectId; protected string $objectId;


/** @var string */
protected string $subject; protected string $subject;


/** @var array */
protected array $subjectParameters; protected array $subjectParameters;


/** @var string */
protected string $subjectParsed; protected string $subjectParsed;


/** @var string */
protected string $subjectRich; protected string $subjectRich;


/** @var array */
protected array $subjectRichParameters; protected array $subjectRichParameters;


/** @var string */
protected string $message; protected string $message;


/** @var array */
protected array $messageParameters; protected array $messageParameters;


/** @var string */
protected string $messageParsed; protected string $messageParsed;


/** @var string */
protected string $messageRich; protected string $messageRich;


/** @var array */
protected array $messageRichParameters; protected array $messageRichParameters;


/** @var string */
protected string $link; protected string $link;


/** @var string */
protected string $icon; protected string $icon;


/** @var array */
protected array $actions; protected array $actions;


/** @var array */
protected array $actionsParsed; protected array $actionsParsed;


/** @var bool */
protected bool $hasPrimaryAction; protected bool $hasPrimaryAction;


/** @var bool */
protected bool $hasPrimaryParsedAction; protected bool $hasPrimaryParsedAction;


public function __construct( public function __construct(

Loading…
Cancel
Save