Get return type from api route? - Nuxt