the bola v2 website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | GraphQL
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here you may enable the GraphQL API, and select which resources
  9. | are available to be queried, depending on your site's needs.
  10. |
  11. | https://statamic.dev/graphql
  12. |
  13. */
  14. 'enabled' => env('STATAMIC_GRAPHQL_ENABLED', false),
  15. 'resources' => [
  16. 'collections' => false,
  17. 'navs' => false,
  18. 'taxonomies' => false,
  19. 'assets' => false,
  20. 'globals' => false,
  21. 'sites' => false,
  22. 'users' => false,
  23. ],
  24. /*
  25. |--------------------------------------------------------------------------
  26. | Caching
  27. |--------------------------------------------------------------------------
  28. |
  29. | By default, Statamic will cache each request until the specified
  30. | expiry, or until content is changed. See the documentation for
  31. | more details on how to customize your cache implementation.
  32. |
  33. | https://statamic.dev/graphql#caching
  34. |
  35. */
  36. 'cache' => [
  37. 'expiry' => 60,
  38. ],
  39. ];