marketplace
namespace marketplaceFunctions
install(id: string): Promise<boolean>
Installs the newest version of a marketplace addon this client runs, with the plugins it depends on once the user agrees.
Returns
Whether the addon now runs that version.
refresh(): Promise<boolean>
Fetches the marketplace catalog if it changed. Concurrent calls share one request.
Returns
Whether the server could be reached.
search(query: CatalogQuery): MarketplaceListing[]
Lists the catalog's addons of one type that match a query.
Returns
The matching addons, or none while the catalog has not loaded.
Types
What marketplace.search filters the catalog by.
name sorts alphabetically, popular puts the most installed addons first, updated the most
recently published versions.
One addon the marketplace lists, at its newest version.