This commit is contained in:
Marek Lenczewski
2026-03-30 23:08:24 +02:00
parent 2f96caaa23
commit 7b58e68ecb
31 changed files with 637 additions and 431 deletions

View File

@@ -4,23 +4,23 @@
return [
'_preview_error' => [['code', '_format'], ['_controller' => 'error_controller::preview', '_format' => 'html'], ['code' => '\\d+'], [['variable', '.', '[^/]++', '_format', true], ['variable', '/', '\\d+', 'code', true], ['text', '/_error']], [], [], []],
'api_categories_index' => [[], ['_controller' => 'App\\Controller\\Api\\CategoryController::index'], [], [['text', '/api/categories']], [], [], []],
'api_categories_show' => [['id'], ['_controller' => 'App\\Controller\\Api\\CategoryController::show'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/categories']], [], [], []],
'api_categories_create' => [[], ['_controller' => 'App\\Controller\\Api\\CategoryController::create'], [], [['text', '/api/categories']], [], [], []],
'api_categories_update' => [['id'], ['_controller' => 'App\\Controller\\Api\\CategoryController::update'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/categories']], [], [], []],
'api_categories_delete' => [['id'], ['_controller' => 'App\\Controller\\Api\\CategoryController::delete'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/categories']], [], [], []],
'api_tasks_show' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskController::show'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/tasks']], [], [], []],
'api_tasks_update' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskController::update'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/tasks']], [], [], []],
'api_tasks_delete' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskController::delete'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/tasks']], [], [], []],
'api_schemas_index' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::index'], [], [['text', '/api/schemas']], [], [], []],
'api_schemas_week' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::week'], [], [['text', '/api/schemas/week']], [], [], []],
'api_schemas_all' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::allSchemas'], [], [['text', '/api/schemas/all']], [], [], []],
'api_schemas_all_tasks' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::allTasks'], [], [['text', '/api/schemas/all-tasks']], [], [], []],
'api_schemas_show' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::show'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'api_schemas_create' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::create'], [], [['text', '/api/schemas']], [], [], []],
'api_schemas_update' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::update'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'api_schemas_delete' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::delete'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'api_schemas_toggle' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::toggle'], [], [['text', '/toggle'], ['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'categories.index' => [[], ['_controller' => 'App\\Controller\\Api\\CategoryController::index'], [], [['text', '/api/categories']], [], [], []],
'categories.show' => [['id'], ['_controller' => 'App\\Controller\\Api\\CategoryController::show'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/categories']], [], [], []],
'categories.create' => [[], ['_controller' => 'App\\Controller\\Api\\CategoryController::create'], [], [['text', '/api/categories']], [], [], []],
'categories.update' => [['id'], ['_controller' => 'App\\Controller\\Api\\CategoryController::update'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/categories']], [], [], []],
'categories.delete' => [['id'], ['_controller' => 'App\\Controller\\Api\\CategoryController::delete'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/categories']], [], [], []],
'tasks.show' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskController::show'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/tasks']], [], [], []],
'tasks.update' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskController::update'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/tasks']], [], [], []],
'tasks.delete' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskController::delete'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/tasks']], [], [], []],
'schemas.index' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::index'], [], [['text', '/api/schemas']], [], [], []],
'schemas.week' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::week'], [], [['text', '/api/schemas/week']], [], [], []],
'schemas.all' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::allSchemas'], [], [['text', '/api/schemas/all']], [], [], []],
'schemas.allTasks' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::allTasks'], [], [['text', '/api/schemas/all-tasks']], [], [], []],
'schemas.show' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::show'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'schemas.create' => [[], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::create'], [], [['text', '/api/schemas']], [], [], []],
'schemas.update' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::update'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'schemas.delete' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::delete'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'schemas.toggle' => [['id'], ['_controller' => 'App\\Controller\\Api\\TaskSchemaController::toggle'], [], [['text', '/toggle'], ['variable', '/', '[^/]++', 'id', true], ['text', '/api/schemas']], [], [], []],
'App\Controller\Api\CategoryController::index' => [[], ['_controller' => 'App\\Controller\\Api\\CategoryController::index'], [], [['text', '/api/categories']], [], [], []],
'App\Controller\Api\CategoryController::show' => [['id'], ['_controller' => 'App\\Controller\\Api\\CategoryController::show'], [], [['variable', '/', '[^/]++', 'id', true], ['text', '/api/categories']], [], [], []],
'App\Controller\Api\CategoryController::create' => [[], ['_controller' => 'App\\Controller\\Api\\CategoryController::create'], [], [['text', '/api/categories']], [], [], []],