mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
refactoring (#116)
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
This commit is contained in:
22
app/SiteTypes/SiteType.php
Executable file
22
app/SiteTypes/SiteType.php
Executable file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\SiteTypes;
|
||||
|
||||
interface SiteType
|
||||
{
|
||||
public function language(): string;
|
||||
|
||||
public function supportedFeatures(): array;
|
||||
|
||||
public function createRules(array $input): array;
|
||||
|
||||
public function createFields(array $input): array;
|
||||
|
||||
public function data(array $input): array;
|
||||
|
||||
public function install(): void;
|
||||
|
||||
public function editRules(array $input): array;
|
||||
|
||||
public function edit(): void;
|
||||
}
|
Reference in New Issue
Block a user