implemented snapshot diff; started work on admin settings

This commit is contained in:
Jonathan Treffler 2023-08-08 11:52:21 +02:00 committed by root
parent 4c67bf71c4
commit 8b22d56e32
7 changed files with 423 additions and 8 deletions

20
lib/Entity/Snapshot.php Normal file
View file

@ -0,0 +1,20 @@
<?php
namespace OCA\GroupfolderFilesystemSnapshots\Entity;
use JsonSerializable;
class Snapshot implements JsonSerializable {
/** @var string */
private $id;
public function __construct(string $id) {
$this->id = $id;
}
public function jsonSerialize(): mixed {
return [
'id' => $this->id
];
}
}