export const basic_roles = ['officer', 'company'];

export const library = [
  {
    code: 'home',
    name: 'Home',
    i18n: 'menu-home',
    icon: 'house',
    href: '/',
    parent: 'root',
    ranking: 1,
    public: true,
  },
  {
    code: 'companies',
    name: 'Companies',
    icon: 'folder',
    type: 'folder',
    parent: 'root',
  },
  {
    code: 'company-search',
    name: 'Search',
    i18n: 'menu-search',
    icon: 'search',
    href: '/companies',
    parent: 'companies',
    ranking: 1,
    public: true,
    role: [basic_roles],
  },
  {
    code: 'company-new',
    name: 'New Company',
    i18n: 'menu-new-company',
    icon: 'submit',
    href: '/companies/new',
    parent: 'companies',
    ranking: 2,
    public: false,
    role: ['company'],
  },
];
