Deprecate old way of using repositories for daemon things

This commit is contained in:
Dane Everitt 2019-09-05 20:33:27 -07:00
parent a9976c723e
commit 161e0f6165
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
17 changed files with 178 additions and 65 deletions

View file

@ -6,6 +6,9 @@ use GuzzleHttp\Client;
use Pterodactyl\Models\Node;
use Pterodactyl\Models\Server;
/**
* @deprecated
*/
interface BaseRepositoryInterface
{
/**

View file

@ -4,6 +4,9 @@ namespace Pterodactyl\Contracts\Repository\Daemon;
use Psr\Http\Message\ResponseInterface;
/**
* @deprecated
*/
interface CommandRepositoryInterface extends BaseRepositoryInterface
{
/**

View file

@ -4,6 +4,9 @@ namespace Pterodactyl\Contracts\Repository\Daemon;
use Psr\Http\Message\ResponseInterface;
/**
* @deprecated
*/
interface ConfigurationRepositoryInterface extends BaseRepositoryInterface
{
/**

View file

@ -5,6 +5,9 @@ namespace Pterodactyl\Contracts\Repository\Daemon;
use stdClass;
use Psr\Http\Message\ResponseInterface;
/**
* @deprecated
*/
interface FileRepositoryInterface extends BaseRepositoryInterface
{
/**

View file

@ -4,6 +4,9 @@ namespace Pterodactyl\Contracts\Repository\Daemon;
use Psr\Http\Message\ResponseInterface;
/**
* @deprecated
*/
interface PowerRepositoryInterface extends BaseRepositoryInterface
{
const SIGNAL_START = 'start';

View file

@ -4,6 +4,9 @@ namespace Pterodactyl\Contracts\Repository\Daemon;
use Psr\Http\Message\ResponseInterface;
/**
* @deprecated
*/
interface ServerRepositoryInterface extends BaseRepositoryInterface
{
/**