interface TeamMember { name: string login: string avatarUrl: string pronouns?: string location?: string websiteUrl?: string sponsorsListing?: string socialAccounts: Record } interface Module { stats: { downloads: number stars: number } contributors: { username: string }[] } export default defineCachedEventHandler(async () => { const team = await $fetch('https://api.nuxt.com/teams/ui') const { stats, contributors } = await $fetch('https://api.nuxt.com/modules/ui') return { team, stats, contributors } }, { maxAge: 60 * 60, // 1 hour shouldBypassCache: () => !!import.meta.dev, getKey: () => 'module' })