Skip to content

Home > @theweave/api > AssetServices > addAssetRelation

AssetServices.addAssetRelation property

Adds a new asset relation. This function deliberately returns no value because Tool frontends should subscribe to the AssetStore(s) to update their frontend state.

Signature:

typescript
addAssetRelation: (srcWal: WAL, dstWal: WAL, tags?: string[]) => Promise<void>;