Interface: DataSource
@cognite/reveal/extensions/datasource.DataSource
Describes how Reveal data is stored, and provides means to create custom storage providers that Reveal will fetch data from.
Methods
getModelDataProvider
▸ getModelDataProvider(): ModelDataProvider
Gets a client that is able to download geometry and other files for models.
Returns
Defined in
packages/data-source/src/DataSource.ts:28
getModelMetadataProvider
▸ getModelMetadataProvider(): ModelMetadataProvider
Gets a metadata provider for models.
Returns
Defined in
packages/data-source/src/DataSource.ts:22
getNodesApiClient
▸ getNodesApiClient(): NodesApiClient
Gets a node API client that is able to fetch data about models.