chore(Deps): Update Dependencies and add Spatie Query Builder
parent
2db222d6ef
commit
6c0309b9b2
|
|
@ -12,8 +12,8 @@
|
|||
"laravel/sanctum": "^3.3",
|
||||
"laravel/tinker": "^2.8",
|
||||
"pusher/pusher-php-server": "^7.2",
|
||||
"spatie/laravel-data": "^3.9",
|
||||
"spatie/laravel-permission": "^6.0"
|
||||
"spatie/laravel-permission": "^6.0",
|
||||
"spatie/laravel-query-builder": "^5.6"
|
||||
},
|
||||
"require-dev": {
|
||||
"fakerphp/faker": "^1.9.1",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
* By default the package will use the `include`, `filter`, `sort`
|
||||
* and `fields` query parameters as described in the readme.
|
||||
*
|
||||
* You can customize these query string parameters here.
|
||||
*/
|
||||
'parameters' => [
|
||||
'include' => 'include',
|
||||
|
||||
'filter' => 'filter',
|
||||
|
||||
'sort' => 'sort',
|
||||
|
||||
'fields' => 'fields',
|
||||
|
||||
'append' => 'append',
|
||||
],
|
||||
|
||||
/*
|
||||
* Related model counts are included using the relationship name suffixed with this string.
|
||||
* For example: GET /users?include=postsCount
|
||||
*/
|
||||
'count_suffix' => 'Count',
|
||||
|
||||
/*
|
||||
* Related model exists are included using the relationship name suffixed with this string.
|
||||
* For example: GET /users?include=postsExists
|
||||
*/
|
||||
'exists_suffix' => 'Exists',
|
||||
|
||||
/*
|
||||
* By default the package will throw an `InvalidFilterQuery` exception when a filter in the
|
||||
* URL is not allowed in the `allowedFilters()` method.
|
||||
*/
|
||||
'disable_invalid_filter_query_exception' => false,
|
||||
|
||||
/*
|
||||
* By default the package will throw an `InvalidSortQuery` exception when a sort in the
|
||||
* URL is not allowed in the `allowedSorts()` method.
|
||||
*/
|
||||
'disable_invalid_sort_query_exception' => false,
|
||||
];
|
||||
Loading…
Reference in New Issue