interface ListTopicsForUserBlockOptions {
    services: {
        chatApi: Pick<ChatApi<unknown, unknown, unknown>, "getTopic" | "listTopicsSubscribedByUser">;
        socketApi: Pick<ChatSocketApi<unknown>, "subscribeToUserId" | "unsubscribeToUserId">;
    };
    settings: {
        chatShowRoute: string;
    };
}

Properties

Properties

services: {
    chatApi: Pick<ChatApi<unknown, unknown, unknown>, "getTopic" | "listTopicsSubscribedByUser">;
    socketApi: Pick<ChatSocketApi<unknown>, "subscribeToUserId" | "unsubscribeToUserId">;
}

Type declaration

  • chatApi: Pick<ChatApi<unknown, unknown, unknown>, "getTopic" | "listTopicsSubscribedByUser">

    Chat API connector

  • socketApi: Pick<ChatSocketApi<unknown>, "subscribeToUserId" | "unsubscribeToUserId">

    Socket connector

settings: {
    chatShowRoute: string;
}

Type declaration

  • chatShowRoute: string

    Route to show single chat page

Generated using TypeDoc