@coveo/relay 1.2.1 → 1.2.2

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.
@@ -0,0 +1,3271 @@
1
+ {
2
+ "schemaVersion": "2.0",
3
+ "id": 0,
4
+ "name": "@coveo/relay",
5
+ "variant": "project",
6
+ "kind": 1,
7
+ "flags": {},
8
+ "children": [
9
+ {
10
+ "id": 65,
11
+ "name": "Environment",
12
+ "variant": "declaration",
13
+ "kind": 256,
14
+ "flags": {},
15
+ "comment": {
16
+ "summary": [
17
+ {
18
+ "kind": "text",
19
+ "text": "Platform abstraction interface used by Relay to operate in different execution environments,\nsuch as browsers, or custom contexts."
20
+ }
21
+ ]
22
+ },
23
+ "children": [
24
+ {
25
+ "id": 82,
26
+ "name": "generateUUID",
27
+ "variant": "declaration",
28
+ "kind": 1024,
29
+ "flags": {},
30
+ "comment": {
31
+ "summary": [
32
+ {
33
+ "kind": "text",
34
+ "text": "Generates a UUID string."
35
+ }
36
+ ]
37
+ },
38
+ "sources": [
39
+ {
40
+ "fileName": "environment/environment.ts",
41
+ "line": 49,
42
+ "character": 2,
43
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L49"
44
+ }
45
+ ],
46
+ "type": {
47
+ "type": "reflection",
48
+ "declaration": {
49
+ "id": 83,
50
+ "name": "__type",
51
+ "variant": "declaration",
52
+ "kind": 65536,
53
+ "flags": {},
54
+ "sources": [
55
+ {
56
+ "fileName": "environment/environment.ts",
57
+ "line": 49,
58
+ "character": 16,
59
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L49"
60
+ }
61
+ ],
62
+ "signatures": [
63
+ {
64
+ "id": 84,
65
+ "name": "__type",
66
+ "variant": "signature",
67
+ "kind": 4096,
68
+ "flags": {},
69
+ "comment": {
70
+ "summary": [],
71
+ "blockTags": [
72
+ {
73
+ "tag": "@returns",
74
+ "content": []
75
+ }
76
+ ]
77
+ },
78
+ "sources": [
79
+ {
80
+ "fileName": "environment/environment.ts",
81
+ "line": 49,
82
+ "character": 16,
83
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L49"
84
+ }
85
+ ],
86
+ "type": {
87
+ "type": "intrinsic",
88
+ "name": "string"
89
+ }
90
+ }
91
+ ]
92
+ }
93
+ }
94
+ },
95
+ {
96
+ "id": 76,
97
+ "name": "getLocation",
98
+ "variant": "declaration",
99
+ "kind": 1024,
100
+ "flags": {},
101
+ "comment": {
102
+ "summary": [
103
+ {
104
+ "kind": "text",
105
+ "text": "Returns the current location (URL) context, or "
106
+ },
107
+ {
108
+ "kind": "code",
109
+ "text": "`null`"
110
+ },
111
+ {
112
+ "kind": "text",
113
+ "text": " if not available."
114
+ }
115
+ ]
116
+ },
117
+ "sources": [
118
+ {
119
+ "fileName": "environment/environment.ts",
120
+ "line": 37,
121
+ "character": 2,
122
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L37"
123
+ }
124
+ ],
125
+ "type": {
126
+ "type": "reflection",
127
+ "declaration": {
128
+ "id": 77,
129
+ "name": "__type",
130
+ "variant": "declaration",
131
+ "kind": 65536,
132
+ "flags": {},
133
+ "sources": [
134
+ {
135
+ "fileName": "environment/environment.ts",
136
+ "line": 37,
137
+ "character": 15,
138
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L37"
139
+ }
140
+ ],
141
+ "signatures": [
142
+ {
143
+ "id": 78,
144
+ "name": "__type",
145
+ "variant": "signature",
146
+ "kind": 4096,
147
+ "flags": {},
148
+ "comment": {
149
+ "summary": [],
150
+ "blockTags": [
151
+ {
152
+ "tag": "@returns",
153
+ "content": []
154
+ }
155
+ ]
156
+ },
157
+ "sources": [
158
+ {
159
+ "fileName": "environment/environment.ts",
160
+ "line": 37,
161
+ "character": 15,
162
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L37"
163
+ }
164
+ ],
165
+ "type": {
166
+ "type": "union",
167
+ "types": [
168
+ {
169
+ "type": "literal",
170
+ "value": null
171
+ },
172
+ {
173
+ "type": "intrinsic",
174
+ "name": "string"
175
+ }
176
+ ]
177
+ }
178
+ }
179
+ ]
180
+ }
181
+ }
182
+ },
183
+ {
184
+ "id": 73,
185
+ "name": "getReferrer",
186
+ "variant": "declaration",
187
+ "kind": 1024,
188
+ "flags": {},
189
+ "comment": {
190
+ "summary": [
191
+ {
192
+ "kind": "text",
193
+ "text": "Returns the referring URL, or "
194
+ },
195
+ {
196
+ "kind": "code",
197
+ "text": "`null`"
198
+ },
199
+ {
200
+ "kind": "text",
201
+ "text": " if it is not available."
202
+ }
203
+ ]
204
+ },
205
+ "sources": [
206
+ {
207
+ "fileName": "environment/environment.ts",
208
+ "line": 31,
209
+ "character": 2,
210
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L31"
211
+ }
212
+ ],
213
+ "type": {
214
+ "type": "reflection",
215
+ "declaration": {
216
+ "id": 74,
217
+ "name": "__type",
218
+ "variant": "declaration",
219
+ "kind": 65536,
220
+ "flags": {},
221
+ "sources": [
222
+ {
223
+ "fileName": "environment/environment.ts",
224
+ "line": 31,
225
+ "character": 15,
226
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L31"
227
+ }
228
+ ],
229
+ "signatures": [
230
+ {
231
+ "id": 75,
232
+ "name": "__type",
233
+ "variant": "signature",
234
+ "kind": 4096,
235
+ "flags": {},
236
+ "comment": {
237
+ "summary": [],
238
+ "blockTags": [
239
+ {
240
+ "tag": "@returns",
241
+ "content": []
242
+ }
243
+ ]
244
+ },
245
+ "sources": [
246
+ {
247
+ "fileName": "environment/environment.ts",
248
+ "line": 31,
249
+ "character": 15,
250
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L31"
251
+ }
252
+ ],
253
+ "type": {
254
+ "type": "union",
255
+ "types": [
256
+ {
257
+ "type": "literal",
258
+ "value": null
259
+ },
260
+ {
261
+ "type": "intrinsic",
262
+ "name": "string"
263
+ }
264
+ ]
265
+ }
266
+ }
267
+ ]
268
+ }
269
+ }
270
+ },
271
+ {
272
+ "id": 79,
273
+ "name": "getUserAgent",
274
+ "variant": "declaration",
275
+ "kind": 1024,
276
+ "flags": {},
277
+ "comment": {
278
+ "summary": [
279
+ {
280
+ "kind": "text",
281
+ "text": "Returns the current user agent string, or "
282
+ },
283
+ {
284
+ "kind": "code",
285
+ "text": "`null`"
286
+ },
287
+ {
288
+ "kind": "text",
289
+ "text": " if not available."
290
+ }
291
+ ]
292
+ },
293
+ "sources": [
294
+ {
295
+ "fileName": "environment/environment.ts",
296
+ "line": 43,
297
+ "character": 2,
298
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L43"
299
+ }
300
+ ],
301
+ "type": {
302
+ "type": "reflection",
303
+ "declaration": {
304
+ "id": 80,
305
+ "name": "__type",
306
+ "variant": "declaration",
307
+ "kind": 65536,
308
+ "flags": {},
309
+ "sources": [
310
+ {
311
+ "fileName": "environment/environment.ts",
312
+ "line": 43,
313
+ "character": 16,
314
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L43"
315
+ }
316
+ ],
317
+ "signatures": [
318
+ {
319
+ "id": 81,
320
+ "name": "__type",
321
+ "variant": "signature",
322
+ "kind": 4096,
323
+ "flags": {},
324
+ "comment": {
325
+ "summary": [],
326
+ "blockTags": [
327
+ {
328
+ "tag": "@returns",
329
+ "content": []
330
+ }
331
+ ]
332
+ },
333
+ "sources": [
334
+ {
335
+ "fileName": "environment/environment.ts",
336
+ "line": 43,
337
+ "character": 16,
338
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L43"
339
+ }
340
+ ],
341
+ "type": {
342
+ "type": "union",
343
+ "types": [
344
+ {
345
+ "type": "literal",
346
+ "value": null
347
+ },
348
+ {
349
+ "type": "intrinsic",
350
+ "name": "string"
351
+ }
352
+ ]
353
+ }
354
+ }
355
+ ]
356
+ }
357
+ }
358
+ },
359
+ {
360
+ "id": 66,
361
+ "name": "runtime",
362
+ "variant": "declaration",
363
+ "kind": 1024,
364
+ "flags": {},
365
+ "comment": {
366
+ "summary": [
367
+ {
368
+ "kind": "text",
369
+ "text": "Current runtime context for Relay. It has three possible values.\n"
370
+ },
371
+ {
372
+ "kind": "code",
373
+ "text": "`\"browser\"`"
374
+ },
375
+ {
376
+ "kind": "text",
377
+ "text": " indicates a standard web environment.\n"
378
+ },
379
+ {
380
+ "kind": "code",
381
+ "text": "`\"null\"`"
382
+ },
383
+ {
384
+ "kind": "text",
385
+ "text": " disables all side effects (e.g., for unit testing).\n"
386
+ },
387
+ {
388
+ "kind": "code",
389
+ "text": "`\"custom\"`"
390
+ },
391
+ {
392
+ "kind": "text",
393
+ "text": " represents a user-supplied environment."
394
+ }
395
+ ]
396
+ },
397
+ "sources": [
398
+ {
399
+ "fileName": "environment/environment.ts",
400
+ "line": 16,
401
+ "character": 2,
402
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L16"
403
+ }
404
+ ],
405
+ "type": {
406
+ "type": "union",
407
+ "types": [
408
+ {
409
+ "type": "literal",
410
+ "value": "browser"
411
+ },
412
+ {
413
+ "type": "literal",
414
+ "value": "null"
415
+ },
416
+ {
417
+ "type": "literal",
418
+ "value": "custom"
419
+ }
420
+ ]
421
+ }
422
+ },
423
+ {
424
+ "id": 67,
425
+ "name": "send",
426
+ "variant": "declaration",
427
+ "kind": 1024,
428
+ "flags": {},
429
+ "comment": {
430
+ "summary": [
431
+ {
432
+ "kind": "text",
433
+ "text": "Sends an analytics event to the Event API."
434
+ }
435
+ ]
436
+ },
437
+ "sources": [
438
+ {
439
+ "fileName": "environment/environment.ts",
440
+ "line": 25,
441
+ "character": 2,
442
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L25"
443
+ }
444
+ ],
445
+ "type": {
446
+ "type": "reflection",
447
+ "declaration": {
448
+ "id": 68,
449
+ "name": "__type",
450
+ "variant": "declaration",
451
+ "kind": 65536,
452
+ "flags": {},
453
+ "sources": [
454
+ {
455
+ "fileName": "environment/environment.ts",
456
+ "line": 25,
457
+ "character": 8,
458
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L25"
459
+ }
460
+ ],
461
+ "signatures": [
462
+ {
463
+ "id": 69,
464
+ "name": "__type",
465
+ "variant": "signature",
466
+ "kind": 4096,
467
+ "flags": {},
468
+ "comment": {
469
+ "summary": [],
470
+ "blockTags": [
471
+ {
472
+ "tag": "@returns",
473
+ "content": []
474
+ }
475
+ ]
476
+ },
477
+ "sources": [
478
+ {
479
+ "fileName": "environment/environment.ts",
480
+ "line": 25,
481
+ "character": 8,
482
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L25"
483
+ }
484
+ ],
485
+ "parameters": [
486
+ {
487
+ "id": 70,
488
+ "name": "url",
489
+ "variant": "param",
490
+ "kind": 32768,
491
+ "flags": {},
492
+ "comment": {
493
+ "summary": [
494
+ {
495
+ "kind": "text",
496
+ "text": "API endpoint where the event should be sent."
497
+ }
498
+ ]
499
+ },
500
+ "type": {
501
+ "type": "intrinsic",
502
+ "name": "string"
503
+ }
504
+ },
505
+ {
506
+ "id": 71,
507
+ "name": "token",
508
+ "variant": "param",
509
+ "kind": 32768,
510
+ "flags": {},
511
+ "comment": {
512
+ "summary": [
513
+ {
514
+ "kind": "text",
515
+ "text": "API token used for authorization."
516
+ }
517
+ ]
518
+ },
519
+ "type": {
520
+ "type": "intrinsic",
521
+ "name": "string"
522
+ }
523
+ },
524
+ {
525
+ "id": 72,
526
+ "name": "event",
527
+ "variant": "param",
528
+ "kind": 32768,
529
+ "flags": {},
530
+ "comment": {
531
+ "summary": [
532
+ {
533
+ "kind": "text",
534
+ "text": "Event payload to send."
535
+ }
536
+ ]
537
+ },
538
+ "type": {
539
+ "type": "reference",
540
+ "target": 58,
541
+ "name": "RelayEvent",
542
+ "package": "@coveo/relay"
543
+ }
544
+ }
545
+ ],
546
+ "type": {
547
+ "type": "intrinsic",
548
+ "name": "void"
549
+ }
550
+ }
551
+ ]
552
+ }
553
+ }
554
+ },
555
+ {
556
+ "id": 85,
557
+ "name": "storage",
558
+ "variant": "declaration",
559
+ "kind": 1024,
560
+ "flags": {},
561
+ "comment": {
562
+ "summary": [
563
+ {
564
+ "kind": "text",
565
+ "text": "Storage implementation used to persist data.\nShould implement the standard "
566
+ },
567
+ {
568
+ "kind": "code",
569
+ "text": "`Storage`"
570
+ },
571
+ {
572
+ "kind": "text",
573
+ "text": " interface."
574
+ }
575
+ ]
576
+ },
577
+ "sources": [
578
+ {
579
+ "fileName": "environment/environment.ts",
580
+ "line": 56,
581
+ "character": 2,
582
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L56"
583
+ }
584
+ ],
585
+ "type": {
586
+ "type": "reference",
587
+ "target": 86,
588
+ "name": "Storage",
589
+ "package": "@coveo/relay"
590
+ }
591
+ }
592
+ ],
593
+ "groups": [
594
+ {
595
+ "title": "Properties",
596
+ "children": [
597
+ 82,
598
+ 76,
599
+ 73,
600
+ 79,
601
+ 66,
602
+ 67,
603
+ 85
604
+ ]
605
+ }
606
+ ],
607
+ "sources": [
608
+ {
609
+ "fileName": "environment/environment.ts",
610
+ "line": 8,
611
+ "character": 17,
612
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/environment.ts#L8"
613
+ }
614
+ ]
615
+ },
616
+ {
617
+ "id": 44,
618
+ "name": "EventConfig",
619
+ "variant": "declaration",
620
+ "kind": 256,
621
+ "flags": {},
622
+ "comment": {
623
+ "summary": [
624
+ {
625
+ "kind": "text",
626
+ "text": "The "
627
+ },
628
+ {
629
+ "kind": "code",
630
+ "text": "`EventConfig`"
631
+ },
632
+ {
633
+ "kind": "text",
634
+ "text": " object provides additional information for the configuration associated with the event."
635
+ }
636
+ ]
637
+ },
638
+ "children": [
639
+ {
640
+ "id": 45,
641
+ "name": "trackingId",
642
+ "variant": "declaration",
643
+ "kind": 1024,
644
+ "flags": {},
645
+ "comment": {
646
+ "summary": [
647
+ {
648
+ "kind": "text",
649
+ "text": "The unique identifier of a web property. See [What's a tracking ID?](https://docs.coveo.com/en/n8tg0567/)."
650
+ }
651
+ ]
652
+ },
653
+ "sources": [
654
+ {
655
+ "fileName": "event/meta/meta.ts",
656
+ "line": 13,
657
+ "character": 2,
658
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L13"
659
+ }
660
+ ],
661
+ "type": {
662
+ "type": "union",
663
+ "types": [
664
+ {
665
+ "type": "literal",
666
+ "value": null
667
+ },
668
+ {
669
+ "type": "intrinsic",
670
+ "name": "string"
671
+ }
672
+ ]
673
+ }
674
+ }
675
+ ],
676
+ "groups": [
677
+ {
678
+ "title": "Properties",
679
+ "children": [
680
+ 45
681
+ ]
682
+ }
683
+ ],
684
+ "sources": [
685
+ {
686
+ "fileName": "event/meta/meta.ts",
687
+ "line": 9,
688
+ "character": 17,
689
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L9"
690
+ }
691
+ ]
692
+ },
693
+ {
694
+ "id": 35,
695
+ "name": "Meta",
696
+ "variant": "declaration",
697
+ "kind": 256,
698
+ "flags": {},
699
+ "comment": {
700
+ "summary": [
701
+ {
702
+ "kind": "text",
703
+ "text": "The "
704
+ },
705
+ {
706
+ "kind": "code",
707
+ "text": "`Meta`"
708
+ },
709
+ {
710
+ "kind": "text",
711
+ "text": " object provides a structured representation of metadata associated with an emitted event.\nThis object is auto-populated by Relay."
712
+ }
713
+ ]
714
+ },
715
+ "children": [
716
+ {
717
+ "id": 40,
718
+ "name": "clientId",
719
+ "variant": "declaration",
720
+ "kind": 1024,
721
+ "flags": {},
722
+ "comment": {
723
+ "summary": [
724
+ {
725
+ "kind": "text",
726
+ "text": "Persistent unique identifier of a device."
727
+ }
728
+ ]
729
+ },
730
+ "sources": [
731
+ {
732
+ "fileName": "event/meta/meta.ts",
733
+ "line": 44,
734
+ "character": 2,
735
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L44"
736
+ }
737
+ ],
738
+ "type": {
739
+ "type": "intrinsic",
740
+ "name": "string"
741
+ }
742
+ },
743
+ {
744
+ "id": 37,
745
+ "name": "config",
746
+ "variant": "declaration",
747
+ "kind": 1024,
748
+ "flags": {},
749
+ "comment": {
750
+ "summary": [
751
+ {
752
+ "kind": "text",
753
+ "text": "Configuration associated with the event."
754
+ }
755
+ ]
756
+ },
757
+ "sources": [
758
+ {
759
+ "fileName": "event/meta/meta.ts",
760
+ "line": 29,
761
+ "character": 2,
762
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L29"
763
+ }
764
+ ],
765
+ "type": {
766
+ "type": "reference",
767
+ "target": 44,
768
+ "name": "EventConfig",
769
+ "package": "@coveo/relay"
770
+ }
771
+ },
772
+ {
773
+ "id": 43,
774
+ "name": "location",
775
+ "variant": "declaration",
776
+ "kind": 1024,
777
+ "flags": {},
778
+ "comment": {
779
+ "summary": [
780
+ {
781
+ "kind": "text",
782
+ "text": "Browser Location's [href](https://developer.mozilla.org/en-US/docs/Web/API/Location/href) property if set."
783
+ }
784
+ ]
785
+ },
786
+ "sources": [
787
+ {
788
+ "fileName": "event/meta/meta.ts",
789
+ "line": 59,
790
+ "character": 2,
791
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L59"
792
+ }
793
+ ],
794
+ "type": {
795
+ "type": "union",
796
+ "types": [
797
+ {
798
+ "type": "literal",
799
+ "value": null
800
+ },
801
+ {
802
+ "type": "intrinsic",
803
+ "name": "string"
804
+ }
805
+ ]
806
+ }
807
+ },
808
+ {
809
+ "id": 42,
810
+ "name": "referrer",
811
+ "variant": "declaration",
812
+ "kind": 1024,
813
+ "flags": {},
814
+ "comment": {
815
+ "summary": [
816
+ {
817
+ "kind": "text",
818
+ "text": "Browser Document's [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) property if set."
819
+ }
820
+ ]
821
+ },
822
+ "sources": [
823
+ {
824
+ "fileName": "event/meta/meta.ts",
825
+ "line": 54,
826
+ "character": 2,
827
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L54"
828
+ }
829
+ ],
830
+ "type": {
831
+ "type": "union",
832
+ "types": [
833
+ {
834
+ "type": "literal",
835
+ "value": null
836
+ },
837
+ {
838
+ "type": "intrinsic",
839
+ "name": "string"
840
+ }
841
+ ]
842
+ }
843
+ },
844
+ {
845
+ "id": 39,
846
+ "name": "source",
847
+ "variant": "declaration",
848
+ "kind": 1024,
849
+ "flags": {},
850
+ "comment": {
851
+ "summary": [
852
+ {
853
+ "kind": "text",
854
+ "text": "Names and versions of the client side libraries which built and emitted this event."
855
+ }
856
+ ]
857
+ },
858
+ "sources": [
859
+ {
860
+ "fileName": "event/meta/meta.ts",
861
+ "line": 39,
862
+ "character": 2,
863
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L39"
864
+ }
865
+ ],
866
+ "type": {
867
+ "type": "array",
868
+ "elementType": {
869
+ "type": "intrinsic",
870
+ "name": "string"
871
+ }
872
+ }
873
+ },
874
+ {
875
+ "id": 38,
876
+ "name": "ts",
877
+ "variant": "declaration",
878
+ "kind": 1024,
879
+ "flags": {},
880
+ "comment": {
881
+ "summary": [
882
+ {
883
+ "kind": "text",
884
+ "text": "Timestamp when the event was emitted."
885
+ }
886
+ ]
887
+ },
888
+ "sources": [
889
+ {
890
+ "fileName": "event/meta/meta.ts",
891
+ "line": 34,
892
+ "character": 2,
893
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L34"
894
+ }
895
+ ],
896
+ "type": {
897
+ "type": "intrinsic",
898
+ "name": "number"
899
+ }
900
+ },
901
+ {
902
+ "id": 36,
903
+ "name": "type",
904
+ "variant": "declaration",
905
+ "kind": 1024,
906
+ "flags": {},
907
+ "comment": {
908
+ "summary": [
909
+ {
910
+ "kind": "text",
911
+ "text": "Event's type that was emitted."
912
+ }
913
+ ]
914
+ },
915
+ "sources": [
916
+ {
917
+ "fileName": "event/meta/meta.ts",
918
+ "line": 24,
919
+ "character": 2,
920
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L24"
921
+ }
922
+ ],
923
+ "type": {
924
+ "type": "intrinsic",
925
+ "name": "string"
926
+ }
927
+ },
928
+ {
929
+ "id": 41,
930
+ "name": "userAgent",
931
+ "variant": "declaration",
932
+ "kind": 1024,
933
+ "flags": {},
934
+ "comment": {
935
+ "summary": [
936
+ {
937
+ "kind": "text",
938
+ "text": "Browser Navigator's [user agent](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent) property if set."
939
+ }
940
+ ]
941
+ },
942
+ "sources": [
943
+ {
944
+ "fileName": "event/meta/meta.ts",
945
+ "line": 49,
946
+ "character": 2,
947
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L49"
948
+ }
949
+ ],
950
+ "type": {
951
+ "type": "union",
952
+ "types": [
953
+ {
954
+ "type": "literal",
955
+ "value": null
956
+ },
957
+ {
958
+ "type": "intrinsic",
959
+ "name": "string"
960
+ }
961
+ ]
962
+ }
963
+ }
964
+ ],
965
+ "groups": [
966
+ {
967
+ "title": "Properties",
968
+ "children": [
969
+ 40,
970
+ 37,
971
+ 43,
972
+ 42,
973
+ 39,
974
+ 38,
975
+ 36,
976
+ 41
977
+ ]
978
+ }
979
+ ],
980
+ "sources": [
981
+ {
982
+ "fileName": "event/meta/meta.ts",
983
+ "line": 20,
984
+ "character": 17,
985
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/meta/meta.ts#L20"
986
+ }
987
+ ]
988
+ },
989
+ {
990
+ "id": 7,
991
+ "name": "Relay",
992
+ "variant": "declaration",
993
+ "kind": 256,
994
+ "flags": {},
995
+ "comment": {
996
+ "summary": [
997
+ {
998
+ "kind": "text",
999
+ "text": "Relay instance.\nThis object provides a comprehensive set of variables and methods for interacting with the Event API."
1000
+ }
1001
+ ]
1002
+ },
1003
+ "children": [
1004
+ {
1005
+ "id": 8,
1006
+ "name": "emit",
1007
+ "variant": "declaration",
1008
+ "kind": 1024,
1009
+ "flags": {},
1010
+ "comment": {
1011
+ "summary": [
1012
+ {
1013
+ "kind": "text",
1014
+ "text": "Sends an event to the Event API."
1015
+ }
1016
+ ]
1017
+ },
1018
+ "sources": [
1019
+ {
1020
+ "fileName": "relay.ts",
1021
+ "line": 37,
1022
+ "character": 2,
1023
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L37"
1024
+ }
1025
+ ],
1026
+ "type": {
1027
+ "type": "reflection",
1028
+ "declaration": {
1029
+ "id": 9,
1030
+ "name": "__type",
1031
+ "variant": "declaration",
1032
+ "kind": 65536,
1033
+ "flags": {},
1034
+ "sources": [
1035
+ {
1036
+ "fileName": "relay.ts",
1037
+ "line": 37,
1038
+ "character": 8,
1039
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L37"
1040
+ }
1041
+ ],
1042
+ "signatures": [
1043
+ {
1044
+ "id": 10,
1045
+ "name": "__type",
1046
+ "variant": "signature",
1047
+ "kind": 4096,
1048
+ "flags": {},
1049
+ "comment": {
1050
+ "summary": [],
1051
+ "blockTags": [
1052
+ {
1053
+ "tag": "@returns",
1054
+ "content": []
1055
+ }
1056
+ ]
1057
+ },
1058
+ "sources": [
1059
+ {
1060
+ "fileName": "relay.ts",
1061
+ "line": 37,
1062
+ "character": 8,
1063
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L37"
1064
+ }
1065
+ ],
1066
+ "parameters": [
1067
+ {
1068
+ "id": 11,
1069
+ "name": "type",
1070
+ "variant": "param",
1071
+ "kind": 32768,
1072
+ "flags": {},
1073
+ "comment": {
1074
+ "summary": [
1075
+ {
1076
+ "kind": "text",
1077
+ "text": "event's type to be emitted."
1078
+ }
1079
+ ]
1080
+ },
1081
+ "type": {
1082
+ "type": "intrinsic",
1083
+ "name": "string"
1084
+ }
1085
+ },
1086
+ {
1087
+ "id": 12,
1088
+ "name": "payload",
1089
+ "variant": "param",
1090
+ "kind": 32768,
1091
+ "flags": {},
1092
+ "comment": {
1093
+ "summary": [
1094
+ {
1095
+ "kind": "text",
1096
+ "text": "payload to include within the event."
1097
+ }
1098
+ ]
1099
+ },
1100
+ "type": {
1101
+ "type": "reference",
1102
+ "target": {
1103
+ "packageName": "typescript",
1104
+ "packagePath": "lib/lib.es5.d.ts",
1105
+ "qualifiedName": "Record"
1106
+ },
1107
+ "typeArguments": [
1108
+ {
1109
+ "type": "intrinsic",
1110
+ "name": "string"
1111
+ },
1112
+ {
1113
+ "type": "intrinsic",
1114
+ "name": "any"
1115
+ }
1116
+ ],
1117
+ "name": "Record",
1118
+ "package": "typescript"
1119
+ }
1120
+ }
1121
+ ],
1122
+ "type": {
1123
+ "type": "intrinsic",
1124
+ "name": "void"
1125
+ }
1126
+ }
1127
+ ]
1128
+ }
1129
+ }
1130
+ },
1131
+ {
1132
+ "id": 13,
1133
+ "name": "getMeta",
1134
+ "variant": "declaration",
1135
+ "kind": 1024,
1136
+ "flags": {},
1137
+ "comment": {
1138
+ "summary": [
1139
+ {
1140
+ "kind": "text",
1141
+ "text": "Gets the client-side generated meta object."
1142
+ }
1143
+ ]
1144
+ },
1145
+ "sources": [
1146
+ {
1147
+ "fileName": "relay.ts",
1148
+ "line": 44,
1149
+ "character": 2,
1150
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L44"
1151
+ }
1152
+ ],
1153
+ "type": {
1154
+ "type": "reflection",
1155
+ "declaration": {
1156
+ "id": 14,
1157
+ "name": "__type",
1158
+ "variant": "declaration",
1159
+ "kind": 65536,
1160
+ "flags": {},
1161
+ "sources": [
1162
+ {
1163
+ "fileName": "relay.ts",
1164
+ "line": 44,
1165
+ "character": 11,
1166
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L44"
1167
+ }
1168
+ ],
1169
+ "signatures": [
1170
+ {
1171
+ "id": 15,
1172
+ "name": "__type",
1173
+ "variant": "signature",
1174
+ "kind": 4096,
1175
+ "flags": {},
1176
+ "comment": {
1177
+ "summary": [],
1178
+ "blockTags": [
1179
+ {
1180
+ "tag": "@returns",
1181
+ "content": []
1182
+ }
1183
+ ]
1184
+ },
1185
+ "sources": [
1186
+ {
1187
+ "fileName": "relay.ts",
1188
+ "line": 44,
1189
+ "character": 11,
1190
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L44"
1191
+ }
1192
+ ],
1193
+ "parameters": [
1194
+ {
1195
+ "id": 16,
1196
+ "name": "type",
1197
+ "variant": "param",
1198
+ "kind": 32768,
1199
+ "flags": {},
1200
+ "comment": {
1201
+ "summary": [
1202
+ {
1203
+ "kind": "text",
1204
+ "text": "event's type that will be included in the meta object."
1205
+ }
1206
+ ]
1207
+ },
1208
+ "type": {
1209
+ "type": "intrinsic",
1210
+ "name": "string"
1211
+ }
1212
+ }
1213
+ ],
1214
+ "type": {
1215
+ "type": "reference",
1216
+ "target": 35,
1217
+ "name": "Meta",
1218
+ "package": "@coveo/relay"
1219
+ }
1220
+ }
1221
+ ]
1222
+ }
1223
+ }
1224
+ },
1225
+ {
1226
+ "id": 22,
1227
+ "name": "off",
1228
+ "variant": "declaration",
1229
+ "kind": 1024,
1230
+ "flags": {},
1231
+ "comment": {
1232
+ "summary": [
1233
+ {
1234
+ "kind": "text",
1235
+ "text": "Detach callback(s) from events.\nIf only the \"type\" parameter is set, all callbacks for the specified type will be removed."
1236
+ }
1237
+ ]
1238
+ },
1239
+ "sources": [
1240
+ {
1241
+ "fileName": "relay.ts",
1242
+ "line": 65,
1243
+ "character": 2,
1244
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L65"
1245
+ }
1246
+ ],
1247
+ "type": {
1248
+ "type": "reflection",
1249
+ "declaration": {
1250
+ "id": 23,
1251
+ "name": "__type",
1252
+ "variant": "declaration",
1253
+ "kind": 65536,
1254
+ "flags": {},
1255
+ "sources": [
1256
+ {
1257
+ "fileName": "relay.ts",
1258
+ "line": 65,
1259
+ "character": 7,
1260
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L65"
1261
+ }
1262
+ ],
1263
+ "signatures": [
1264
+ {
1265
+ "id": 24,
1266
+ "name": "__type",
1267
+ "variant": "signature",
1268
+ "kind": 4096,
1269
+ "flags": {},
1270
+ "comment": {
1271
+ "summary": [],
1272
+ "blockTags": [
1273
+ {
1274
+ "tag": "@returns",
1275
+ "content": []
1276
+ }
1277
+ ]
1278
+ },
1279
+ "sources": [
1280
+ {
1281
+ "fileName": "relay.ts",
1282
+ "line": 65,
1283
+ "character": 7,
1284
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L65"
1285
+ }
1286
+ ],
1287
+ "parameters": [
1288
+ {
1289
+ "id": 25,
1290
+ "name": "type",
1291
+ "variant": "param",
1292
+ "kind": 32768,
1293
+ "flags": {},
1294
+ "comment": {
1295
+ "summary": [
1296
+ {
1297
+ "kind": "text",
1298
+ "text": "event's type."
1299
+ }
1300
+ ]
1301
+ },
1302
+ "type": {
1303
+ "type": "intrinsic",
1304
+ "name": "string"
1305
+ }
1306
+ },
1307
+ {
1308
+ "id": 26,
1309
+ "name": "callback",
1310
+ "variant": "param",
1311
+ "kind": 32768,
1312
+ "flags": {
1313
+ "isOptional": true
1314
+ },
1315
+ "comment": {
1316
+ "summary": [
1317
+ {
1318
+ "kind": "text",
1319
+ "text": "callback that should be removed."
1320
+ }
1321
+ ]
1322
+ },
1323
+ "type": {
1324
+ "type": "reference",
1325
+ "target": 46,
1326
+ "name": "EventCallback",
1327
+ "package": "@coveo/relay"
1328
+ }
1329
+ }
1330
+ ],
1331
+ "type": {
1332
+ "type": "intrinsic",
1333
+ "name": "void"
1334
+ }
1335
+ }
1336
+ ]
1337
+ }
1338
+ }
1339
+ },
1340
+ {
1341
+ "id": 17,
1342
+ "name": "on",
1343
+ "variant": "declaration",
1344
+ "kind": 1024,
1345
+ "flags": {},
1346
+ "comment": {
1347
+ "summary": [
1348
+ {
1349
+ "kind": "text",
1350
+ "text": "Attaches an event callback to either all event types or a specific one.\nThe callback set will be called when an event with the specified type is emitted.\nIt’s not possible to modify the payload of the event sent to Coveo using this listener.\nSetting type as \"*\" will trigger the callback for all event types.\nReturns the \"off\" function to detach the event callback."
1351
+ }
1352
+ ]
1353
+ },
1354
+ "sources": [
1355
+ {
1356
+ "fileName": "relay.ts",
1357
+ "line": 56,
1358
+ "character": 2,
1359
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L56"
1360
+ }
1361
+ ],
1362
+ "type": {
1363
+ "type": "reflection",
1364
+ "declaration": {
1365
+ "id": 18,
1366
+ "name": "__type",
1367
+ "variant": "declaration",
1368
+ "kind": 65536,
1369
+ "flags": {},
1370
+ "sources": [
1371
+ {
1372
+ "fileName": "relay.ts",
1373
+ "line": 56,
1374
+ "character": 6,
1375
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L56"
1376
+ }
1377
+ ],
1378
+ "signatures": [
1379
+ {
1380
+ "id": 19,
1381
+ "name": "__type",
1382
+ "variant": "signature",
1383
+ "kind": 4096,
1384
+ "flags": {},
1385
+ "comment": {
1386
+ "summary": [],
1387
+ "blockTags": [
1388
+ {
1389
+ "tag": "@returns",
1390
+ "content": []
1391
+ }
1392
+ ]
1393
+ },
1394
+ "sources": [
1395
+ {
1396
+ "fileName": "relay.ts",
1397
+ "line": 56,
1398
+ "character": 6,
1399
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L56"
1400
+ }
1401
+ ],
1402
+ "parameters": [
1403
+ {
1404
+ "id": 20,
1405
+ "name": "type",
1406
+ "variant": "param",
1407
+ "kind": 32768,
1408
+ "flags": {},
1409
+ "comment": {
1410
+ "summary": [
1411
+ {
1412
+ "kind": "text",
1413
+ "text": "event's type."
1414
+ }
1415
+ ]
1416
+ },
1417
+ "type": {
1418
+ "type": "intrinsic",
1419
+ "name": "string"
1420
+ }
1421
+ },
1422
+ {
1423
+ "id": 21,
1424
+ "name": "callback",
1425
+ "variant": "param",
1426
+ "kind": 32768,
1427
+ "flags": {},
1428
+ "comment": {
1429
+ "summary": [
1430
+ {
1431
+ "kind": "text",
1432
+ "text": "callback that should be called when the event is emitted."
1433
+ }
1434
+ ]
1435
+ },
1436
+ "type": {
1437
+ "type": "reference",
1438
+ "target": 46,
1439
+ "name": "EventCallback",
1440
+ "package": "@coveo/relay"
1441
+ }
1442
+ }
1443
+ ],
1444
+ "type": {
1445
+ "type": "reference",
1446
+ "target": 4,
1447
+ "name": "Off",
1448
+ "package": "@coveo/relay"
1449
+ }
1450
+ }
1451
+ ]
1452
+ }
1453
+ }
1454
+ },
1455
+ {
1456
+ "id": 27,
1457
+ "name": "updateConfig",
1458
+ "variant": "declaration",
1459
+ "kind": 1024,
1460
+ "flags": {},
1461
+ "comment": {
1462
+ "summary": [
1463
+ {
1464
+ "kind": "text",
1465
+ "text": "Updates Relay's configuration after its initialization."
1466
+ }
1467
+ ]
1468
+ },
1469
+ "sources": [
1470
+ {
1471
+ "fileName": "relay.ts",
1472
+ "line": 72,
1473
+ "character": 2,
1474
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L72"
1475
+ }
1476
+ ],
1477
+ "type": {
1478
+ "type": "reflection",
1479
+ "declaration": {
1480
+ "id": 28,
1481
+ "name": "__type",
1482
+ "variant": "declaration",
1483
+ "kind": 65536,
1484
+ "flags": {},
1485
+ "sources": [
1486
+ {
1487
+ "fileName": "relay.ts",
1488
+ "line": 72,
1489
+ "character": 16,
1490
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L72"
1491
+ }
1492
+ ],
1493
+ "signatures": [
1494
+ {
1495
+ "id": 29,
1496
+ "name": "__type",
1497
+ "variant": "signature",
1498
+ "kind": 4096,
1499
+ "flags": {},
1500
+ "comment": {
1501
+ "summary": [],
1502
+ "blockTags": [
1503
+ {
1504
+ "tag": "@returns",
1505
+ "content": []
1506
+ }
1507
+ ]
1508
+ },
1509
+ "sources": [
1510
+ {
1511
+ "fileName": "relay.ts",
1512
+ "line": 72,
1513
+ "character": 16,
1514
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L72"
1515
+ }
1516
+ ],
1517
+ "parameters": [
1518
+ {
1519
+ "id": 30,
1520
+ "name": "config",
1521
+ "variant": "param",
1522
+ "kind": 32768,
1523
+ "flags": {},
1524
+ "comment": {
1525
+ "summary": [
1526
+ {
1527
+ "kind": "text",
1528
+ "text": "configuration that should be updated."
1529
+ }
1530
+ ]
1531
+ },
1532
+ "type": {
1533
+ "type": "reference",
1534
+ "target": {
1535
+ "packageName": "typescript",
1536
+ "packagePath": "lib/lib.es5.d.ts",
1537
+ "qualifiedName": "Partial"
1538
+ },
1539
+ "typeArguments": [
1540
+ {
1541
+ "type": "reference",
1542
+ "target": 50,
1543
+ "name": "RelayConfig",
1544
+ "package": "@coveo/relay"
1545
+ }
1546
+ ],
1547
+ "name": "Partial",
1548
+ "package": "typescript"
1549
+ }
1550
+ }
1551
+ ],
1552
+ "type": {
1553
+ "type": "intrinsic",
1554
+ "name": "void"
1555
+ }
1556
+ }
1557
+ ]
1558
+ }
1559
+ }
1560
+ },
1561
+ {
1562
+ "id": 31,
1563
+ "name": "version",
1564
+ "variant": "declaration",
1565
+ "kind": 1024,
1566
+ "flags": {},
1567
+ "comment": {
1568
+ "summary": [
1569
+ {
1570
+ "kind": "text",
1571
+ "text": "Current version of the Relay library."
1572
+ }
1573
+ ]
1574
+ },
1575
+ "sources": [
1576
+ {
1577
+ "fileName": "relay.ts",
1578
+ "line": 77,
1579
+ "character": 2,
1580
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L77"
1581
+ }
1582
+ ],
1583
+ "type": {
1584
+ "type": "intrinsic",
1585
+ "name": "string"
1586
+ }
1587
+ }
1588
+ ],
1589
+ "groups": [
1590
+ {
1591
+ "title": "Properties",
1592
+ "children": [
1593
+ 8,
1594
+ 13,
1595
+ 22,
1596
+ 17,
1597
+ 27,
1598
+ 31
1599
+ ]
1600
+ }
1601
+ ],
1602
+ "sources": [
1603
+ {
1604
+ "fileName": "relay.ts",
1605
+ "line": 30,
1606
+ "character": 10,
1607
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L30"
1608
+ }
1609
+ ]
1610
+ },
1611
+ {
1612
+ "id": 50,
1613
+ "name": "RelayConfig",
1614
+ "variant": "declaration",
1615
+ "kind": 256,
1616
+ "flags": {},
1617
+ "comment": {
1618
+ "summary": [
1619
+ {
1620
+ "kind": "text",
1621
+ "text": "The "
1622
+ },
1623
+ {
1624
+ "kind": "code",
1625
+ "text": "`RelayConfig`"
1626
+ },
1627
+ {
1628
+ "kind": "text",
1629
+ "text": " object defines the configuration options for initializing a Relay instance."
1630
+ }
1631
+ ]
1632
+ },
1633
+ "children": [
1634
+ {
1635
+ "id": 56,
1636
+ "name": "environment",
1637
+ "variant": "declaration",
1638
+ "kind": 1024,
1639
+ "flags": {
1640
+ "isOptional": true
1641
+ },
1642
+ "comment": {
1643
+ "summary": [
1644
+ {
1645
+ "kind": "text",
1646
+ "text": "Optionally allows you to specify a custom environment for Relay, allowing integrations to override the default behavior.\nThis is useful when Relay runs in unsupported or specialized contexts that require custom handling."
1647
+ }
1648
+ ]
1649
+ },
1650
+ "sources": [
1651
+ {
1652
+ "fileName": "config/config.ts",
1653
+ "line": 62,
1654
+ "character": 2,
1655
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L62"
1656
+ }
1657
+ ],
1658
+ "type": {
1659
+ "type": "reference",
1660
+ "target": 62,
1661
+ "name": "CustomEnvironment",
1662
+ "package": "@coveo/relay"
1663
+ }
1664
+ },
1665
+ {
1666
+ "id": 54,
1667
+ "name": "mode",
1668
+ "variant": "declaration",
1669
+ "kind": 1024,
1670
+ "flags": {
1671
+ "isOptional": true
1672
+ },
1673
+ "comment": {
1674
+ "summary": [
1675
+ {
1676
+ "kind": "text",
1677
+ "text": "Defines the library mode. The available modes are "
1678
+ },
1679
+ {
1680
+ "kind": "code",
1681
+ "text": "`emit`"
1682
+ },
1683
+ {
1684
+ "kind": "text",
1685
+ "text": " and "
1686
+ },
1687
+ {
1688
+ "kind": "code",
1689
+ "text": "`disabled`"
1690
+ },
1691
+ {
1692
+ "kind": "text",
1693
+ "text": ".\n"
1694
+ },
1695
+ {
1696
+ "kind": "code",
1697
+ "text": "`emit`"
1698
+ },
1699
+ {
1700
+ "kind": "text",
1701
+ "text": " sends analytics events to Coveo to be stored.\n"
1702
+ },
1703
+ {
1704
+ "kind": "code",
1705
+ "text": "`disabled`"
1706
+ },
1707
+ {
1708
+ "kind": "text",
1709
+ "text": " prevents the emission of events and does not trigger callbacks."
1710
+ }
1711
+ ],
1712
+ "blockTags": [
1713
+ {
1714
+ "tag": "@default",
1715
+ "content": [
1716
+ {
1717
+ "kind": "code",
1718
+ "text": "```ts\nemit\n```"
1719
+ }
1720
+ ]
1721
+ }
1722
+ ]
1723
+ },
1724
+ "sources": [
1725
+ {
1726
+ "fileName": "config/config.ts",
1727
+ "line": 49,
1728
+ "character": 2,
1729
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L49"
1730
+ }
1731
+ ],
1732
+ "type": {
1733
+ "type": "union",
1734
+ "types": [
1735
+ {
1736
+ "type": "literal",
1737
+ "value": "emit"
1738
+ },
1739
+ {
1740
+ "type": "literal",
1741
+ "value": "disabled"
1742
+ }
1743
+ ]
1744
+ }
1745
+ },
1746
+ {
1747
+ "id": 55,
1748
+ "name": "source",
1749
+ "variant": "declaration",
1750
+ "kind": 1024,
1751
+ "flags": {
1752
+ "isOptional": true
1753
+ },
1754
+ "comment": {
1755
+ "summary": [
1756
+ {
1757
+ "kind": "text",
1758
+ "text": "Optionally allows a Relay integration to specify the name(s) of software package(s) relay is\nbeing called from. These names will be transmitted with each event, along with Relay's own\nversion. The recommendation is to specify them using a 'softwarename@softwareversion' string."
1759
+ }
1760
+ ]
1761
+ },
1762
+ "sources": [
1763
+ {
1764
+ "fileName": "config/config.ts",
1765
+ "line": 56,
1766
+ "character": 2,
1767
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L56"
1768
+ }
1769
+ ],
1770
+ "type": {
1771
+ "type": "array",
1772
+ "elementType": {
1773
+ "type": "intrinsic",
1774
+ "name": "string"
1775
+ }
1776
+ }
1777
+ },
1778
+ {
1779
+ "id": 52,
1780
+ "name": "token",
1781
+ "variant": "declaration",
1782
+ "kind": 1024,
1783
+ "flags": {},
1784
+ "comment": {
1785
+ "summary": [
1786
+ {
1787
+ "kind": "text",
1788
+ "text": "Token to authorize the access to the Event API endpoint."
1789
+ }
1790
+ ]
1791
+ },
1792
+ "sources": [
1793
+ {
1794
+ "fileName": "config/config.ts",
1795
+ "line": 35,
1796
+ "character": 2,
1797
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L35"
1798
+ }
1799
+ ],
1800
+ "type": {
1801
+ "type": "intrinsic",
1802
+ "name": "string"
1803
+ }
1804
+ },
1805
+ {
1806
+ "id": 53,
1807
+ "name": "trackingId",
1808
+ "variant": "declaration",
1809
+ "kind": 1024,
1810
+ "flags": {},
1811
+ "comment": {
1812
+ "summary": [
1813
+ {
1814
+ "kind": "text",
1815
+ "text": "The unique identifier of a web property. See [What's a tracking ID?](https://docs.coveo.com/en/n8tg0567/).\nCan be null, in that case events are assigned to an internal default tracking ID."
1816
+ }
1817
+ ]
1818
+ },
1819
+ "sources": [
1820
+ {
1821
+ "fileName": "config/config.ts",
1822
+ "line": 41,
1823
+ "character": 2,
1824
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L41"
1825
+ }
1826
+ ],
1827
+ "type": {
1828
+ "type": "union",
1829
+ "types": [
1830
+ {
1831
+ "type": "literal",
1832
+ "value": null
1833
+ },
1834
+ {
1835
+ "type": "intrinsic",
1836
+ "name": "string"
1837
+ }
1838
+ ]
1839
+ }
1840
+ },
1841
+ {
1842
+ "id": 51,
1843
+ "name": "url",
1844
+ "variant": "declaration",
1845
+ "kind": 1024,
1846
+ "flags": {},
1847
+ "comment": {
1848
+ "summary": [
1849
+ {
1850
+ "kind": "text",
1851
+ "text": "Endpoint defined to communicate with the Event API."
1852
+ }
1853
+ ]
1854
+ },
1855
+ "sources": [
1856
+ {
1857
+ "fileName": "config/config.ts",
1858
+ "line": 30,
1859
+ "character": 2,
1860
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L30"
1861
+ }
1862
+ ],
1863
+ "type": {
1864
+ "type": "intrinsic",
1865
+ "name": "string"
1866
+ }
1867
+ }
1868
+ ],
1869
+ "groups": [
1870
+ {
1871
+ "title": "Properties",
1872
+ "children": [
1873
+ 56,
1874
+ 54,
1875
+ 55,
1876
+ 52,
1877
+ 53,
1878
+ 51
1879
+ ]
1880
+ }
1881
+ ],
1882
+ "sources": [
1883
+ {
1884
+ "fileName": "config/config.ts",
1885
+ "line": 26,
1886
+ "character": 17,
1887
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L26"
1888
+ }
1889
+ ]
1890
+ },
1891
+ {
1892
+ "id": 58,
1893
+ "name": "RelayEvent",
1894
+ "variant": "declaration",
1895
+ "kind": 256,
1896
+ "flags": {},
1897
+ "comment": {
1898
+ "summary": [
1899
+ {
1900
+ "kind": "text",
1901
+ "text": "Defines the structure of a RelayEvent, extending the RelayPayload."
1902
+ }
1903
+ ]
1904
+ },
1905
+ "children": [
1906
+ {
1907
+ "id": 59,
1908
+ "name": "meta",
1909
+ "variant": "declaration",
1910
+ "kind": 1024,
1911
+ "flags": {},
1912
+ "comment": {
1913
+ "summary": [
1914
+ {
1915
+ "kind": "text",
1916
+ "text": "Read-only "
1917
+ },
1918
+ {
1919
+ "kind": "code",
1920
+ "text": "`meta`"
1921
+ },
1922
+ {
1923
+ "kind": "text",
1924
+ "text": " property of Meta type."
1925
+ }
1926
+ ]
1927
+ },
1928
+ "sources": [
1929
+ {
1930
+ "fileName": "event/relay-event.ts",
1931
+ "line": 14,
1932
+ "character": 2,
1933
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/relay-event.ts#L14"
1934
+ }
1935
+ ],
1936
+ "type": {
1937
+ "type": "reference",
1938
+ "target": {
1939
+ "packageName": "typescript",
1940
+ "packagePath": "lib/lib.es5.d.ts",
1941
+ "qualifiedName": "Readonly"
1942
+ },
1943
+ "typeArguments": [
1944
+ {
1945
+ "type": "reference",
1946
+ "target": 35,
1947
+ "name": "Meta",
1948
+ "package": "@coveo/relay"
1949
+ }
1950
+ ],
1951
+ "name": "Readonly",
1952
+ "package": "typescript"
1953
+ }
1954
+ }
1955
+ ],
1956
+ "groups": [
1957
+ {
1958
+ "title": "Properties",
1959
+ "children": [
1960
+ 59
1961
+ ]
1962
+ }
1963
+ ],
1964
+ "sources": [
1965
+ {
1966
+ "fileName": "event/relay-event.ts",
1967
+ "line": 10,
1968
+ "character": 17,
1969
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/event/relay-event.ts#L10"
1970
+ }
1971
+ ],
1972
+ "extendedTypes": [
1973
+ {
1974
+ "type": "reference",
1975
+ "target": 57,
1976
+ "name": "RelayPayload",
1977
+ "package": "@coveo/relay"
1978
+ }
1979
+ ]
1980
+ },
1981
+ {
1982
+ "id": 86,
1983
+ "name": "Storage",
1984
+ "variant": "declaration",
1985
+ "kind": 256,
1986
+ "flags": {},
1987
+ "comment": {
1988
+ "summary": [
1989
+ {
1990
+ "kind": "text",
1991
+ "text": "Interface that defines a minimal key-value storage mechanism used by Relay."
1992
+ }
1993
+ ]
1994
+ },
1995
+ "children": [
1996
+ {
1997
+ "id": 87,
1998
+ "name": "getItem",
1999
+ "variant": "declaration",
2000
+ "kind": 1024,
2001
+ "flags": {},
2002
+ "comment": {
2003
+ "summary": [
2004
+ {
2005
+ "kind": "text",
2006
+ "text": "Retrieves the stored string value associated with the specified key.\nReturns "
2007
+ },
2008
+ {
2009
+ "kind": "code",
2010
+ "text": "`null`"
2011
+ },
2012
+ {
2013
+ "kind": "text",
2014
+ "text": " if the key does not exist or has no value."
2015
+ }
2016
+ ]
2017
+ },
2018
+ "sources": [
2019
+ {
2020
+ "fileName": "environment/storage.ts",
2021
+ "line": 11,
2022
+ "character": 2,
2023
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L11"
2024
+ }
2025
+ ],
2026
+ "type": {
2027
+ "type": "reflection",
2028
+ "declaration": {
2029
+ "id": 88,
2030
+ "name": "__type",
2031
+ "variant": "declaration",
2032
+ "kind": 65536,
2033
+ "flags": {},
2034
+ "sources": [
2035
+ {
2036
+ "fileName": "environment/storage.ts",
2037
+ "line": 11,
2038
+ "character": 11,
2039
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L11"
2040
+ }
2041
+ ],
2042
+ "signatures": [
2043
+ {
2044
+ "id": 89,
2045
+ "name": "__type",
2046
+ "variant": "signature",
2047
+ "kind": 4096,
2048
+ "flags": {},
2049
+ "comment": {
2050
+ "summary": [],
2051
+ "blockTags": [
2052
+ {
2053
+ "tag": "@returns",
2054
+ "content": []
2055
+ }
2056
+ ]
2057
+ },
2058
+ "sources": [
2059
+ {
2060
+ "fileName": "environment/storage.ts",
2061
+ "line": 11,
2062
+ "character": 11,
2063
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L11"
2064
+ }
2065
+ ],
2066
+ "parameters": [
2067
+ {
2068
+ "id": 90,
2069
+ "name": "key",
2070
+ "variant": "param",
2071
+ "kind": 32768,
2072
+ "flags": {},
2073
+ "comment": {
2074
+ "summary": [
2075
+ {
2076
+ "kind": "text",
2077
+ "text": "Key corresponding to the desired value."
2078
+ }
2079
+ ]
2080
+ },
2081
+ "type": {
2082
+ "type": "intrinsic",
2083
+ "name": "string"
2084
+ }
2085
+ }
2086
+ ],
2087
+ "type": {
2088
+ "type": "union",
2089
+ "types": [
2090
+ {
2091
+ "type": "literal",
2092
+ "value": null
2093
+ },
2094
+ {
2095
+ "type": "intrinsic",
2096
+ "name": "string"
2097
+ }
2098
+ ]
2099
+ }
2100
+ }
2101
+ ]
2102
+ }
2103
+ }
2104
+ },
2105
+ {
2106
+ "id": 91,
2107
+ "name": "removeItem",
2108
+ "variant": "declaration",
2109
+ "kind": 1024,
2110
+ "flags": {},
2111
+ "comment": {
2112
+ "summary": [
2113
+ {
2114
+ "kind": "text",
2115
+ "text": "Removes the value associated with the specified key from storage.\nIf the key does not exist, no action is taken."
2116
+ }
2117
+ ]
2118
+ },
2119
+ "sources": [
2120
+ {
2121
+ "fileName": "environment/storage.ts",
2122
+ "line": 19,
2123
+ "character": 2,
2124
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L19"
2125
+ }
2126
+ ],
2127
+ "type": {
2128
+ "type": "reflection",
2129
+ "declaration": {
2130
+ "id": 92,
2131
+ "name": "__type",
2132
+ "variant": "declaration",
2133
+ "kind": 65536,
2134
+ "flags": {},
2135
+ "sources": [
2136
+ {
2137
+ "fileName": "environment/storage.ts",
2138
+ "line": 19,
2139
+ "character": 14,
2140
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L19"
2141
+ }
2142
+ ],
2143
+ "signatures": [
2144
+ {
2145
+ "id": 93,
2146
+ "name": "__type",
2147
+ "variant": "signature",
2148
+ "kind": 4096,
2149
+ "flags": {},
2150
+ "comment": {
2151
+ "summary": [],
2152
+ "blockTags": [
2153
+ {
2154
+ "tag": "@returns",
2155
+ "content": []
2156
+ }
2157
+ ]
2158
+ },
2159
+ "sources": [
2160
+ {
2161
+ "fileName": "environment/storage.ts",
2162
+ "line": 19,
2163
+ "character": 14,
2164
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L19"
2165
+ }
2166
+ ],
2167
+ "parameters": [
2168
+ {
2169
+ "id": 94,
2170
+ "name": "key",
2171
+ "variant": "param",
2172
+ "kind": 32768,
2173
+ "flags": {},
2174
+ "comment": {
2175
+ "summary": [
2176
+ {
2177
+ "kind": "text",
2178
+ "text": "Key to remove."
2179
+ }
2180
+ ]
2181
+ },
2182
+ "type": {
2183
+ "type": "intrinsic",
2184
+ "name": "string"
2185
+ }
2186
+ }
2187
+ ],
2188
+ "type": {
2189
+ "type": "intrinsic",
2190
+ "name": "void"
2191
+ }
2192
+ }
2193
+ ]
2194
+ }
2195
+ }
2196
+ },
2197
+ {
2198
+ "id": 95,
2199
+ "name": "setItem",
2200
+ "variant": "declaration",
2201
+ "kind": 1024,
2202
+ "flags": {},
2203
+ "comment": {
2204
+ "summary": [
2205
+ {
2206
+ "kind": "text",
2207
+ "text": "Stores a string value under the specified key. Overwrites any existing value."
2208
+ }
2209
+ ]
2210
+ },
2211
+ "sources": [
2212
+ {
2213
+ "fileName": "environment/storage.ts",
2214
+ "line": 27,
2215
+ "character": 2,
2216
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L27"
2217
+ }
2218
+ ],
2219
+ "type": {
2220
+ "type": "reflection",
2221
+ "declaration": {
2222
+ "id": 96,
2223
+ "name": "__type",
2224
+ "variant": "declaration",
2225
+ "kind": 65536,
2226
+ "flags": {},
2227
+ "sources": [
2228
+ {
2229
+ "fileName": "environment/storage.ts",
2230
+ "line": 27,
2231
+ "character": 11,
2232
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L27"
2233
+ }
2234
+ ],
2235
+ "signatures": [
2236
+ {
2237
+ "id": 97,
2238
+ "name": "__type",
2239
+ "variant": "signature",
2240
+ "kind": 4096,
2241
+ "flags": {},
2242
+ "comment": {
2243
+ "summary": [],
2244
+ "blockTags": [
2245
+ {
2246
+ "tag": "@returns",
2247
+ "content": []
2248
+ }
2249
+ ]
2250
+ },
2251
+ "sources": [
2252
+ {
2253
+ "fileName": "environment/storage.ts",
2254
+ "line": 27,
2255
+ "character": 11,
2256
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L27"
2257
+ }
2258
+ ],
2259
+ "parameters": [
2260
+ {
2261
+ "id": 98,
2262
+ "name": "key",
2263
+ "variant": "param",
2264
+ "kind": 32768,
2265
+ "flags": {},
2266
+ "comment": {
2267
+ "summary": [
2268
+ {
2269
+ "kind": "text",
2270
+ "text": "Key under which the value should be stored."
2271
+ }
2272
+ ]
2273
+ },
2274
+ "type": {
2275
+ "type": "intrinsic",
2276
+ "name": "string"
2277
+ }
2278
+ },
2279
+ {
2280
+ "id": 99,
2281
+ "name": "data",
2282
+ "variant": "param",
2283
+ "kind": 32768,
2284
+ "flags": {},
2285
+ "comment": {
2286
+ "summary": [
2287
+ {
2288
+ "kind": "text",
2289
+ "text": "String data to store."
2290
+ }
2291
+ ]
2292
+ },
2293
+ "type": {
2294
+ "type": "intrinsic",
2295
+ "name": "string"
2296
+ }
2297
+ }
2298
+ ],
2299
+ "type": {
2300
+ "type": "intrinsic",
2301
+ "name": "void"
2302
+ }
2303
+ }
2304
+ ]
2305
+ }
2306
+ }
2307
+ }
2308
+ ],
2309
+ "groups": [
2310
+ {
2311
+ "title": "Properties",
2312
+ "children": [
2313
+ 87,
2314
+ 91,
2315
+ 95
2316
+ ]
2317
+ }
2318
+ ],
2319
+ "sources": [
2320
+ {
2321
+ "fileName": "environment/storage.ts",
2322
+ "line": 4,
2323
+ "character": 17,
2324
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/environment/storage.ts#L4"
2325
+ }
2326
+ ]
2327
+ },
2328
+ {
2329
+ "id": 62,
2330
+ "name": "CustomEnvironment",
2331
+ "variant": "declaration",
2332
+ "kind": 2097152,
2333
+ "flags": {},
2334
+ "comment": {
2335
+ "summary": [
2336
+ {
2337
+ "kind": "text",
2338
+ "text": "Partial override of the "
2339
+ },
2340
+ {
2341
+ "kind": "code",
2342
+ "text": "`Environment`"
2343
+ },
2344
+ {
2345
+ "kind": "text",
2346
+ "text": " interface, used to customize Relay’s behavior\nin non-standard browser runtimes.\n\nThis type allows selective replacement of key environment functions without requiring\nfull control over all "
2347
+ },
2348
+ {
2349
+ "kind": "code",
2350
+ "text": "`Environment`"
2351
+ },
2352
+ {
2353
+ "kind": "text",
2354
+ "text": " responsibilities."
2355
+ }
2356
+ ]
2357
+ },
2358
+ "sources": [
2359
+ {
2360
+ "fileName": "config/config.ts",
2361
+ "line": 11,
2362
+ "character": 12,
2363
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L11"
2364
+ }
2365
+ ],
2366
+ "type": {
2367
+ "type": "intersection",
2368
+ "types": [
2369
+ {
2370
+ "type": "reference",
2371
+ "target": {
2372
+ "packageName": "typescript",
2373
+ "packagePath": "lib/lib.es5.d.ts",
2374
+ "qualifiedName": "Pick"
2375
+ },
2376
+ "typeArguments": [
2377
+ {
2378
+ "type": "reference",
2379
+ "target": 65,
2380
+ "name": "Environment",
2381
+ "package": "@coveo/relay"
2382
+ },
2383
+ {
2384
+ "type": "union",
2385
+ "types": [
2386
+ {
2387
+ "type": "literal",
2388
+ "value": "generateUUID"
2389
+ },
2390
+ {
2391
+ "type": "literal",
2392
+ "value": "getLocation"
2393
+ },
2394
+ {
2395
+ "type": "literal",
2396
+ "value": "getReferrer"
2397
+ },
2398
+ {
2399
+ "type": "literal",
2400
+ "value": "getUserAgent"
2401
+ },
2402
+ {
2403
+ "type": "literal",
2404
+ "value": "send"
2405
+ }
2406
+ ]
2407
+ }
2408
+ ],
2409
+ "name": "Pick",
2410
+ "package": "typescript"
2411
+ },
2412
+ {
2413
+ "type": "reflection",
2414
+ "declaration": {
2415
+ "id": 63,
2416
+ "name": "__type",
2417
+ "variant": "declaration",
2418
+ "kind": 65536,
2419
+ "flags": {},
2420
+ "children": [
2421
+ {
2422
+ "id": 64,
2423
+ "name": "storage",
2424
+ "variant": "declaration",
2425
+ "kind": 1024,
2426
+ "flags": {
2427
+ "isOptional": true
2428
+ },
2429
+ "comment": {
2430
+ "summary": [
2431
+ {
2432
+ "kind": "text",
2433
+ "text": "Optional custom implementation of a storage mechanism (e.g., in-memory, cookie-based).\nIf not provided, the default storage implementation will be used."
2434
+ }
2435
+ ]
2436
+ },
2437
+ "sources": [
2438
+ {
2439
+ "fileName": "config/config.ts",
2440
+ "line": 20,
2441
+ "character": 2,
2442
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L20"
2443
+ }
2444
+ ],
2445
+ "type": {
2446
+ "type": "reference",
2447
+ "target": 86,
2448
+ "name": "Storage",
2449
+ "package": "@coveo/relay"
2450
+ }
2451
+ }
2452
+ ],
2453
+ "groups": [
2454
+ {
2455
+ "title": "Properties",
2456
+ "children": [
2457
+ 64
2458
+ ]
2459
+ }
2460
+ ],
2461
+ "sources": [
2462
+ {
2463
+ "fileName": "config/config.ts",
2464
+ "line": 14,
2465
+ "character": 4,
2466
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/config/config.ts#L14"
2467
+ }
2468
+ ]
2469
+ }
2470
+ }
2471
+ ]
2472
+ }
2473
+ },
2474
+ {
2475
+ "id": 46,
2476
+ "name": "EventCallback",
2477
+ "variant": "declaration",
2478
+ "kind": 2097152,
2479
+ "flags": {},
2480
+ "comment": {
2481
+ "summary": [
2482
+ {
2483
+ "kind": "text",
2484
+ "text": "Callback to perform an action when a specified event is emitted."
2485
+ }
2486
+ ]
2487
+ },
2488
+ "sources": [
2489
+ {
2490
+ "fileName": "listener/listener.ts",
2491
+ "line": 11,
2492
+ "character": 12,
2493
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/listener/listener.ts#L11"
2494
+ }
2495
+ ],
2496
+ "type": {
2497
+ "type": "reflection",
2498
+ "declaration": {
2499
+ "id": 47,
2500
+ "name": "__type",
2501
+ "variant": "declaration",
2502
+ "kind": 65536,
2503
+ "flags": {},
2504
+ "sources": [
2505
+ {
2506
+ "fileName": "listener/listener.ts",
2507
+ "line": 11,
2508
+ "character": 28,
2509
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/listener/listener.ts#L11"
2510
+ }
2511
+ ],
2512
+ "signatures": [
2513
+ {
2514
+ "id": 48,
2515
+ "name": "__type",
2516
+ "variant": "signature",
2517
+ "kind": 4096,
2518
+ "flags": {},
2519
+ "comment": {
2520
+ "summary": [],
2521
+ "blockTags": [
2522
+ {
2523
+ "tag": "@returns",
2524
+ "content": []
2525
+ }
2526
+ ]
2527
+ },
2528
+ "parameters": [
2529
+ {
2530
+ "id": 49,
2531
+ "name": "event",
2532
+ "variant": "param",
2533
+ "kind": 32768,
2534
+ "flags": {},
2535
+ "comment": {
2536
+ "summary": [
2537
+ {
2538
+ "kind": "text",
2539
+ "text": "the Relay event payload that triggered the callback."
2540
+ }
2541
+ ]
2542
+ },
2543
+ "type": {
2544
+ "type": "reference",
2545
+ "target": 58,
2546
+ "name": "RelayEvent",
2547
+ "package": "@coveo/relay"
2548
+ }
2549
+ }
2550
+ ],
2551
+ "type": {
2552
+ "type": "intrinsic",
2553
+ "name": "void"
2554
+ }
2555
+ }
2556
+ ]
2557
+ }
2558
+ }
2559
+ },
2560
+ {
2561
+ "id": 4,
2562
+ "name": "Off",
2563
+ "variant": "declaration",
2564
+ "kind": 2097152,
2565
+ "flags": {},
2566
+ "comment": {
2567
+ "summary": [
2568
+ {
2569
+ "kind": "text",
2570
+ "text": "Function that detaches an event callback."
2571
+ }
2572
+ ]
2573
+ },
2574
+ "sources": [
2575
+ {
2576
+ "fileName": "relay.ts",
2577
+ "line": 24,
2578
+ "character": 12,
2579
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L24"
2580
+ }
2581
+ ],
2582
+ "type": {
2583
+ "type": "reflection",
2584
+ "declaration": {
2585
+ "id": 5,
2586
+ "name": "__type",
2587
+ "variant": "declaration",
2588
+ "kind": 65536,
2589
+ "flags": {},
2590
+ "sources": [
2591
+ {
2592
+ "fileName": "relay.ts",
2593
+ "line": 24,
2594
+ "character": 18,
2595
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L24"
2596
+ }
2597
+ ],
2598
+ "signatures": [
2599
+ {
2600
+ "id": 6,
2601
+ "name": "__type",
2602
+ "variant": "signature",
2603
+ "kind": 4096,
2604
+ "flags": {},
2605
+ "comment": {
2606
+ "summary": [],
2607
+ "blockTags": [
2608
+ {
2609
+ "tag": "@returns",
2610
+ "content": []
2611
+ }
2612
+ ]
2613
+ },
2614
+ "type": {
2615
+ "type": "intrinsic",
2616
+ "name": "void"
2617
+ }
2618
+ }
2619
+ ]
2620
+ }
2621
+ }
2622
+ },
2623
+ {
2624
+ "id": 57,
2625
+ "name": "RelayPayload",
2626
+ "variant": "declaration",
2627
+ "kind": 2097152,
2628
+ "flags": {},
2629
+ "comment": {
2630
+ "summary": [
2631
+ {
2632
+ "kind": "text",
2633
+ "text": "Represents the payload sent with Relay.\nIt is a object with string keys and values of any type."
2634
+ }
2635
+ ]
2636
+ },
2637
+ "sources": [
2638
+ {
2639
+ "fileName": "relay-payload.ts",
2640
+ "line": 5,
2641
+ "character": 12,
2642
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay-payload.ts#L5"
2643
+ }
2644
+ ],
2645
+ "type": {
2646
+ "type": "reference",
2647
+ "target": {
2648
+ "packageName": "typescript",
2649
+ "packagePath": "lib/lib.es5.d.ts",
2650
+ "qualifiedName": "Record"
2651
+ },
2652
+ "typeArguments": [
2653
+ {
2654
+ "type": "intrinsic",
2655
+ "name": "string"
2656
+ },
2657
+ {
2658
+ "type": "intrinsic",
2659
+ "name": "any"
2660
+ }
2661
+ ],
2662
+ "name": "Record",
2663
+ "package": "typescript"
2664
+ },
2665
+ "extendedBy": [
2666
+ {
2667
+ "type": "reference",
2668
+ "target": 58,
2669
+ "name": "RelayEvent"
2670
+ }
2671
+ ]
2672
+ },
2673
+ {
2674
+ "id": 1,
2675
+ "name": "createRelay",
2676
+ "variant": "declaration",
2677
+ "kind": 64,
2678
+ "flags": {},
2679
+ "sources": [
2680
+ {
2681
+ "fileName": "relay.ts",
2682
+ "line": 85,
2683
+ "character": 16,
2684
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L85"
2685
+ }
2686
+ ],
2687
+ "signatures": [
2688
+ {
2689
+ "id": 2,
2690
+ "name": "createRelay",
2691
+ "variant": "signature",
2692
+ "kind": 4096,
2693
+ "flags": {},
2694
+ "comment": {
2695
+ "summary": [
2696
+ {
2697
+ "kind": "text",
2698
+ "text": "Initializes the Relay library object."
2699
+ }
2700
+ ],
2701
+ "blockTags": [
2702
+ {
2703
+ "tag": "@returns",
2704
+ "content": []
2705
+ }
2706
+ ]
2707
+ },
2708
+ "sources": [
2709
+ {
2710
+ "fileName": "relay.ts",
2711
+ "line": 85,
2712
+ "character": 16,
2713
+ "url": "https://github.com/coveo-platform/relay/blob/2e3ef2c49d91a8265759522e3f4d7c4e7be10c35/packages/relay/src/relay.ts#L85"
2714
+ }
2715
+ ],
2716
+ "parameters": [
2717
+ {
2718
+ "id": 3,
2719
+ "name": "initialConfig",
2720
+ "variant": "param",
2721
+ "kind": 32768,
2722
+ "flags": {},
2723
+ "type": {
2724
+ "type": "reference",
2725
+ "target": 50,
2726
+ "name": "RelayConfig",
2727
+ "package": "@coveo/relay"
2728
+ }
2729
+ }
2730
+ ],
2731
+ "type": {
2732
+ "type": "reference",
2733
+ "target": 7,
2734
+ "name": "Relay",
2735
+ "package": "@coveo/relay"
2736
+ }
2737
+ }
2738
+ ]
2739
+ }
2740
+ ],
2741
+ "groups": [
2742
+ {
2743
+ "title": "Interfaces",
2744
+ "children": [
2745
+ 65,
2746
+ 44,
2747
+ 35,
2748
+ 7,
2749
+ 50,
2750
+ 58,
2751
+ 86
2752
+ ]
2753
+ },
2754
+ {
2755
+ "title": "Type Aliases",
2756
+ "children": [
2757
+ 62,
2758
+ 46,
2759
+ 4,
2760
+ 57
2761
+ ]
2762
+ },
2763
+ {
2764
+ "title": "Functions",
2765
+ "children": [
2766
+ 1
2767
+ ]
2768
+ }
2769
+ ],
2770
+ "packageName": "@coveo/relay",
2771
+ "packageVersion": "1.2.2",
2772
+ "readme": [
2773
+ {
2774
+ "kind": "text",
2775
+ "text": "# @coveo/relay\n\nRelay is a compact library for emitting Event Protocol analytics events. It simplifies tracking relevant user interactions. This analytics data powers reports and helps train Coveo Machine Learning models.\n\n## Usage\n\nFirst, create an instance of Relay in your project. This instance can then be used to emit an event or perform other actions.\n\n"
2776
+ },
2777
+ {
2778
+ "kind": "code",
2779
+ "text": "```js\nimport { createRelay } from \"@coveo/relay\";\n\nconst config = {...};\nconst relay = createRelay(config);\n\nconst payload = {...};\nrelay.emit('itemView', payload);\n```"
2780
+ },
2781
+ {
2782
+ "kind": "text",
2783
+ "text": "\n\n## Official documentation\n\n- [Learn more about Relay](https://docs.coveo.com/en/relay/latest/)\n- [List of Event API schemas and reference types](https://docs.coveo.com/en/n9da0377/build-a-search-ui/event-api-reference)"
2784
+ }
2785
+ ],
2786
+ "symbolIdMap": {
2787
+ "0": {
2788
+ "packageName": "@coveo/relay",
2789
+ "packagePath": "src/relay.ts",
2790
+ "qualifiedName": ""
2791
+ },
2792
+ "1": {
2793
+ "packageName": "@coveo/relay",
2794
+ "packagePath": "src/relay.ts",
2795
+ "qualifiedName": "createRelay"
2796
+ },
2797
+ "2": {
2798
+ "packageName": "@coveo/relay",
2799
+ "packagePath": "src/relay.ts",
2800
+ "qualifiedName": "createRelay"
2801
+ },
2802
+ "3": {
2803
+ "packageName": "@coveo/relay",
2804
+ "packagePath": "src/relay.ts",
2805
+ "qualifiedName": "initialConfig"
2806
+ },
2807
+ "4": {
2808
+ "packageName": "@coveo/relay",
2809
+ "packagePath": "src/relay.ts",
2810
+ "qualifiedName": "Off"
2811
+ },
2812
+ "5": {
2813
+ "packageName": "@coveo/relay",
2814
+ "packagePath": "src/relay.ts",
2815
+ "qualifiedName": "__type"
2816
+ },
2817
+ "6": {
2818
+ "packageName": "@coveo/relay",
2819
+ "packagePath": "src/relay.ts",
2820
+ "qualifiedName": "__type"
2821
+ },
2822
+ "7": {
2823
+ "packageName": "@coveo/relay",
2824
+ "packagePath": "src/relay.ts",
2825
+ "qualifiedName": "Relay"
2826
+ },
2827
+ "8": {
2828
+ "packageName": "@coveo/relay",
2829
+ "packagePath": "src/relay.ts",
2830
+ "qualifiedName": "Relay.emit"
2831
+ },
2832
+ "9": {
2833
+ "packageName": "@coveo/relay",
2834
+ "packagePath": "src/relay.ts",
2835
+ "qualifiedName": "__type"
2836
+ },
2837
+ "10": {
2838
+ "packageName": "@coveo/relay",
2839
+ "packagePath": "src/relay.ts",
2840
+ "qualifiedName": "__type"
2841
+ },
2842
+ "11": {
2843
+ "packageName": "@coveo/relay",
2844
+ "packagePath": "src/relay.ts",
2845
+ "qualifiedName": "type"
2846
+ },
2847
+ "12": {
2848
+ "packageName": "@coveo/relay",
2849
+ "packagePath": "src/relay.ts",
2850
+ "qualifiedName": "payload"
2851
+ },
2852
+ "13": {
2853
+ "packageName": "@coveo/relay",
2854
+ "packagePath": "src/relay.ts",
2855
+ "qualifiedName": "Relay.getMeta"
2856
+ },
2857
+ "14": {
2858
+ "packageName": "@coveo/relay",
2859
+ "packagePath": "src/relay.ts",
2860
+ "qualifiedName": "__type"
2861
+ },
2862
+ "15": {
2863
+ "packageName": "@coveo/relay",
2864
+ "packagePath": "src/relay.ts",
2865
+ "qualifiedName": "__type"
2866
+ },
2867
+ "16": {
2868
+ "packageName": "@coveo/relay",
2869
+ "packagePath": "src/relay.ts",
2870
+ "qualifiedName": "type"
2871
+ },
2872
+ "17": {
2873
+ "packageName": "@coveo/relay",
2874
+ "packagePath": "src/relay.ts",
2875
+ "qualifiedName": "Relay.on"
2876
+ },
2877
+ "18": {
2878
+ "packageName": "@coveo/relay",
2879
+ "packagePath": "src/relay.ts",
2880
+ "qualifiedName": "__type"
2881
+ },
2882
+ "19": {
2883
+ "packageName": "@coveo/relay",
2884
+ "packagePath": "src/relay.ts",
2885
+ "qualifiedName": "__type"
2886
+ },
2887
+ "20": {
2888
+ "packageName": "@coveo/relay",
2889
+ "packagePath": "src/relay.ts",
2890
+ "qualifiedName": "type"
2891
+ },
2892
+ "21": {
2893
+ "packageName": "@coveo/relay",
2894
+ "packagePath": "src/relay.ts",
2895
+ "qualifiedName": "callback"
2896
+ },
2897
+ "22": {
2898
+ "packageName": "@coveo/relay",
2899
+ "packagePath": "src/relay.ts",
2900
+ "qualifiedName": "Relay.off"
2901
+ },
2902
+ "23": {
2903
+ "packageName": "@coveo/relay",
2904
+ "packagePath": "src/relay.ts",
2905
+ "qualifiedName": "__type"
2906
+ },
2907
+ "24": {
2908
+ "packageName": "@coveo/relay",
2909
+ "packagePath": "src/relay.ts",
2910
+ "qualifiedName": "__type"
2911
+ },
2912
+ "25": {
2913
+ "packageName": "@coveo/relay",
2914
+ "packagePath": "src/relay.ts",
2915
+ "qualifiedName": "type"
2916
+ },
2917
+ "26": {
2918
+ "packageName": "@coveo/relay",
2919
+ "packagePath": "src/relay.ts",
2920
+ "qualifiedName": "callback"
2921
+ },
2922
+ "27": {
2923
+ "packageName": "@coveo/relay",
2924
+ "packagePath": "src/relay.ts",
2925
+ "qualifiedName": "Relay.updateConfig"
2926
+ },
2927
+ "28": {
2928
+ "packageName": "@coveo/relay",
2929
+ "packagePath": "src/relay.ts",
2930
+ "qualifiedName": "__type"
2931
+ },
2932
+ "29": {
2933
+ "packageName": "@coveo/relay",
2934
+ "packagePath": "src/relay.ts",
2935
+ "qualifiedName": "__type"
2936
+ },
2937
+ "30": {
2938
+ "packageName": "@coveo/relay",
2939
+ "packagePath": "src/relay.ts",
2940
+ "qualifiedName": "config"
2941
+ },
2942
+ "31": {
2943
+ "packageName": "@coveo/relay",
2944
+ "packagePath": "src/relay.ts",
2945
+ "qualifiedName": "Relay.version"
2946
+ },
2947
+ "35": {
2948
+ "packageName": "@coveo/relay",
2949
+ "packagePath": "src/event/meta/meta.ts",
2950
+ "qualifiedName": "Meta"
2951
+ },
2952
+ "36": {
2953
+ "packageName": "@coveo/relay",
2954
+ "packagePath": "src/event/meta/meta.ts",
2955
+ "qualifiedName": "Meta.type"
2956
+ },
2957
+ "37": {
2958
+ "packageName": "@coveo/relay",
2959
+ "packagePath": "src/event/meta/meta.ts",
2960
+ "qualifiedName": "Meta.config"
2961
+ },
2962
+ "38": {
2963
+ "packageName": "@coveo/relay",
2964
+ "packagePath": "src/event/meta/meta.ts",
2965
+ "qualifiedName": "Meta.ts"
2966
+ },
2967
+ "39": {
2968
+ "packageName": "@coveo/relay",
2969
+ "packagePath": "src/event/meta/meta.ts",
2970
+ "qualifiedName": "Meta.source"
2971
+ },
2972
+ "40": {
2973
+ "packageName": "@coveo/relay",
2974
+ "packagePath": "src/event/meta/meta.ts",
2975
+ "qualifiedName": "Meta.clientId"
2976
+ },
2977
+ "41": {
2978
+ "packageName": "@coveo/relay",
2979
+ "packagePath": "src/event/meta/meta.ts",
2980
+ "qualifiedName": "Meta.userAgent"
2981
+ },
2982
+ "42": {
2983
+ "packageName": "@coveo/relay",
2984
+ "packagePath": "src/event/meta/meta.ts",
2985
+ "qualifiedName": "Meta.referrer"
2986
+ },
2987
+ "43": {
2988
+ "packageName": "@coveo/relay",
2989
+ "packagePath": "src/event/meta/meta.ts",
2990
+ "qualifiedName": "Meta.location"
2991
+ },
2992
+ "44": {
2993
+ "packageName": "@coveo/relay",
2994
+ "packagePath": "src/event/meta/meta.ts",
2995
+ "qualifiedName": "EventConfig"
2996
+ },
2997
+ "45": {
2998
+ "packageName": "@coveo/relay",
2999
+ "packagePath": "src/event/meta/meta.ts",
3000
+ "qualifiedName": "EventConfig.trackingId"
3001
+ },
3002
+ "46": {
3003
+ "packageName": "@coveo/relay",
3004
+ "packagePath": "src/listener/listener.ts",
3005
+ "qualifiedName": "EventCallback"
3006
+ },
3007
+ "47": {
3008
+ "packageName": "@coveo/relay",
3009
+ "packagePath": "src/listener/listener.ts",
3010
+ "qualifiedName": "__type"
3011
+ },
3012
+ "48": {
3013
+ "packageName": "@coveo/relay",
3014
+ "packagePath": "src/listener/listener.ts",
3015
+ "qualifiedName": "__type"
3016
+ },
3017
+ "49": {
3018
+ "packageName": "@coveo/relay",
3019
+ "packagePath": "src/listener/listener.ts",
3020
+ "qualifiedName": "event"
3021
+ },
3022
+ "50": {
3023
+ "packageName": "@coveo/relay",
3024
+ "packagePath": "src/config/config.ts",
3025
+ "qualifiedName": "RelayConfig"
3026
+ },
3027
+ "51": {
3028
+ "packageName": "@coveo/relay",
3029
+ "packagePath": "src/config/config.ts",
3030
+ "qualifiedName": "RelayConfig.url"
3031
+ },
3032
+ "52": {
3033
+ "packageName": "@coveo/relay",
3034
+ "packagePath": "src/config/config.ts",
3035
+ "qualifiedName": "RelayConfig.token"
3036
+ },
3037
+ "53": {
3038
+ "packageName": "@coveo/relay",
3039
+ "packagePath": "src/config/config.ts",
3040
+ "qualifiedName": "RelayConfig.trackingId"
3041
+ },
3042
+ "54": {
3043
+ "packageName": "@coveo/relay",
3044
+ "packagePath": "src/config/config.ts",
3045
+ "qualifiedName": "RelayConfig.mode"
3046
+ },
3047
+ "55": {
3048
+ "packageName": "@coveo/relay",
3049
+ "packagePath": "src/config/config.ts",
3050
+ "qualifiedName": "RelayConfig.source"
3051
+ },
3052
+ "56": {
3053
+ "packageName": "@coveo/relay",
3054
+ "packagePath": "src/config/config.ts",
3055
+ "qualifiedName": "RelayConfig.environment"
3056
+ },
3057
+ "57": {
3058
+ "packageName": "@coveo/relay",
3059
+ "packagePath": "src/relay-payload.ts",
3060
+ "qualifiedName": "RelayPayload"
3061
+ },
3062
+ "58": {
3063
+ "packageName": "@coveo/relay",
3064
+ "packagePath": "src/event/relay-event.ts",
3065
+ "qualifiedName": "RelayEvent"
3066
+ },
3067
+ "59": {
3068
+ "packageName": "@coveo/relay",
3069
+ "packagePath": "src/event/relay-event.ts",
3070
+ "qualifiedName": "RelayEvent.meta"
3071
+ },
3072
+ "62": {
3073
+ "packageName": "@coveo/relay",
3074
+ "packagePath": "src/config/config.ts",
3075
+ "qualifiedName": "CustomEnvironment"
3076
+ },
3077
+ "63": {
3078
+ "packageName": "@coveo/relay",
3079
+ "packagePath": "src/config/config.ts",
3080
+ "qualifiedName": "__type"
3081
+ },
3082
+ "64": {
3083
+ "packageName": "@coveo/relay",
3084
+ "packagePath": "src/config/config.ts",
3085
+ "qualifiedName": "__type.storage"
3086
+ },
3087
+ "65": {
3088
+ "packageName": "@coveo/relay",
3089
+ "packagePath": "src/environment/environment.ts",
3090
+ "qualifiedName": "Environment"
3091
+ },
3092
+ "66": {
3093
+ "packageName": "@coveo/relay",
3094
+ "packagePath": "src/environment/environment.ts",
3095
+ "qualifiedName": "Environment.runtime"
3096
+ },
3097
+ "67": {
3098
+ "packageName": "@coveo/relay",
3099
+ "packagePath": "src/environment/environment.ts",
3100
+ "qualifiedName": "Environment.send"
3101
+ },
3102
+ "68": {
3103
+ "packageName": "@coveo/relay",
3104
+ "packagePath": "src/environment/environment.ts",
3105
+ "qualifiedName": "__type"
3106
+ },
3107
+ "69": {
3108
+ "packageName": "@coveo/relay",
3109
+ "packagePath": "src/environment/environment.ts",
3110
+ "qualifiedName": "__type"
3111
+ },
3112
+ "70": {
3113
+ "packageName": "@coveo/relay",
3114
+ "packagePath": "src/environment/environment.ts",
3115
+ "qualifiedName": "url"
3116
+ },
3117
+ "71": {
3118
+ "packageName": "@coveo/relay",
3119
+ "packagePath": "src/environment/environment.ts",
3120
+ "qualifiedName": "token"
3121
+ },
3122
+ "72": {
3123
+ "packageName": "@coveo/relay",
3124
+ "packagePath": "src/environment/environment.ts",
3125
+ "qualifiedName": "event"
3126
+ },
3127
+ "73": {
3128
+ "packageName": "@coveo/relay",
3129
+ "packagePath": "src/environment/environment.ts",
3130
+ "qualifiedName": "Environment.getReferrer"
3131
+ },
3132
+ "74": {
3133
+ "packageName": "@coveo/relay",
3134
+ "packagePath": "src/environment/environment.ts",
3135
+ "qualifiedName": "__type"
3136
+ },
3137
+ "75": {
3138
+ "packageName": "@coveo/relay",
3139
+ "packagePath": "src/environment/environment.ts",
3140
+ "qualifiedName": "__type"
3141
+ },
3142
+ "76": {
3143
+ "packageName": "@coveo/relay",
3144
+ "packagePath": "src/environment/environment.ts",
3145
+ "qualifiedName": "Environment.getLocation"
3146
+ },
3147
+ "77": {
3148
+ "packageName": "@coveo/relay",
3149
+ "packagePath": "src/environment/environment.ts",
3150
+ "qualifiedName": "__type"
3151
+ },
3152
+ "78": {
3153
+ "packageName": "@coveo/relay",
3154
+ "packagePath": "src/environment/environment.ts",
3155
+ "qualifiedName": "__type"
3156
+ },
3157
+ "79": {
3158
+ "packageName": "@coveo/relay",
3159
+ "packagePath": "src/environment/environment.ts",
3160
+ "qualifiedName": "Environment.getUserAgent"
3161
+ },
3162
+ "80": {
3163
+ "packageName": "@coveo/relay",
3164
+ "packagePath": "src/environment/environment.ts",
3165
+ "qualifiedName": "__type"
3166
+ },
3167
+ "81": {
3168
+ "packageName": "@coveo/relay",
3169
+ "packagePath": "src/environment/environment.ts",
3170
+ "qualifiedName": "__type"
3171
+ },
3172
+ "82": {
3173
+ "packageName": "@coveo/relay",
3174
+ "packagePath": "src/environment/environment.ts",
3175
+ "qualifiedName": "Environment.generateUUID"
3176
+ },
3177
+ "83": {
3178
+ "packageName": "@coveo/relay",
3179
+ "packagePath": "src/environment/environment.ts",
3180
+ "qualifiedName": "__type"
3181
+ },
3182
+ "84": {
3183
+ "packageName": "@coveo/relay",
3184
+ "packagePath": "src/environment/environment.ts",
3185
+ "qualifiedName": "__type"
3186
+ },
3187
+ "85": {
3188
+ "packageName": "@coveo/relay",
3189
+ "packagePath": "src/environment/environment.ts",
3190
+ "qualifiedName": "Environment.storage"
3191
+ },
3192
+ "86": {
3193
+ "packageName": "@coveo/relay",
3194
+ "packagePath": "src/environment/storage.ts",
3195
+ "qualifiedName": "Storage"
3196
+ },
3197
+ "87": {
3198
+ "packageName": "@coveo/relay",
3199
+ "packagePath": "src/environment/storage.ts",
3200
+ "qualifiedName": "Storage.getItem"
3201
+ },
3202
+ "88": {
3203
+ "packageName": "@coveo/relay",
3204
+ "packagePath": "src/environment/storage.ts",
3205
+ "qualifiedName": "__type"
3206
+ },
3207
+ "89": {
3208
+ "packageName": "@coveo/relay",
3209
+ "packagePath": "src/environment/storage.ts",
3210
+ "qualifiedName": "__type"
3211
+ },
3212
+ "90": {
3213
+ "packageName": "@coveo/relay",
3214
+ "packagePath": "src/environment/storage.ts",
3215
+ "qualifiedName": "key"
3216
+ },
3217
+ "91": {
3218
+ "packageName": "@coveo/relay",
3219
+ "packagePath": "src/environment/storage.ts",
3220
+ "qualifiedName": "Storage.removeItem"
3221
+ },
3222
+ "92": {
3223
+ "packageName": "@coveo/relay",
3224
+ "packagePath": "src/environment/storage.ts",
3225
+ "qualifiedName": "__type"
3226
+ },
3227
+ "93": {
3228
+ "packageName": "@coveo/relay",
3229
+ "packagePath": "src/environment/storage.ts",
3230
+ "qualifiedName": "__type"
3231
+ },
3232
+ "94": {
3233
+ "packageName": "@coveo/relay",
3234
+ "packagePath": "src/environment/storage.ts",
3235
+ "qualifiedName": "key"
3236
+ },
3237
+ "95": {
3238
+ "packageName": "@coveo/relay",
3239
+ "packagePath": "src/environment/storage.ts",
3240
+ "qualifiedName": "Storage.setItem"
3241
+ },
3242
+ "96": {
3243
+ "packageName": "@coveo/relay",
3244
+ "packagePath": "src/environment/storage.ts",
3245
+ "qualifiedName": "__type"
3246
+ },
3247
+ "97": {
3248
+ "packageName": "@coveo/relay",
3249
+ "packagePath": "src/environment/storage.ts",
3250
+ "qualifiedName": "__type"
3251
+ },
3252
+ "98": {
3253
+ "packageName": "@coveo/relay",
3254
+ "packagePath": "src/environment/storage.ts",
3255
+ "qualifiedName": "key"
3256
+ },
3257
+ "99": {
3258
+ "packageName": "@coveo/relay",
3259
+ "packagePath": "src/environment/storage.ts",
3260
+ "qualifiedName": "data"
3261
+ }
3262
+ },
3263
+ "files": {
3264
+ "entries": {
3265
+ "1": "src/relay.ts"
3266
+ },
3267
+ "reflections": {
3268
+ "1": 0
3269
+ }
3270
+ }
3271
+ }