import { IXPasswordBundleConfig } from "../defs" ; function query ( type , queryLine , others = "" ) { return ( type += "\n type Query {\n" + queryLine + "\n }\n" + others + "\n" ) ; } export default ( config ) => { const { graphql : { queries } , } = config ; let output = "" ; if ( queries . me ) { output = query ( output , `me: User!` ) ; } return output ; } ;