Skip to main content
Version: Next

Interface: 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

ModelDataProvider

Defined in

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


getModelMetadataProvider()

getModelMetadataProvider(): ModelMetadataProvider

Gets a metadata provider for models.

Returns

ModelMetadataProvider

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.

Returns

NodesApiClient

Defined in

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