import { IqserRoutes } from '@iqser/common-ui';
import { EntityInfoComponent } from './screens/entity-info/entity-info.component';
import { PendingChangesGuard } from '@guards/can-deactivate.guard';
import { DictionaryScreenComponent } from './screens/dictionary/dictionary-screen.component';

export default [
    { path: '', redirectTo: 'info', pathMatch: 'full' },
    {
        path: 'info',
        component: EntityInfoComponent,
        canDeactivate: [PendingChangesGuard],
    },
    {
        path: 'dictionary',
        component: DictionaryScreenComponent,
        canDeactivate: [PendingChangesGuard],
    },
    {
        path: 'false-positive',
        component: DictionaryScreenComponent,
        canDeactivate: [PendingChangesGuard],
    },
    {
        path: 'false-recommendations',
        component: DictionaryScreenComponent,
        canDeactivate: [PendingChangesGuard],
    },
] satisfies IqserRoutes;
