Documentation
    Preparing search index...

    Interface MockCommonState

    In-memory state of the common mock.

    const state = createMockCommonService().mock.state();
    state.published.length === 0;
    interface MockCommonState {
        published: NostrEvent[];
        store: MockNostrStore;
        user: string;
    }
    Index

    Properties

    Properties

    published: NostrEvent[]

    Events published by social actions, oldest first.

    Shared event store.

    user: string

    Current shell-user pubkey, or '' when signed out.