1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
-
- return [
-
- /*
- |--------------------------------------------------------------------------
- | GraphQL
- |--------------------------------------------------------------------------
- |
- | Here you may enable the GraphQL API, and select which resources
- | are available to be queried, depending on your site's needs.
- |
- | https://statamic.dev/graphql
- |
- */
-
- 'enabled' => env('STATAMIC_GRAPHQL_ENABLED', false),
-
- 'resources' => [
- 'collections' => false,
- 'navs' => false,
- 'taxonomies' => false,
- 'assets' => false,
- 'globals' => false,
- 'forms' => false,
- 'sites' => false,
- 'users' => false,
- ],
-
- /*
- |--------------------------------------------------------------------------
- | Queries
- |--------------------------------------------------------------------------
- |
- | Here you may list queries to be added to the Statamic schema.
- |
- | https://statamic.dev/graphql#custom-queries
- |
- */
-
- 'queries' => [
- //
- ],
-
- /*
- |--------------------------------------------------------------------------
- | Middleware
- |--------------------------------------------------------------------------
- |
- | Here you may list middleware to be added to the Statamic schema.
- |
- | https://statamic.dev/graphql#custom-middleware
- |
- */
-
- 'middleware' => [
- //
- ],
-
- /*
- |--------------------------------------------------------------------------
- | Caching
- |--------------------------------------------------------------------------
- |
- | By default, Statamic will cache each request until the specified
- | expiry, or until content is changed. See the documentation for
- | more details on how to customize your cache implementation.
- |
- | https://statamic.dev/graphql#caching
- |
- */
-
- 'cache' => [
- 'expiry' => 60,
- ],
-
- ];
|