import { DraftToArticleResolver } from 'definitions' ; const resolver = ( { id } , _ , { dataSources : { atomService } } ) => { return atomService . findFirst ( { table : 'article' , where : { draftId : id } } ) ; } ; export default resolver ;