import { Item , OneItem , PartialItem , QueryOne } from './items' ; /**
 * CRUD at its finest
 */ export interface ISingleton < T extends Item > { read ( query ? ) : Promise < OneItem < T > > ; update ( item , query ? ) : Promise < OneItem < T > > ; }