import { ExtraOptions, Routes } from '@angular/router';
import { StruttureComponent } from './strutture.component';

export const routerOptions: ExtraOptions = {
  anchorScrolling: 'enabled',
  scrollPositionRestoration: 'enabled',
  paramsInheritanceStrategy: 'always',
};

export const struttureRoutes: Routes = [
  {
    path: '',
    component: StruttureComponent,
    children: [],
    data: { expectedPrivileges: ['STRUTTURE'] },
  },
];
