MultiManagerPresentationProps Interface

Props for initializing the Presentation library for using multiple PresentationManager instances, one for each frontend.

Extends

Properties

Name Type Description
unusedClientLifetime number | undefined How much time should an unused client manager be stored in memory  

Inherited properties

Name Type Inherited from Description
caching PresentationManagerCachingConfig | undefined PresentationPropsBase Options for caching.
defaultFormats FormatsMap | undefined PresentationPropsBase A map of default unit formats to use for formatting properties that don't have a presentation format
defaultLocale string | undefined PresentationPropsBase Sets the active locale to use when localizing presentation-related
defaultUnitSystem UnitSystemKey | undefined PresentationPropsBase Sets the active unit system to use for formatting property values with
diagnostics BackendDiagnosticsOptions<any> | undefined PresentationPropsBase Parameters for gathering diagnostics at the manager level.
enableSchemasPreload boolean | undefined PresentationPropsBase Should schemas preloading be enabled.
getLocalizedString (key: string) => string | undefined PresentationPropsBase Localization function to localize data returned by presentation manager when it's used directly on the backend (as opposed to when used through RPC, where
localeDirectories string[] | undefined PresentationPropsBase A list of directories containing application's locale-specific localized
mode PresentationManagerMode | undefined PresentationPropsBase Presentation manager working mode.
presentationAssetsRoot string | PresentationAssetsRootConfig PresentationPropsBase Path overrides for presentation backend assets.
requestTimeout number | undefined PresentationPropsBase Time in milliseconds after which the request will timeout.
rulesetDirectories string[] | undefined PresentationPropsBase A list of directories containing application's presentation rulesets.
supplementalRulesetDirectories string[] | undefined PresentationPropsBase A list of directories containing application's supplemental presentation rulesets.
updatesPollInterval number | undefined PresentationPropsBase The interval (in milliseconds) used to poll for presentation data changes.
useMmap number | boolean PresentationPropsBase Use SQLite's Memory-Mapped I/O for worker connections.
workerThreadsCount number | undefined PresentationPropsBase A number of worker threads to use for handling presentation requests.

Defined in

Last Updated: 13 May, 2024