()
| 19 | fetch(resource, init).then(res => res.json()) |
| 20 | |
| 21 | async function getLaunchpadsStats() { |
| 22 | const res = await fetch(LaunchpadsStatsUrl) |
| 23 | const data = await res.json() |
| 24 | return ( |
| 25 | data?.launchpads.map((t: LaunchpadsInfo) => ({ |
| 26 | ...t, |
| 27 | id: t.launchpad.replaceAll(".", "_").replaceAll("-", "_"), |
| 28 | })) || [] |
| 29 | ) |
| 30 | } |
| 31 | |
| 32 | async function getLaunchpadDetail(url: string) { |
| 33 | const res = await fetch(url) |
nothing calls this directly
no outgoing calls
no test coverage detected