Interface SelectedEvent

An event emitted via the Event Service using the topic name search-api/SELECTED.

interface SelectedEvent {
    item: Readonly<Record<string, unknown>>;
    query: string;
    source: ItemSource;
}

Properties

Properties

item: Readonly<Record<string, unknown>>

The selected item.

query: string

The original search query entered by the user.

source: ItemSource

The source of the selected item. Currently all sources are stores, but different source types may be added in the future. Use the type field for disambiguation.

Generated using TypeDoc