SingleManagerPresentationProps Interface

Props for initializing the Presentation library with ability to use a single PresentationManager instance for handling all requests.

Extends

Inherited properties

Name Type Inherited from Description
caching undefined | PresentationManagerCachingConfig PresentationPropsBase Options for caching.
defaultFormats undefined | FormatsMap PresentationPropsBase A map of default unit formats to use for formatting properties that don't have a presentation format
defaultLocale undefined | string PresentationPropsBase Sets the active locale to use when localizing presentation-related
defaultUnitSystem undefined | UnitSystemKey PresentationPropsBase Sets the active unit system to use for formatting property values with
diagnostics undefined | BackendDiagnosticsOptions<any> PresentationPropsBase Parameters for gathering diagnostics at the manager level.
enableSchemasPreload undefined | boolean PresentationPropsBase Should schemas preloading be enabled.
getLocalizedString undefined | (key: string) => string PresentationPropsBase  
localeDirectories undefined | string[] PresentationPropsBase A list of directories containing application's locale-specific localized
mode undefined | PresentationManagerMode PresentationPropsBase Presentation manager working mode.
presentationAssetsRoot string | PresentationAssetsRootConfig PresentationPropsBase Path overrides for presentation backend assets.
requestTimeout undefined | number PresentationPropsBase Time in milliseconds after which the request will timeout.
rulesetDirectories undefined | string[] PresentationPropsBase A list of directories containing application's presentation rulesets.
supplementalRulesetDirectories undefined | string[] PresentationPropsBase A list of directories containing application's supplemental presentation rulesets.
updatesPollInterval undefined | number 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 undefined | number PresentationPropsBase A number of worker threads to use for handling presentation requests.

Defined in

Last Updated: 15 March, 2024