import { CmsEntry } from "~/types" ; export const commonFieldResolvers = ( ) => ( { id : ( entry ) => entry . id || null , createdBy : ( entry ) => entry . createdBy || null , ownedBy : ( entry ) => entry . ownedBy || null } ) ;