import { BUSINESS_SNAPSHOT as URL_PREFIX } from '@/config/url-prefix'

export default [
  {
    path: URL_PREFIX,
    component: () => import('@/elements/templates/screens/SidebarFluid'),
    name: 'BusinessSnapshot',
    redirect: { name: 'BusinessSnapshotReport' },
    meta: {
      dashboardMenu: {
        displayName: 'BusinessSnapshot.Title', // this is the sidebar title
        priority: 10,
        icon: 'sidebar-business-snapshot',
      },
      policy: {
        'business-snapshot': 'view',
      },
    },
    children: [
      {
        path: URL_PREFIX + '/view',
        component: () => import('@/app/business-snapshot/components/BusinessSnapshot'),
        name: 'BusinessSnapshotReport',
        meta: {
          title: 'BusinessSnapshot.Title',
        },
      },
    ],
  },
]
