feat: add i18n with type safety

This commit is contained in:
Sonny
2024-04-30 00:36:13 +02:00
committed by Sonny
parent 31f22d382e
commit 2cc490b611
32 changed files with 706 additions and 30 deletions

View File

@@ -15,9 +15,9 @@ router.get('/auth/callback', [UsersController, 'callbackAuth']);
router
.group(() => {
router.get(PATHS.AUTH.LOGOUT, [UsersController, 'logout']);
router.get(PATHS.APP, [CollectionsController, 'index']);
router.get(PATHS.DASHBOARD, [CollectionsController, 'index']);
router.get('/collections/create', [
router.get(PATHS.COLLECTION.CREATE, [
CollectionsController,
'showCreatePage',
]);