* SPDX-License-Identifier: AGPL-3.0-or-later */ namespace OCA\Files_External\Event; use OCA\Files_External\Lib\StorageConfig; use OCP\EventDispatcher\Event; class StorageUpdatedEvent extends Event { public function __construct( private readonly StorageConfig $oldConfig, private readonly StorageConfig $newConfig, ) { parent::__construct(); } public function getOldConfig(): StorageConfig { return $this->oldConfig; } public function getNewConfig(): StorageConfig { return $this->newConfig; } }