Added current fileId to DiffTaskResult; implemented folder blocklist feature; fixed indentations of some files; bumped version

This commit is contained in:
Jonathan Treffler 2025-07-02 14:41:59 +02:00
parent 85d63d5ae2
commit acf8990de1
6 changed files with 253 additions and 212 deletions

View file

@ -16,7 +16,9 @@ class DiffTaskResult extends Entity implements JsonSerializable {
protected $beforeSize;
protected $currentFileExists;
protected $currentPath;
protected $currentFileId;
protected $currentPath;
protected $currentSize;
protected $reverted;
@ -26,6 +28,7 @@ class DiffTaskResult extends Entity implements JsonSerializable {
$this->addType('beforeFileExists','boolean');
$this->addType('beforeSize','integer');
$this->addType('currentFileExists','boolean');
$this->addType('currentFileId','integer');
$this->addType('currentSize','integer');
$this->addType('reverted','boolean');
}
@ -42,6 +45,7 @@ class DiffTaskResult extends Entity implements JsonSerializable {
],
'current' => [
'fileExists' => $this->currentFileExists,
'fileId' => $this->currentFileId,
'path' => $this->currentPath,
'size' => $this->currentSize,
],