kernl API
    Preparing search index...

    Type Alias CommonActionsOptions

    CommonActionsOptions: {
        loadFollows: (pubkey: string) => Promise<void>;
        locate: (input: string) => Promise<string>;
        profiles: Pick<Profiles, "settled">;
        pubkey: () => string | undefined;
        publish: (event: NostrEvent) => Promise<number>;
        store: EventStore;
    } & (SignerAndGate | { sign: ConsentedSigner })

    What the social actions need from the shell.

    Type Declaration

    • ReadonlyloadFollows: (pubkey: string) => Promise<void>

      Loads the account's current follow list into the store before it is changed.

    • Readonlylocate: (input: string) => Promise<string>

      Reads a person from any form of their identity, asking the servers it names first; invalid:person otherwise.

    • Readonlyprofiles: Pick<Profiles, "settled">
    • Readonlypubkey: () => string | undefined

      The signed-in account's key, or none.

    • Readonlypublish: (event: NostrEvent) => Promise<number>

      Publishes a signed event and resolves how many relays accepted it; rejects when none did (D-028).

    • Readonlystore: EventStore