minca
ApiCoreType aliases

Type Alias: Envelope

type Envelope = Omit<UnsignedVersion, "body"> & object;

Defined in: packages/core/src/types.ts:152

What an author signs and a version's id hashes: everything but the id, the signature and the body, with the body's content id in its place. It checks without the body, so a superseded version can be kept, and synced, as this alone.

Type Declaration

bodyHash?

readonly bodyHash?: string;

Content id of the canonical body. Absent on a delete, which has none.

On this page