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
vue.runtime.esm.js?5593:619 [Vue warn]: Error in v-on handler: "TypeError: target.once is not a function" | |
found in | |
---> <QBtn> | |
<PouchDBExample> | |
<QPageContainer> | |
<QLayout> | |
<StorybookLayout> at src/layouts/Storybook.vue | |
<App> at src/App.vue |
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
<?php | |
declare(strict_types=1); | |
namespace App\Listener\JsonApi; | |
use Cake\ORM\Entity; | |
use Cake\Utility\Hash; | |
use Cake\Utility\Inflector; | |
use Cake\Validation\Validation; | |
use Crud\Error\Exception\CrudException; |
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
<?php | |
declare(strict_types=1); | |
namespace App\Listener; | |
use Cake\Core\Configure; | |
use Cake\Datasource\EntityInterface; | |
use Cake\Datasource\RepositoryInterface; | |
use Cake\Datasource\ResultSetDecorator; | |
use Cake\Datasource\ResultSetInterface; |
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
<?php | |
declare(strict_types=1); | |
namespace App\Crud\Action; | |
use Cake\Http\Response; | |
use Crud\Error\Exception\ValidationException; | |
use Crud\Event\Subject; | |
use Crud\Traits\FindMethodTrait; | |
use Crud\Traits\RedirectTrait; |
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
<?php | |
namespace App\Traits; | |
use Cake\Utility\Inflector; | |
use Cake\Utility\Hash; | |
trait CrudJsonApiControllerTrait | |
{ | |
/** |
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
Router::prefix('api', function (RouteBuilder $routes) { | |
$routes->connect('/{controller}/{id}/relationships/{foreignTableName}', ['_method' => 'DELETE', 'action' => 'deleterelationships']); | |
$routes->connect('/{controller}/{id}/relationships/{foreignTableName}', ['_method' => 'PATCH', 'action' => 'updaterelationships']); | |
$routes->connect('/{controller}/{id}/relationships/{foreignTableName}', ['_method' => 'POST', 'action' => 'postrelationships']); | |
} |