Skip to content

Module: datamodel

npm install @glazed/datamodel

Classes

Type aliases

CreateOptions

Ƭ CreateOptions: Object

Type declaration

Name Type Description
pin? boolean Pin the created stream (default)

DataModelParams

Ƭ DataModelParams<Model>: Object

Type parameters

Name
Model

Type declaration

Name Type Description
autopin? boolean Pin all created streams (default)
cache? TileCache | boolean TileLoader cache parameter, only used if loader is not provided
ceramic? CeramicApi A Ceramic client instance, only used if loader is not provided
loader? TileLoader A TileLoader instance to use, must be provided if ceramic is not provided
model Model The runtime model aliases to use