Add basecontract
All checks were successful
Deploy App / deploy (push) Successful in 10s

This commit is contained in:
2025-09-04 17:57:15 +02:00
parent 1565df568d
commit aa27851bd7
7 changed files with 39 additions and 22 deletions

View File

@@ -0,0 +1,7 @@
<?php
namespace App\Interfaces;
interface BaseContract
{
}

View File

@@ -0,0 +1,11 @@
<?php
namespace App\Interfaces;
use Illuminate\Http\JsonResponse;
interface BotContract extends BaseContract
{
public function run(): JsonResponse;
public static function configSchema(): array;
}

View File

@@ -0,0 +1,9 @@
<?php
namespace App\Interfaces;
interface ScriptContract extends BaseContract
{
public function run(): string;
public static function configSchema(): array;
}