Documentation
    Preparing search index...

    Interface MockDmState

    In-memory state of the mock DM service.

    service.mock.state().conversations.map((c) => c.id);
    
    interface MockDmState {
        available: boolean;
        conversations: DmConversation[];
        messages: Map<string, DmMessage[]>;
        owner: MockAccount;
        subscriptions: Map<string, MockDmSubscription>;
    }
    Index

    Properties

    available: boolean

    Whether the runtime can service direct messages.

    conversations: DmConversation[]

    Conversation summaries.

    messages: Map<string, DmMessage[]>

    Conversation id → messages, oldest first.

    The shell user.

    subscriptions: Map<string, MockDmSubscription>

    Subscription id → subscription.