(id: string)
| 11 | `https://api.fontsource.org/v1/variable/${id}`; |
| 12 | const AXIS_REGISTRY_URL = 'https://api.fontsource.org/v1/axis-registry'; |
| 13 | const STATS_URL = (id: string) => `https://api.fontsource.org/v1/stats/${id}`; |
| 14 | |
| 15 | const getMetadata = async (id: string): Promise<Metadata> => |
| 16 | await fetchApiData<Metadata>(METADATA_URL + id); |