coveo.analytics 2.23.6 → 2.23.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/coveoua.browser.js +1 -1
- package/dist/coveoua.browser.js.map +1 -1
- package/dist/coveoua.debug.js +869 -209
- package/dist/coveoua.debug.js.map +1 -1
- package/dist/coveoua.js +1 -1
- package/dist/coveoua.js.map +1 -1
- package/dist/definitions/client/analytics.d.ts +18 -5
- package/dist/definitions/client/noopAnalytics.d.ts +7 -2
- package/dist/definitions/events.d.ts +8 -0
- package/dist/definitions/insight/insightClient.d.ts +2 -0
- package/dist/definitions/searchPage/searchPageClient.d.ts +75 -77
- package/dist/definitions/searchPage/searchPageEvents.d.ts +3 -1
- package/dist/library.es.js +374 -142
- package/dist/library.js +869 -209
- package/dist/react-native.es.js +374 -142
- package/package.json +1 -1
- package/src/client/analytics.ts +75 -16
- package/src/client/noopAnalytics.ts +27 -1
- package/src/events.ts +8 -0
- package/src/insight/insightClient.spec.ts +44 -0
- package/src/insight/insightClient.ts +26 -0
- package/src/searchPage/searchPageClient.spec.ts +176 -143
- package/src/searchPage/searchPageClient.ts +227 -205
- package/src/searchPage/searchPageEvents.ts +9 -0
|
@@ -278,6 +278,14 @@ export enum SearchPageEvents {
|
|
|
278
278
|
* Identifies the click event that gets logged when a user clicks the Copy To Clipboard result action.
|
|
279
279
|
*/
|
|
280
280
|
copyToClipboard = 'copyToClipboard',
|
|
281
|
+
/**
|
|
282
|
+
* Identifies the click event that gets logged when a user clicks the Attach To Case result action.
|
|
283
|
+
*/
|
|
284
|
+
caseAttach = 'caseAttach',
|
|
285
|
+
/**
|
|
286
|
+
* Identifies the custom event that gets logged when a user clicks the Detach From Case result action.
|
|
287
|
+
*/
|
|
288
|
+
caseDetach = 'caseDetach',
|
|
281
289
|
}
|
|
282
290
|
|
|
283
291
|
export const CustomEventsTypes: Partial<Record<SearchPageEvents | InsightEvents, string>> = {
|
|
@@ -314,6 +322,7 @@ export const CustomEventsTypes: Partial<Record<SearchPageEvents | InsightEvents,
|
|
|
314
322
|
[SearchPageEvents.clearRecentResults]: 'recentlyClickedDocuments',
|
|
315
323
|
[SearchPageEvents.showLessFoldedResults]: 'folding',
|
|
316
324
|
[InsightEvents.expandToFullUI]: 'interface',
|
|
325
|
+
[SearchPageEvents.caseDetach]: 'case',
|
|
317
326
|
};
|
|
318
327
|
|
|
319
328
|
export interface StaticFilterMetadata {
|