Skip to main content

LayerApiClient

Provides methods to call the layer API endpoints in the backend

Index

Properties

Properties

add

add: (attachTo: Pick<BimChange, id | apiUrl> & Partial<Pick<BimChange, name>>, data: BimChangeLayerData) => Promise<TypedResponse<BimChangeLayer>>

Type declaration

update

update: (layer: Pick<BimChangeLayer, metadata | id | apiUrl | name | etag>, options?: { data?: unknown; overwrite?: boolean }) => Promise<TypedResponse<BimChangeLayer>>

Type declaration