@php
    $parameters = [
        [
            'name' => 'name',
            'type' => 1,
            'format' => 'string',
            'description' => __('Name') . '. ' . __('Possible values are: :values.', ['values' => '<code>'.implode('</code>, <code>', config('stats.types')).'</code>'])
        ], [
            'name' => 'from',
            'type' => 1,
            'format' => 'string',
            'description' => __('Starting date in :format format.', ['format' => '<code>Y-m-d</code>'])
        ], [
            'name' => 'to',
            'type' => 1,
            'format' => 'string',
            'description' => __('Ending date in :format format.', ['format' => '<code>Y-m-d</code>'])
        ], [
            'name' => 'search',
            'type' => 0,
            'format' => 'string',
            'description' => __('Search query') . '.'
        ], [
            'name' => 'search_by',
            'type' => 0,
            'format' => 'string',
            'description' => __('Search by') . '. ' . __('Possible values are: :values.', [
                'values' => implode(', ', [
                    __(':value for :name', ['value' => '<code>value</code>', 'name' => '<span class="font-weight-medium">'.__('Value').'</span>'])
                    ])
                ])
        ], [
            'name' => 'sort_by',
            'type' => 0,
            'format' => 'string',
            'description' => __('Sort by') . '. ' . __('Possible values are: :values.', [
                'values' => implode(', ', [
                    __(':value for :name', ['value' => '<code>count</code>', 'name' => '<span class="font-weight-medium">'.__('Count').'</span>']),
                    __(':value for :name', ['value' => '<code>value</code>', 'name' => '<span class="font-weight-medium">'.__('Value').'</span>']),
                    ])
                ]) .' ' . __('Defaults to: :value.', ['value' => '<code>count</code>'])
        ], [
            'name' => 'sort',
            'type' => 0,
            'format' => 'string',
            'description' => __('Sort') . '. ' . __('Possible values are: :values.', [
                'values' => implode(', ', [
                    __(':value for :name', ['value' => '<code>desc</code>', 'name' => '<span class="font-weight-medium">'.__('Descending').'</span>']),
                    __(':value for :name', ['value' => '<code>asc</code>', 'name' => '<span class="font-weight-medium">'.__('Ascending').'</span>'])
                    ])
                ]) .' ' . __('Defaults to: :value.', ['value' => '<code>desc</code>'])
        ], [
            'name' => 'per_page',
            'type' => 0,
            'format' => 'integer',
            'description' => __('Results per page') . '. '. __('Possible values are: :values.', [
                'values' => '<code>' . implode('</code>, <code>', [10, 25, 50, 100]) . '</code>'
                ]) .' ' . __('Defaults to: :value.', ['value' => '<code>'.config('settings.paginate').'</code>'])
        ]
    ];
@endphp

@include('developers.parameters')