diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 5ea0865..e009016 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -3,7 +3,6 @@ namespace App\Providers; use Laravel\Passport\Passport; -use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider diff --git a/composer.json b/composer.json index ec480fc..53224d4 100755 --- a/composer.json +++ b/composer.json @@ -9,14 +9,10 @@ "license": "MIT", "require": { "php": "^7.1.3", - "doctrine/dbal": "^2.9", "fideloper/proxy": "^4.0", "laravel/framework": "5.8.*", "laravel/passport": "^7.3", "laravel/tinker": "^1.0", - "mll-lab/laravel-graphql-playground": "^1.1", - "nuwave/lighthouse": "dev-master", - "nwidart/laravel-modules": "^4.0", "wm/common": "dev-master", "wm/crm": "dev-master", "wm/reservation": "dev-master" diff --git a/composer.lock b/composer.lock index bdc80d6..2314880 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "627e7d5eb4c123e990e4440f452e5b5b", + "content-hash": "bf04db5e846207e0d63b65a4f6f13d0c", "packages": [ { "name": "defuse/php-encryption", @@ -287,16 +287,16 @@ }, { "name": "egulias/email-validator", - "version": "2.1.10", + "version": "2.1.11", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "a6c8d7101b19a451c1707b1b79bbbc56e4bdb7ec" + "reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/a6c8d7101b19a451c1707b1b79bbbc56e4bdb7ec", - "reference": "a6c8d7101b19a451c1707b1b79bbbc56e4bdb7ec", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/92dd169c32f6f55ba570c309d83f5209cefb5e23", + "reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23", "shasum": "" }, "require": { @@ -315,7 +315,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.1.x-dev" } }, "autoload": { @@ -341,7 +341,7 @@ "validation", "validator" ], - "time": "2019-07-19T20:52:08+00:00" + "time": "2019-08-13T17:33:27+00:00" }, { "name": "erusev/parsedown", @@ -825,16 +825,16 @@ }, { "name": "laravel/framework", - "version": "v5.8.31", + "version": "v5.8.33", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "24cc1786bd55876fa52380306354772355345efd" + "reference": "58b81842cbdcfbbd8302790ac0f98119ea1c56e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/24cc1786bd55876fa52380306354772355345efd", - "reference": "24cc1786bd55876fa52380306354772355345efd", + "url": "https://api.github.com/repos/laravel/framework/zipball/58b81842cbdcfbbd8302790ac0f98119ea1c56e5", + "reference": "58b81842cbdcfbbd8302790ac0f98119ea1c56e5", "shasum": "" }, "require": { @@ -968,20 +968,20 @@ "framework", "laravel" ], - "time": "2019-08-06T15:09:02+00:00" + "time": "2019-08-20T15:45:17+00:00" }, { "name": "laravel/passport", - "version": "v7.3.5", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/laravel/passport.git", - "reference": "57937b08dc8e444b4756782a5ba172b5ba54d4f5" + "reference": "4460bd1fb5d913d75e547caf02a5a19c6d77794d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/passport/zipball/57937b08dc8e444b4756782a5ba172b5ba54d4f5", - "reference": "57937b08dc8e444b4756782a5ba172b5ba54d4f5", + "url": "https://api.github.com/repos/laravel/passport/zipball/4460bd1fb5d913d75e547caf02a5a19c6d77794d", + "reference": "4460bd1fb5d913d75e547caf02a5a19c6d77794d", "shasum": "" }, "require": { @@ -992,6 +992,7 @@ "illuminate/console": "~5.6.0|~5.7.0|~5.8.0|^6.0", "illuminate/container": "~5.6.0|~5.7.0|~5.8.0|^6.0", "illuminate/contracts": "~5.6.0|~5.7.0|~5.8.0|^6.0", + "illuminate/cookie": "~5.6.0|~5.7.0|~5.8.0|^6.0", "illuminate/database": "~5.6.0|~5.7.0|~5.8.0|^6.0", "illuminate/encryption": "~5.6.0|~5.7.0|~5.8.0|^6.0", "illuminate/http": "~5.6.0|~5.7.0|~5.8.0|^6.0", @@ -1038,20 +1039,20 @@ "oauth", "passport" ], - "time": "2019-08-06T18:10:19+00:00" + "time": "2019-08-20T18:10:43+00:00" }, { "name": "laravel/tinker", - "version": "v1.0.9", + "version": "v1.0.10", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "eb0075527fdeeb1cc1d68bd4ca7d50256b30a827" + "reference": "ad571aacbac1539c30d480908f9d0c9614eaf1a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/eb0075527fdeeb1cc1d68bd4ca7d50256b30a827", - "reference": "eb0075527fdeeb1cc1d68bd4ca7d50256b30a827", + "url": "https://api.github.com/repos/laravel/tinker/zipball/ad571aacbac1539c30d480908f9d0c9614eaf1a7", + "reference": "ad571aacbac1539c30d480908f9d0c9614eaf1a7", "shasum": "" }, "require": { @@ -1101,7 +1102,7 @@ "laravel", "psysh" ], - "time": "2019-07-29T18:09:25+00:00" + "time": "2019-08-07T15:10:45+00:00" }, { "name": "lcobucci/jwt", @@ -1210,16 +1211,16 @@ }, { "name": "league/flysystem", - "version": "1.0.53", + "version": "1.0.54", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "08e12b7628f035600634a5e76d95b5eb66cea674" + "reference": "c681ed22508947a941f113d6cf51bdcf4b84faf9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/08e12b7628f035600634a5e76d95b5eb66cea674", - "reference": "08e12b7628f035600634a5e76d95b5eb66cea674", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/c681ed22508947a941f113d6cf51bdcf4b84faf9", + "reference": "c681ed22508947a941f113d6cf51bdcf4b84faf9", "shasum": "" }, "require": { @@ -1290,7 +1291,7 @@ "sftp", "storage" ], - "time": "2019-06-18T20:09:29+00:00" + "time": "2019-08-23T21:50:05+00:00" }, { "name": "league/oauth2-server", @@ -1369,58 +1370,6 @@ ], "time": "2019-05-05T09:22:01+00:00" }, - { - "name": "mll-lab/laravel-graphql-playground", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/mll-lab/laravel-graphql-playground.git", - "reference": "8b238625a0e432746ddada9ae87406e7cfdc326b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mll-lab/laravel-graphql-playground/zipball/8b238625a0e432746ddada9ae87406e7cfdc326b", - "reference": "8b238625a0e432746ddada9ae87406e7cfdc326b", - "shasum": "" - }, - "require": { - "laravel/framework": ">=5.1.0", - "php": ">=7" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.12" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "MLL\\GraphQLPlayground\\GraphQLPlaygroundServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "MLL\\GraphQLPlayground\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Benedikt Franke", - "email": "benedikt@franke.tech" - } - ], - "description": "Easily integrate GraphQL Playground into your Laravel project", - "keywords": [ - "graphql", - "graphql-playground", - "laravel" - ], - "time": "2019-07-05T12:09:26+00:00" - }, { "name": "monolog/monolog", "version": "1.24.0", @@ -1501,16 +1450,16 @@ }, { "name": "nesbot/carbon", - "version": "2.22.3", + "version": "2.23.1", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "738fbd8d80b2c5e158fda76c29c2de432fcc6f7e" + "reference": "767617a047e5b8b8b3b0b6023a2650847ed7df02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/738fbd8d80b2c5e158fda76c29c2de432fcc6f7e", - "reference": "738fbd8d80b2c5e158fda76c29c2de432fcc6f7e", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/767617a047e5b8b8b3b0b6023a2650847ed7df02", + "reference": "767617a047e5b8b8b3b0b6023a2650847ed7df02", "shasum": "" }, "require": { @@ -1557,27 +1506,27 @@ "homepage": "http://github.com/kylekatarnls" } ], - "description": "A simple API extension for DateTime.", + "description": "A API extension for DateTime that supports 281 different languages.", "homepage": "http://carbon.nesbot.com", "keywords": [ "date", "datetime", "time" ], - "time": "2019-08-07T12:36:44+00:00" + "time": "2019-08-17T13:57:34+00:00" }, { "name": "nikic/php-parser", - "version": "v4.2.2", + "version": "v4.2.3", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "1bd73cc04c3843ad8d6b0bfc0956026a151fc420" + "reference": "e612609022e935f3d0337c1295176505b41188c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bd73cc04c3843ad8d6b0bfc0956026a151fc420", - "reference": "1bd73cc04c3843ad8d6b0bfc0956026a151fc420", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/e612609022e935f3d0337c1295176505b41188c8", + "reference": "e612609022e935f3d0337c1295176505b41188c8", "shasum": "" }, "require": { @@ -1585,7 +1534,7 @@ "php": ">=7.0" }, "require-dev": { - "phpunit/phpunit": "^6.5 || ^7.0" + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0" }, "bin": [ "bin/php-parse" @@ -1615,174 +1564,7 @@ "parser", "php" ], - "time": "2019-05-25T20:07:01+00:00" - }, - { - "name": "nuwave/lighthouse", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/nuwave/lighthouse.git", -<<<<<<< HEAD - "reference": "e0ec15573f9907a3d67321a87100448d91059631" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nuwave/lighthouse/zipball/e0ec15573f9907a3d67321a87100448d91059631", - "reference": "e0ec15573f9907a3d67321a87100448d91059631", -======= - "reference": "f7dde6641d5ba69db9d6ce239db7163ad288e4b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nuwave/lighthouse/zipball/f7dde6641d5ba69db9d6ce239db7163ad288e4b2", - "reference": "f7dde6641d5ba69db9d6ce239db7163ad288e4b2", ->>>>>>> dab2c0b5711e2d9fae5f7440da1580b4ea72b4a7 - "shasum": "" - }, - "require": { - "ext-json": "*", - "illuminate/contracts": "5.5.*|5.6.*|5.7.*|5.8.*", - "illuminate/http": "5.5.*|5.6.*|5.7.*|5.8.*", - "illuminate/pagination": "5.5.*|5.6.*|5.7.*|5.8.*", - "illuminate/routing": "5.5.*|5.6.*|5.7.*|5.8.*", - "illuminate/support": "5.5.*|5.6.*|5.7.*|5.8.*", - "illuminate/validation": "5.5.*|5.6.*|5.7.*|5.8.*", - "php": ">= 7.1", - "webonyx/graphql-php": "^0.13.2" - }, - "require-dev": { - "bensampo/laravel-enum": "^1.22", - "laravel/lumen-framework": "5.5.*|5.6.*|5.7.*|5.8.*", - "laravel/scout": "^4.0", - "mll-lab/graphql-php-scalars": "^2.1", - "mockery/mockery": "^1.0", - "orchestra/database": "3.5.*|3.6.*|3.7.*|3.8.*", - "orchestra/testbench": "3.5.*|3.6.*|3.7.*|3.8.*", - "phpbench/phpbench": "@dev", - "pusher/pusher-php-server": "^3.2" - }, - "suggest": { - "bensampo/laravel-enum": "Convenient enum definitions that can easily be registered in your Schema", - "laravel/scout": "Required for the @search directive", - "mll-lab/graphql-php-scalars": "Useful scalar types, required for @whereConstraints", - "mll-lab/laravel-graphql-playground": "GraphQL IDE for better development workflow - integrated with Laravel" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Nuwave\\Lighthouse\\LighthouseServiceProvider" - ], - "aliases": { - "graphql": "Nuwave\\Lighthouse\\GraphQL" - } - } - }, - "autoload": { - "psr-4": { - "Nuwave\\Lighthouse\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christopher Moore", - "email": "chris@nuwavecommerce.com", - "homepage": "https://www.nuwavecommerce.com" - }, - { - "name": "Benedikt Franke", - "email": "benedikt@franke.tech", - "homepage": "https://franke.tech" - } - ], - "description": "Lighthouse is a schema first GraphQL package for Laravel applications.", - "homepage": "https://lighthouse-php.com", - "keywords": [ - "api", - "graphql", - "laravel", - "laravel-graphql" - ], -<<<<<<< HEAD - "time": "2019-08-07T12:17:50+00:00" -======= - "time": "2019-08-08T15:18:05+00:00" ->>>>>>> dab2c0b5711e2d9fae5f7440da1580b4ea72b4a7 - }, - { - "name": "nwidart/laravel-modules", - "version": "4.1.0", - "source": { - "type": "git", - "url": "https://github.com/nWidart/laravel-modules.git", - "reference": "0efd81aef05419a9d032e5bbd7859dd8a67cb7e3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nWidart/laravel-modules/zipball/0efd81aef05419a9d032e5bbd7859dd8a67cb7e3", - "reference": "0efd81aef05419a9d032e5bbd7859dd8a67cb7e3", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.7", - "laravel/framework": "5.7.*", - "mockery/mockery": "~1.0", - "orchestra/testbench": "^3.7", - "phpstan/phpstan": "^0.9.2", - "phpunit/phpunit": "~7.3", - "spatie/phpunit-snapshot-assertions": "^1.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Nwidart\\Modules\\LaravelModulesServiceProvider" - ], - "aliases": { - "Module": "Nwidart\\Modules\\Facades\\Module" - } - }, - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "psr-4": { - "Nwidart\\Modules\\": "src" - }, - "files": [ - "src/helpers.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Widart", - "email": "n.widart@gmail.com", - "homepage": "https://nicolaswidart.com", - "role": "Developer" - } - ], - "description": "Laravel Module management", - "keywords": [ - "laravel", - "module", - "modules", - "nwidart", - "rad" - ], - "time": "2019-03-04T09:50:46+00:00" + "time": "2019-08-12T20:17:41+00:00" }, { "name": "opis/closure", @@ -4010,65 +3792,14 @@ ], "time": "2019-06-15T22:40:20+00:00" }, - { - "name": "webonyx/graphql-php", - "version": "v0.13.6", - "source": { - "type": "git", - "url": "https://github.com/webonyx/graphql-php.git", - "reference": "123af49e46d26b0cd2e7a71a387253aa01ea9a6b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/123af49e46d26b0cd2e7a71a387253aa01ea9a6b", - "reference": "123af49e46d26b0cd2e7a71a387253aa01ea9a6b", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-mbstring": "*", - "php": "^7.1||^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpbench/phpbench": "^0.14.0", - "phpstan/phpstan": "^0.11.4", - "phpstan/phpstan-phpunit": "^0.11.0", - "phpstan/phpstan-strict-rules": "^0.11.0", - "phpunit/phpcov": "^5.0", - "phpunit/phpunit": "^7.2", - "psr/http-message": "^1.0", - "react/promise": "2.*" - }, - "suggest": { - "psr/http-message": "To use standard GraphQL server", - "react/promise": "To leverage async resolving on React PHP platform" - }, - "type": "library", - "autoload": { - "psr-4": { - "GraphQL\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A PHP port of GraphQL reference implementation", - "homepage": "https://github.com/webonyx/graphql-php", - "keywords": [ - "api", - "graphql" - ], - "time": "2019-08-07T08:16:55+00:00" - }, { "name": "wm/common", "version": "dev-master", "dist": { "type": "path", "url": "./modules/wm-common", - "reference": "fa8225030b6ba1b6cb94bd959eb0ccdb224b726b" + "reference": "6c182b87de234466a6950ac24cc9afaca524c570", + "shasum": null }, "require": { "illuminate/support": "5.8.*", @@ -4108,7 +3839,8 @@ "dist": { "type": "path", "url": "./modules/wm-core", - "reference": "eb939430ebb1bc7f2322b4d70383ebe8f7432e0c" + "reference": "a9dcd537a7f3d2bb8b86e7c6a144bd0c4e8d10c9", + "shasum": null }, "require": { "illuminate/support": "^5.4", @@ -4152,7 +3884,8 @@ "dist": { "type": "path", "url": "./modules/wm-crm", - "reference": "a2324a5ec62209ba4f6680b1036a1ed989634ab2" + "reference": "234a0d2b3ccb4aad7cb9d0c7981705c2e70ec2d0", + "shasum": null }, "require": { "illuminate/support": "5.8.*", @@ -4193,7 +3926,8 @@ "dist": { "type": "path", "url": "./modules/wm-reservation", - "reference": "efc73be821c7a1027caa8095c21121325182627a" + "reference": "032d8c064ee8038661df316a995f908dccbe9ede", + "shasum": null }, "require": { "illuminate/support": "5.8.*", @@ -4297,22 +4031,22 @@ "packages-dev": [ { "name": "beyondcode/laravel-dump-server", - "version": "1.2.2", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/beyondcode/laravel-dump-server.git", - "reference": "8864b9efcb48e0a79e83014dd7f0a5481f5c808f" + "reference": "fcc88fa66895f8c1ff83f6145a5eff5fa2a0739a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beyondcode/laravel-dump-server/zipball/8864b9efcb48e0a79e83014dd7f0a5481f5c808f", - "reference": "8864b9efcb48e0a79e83014dd7f0a5481f5c808f", + "url": "https://api.github.com/repos/beyondcode/laravel-dump-server/zipball/fcc88fa66895f8c1ff83f6145a5eff5fa2a0739a", + "reference": "fcc88fa66895f8c1ff83f6145a5eff5fa2a0739a", "shasum": "" }, "require": { - "illuminate/console": "5.6.*|5.7.*|5.8.*", - "illuminate/http": "5.6.*|5.7.*|5.8.*", - "illuminate/support": "5.6.*|5.7.*|5.8.*", + "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0", + "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0", + "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0", "php": "^7.1", "symfony/var-dumper": "^4.1.1" }, @@ -4343,9 +4077,9 @@ "authors": [ { "name": "Marcel Pociot", + "role": "Developer", "email": "marcel@beyondco.de", - "homepage": "https://beyondcode.de", - "role": "Developer" + "homepage": "https://beyondco.de" } ], "description": "Symfony Var-Dump Server for Laravel", @@ -4354,7 +4088,7 @@ "beyondcode", "laravel-dump-server" ], - "time": "2018-10-04T07:22:24+00:00" + "time": "2019-08-11T13:17:40+00:00" }, { "name": "doctrine/instantiator", @@ -4638,16 +4372,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.9.1", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72" + "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72", - "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/007c053ae6f31bba39dfa19a7726f56e9763bbea", + "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea", "shasum": "" }, "require": { @@ -4682,7 +4416,7 @@ "object", "object graph" ], - "time": "2019-04-07T13:18:21+00:00" + "time": "2019-08-09T12:45:53+00:00" }, { "name": "nunomaduro/collision", @@ -5319,16 +5053,16 @@ }, { "name": "phpunit/phpunit", - "version": "7.5.14", + "version": "7.5.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "2834789aeb9ac182ad69bfdf9ae91856a59945ff" + "reference": "d79c053d972856b8b941bb233e39dc521a5093f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2834789aeb9ac182ad69bfdf9ae91856a59945ff", - "reference": "2834789aeb9ac182ad69bfdf9ae91856a59945ff", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d79c053d972856b8b941bb233e39dc521a5093f0", + "reference": "d79c053d972856b8b941bb233e39dc521a5093f0", "shasum": "" }, "require": { @@ -5388,8 +5122,8 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "role": "lead", + "email": "sebastian@phpunit.de" } ], "description": "The PHP Unit Testing framework.", @@ -5399,7 +5133,7 @@ "testing", "xunit" ], - "time": "2019-07-15T06:24:08+00:00" + "time": "2019-08-21T07:05:16+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -5621,16 +5355,16 @@ }, { "name": "sebastian/exporter", - "version": "3.1.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "234199f4528de6d12aaa58b612e98f7d36adb937" + "reference": "06a9a5947f47b3029d76118eb5c22802e5869687" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937", - "reference": "234199f4528de6d12aaa58b612e98f7d36adb937", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/06a9a5947f47b3029d76118eb5c22802e5869687", + "reference": "06a9a5947f47b3029d76118eb5c22802e5869687", "shasum": "" }, "require": { @@ -5657,6 +5391,10 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, { "name": "Jeff Welch", "email": "whatthejeff@gmail.com" @@ -5665,17 +5403,13 @@ "name": "Volker Dusch", "email": "github@wallbash.com" }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, { "name": "Adam Harvey", "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], "description": "Provides the functionality to export PHP variables for visualization", @@ -5684,7 +5418,7 @@ "export", "exporter" ], - "time": "2017-04-03T13:19:02+00:00" + "time": "2019-08-11T12:43:14+00:00" }, { "name": "sebastian/global-state", @@ -6009,16 +5743,16 @@ }, { "name": "webmozart/assert", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9" + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9", - "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9", + "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4", + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4", "shasum": "" }, "require": { @@ -6026,8 +5760,7 @@ "symfony/polyfill-ctype": "^1.8" }, "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", "extra": { @@ -6056,13 +5789,12 @@ "check", "validate" ], - "time": "2018-12-25T11:19:39+00:00" + "time": "2019-08-24T08:43:50+00:00" } ], "aliases": [], "minimum-stability": "dev", "stability-flags": { - "nuwave/lighthouse": 20, "wm/common": 20, "wm/crm": 20, "wm/reservation": 20 diff --git a/config/lighthouse.php b/config/lighthouse.php deleted file mode 100644 index 97dc651..0000000 --- a/config/lighthouse.php +++ /dev/null @@ -1,278 +0,0 @@ - 'graphql', - - /* - |-------------------------------------------------------------------------- - | Enable GET Requests - |-------------------------------------------------------------------------- - | - | This setting controls if GET requests to the GraphQL endpoint are allowed. - | - */ - - 'route_enable_get' => true, - - /* - |-------------------------------------------------------------------------- - | Route Configuration - |-------------------------------------------------------------------------- - | - | Additional configuration for the route group https://lumen.laravel.com/docs/routing#route-groups - | - | Beware that middleware defined here runs before the GraphQL execution phase. - | This means that errors will cause the whole query to abort and return a - | response that is not spec-compliant. It is preferable to use directives - | to add middleware to single fields in the schema. - | Read more https://lighthouse-php.com/docs/auth.html#apply-auth-middleware - | - */ - - 'route' => [ - 'prefix' => '', - 'middleware' => [ - \Nuwave\Lighthouse\Support\Http\Middleware\AcceptJson::class, - ], - ], - - /* - |-------------------------------------------------------------------------- - | Schema Declaration - |-------------------------------------------------------------------------- - | - | This is a path that points to where your GraphQL schema is located - | relative to the app path. You should define your entire GraphQL - | schema in this file (additional files may be imported). - | - */ - - 'schema' => [ - 'register' => base_path('graphql/schema.graphql'), - ], - - /* - |-------------------------------------------------------------------------- - | Schema Cache - |-------------------------------------------------------------------------- - | - | A large part of schema generation is parsing the schema into an AST. - | This operation is pretty expensive so it is recommended to enable - | caching in production mode, especially for large schemas. - | - */ - - 'cache' => [ - 'enable' => env('LIGHTHOUSE_CACHE_ENABLE', false), - 'key' => env('LIGHTHOUSE_CACHE_KEY', 'lighthouse-schema'), - 'ttl' => env('LIGHTHOUSE_CACHE_TTL', null), - ], - - /* - |-------------------------------------------------------------------------- - | Namespaces - |-------------------------------------------------------------------------- - | - | These are the default namespaces where Lighthouse looks for classes - | that extend functionality of the schema. You may pass either a string - | or an array, they are tried in order and the first match is used. - | - */ - - 'namespaces' => [ - 'models' => ['App', 'App\\Models'], - 'queries' => 'App\\GraphQL\\Queries', - 'mutations' => 'App\\GraphQL\\Mutations', - 'subscriptions' => 'App\\GraphQL\\Subscriptions', - 'interfaces' => 'App\\GraphQL\\Interfaces', - 'unions' => 'App\\GraphQL\\Unions', - 'scalars' => 'App\\GraphQL\\Scalars', - 'directives' => ['WM\\Core\\GraphQL\\Directives', 'WM\\CRM\\GraphQL\\Directives'], - ], - - /* - |-------------------------------------------------------------------------- - | Security - |-------------------------------------------------------------------------- - | - | Control how Lighthouse handles security related query validation. - | This configures the options from http://webonyx.github.io/graphql-php/security/ - | A setting of "0" means that the validation rule is disabled. - | - */ - - 'security' => [ - 'max_query_complexity' => 0, - 'max_query_depth' => 0, - 'disable_introspection' => \GraphQL\Validator\Rules\DisableIntrospection::DISABLED, - ], - - /* - |-------------------------------------------------------------------------- - | Pagination - |-------------------------------------------------------------------------- - | - | Limits the maximum "count" that users may pass as an argument - | to fields that are paginated with the @paginate directive. - | A setting of "null" means the count is unrestricted. - | - */ - - 'paginate_max_count' => 48, - - /* - |-------------------------------------------------------------------------- - | Pagination Amount Argument - |-------------------------------------------------------------------------- - | - | Set the name to use for the generated argument on paginated fields - | that controls how many results are returned. - | This will default to "first" in v4. - | - */ - - 'pagination_amount_argument' => 'count', - - /* - |-------------------------------------------------------------------------- - | Debug - |-------------------------------------------------------------------------- - | - | Control the debug level as described in http://webonyx.github.io/graphql-php/error-handling/ - | Debugging is only applied if the global Laravel debug config is set to true. - | - */ - - 'debug' => \GraphQL\Error\Debug::INCLUDE_DEBUG_MESSAGE | \GraphQL\Error\Debug::INCLUDE_TRACE, - - /* - |-------------------------------------------------------------------------- - | Error Handlers - |-------------------------------------------------------------------------- - | - | Register error handlers that receive the Errors that occur during execution - | and handle them. You may use this to log, filter or format the errors. - | The classes must implement \Nuwave\Lighthouse\Execution\ErrorHandler - | - */ - - 'error_handlers' => [ - \Nuwave\Lighthouse\Execution\ExtensionErrorHandler::class, - ], - - /* - |-------------------------------------------------------------------------- - | DEPRECATED GraphQL Controller - |-------------------------------------------------------------------------- - | - | Specify which controller (and method) you want to handle GraphQL requests. - | This option will be removed in v4. - | - */ - - 'controller' => \Nuwave\Lighthouse\Support\Http\Controllers\GraphQLController::class.'@query', - - /* - |-------------------------------------------------------------------------- - | Global ID - |-------------------------------------------------------------------------- - | - | The name that is used for the global id field on the Node interface. - | When creating a Relay compliant server, this must be named "id". - | - */ - - 'global_id_field' => 'id', - - /* - |-------------------------------------------------------------------------- - | Batched Queries - |-------------------------------------------------------------------------- - | - | GraphQL query batching means sending multiple queries to the server in one request, - | You may set this flag to either process or deny batched queries. - | - */ - - 'batched_queries' => true, - - /* - |-------------------------------------------------------------------------- - | Transactional Mutations - |-------------------------------------------------------------------------- - | - | Sets default setting for transactional mutations. - | You may set this flag to have @create|@update mutations transactional or not. - | - */ - - 'transactional_mutations' => true, - - /* - |-------------------------------------------------------------------------- - | New Between Directives - |-------------------------------------------------------------------------- - | - | Use the new @whereBetween and @whereBetween directives that will - | replace their current implementation in v4 by setting this to true. - | As the old versions are removed, this will not have an effect anymore. - | - */ - - 'new_between_directives' => false, - - /* - |-------------------------------------------------------------------------- - | GraphQL Subscriptions - |-------------------------------------------------------------------------- - | - | Here you can define GraphQL subscription "broadcasters" and "storage" drivers - | as well their required configuration options. - | - */ - - 'subscriptions' => [ - /* - * Determines if broadcasts should be queued by default. - */ - 'queue_broadcasts' => env('LIGHTHOUSE_QUEUE_BROADCASTS', true), - - /* - * Default subscription storage. - * - * Any Laravel supported cache driver options are available here. - */ - 'storage' => env('LIGHTHOUSE_SUBSCRIPTION_STORAGE', 'redis'), - - /* - * Default subscription broadcaster. - */ - 'broadcaster' => env('LIGHTHOUSE_BROADCASTER', 'pusher'), - - /* - * Subscription broadcasting drivers with config options. - */ - 'broadcasters' => [ - 'log' => [ - 'driver' => 'log', - ], - 'pusher' => [ - 'driver' => 'pusher', - 'routes' => \Nuwave\Lighthouse\Subscriptions\SubscriptionRouter::class.'@pusher', - 'connection' => 'pusher', - ], - ], - ], - -]; diff --git a/graphql/schema.graphql b/graphql/schema.graphql deleted file mode 100644 index ed0b051..0000000 --- a/graphql/schema.graphql +++ /dev/null @@ -1,19 +0,0 @@ -"A datetime string with format `Y-m-d H:i:s`, e.g. `2018-01-01 13:00:00`." -scalar DateTime @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\DateTime") - -"A date string with format `Y-m-d`, e.g. `2011-05-23`." -scalar Date @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\Date") - -input DateRange { - from: Date! - to: Date! -} - -type Mutation -type Query - - -#import ../modules/wm-crm/graphql/CRM.graphql -#import ../modules/wm-core/graphql/Core.graphql -#import ../modules/wm-common/graphql/Common.graphql -