-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from saleem-hadad/feat/add-search-for-brands
add brand search functionality #feature
- Loading branch information
Showing
9 changed files
with
169 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php declare(strict_types=1); | ||
|
||
return [ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Routes configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Set the key as URI at which the GraphiQL UI can be viewed, | ||
| and add any additional configuration for the route. | ||
| | ||
| You can add multiple routes pointing to different GraphQL endpoints. | ||
| | ||
*/ | ||
|
||
'routes' => [ | ||
'/graphiql' => [ | ||
'name' => 'graphiql', | ||
// 'middleware' => ['web'] | ||
// 'prefix' => '', | ||
// 'domain' => 'graphql.' . env('APP_DOMAIN', 'localhost'), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default GraphQL endpoint | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The default endpoint that the GraphiQL UI is set to. | ||
| It assumes you are running GraphQL on the same domain | ||
| as GraphiQL, but can be set to any URL. | ||
| | ||
*/ | ||
|
||
'endpoint' => '/graphql', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Subscription endpoint | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The default subscription endpoint the GraphiQL UI uses to connect to. | ||
| Tries to connect to the `endpoint` value if `null` as ws://{{endpoint}} | ||
| | ||
| Example: `ws://your-endpoint` or `wss://your-endpoint` | ||
| | ||
*/ | ||
|
||
'subscription-endpoint' => env('GRAPHIQL_SUBSCRIPTION_ENDPOINT', null), | ||
], | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Control GraphiQL availability | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Control if the GraphiQL UI is accessible at all. | ||
| This allows you to disable it in certain environments, | ||
| for example you might not want it active in production. | ||
| | ||
*/ | ||
|
||
'enabled' => env('GRAPHIQL_ENABLED', false), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"/js/app.js": "/js/app.js?id=86df5ca868b7e285c1c332bbe2d96034", | ||
"/js/app.js": "/js/app.js?id=e46970d4146019f17f019679336faf94", | ||
"/css/app.css": "/css/app.css?id=a29af113c48845a119a56553951013db" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters