feat: add watchlist patch with limitations

This commit is contained in:
Maël Gangloff
2024-08-14 23:23:32 +02:00
parent d41071a052
commit 5dd27a4b7b
4 changed files with 82 additions and 32 deletions

View File

@@ -12,7 +12,7 @@ class WatchListTrigger
{
#[ORM\Id]
#[ORM\Column(length: 255)]
#[Groups(['watchlist:list', 'watchlist:item', 'watchlist:create', 'watchlist:update'])]
#[Groups(['watchlist:list', 'watchlist:item', 'watchlist:create'])]
private ?string $event = null;
#[ORM\Id]
@@ -22,7 +22,7 @@ class WatchListTrigger
#[ORM\Id]
#[ORM\Column(enumType: TriggerAction::class)]
#[Groups(['watchlist:list', 'watchlist:item', 'watchlist:create', 'watchlist:update'])]
#[Groups(['watchlist:list', 'watchlist:item', 'watchlist:create'])]
private ?TriggerAction $action = null;
public function getEvent(): ?string