const TYPE_TO_ACTION = {
    hasMany: 'list?pageSize=9999',
    belongsTo: 'get',
    hasOne: 'get',
    belongsToMany: 'list?pageSize=9999'
};
const getAction = (type)=>TYPE_TO_ACTION[type];
export { getAction };
