This abstracts away the complexities of the AHQStore Plugin api
This constructor also handles the IPC communication and gives you a quick way to community via async wrappers
Use registerSearchFn, registerAppFetchFn, registerAppAssetFetchFn, registerAppVersionFetchFn to register handlers for the capability
Defines the metadata for your plugin
Performs an HTTP request like the fetch api
The maximum size of the body is 50MB
Please read the information at FetchOptions
the HTTPOutput data type
Gets the capabilities that your worker plugin is registered with
This requires you to get the plugin initialized
A list of capabilities
Gets the api version that AHQ Store Supports
This requires you to get the plugin initialized
API Version as number
Gets the state under the stateId specified
ID (file of the state)
The string data of the state
Gets the target api that the plugin is intended to work with.
API Version as number
Register a function and overrides the current function meant to provide application metadata
The fn itself
Register a function and overrides the current function meant to provide application metadata
The fn itself
Register a function and overrides the current function meant to provide application versions
The fn itself
Register the search function and overrides the current search function if present
You can only register it if you have Capability.AppInstallationSource
The search fn itself
Sets the state under the stateId specified
ID (file of the state)
Data of the state to update it with
The string data of the state
ExperimentalAdd your own custom handler to the OnMessage
StaticgetReturns the single instance of the Plugin. If the instance does not exist, it returns nothing.
The single Plugin instance.
This is the global instance of an
AHQStorePlugin