AppleSauce
    Preparing search index...
    interface Mention {
        data?: CommonData;
        decoded:
            | { data: EventPointer; type: "nevent" }
            | { data: ProfilePointer; type: "nprofile" }
            | { data: AddressPointer; type: "naddr" }
            | { data: string; type: "npub" }
            | { data: Uint8Array; type: "nsec" }
            | { data: string; type: "note" };
        encoded: string;
        position?: Position;
        type: "mention";
    }

    Hierarchy (View Summary)

    Index

    Properties

    data?: CommonData
    decoded:
        | { data: EventPointer; type: "nevent" }
        | { data: ProfilePointer; type: "nprofile" }
        | { data: AddressPointer; type: "naddr" }
        | { data: string; type: "npub" }
        | { data: Uint8Array; type: "nsec" }
        | { data: string; type: "note" }
    encoded: string
    position?: Position

    Position of a node in a source document.

    Nodes that are generated (not in the original source document) must not have a position.

    type: "mention"

    Node type.