()
| 528 | let cachedProposals: import('@adcp/client').Proposal[] | null = null; |
| 529 | |
| 530 | function getCatalog(): CatalogProduct[] { |
| 531 | if (!cachedCatalog) cachedCatalog = buildCatalog(); |
| 532 | return cachedCatalog; |
| 533 | } |
| 534 | |
| 535 | function getProposals(): import('@adcp/client').Proposal[] { |
| 536 | if (!cachedProposals) cachedProposals = buildProposals(getCatalog()); |
no test coverage detected