interface ResolvedUUID {
    uuid: string;
    type: string;
    id: string;
    primaryType: string;
    primaryId: string;
    collection: DocumentCollection;
    embedded: string[];
    doc: Document;
    documentType: string;
    documentId: string;
}

Properties

uuid: string

The original UUID.

type: string

The type of Document referenced. Legacy compendium UUIDs will not populate this field if the compendium is not active in the World.

id: string

The ID of the Document referenced.

primaryType: string

The primary Document type of this UUID. Only present if the Document is embedded.

primaryId: string

The primary Document ID of this UUID. Only present if the Document is embedded.

collection: DocumentCollection

The collection that the primary Document belongs to.

embedded: string[]

Additional Embedded Document parts.

doc: Document

An already-resolved parent Document.

documentType: string

Either the document type or the parent type. Retained for backwards compatibility.

documentId: string

Either the document id or the parent id. Retained for backwards compatibility.