LayerApiClient
Index
Properties
add
Type declaration
Adds a layer
Parameters
attachTo: Pick<BimChange, id | apiUrl> & Partial<Pick<BimChange, name>>
a change to attach the layer to. id is required while name is optional. If name is not specified then it is calculated from data.format.
data: BimChangeLayerData
Returns Promise<TypedResponse<BimChangeLayer>>
update
Type declaration
Parameters
layer: Pick<BimChangeLayer, metadata | id | apiUrl | name | etag>
optionaloptions: { data?: unknown; overwrite?: boolean }
Returns Promise<TypedResponse<BimChangeLayer>>
Provides methods to call the layer API endpoints in the backend