move into sonardesk
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Automation\Contracts;
|
||||
|
||||
use Modules\Automation\Models\AutomationStep;
|
||||
|
||||
interface ActionRegistry
|
||||
{
|
||||
public function all(): array;
|
||||
|
||||
public function execute(AutomationStep $step, array $payload): array;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Automation\Contracts;
|
||||
|
||||
interface TriggerRegistry
|
||||
{
|
||||
public function all(): array;
|
||||
|
||||
public function has(string $type): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user