(
/** @type {((arg0: string) => (void | Promise<void>))} */ fn,
)
| 198 | } |
| 199 | |
| 200 | async function forEachCatalogUrl( |
| 201 | /** @type {((arg0: string) => (void | Promise<void>))} */ fn, |
| 202 | ) { |
| 203 | for (const catalogEntry of Catalog.schemas) { |
| 204 | await fn(catalogEntry.url) |
| 205 | for (const url of Object.values(catalogEntry?.versions ?? {})) { |
| 206 | await fn(url) |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * @typedef {Object} ExtraParams |
no outgoing calls
no test coverage detected