| 28 | } |
| 29 | |
| 30 | interface IGoogleFontsResItem { |
| 31 | family: string; |
| 32 | variants: string[]; |
| 33 | subsets: string[]; |
| 34 | version: string; |
| 35 | lastModified: string; |
| 36 | files: { |
| 37 | [key: string]: string; |
| 38 | }; |
| 39 | category: string; |
| 40 | kind: "webfonts#webfont"; |
| 41 | } |
| 42 | |
| 43 | // build up fonts cache via google API... |
| 44 | export async function fetchGoogleFonts(): Promise<IFontItem[]> { |
nothing calls this directly
no outgoing calls
no test coverage detected