@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Interface ToDocumentRelationshipMetadata<T>

    Relationship metadata. A relationship is a link from the current document to other documents.

    interface ToDocumentRelationshipMetadata<T extends FirestormModel> {
        documentId: string;
        kind: "document";
        location: PathLike;
        targetType: Type<T>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    documentId: string

    Id of the document

    kind: "document"

    The kind of relationship

    location: PathLike

    Location of the relationship relative to the current document

    targetType: Type<T>

    Target type of the relationship