NavigationRoutes.ts 3.29 KB
export interface INavigationRoute {
  name: string
  displayName: string
  meta: { icon: string; category?: boolean }
  children?: INavigationRoute[]
}

export default {
  root: {
    name: '/',
    displayName: 'navigationRoutes.home',
  },
  routes: [
    {
      name: 'data-monitoring',
      displayName: 'menu.data-monitoring',
      meta: {
        icon: '',
        category: true,
      },
    },
    {
      name: 'dashboard',
      displayName: 'menu.dashboard',
      meta: {
        icon: 'vuestic-iconset-dashboard',
      },
    },
    {
      name: 'model-building',
      displayName: 'menu.model-building',
      meta: {
        icon: '',
        category: true,
      },
    },
    {
      name: 'maps',
      displayName: 'menu.maps',
      meta: {
        icon: 'place',
      },
    },
    {
      name: 'robots',
      displayName: 'menu.robots',
      meta: {
        icon: 'smart_toy',
      },
    },
    {
      name: 'action-configurations',
      displayName: 'menu.action-configurations',
      meta: {
        icon: 'settings_input_component',
      },
    },
    {
      name: 'task-templates',
      displayName: 'menu.task-templates',
      meta: {
        icon: 'assignment',
      },
    },
    {
      name: 'task-scheduling',
      displayName: 'menu.task-scheduling',
      meta: {
        icon: '',
        category: true,
      },
    },
    {
      name: 'robot-tasks',
      displayName: 'menu.robot-tasks',
      meta: {
        icon: 'task_alt',
      },
    },
    // {
    //   name: 'users',
    //   displayName: 'menu.users',
    //   meta: {
    //     icon: 'group',
    //   },
    // },
    // {
    //   name: 'projects',
    //   displayName: 'menu.projects',
    //   meta: {
    //     icon: 'folder_shared',
    //   },
    // },
    // {
    //   name: 'payments',
    //   displayName: 'menu.payments',
    //   meta: {
    //     icon: 'credit_card',
    //   },
    //   children: [
    //     {
    //       name: 'payment-methods',
    //       displayName: 'menu.payment-methods',
    //     },
    //     {
    //       name: 'pricing-plans',
    //       displayName: 'menu.pricing-plans',
    //     },
    //     {
    //       name: 'billing',
    //       displayName: 'menu.billing',
    //     },
    //   ],
    // },
    // {
    //   name: 'auth',
    //   displayName: 'menu.auth',
    //   meta: {
    //     icon: 'login',
    //   },
    //   children: [
    //     {
    //       name: 'login',
    //       displayName: 'menu.login',
    //     },
    //     {
    //       name: 'signup',
    //       displayName: 'menu.signup',
    //     },
    //     {
    //       name: 'recover-password',
    //       displayName: 'menu.recover-password',
    //     },
    //   ],
    // },

    // {
    //   name: 'faq',
    //   displayName: 'menu.faq',
    //   meta: {
    //     icon: 'quiz',
    //   },
    // },
    // {
    //   name: '404',
    //   displayName: 'menu.404',
    //   meta: {
    //     icon: 'vuestic-iconset-files',
    //   },
    // },
    // {
    //   name: 'preferences',
    //   displayName: 'menu.preferences',
    //   meta: {
    //     icon: 'manage_accounts',
    //   },
    // },
    // {
    //   name: 'settings',
    //   displayName: 'menu.settings',
    //   meta: {
    //     icon: 'settings',
    //   },
    // },
  ] as INavigationRoute[],
}