import { schema } from 'nexus' ; export const User = schema . objectType ( { name : 'User' , definition ( t ) { t . model . id ( ) ; t . model . name ( ) ; t . model . email ( ) ; t . model . posts ( { pagination : false } ) ; } , } ) ;