feat: implementar Modo Smart touch-first com comutador bidirecional sem logout
This commit is contained in:
@@ -4,7 +4,7 @@ import { ComponentType, lazy } from 'react';
|
||||
// Definição de tipos para o sistema de rotas
|
||||
// ============================================================================
|
||||
|
||||
export type RouteGuard = 'public' | 'protected' | 'admin' | 'resource';
|
||||
export type RouteGuard = 'public' | 'protected' | 'admin' | 'resource' | 'smart';
|
||||
|
||||
export interface RouteDefinition {
|
||||
path: string;
|
||||
@@ -292,4 +292,11 @@ export const routeConfig: RouteDefinition[] = [
|
||||
component: () => import('@/pages/PrioridadesFabricacao'),
|
||||
guard: 'protected',
|
||||
},
|
||||
|
||||
// ── Modo Smart (Chão de Fábrica Touch-First) ──────────────
|
||||
{
|
||||
path: '/smart',
|
||||
component: () => import('@/pages/ModoSmart'),
|
||||
guard: 'smart',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user