Documentation
    Preparing search index...

    Interface MockNapplet

    One installed napplet as both domains see it.

    const viewer = MOCK_NAPPLETS.find((n) => n.id === 'catalog-profile-viewer');
    viewer?.roles; // ['profile']
    interface MockNapplet {
        artifactHash: string;
        description: string;
        dTag?: string;
        eventId: string;
        id: string;
        intents: readonly MockIntentContract[];
        kind: MockNappletKind;
        optional: readonly string[];
        pubkey: string;
        requires: readonly string[];
        roles: readonly string[];
        title?: string;
    }
    Index

    Properties

    artifactHash: string

    Verified artifact hash (64 hex).

    description: string

    Plain-text manifest content.

    dTag?: string

    Manifest d value; present only for kind 35129.

    eventId: string

    Verified manifest event id (64 hex).

    id: string

    Runtime-assigned catalog identifier (shared by intent and catalog).

    intents: readonly MockIntentContract[]

    Accepted conventions from i tags.

    Verified manifest kind.

    optional: readonly string[]

    Bare domains from O tags.

    pubkey: string

    Publisher pubkey (64 hex).

    requires: readonly string[]

    Bare domains from R tags.

    roles: readonly string[]

    Roles from z tags.

    title?: string

    Human-readable title.