Const
Service that allows extensions to send and receive data to/from other extensions
Prompt the user for responses with dialogs
This is just an alias for internet.fetch
Service that provides a way to call fetch
since the original function is not available
Service that allows to get and store localizations
All extensions and services should use this logger to provide a unified output of logs
Service that allows to get and store menu data
Service that provides a way to send and receive network events
Service that gets project data providers
Provides metadata for projects known by the platform
Note: this service runs locally everywhere in the TypeScript processes. It is also exposed on the PAPI websocket. Note these functions are all asynchronous on the PAPI websocket regardless of if their types are synchronous locally.
React hooks that enable interacting with the papi
in React components more easily.
Provides functions related to scroll groups and Scripture references at those scroll groups
This wraps the browser's WebSocket implementation to provide better control over internet access. It is isomorphic with the standard WebSocket, so it should act as a drop-in replacement.
Note that the Node WebSocket implementation is different and not wrapped here.
Service exposing various functions related to using webViews
WebViews are iframes in the Platform.Bible UI into which extensions load frontend code, either HTML or React components.
This wraps the browser's XMLHttpRequest implementation to provide better control over internet access. It is isomorphic with the standard XMLHttpRequest, so it should act as a drop-in replacement.
Note that Node doesn't have a native implementation, so this is only for the renderer.
The command service allows you to exchange messages with other components in the platform. You can register a command that other services and extensions can send you. You can send commands to other services and extensions that have registered commands.