Skip to main content

computeSpatialObjectId

@totemsdk/spatial-proof


@totemsdk/spatial-proof / computeSpatialObjectId

Function: computeSpatialObjectId()

computeSpatialObjectId(input): string

Compute a stable URI-style spatial object ID: "totem:spatial:". Callers pass the object minus spatialId; metadata is excluded internally.

Parameters

input

Omit<SpatialObject, "spatialId">

Returns

string