Skip to main content
Version: Next

Interface: DataSource

Defined in: packages/data-source/src/DataSource.ts:12

Describes how Reveal data is stored, and provides means to create custom storage providers that Reveal will fetch data from.

Methods

getModelDataProvider()

getModelDataProvider(): ModelDataProvider

Defined in: packages/data-source/src/DataSource.ts:28

Gets a client that is able to download geometry and other files for models.

Returns

ModelDataProvider


getModelMetadataProvider()

getModelMetadataProvider(): ModelMetadataProvider

Defined in: packages/data-source/src/DataSource.ts:22

Gets a metadata provider for models.

Returns

ModelMetadataProvider


getNodesApiClient()

getNodesApiClient(): NodesApiClient

Defined in: packages/data-source/src/DataSource.ts:17

Gets a node API client that is able to fetch data about models.

Returns

NodesApiClient