SingleManagerPresentationProps Interface
Props for initializing the Presentation library with ability to use a single PresentationManager instance for handling all requests.
Extends
Inherited methods
| Name | Inherited from | Description |
|---|---|---|
| getLocalizedString(key: string): string Optional | PresentationPropsBase | Localization function when only backend is used. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| useSingleManager | undefined | boolean | Specifies to use single manager for all clients. |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| caching | undefined | PresentationManagerCachingConfig | PresentationPropsBase | Options for caching. |
| defaultFormats | undefined | { T } | 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. |
| 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: 20 June, 2023