'bixo', /* * Package. */ 'package' => 'recomentation', /* * Modules. */ 'modules' => ['recomentation'], 'recomentation' => [ 'model' => [ 'model' => \Bixo\Recomentation\Models\Recomentation::class, 'table' => 'recomentations', 'presenter' => \Bixo\Recomentation\Repositories\Presenter\RecomentationPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'title', 'url', 'priority', 'type', 'assigned_id', 'photos', 'user_id', 'user_type', 'created_at', 'updated_at', ')', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'recomentation/recomentation', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Bixo', 'package' => 'Recomentation', 'module' => 'Recomentation', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Recomentation created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Recomentation completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Recomentation verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Recomentation approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Recomentation published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Recomentation unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Recomentation archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Recomentation deleted", 'status' => ['delete', 'archive'], ], ], ], ], ];