Documentation
    Preparing search index...

    Interface HandlerTarget

    One platform-specific way to open an entity, from a 31990 platform tag.

    // tag ["web", "https://app.example/e/<bech32>", "nevent"]
    const target: HandlerTarget = { url: 'https://app.example/e/<bech32>', entity: 'nevent' };
    interface HandlerTarget {
        entity: string | undefined;
        url: string;
    }
    Index

    Properties

    Properties

    entity: string | undefined

    Optional NIP-19 entity type this template is for (e.g. 'nevent', 'naddr', 'nprofile').

    url: string

    URL template containing a <bech32> and/or <raw> placeholder.