import { api } from 'constants/config';

export const REQUEST_URL = {
  platform: {
    add: api.platformMaterialCategoryCreate,
    delete: api.platformMaterialCategoryDelete,
    update: api.platformMaterialCategoryUpdate,
    sort: api.platformMaterialCategorySort
  },
  tenant: {
    add: api.materialCategoryCreate,
    delete: api.materialCategoryDelete,
    update: api.materialCategoryUpdate,
    sort: api.materialCategorySort
  }
};

export const REQUEST_PARAM = {
  material: {
    type: 1
  },
  resource: {
    type: 2
  },
  modalLibrary: {
    type: 3
  }
};
