'nico', /* * Package. */ 'package' => 'nico', /* * Modules. */ 'modules' => ['associations', 'bureau', 'commune', 'discipline'], 'image' => [ 'sm' => [ 'width' => '140', 'height' => '140', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], 'md' => [ 'width' => '370', 'height' => '420', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], 'lg' => [ 'width' => '780', 'height' => '497', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], 'xl' => [ 'width' => '800', 'height' => '530', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], ], 'associations' => [ 'model' => 'Nico\Nico\Models\Associations', 'table' => 'associations', 'presenter' => \Nico\Nico\Repositories\Presenter\AssociationsItemPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at'], 'appends' => [], 'fillable' => ['user_id', 'name', 'logo', 'category', 'activity', 'address', 'email', 'phone', 'commune_id'], 'translate' => ['name', 'logo', 'category', 'activity', 'address', 'email', 'phone', 'commune_id'], 'upload_folder' => 'nico/associations', 'uploads' => [ 'single' => [], 'multiple' => [], ], 'casts' => [ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ], /* 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Associations created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Associations completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Associations verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Associations approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Associations published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Associations unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Associations archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Associations deleted", 'status' => ['delete', 'archive'], ], ], ], */ ], 'bureau' => [ 'model' => 'Nico\Nico\Models\Bureau', 'table' => 'bureaus', 'presenter' => \Nico\Nico\Repositories\Presenter\BureauItemPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at'], 'appends' => [], 'fillable' => ['user_id', 'numero', 'date_debut', 'date_fin', 'association_id'], 'translate' => ['numero', 'date_debut', 'date_fin', 'association_id'], 'upload_folder' => 'nico/bureau', 'uploads' => [ 'single' => [], 'multiple' => [], ], 'casts' => [ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ], /* 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Bureau created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Bureau completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Bureau verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Bureau approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Bureau published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Bureau unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Bureau archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Bureau deleted", 'status' => ['delete', 'archive'], ], ], ], */ ], 'commune' => [ 'model' => 'Nico\Nico\Models\Commune', 'table' => 'communes', 'presenter' => \Nico\Nico\Repositories\Presenter\CommuneItemPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at'], 'appends' => [], 'fillable' => ['user_id', 'name', 'slug'], 'translate' => ['name', 'slug'], 'upload_folder' => 'nico/commune', 'uploads' => [ 'single' => [], 'multiple' => [], ], 'casts' => [ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ], /* 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Commune created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Commune completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Commune verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Commune approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Commune published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Commune unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Commune archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Commune deleted", 'status' => ['delete', 'archive'], ], ], ], */ ], 'discipline' => [ 'model' => 'Nico\Nico\Models\Discipline', 'table' => 'disciplines', 'presenter' => \Nico\Nico\Repositories\Presenter\DisciplineItemPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at'], 'appends' => [], 'fillable' => ['user_id', 'name'], 'translate' => ['name'], 'upload_folder' => 'nico/discipline', 'uploads' => [ 'single' => [], 'multiple' => [], ], 'casts' => [ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ], /* 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Discipline created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Discipline completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Discipline verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Discipline approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Discipline published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Discipline unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Discipline archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Discipline deleted", 'status' => ['delete', 'archive'], ], ], ], */ ], ];