🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@coveo/relay-event-types

Package Overview
Dependencies
Maintainers
16
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coveo/relay-event-types

Typescript types for Coveo Events, intended to be used with the Relay package.

14.7.1
latest
Source
npm
Version published
Weekly downloads
11K
-31.12%
Maintainers
16
Weekly downloads
 
Created
Source

Coveo Relay Event Types

This package contains automatically generated TypeScript types for Coveo's Event Protocol, and is intended to be used in conjunction with the Relay client side package.

Installation

Install using npm install @coveo/relay-event-types

Usage

Import desired event type, e.g. for an itemClick event:

import { ItemClick } from "@coveo/relay-event-types";

const myClickEvent:ItemClick  = {
    searchUid: '2ce196c1-5859-42da-b051-63e77ae2b406',
    position: 2,
    itemMetadata: {
        uniqueFieldName: 'permanentid',
        uniqueFieldValue: 'XDSC-566782'
    }
}

Keywords

Coveo

FAQs

Package last updated on 08 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts