Update includes definition to match updated package requirements
This commit is contained in:
parent
34ffaebd3e
commit
4252014d18
14 changed files with 14 additions and 14 deletions
|
@ -14,7 +14,7 @@ class AllocationTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['node', 'server'];
|
protected array $availableIncludes = ['node', 'server'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the resource name for the JSONAPI output.
|
* Return the resource name for the JSONAPI output.
|
||||||
|
|
|
@ -11,7 +11,7 @@ class DatabaseHostTransformer extends BaseTransformer
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = [
|
protected array $availableIncludes = [
|
||||||
'databases',
|
'databases',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ class EggTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = [
|
protected array $availableIncludes = [
|
||||||
'nest',
|
'nest',
|
||||||
'servers',
|
'servers',
|
||||||
'config',
|
'config',
|
||||||
|
|
|
@ -12,7 +12,7 @@ class LocationTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['nodes', 'servers'];
|
protected array $availableIncludes = ['nodes', 'servers'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the resource name for the JSONAPI output.
|
* Return the resource name for the JSONAPI output.
|
||||||
|
|
|
@ -14,7 +14,7 @@ class NestTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = [
|
protected array $availableIncludes = [
|
||||||
'eggs', 'servers',
|
'eggs', 'servers',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ class NodeTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['allocations', 'location', 'servers'];
|
protected array $availableIncludes = ['allocations', 'location', 'servers'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the resource name for the JSONAPI output.
|
* Return the resource name for the JSONAPI output.
|
||||||
|
|
|
@ -12,7 +12,7 @@ class ServerDatabaseTransformer extends BaseTransformer
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['password', 'host'];
|
protected array $availableIncludes = ['password', 'host'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var Encrypter
|
* @var Encrypter
|
||||||
|
|
|
@ -18,7 +18,7 @@ class ServerTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = [
|
protected array $availableIncludes = [
|
||||||
'allocations',
|
'allocations',
|
||||||
'user',
|
'user',
|
||||||
'subusers',
|
'subusers',
|
||||||
|
|
|
@ -12,7 +12,7 @@ class ServerVariableTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['parent'];
|
protected array $availableIncludes = ['parent'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the resource name for the JSONAPI output.
|
* Return the resource name for the JSONAPI output.
|
||||||
|
|
|
@ -12,7 +12,7 @@ class SubuserTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['user', 'server'];
|
protected array $availableIncludes = ['user', 'server'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the resource name for the JSONAPI output.
|
* Return the resource name for the JSONAPI output.
|
||||||
|
|
|
@ -12,7 +12,7 @@ class UserTransformer extends BaseTransformer
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['servers'];
|
protected array $availableIncludes = ['servers'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the resource name for the JSONAPI output.
|
* Return the resource name for the JSONAPI output.
|
||||||
|
|
|
@ -9,7 +9,7 @@ use Pterodactyl\Contracts\Extensions\HashidsInterface;
|
||||||
|
|
||||||
class DatabaseTransformer extends BaseClientTransformer
|
class DatabaseTransformer extends BaseClientTransformer
|
||||||
{
|
{
|
||||||
protected $availableIncludes = ['password'];
|
protected array $availableIncludes = ['password'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Illuminate\Contracts\Encryption\Encrypter
|
* @var \Illuminate\Contracts\Encryption\Encrypter
|
||||||
|
|
|
@ -11,7 +11,7 @@ class ScheduleTransformer extends BaseClientTransformer
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['tasks'];
|
protected array $availableIncludes = ['tasks'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
|
|
|
@ -21,7 +21,7 @@ class ServerTransformer extends BaseClientTransformer
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $availableIncludes = ['egg', 'subusers'];
|
protected array $availableIncludes = ['egg', 'subusers'];
|
||||||
|
|
||||||
public function getResourceName(): string
|
public function getResourceName(): string
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue