export default {
  spaces: {
    add: ({ data }) => ({
      name: 'GroupPage',
      params: { slug: data.slug[0] }
    }),
    delete: () => ({
      name: 'GroupsPage'
    })
  },
  suppliesCategories: {
    add: () => ({
      name: 'OrderFormPage'
    }),
    delete: () => ({
      name: 'OrderFormPage'
    })
  },
  supplies: {
    add: () => ({
      name: 'OrderFormPage'
    }),
    delete: () => ({
      name: 'OrderFormPage'
    })
  },
  dishes_orders: {
    add: () => ({
      name: 'RestaurantOrdersPage'
    }),
    delete: () => ({
      name: 'RestaurantsPage'
    })
  },
  dishes_categories: {
    add: () => ({
      name: 'RestaurantsPage'
    }),
    delete: () => ({
      name: 'RestaurantsPage'
    })
  },
  dishes: {
    add: () => ({
      name: 'RestaurantsPage'
    }),
    delete: () => ({
      name: 'RestaurantsPage'
    })
  },
  tools: {
    add: () => ({
      name: 'ToolsPage'
    }),
    delete: () => ({
      name: 'ToolsPage'
    })
  }
}
