peliprint/app/Http/Requests/Admin/Extensions/Blueprint/BlueprintSettingsFormRequest.php
purple 839b602b6c Telemetry ID is now replaced with a Panel ID.
This ID contains a random string and the version of Blueprint and will be used for API calls and telemetry once that has been added.
2023-05-31 10:40:03 +02:00

35 lines
798 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Admin\Extensions\Blueprint;
use Pterodactyl\Http\Requests\Admin\AdminFormRequest;
class BlueprintSettingsFormRequest extends AdminFormRequest
{
/**
* Return all the rules to apply to this request's data.
*/
public function rules(): array
{
return [
'placeholder' => 'string',
'developer' => 'string',
'developer:cmd' => 'string',
'telemetry' => 'string',
];
}
public function attributes(): array
{
return [
'placeholder' => 'Placeholder',
'developer' => 'Developer Mode',
'developer:cmd' => 'Developer Command',
'telemetry' => 'Telemetry',
];
}
}