PresentationManagerProps Interface
Properties that can be used to configure PresentationManager
Properties
Name | Type | Description | |
---|---|---|---|
caching | PresentationManagerCachingConfig | undefined | Options for caching. | |
defaultFormats | FormatsMap | undefined | A map of default unit formats to use for formatting properties that don't have a presentation format | |
defaultLocale | string | undefined | Sets the active locale to use when localizing presentation-related | Deprecated |
defaultUnitSystem | UnitSystemKey | undefined | Sets the active unit system to use for formatting property values with | |
diagnostics | BackendDiagnosticsOptions<any> | undefined | Parameters for gathering diagnostics at the manager level. | |
enableSchemasPreload | boolean | undefined | Should schemas preloading be enabled. | Deprecated |
getLocalizedString | (key: string) => string | undefined | 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 | A list of directories containing application's locale-specific localized | Deprecated |
mode | PresentationManagerMode | undefined | Presentation manager working mode. | Deprecated |
presentationAssetsRoot | string | PresentationAssetsRootConfig | Path overrides for presentation backend assets. | Deprecated |
rulesetDirectories | string[] | undefined | A list of directories containing application's presentation rulesets. | |
schemaContextProvider | (imodel: IModelDb) => SchemaContext | undefined | Callback that provides SchemaContext for supplied IModelDb. | |
supplementalRulesetDirectories | string[] | undefined | A list of directories containing application's supplemental presentation rulesets. | |
updatesPollInterval | number | undefined | The interval (in milliseconds) used to poll for presentation data changes. | Deprecated |
useMmap | number | boolean | Use SQLite's Memory-Mapped I/O for worker connections. | |
workerThreadsCount | number | undefined | A number of worker threads to use for handling presentation requests. |
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.