tiny-api a tiny api library for generate api usage import {API} from 'tiny-api'; const api=API('role'); /* the shape of api is { create:(record,context)=>{}, remove:(record,context)=>{}, update:(id,record,context)=>{}, list:(page,size,condition,context)=>{}, } */