UNPKG

@itwin/presentation-components

Version:

React components based on iTwin.js Presentation library

32 lines 853 B
/** @packageDocumentation * @module Core */ import "./DisposePolyfill.js"; import { IModelConnection } from "@itwin/core-frontend"; /** * Interface for a presentation data provider * @public */ export interface IPresentationDataProvider { /** * [IModelConnection]($core-frontend) used by this data provider */ readonly imodel: IModelConnection; /** * Id of the ruleset used by this data provider */ readonly rulesetId: string; /** * Disposes the provider. * * Optional to avoid breaking the API. Will be made required when the deprecated * `dispose` is removed. */ [Symbol.dispose]?: () => void; /** * Disposes the provider. * @deprecated in 5.7. Use `[Symbol.dispose]` instead. */ dispose(): void; } //# sourceMappingURL=IPresentationDataProvider.d.ts.map