feat: complete production backend integration
This commit is contained in:
@@ -22,6 +22,12 @@ final class DirectAdminSyncRepository
|
||||
return array_values($data['rules'][$ruleId] ?? []);
|
||||
}
|
||||
|
||||
/** @return array<string,array<int,array<string,mixed>>> */
|
||||
public function allRuleEntries(string $username): array
|
||||
{
|
||||
return $this->read($username)['rules'];
|
||||
}
|
||||
|
||||
/** @return array<int,array<string,mixed>> */
|
||||
public function deleteRuleEntries(string $username, string $ruleId): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user