DocumentId: string & {
    __documentId: true;
}

The base58check-encoded UUID of a document. This is the string following the automerge: protocol prefix in an AutomergeUrl; for example, 4NMNnkMhL8jXrdJ9jamS58PAVdXu. When recording links to an Automerge document in another Automerge document, you should store a AutomergeUrl instead.

Type declaration

  • __documentId: true