@coveo/relay 1.0.0 → 1.1.1

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.
Files changed (58) hide show
  1. package/lib/npm/client-id/client-id.d.ts.map +1 -0
  2. package/lib/{config → npm/config}/config.d.ts +7 -0
  3. package/lib/npm/config/config.d.ts.map +1 -0
  4. package/lib/npm/emit/emit.d.ts.map +1 -0
  5. package/lib/npm/environment/browser/browser.d.ts.map +1 -0
  6. package/lib/npm/environment/browser/storage/availability.d.ts.map +1 -0
  7. package/lib/npm/environment/browser/storage/cookie.d.ts.map +1 -0
  8. package/lib/npm/environment/browser/storage/storage.d.ts.map +1 -0
  9. package/lib/{environment → npm/environment}/environment.d.ts +1 -1
  10. package/lib/npm/environment/environment.d.ts.map +1 -0
  11. package/lib/npm/environment/manager/manager.d.ts.map +1 -0
  12. package/lib/npm/environment/null/null.d.ts.map +1 -0
  13. package/lib/npm/environment/storage.d.ts.map +1 -0
  14. package/lib/npm/event/meta/meta.d.ts.map +1 -0
  15. package/lib/npm/event/relay-event.d.ts.map +1 -0
  16. package/lib/npm/listener/listener.d.ts.map +1 -0
  17. package/lib/npm/relay-payload.d.ts.map +1 -0
  18. package/lib/{relay.cjs → npm/relay.cjs} +11 -73
  19. package/lib/{relay.d.ts → npm/relay.d.ts} +2 -2
  20. package/lib/npm/relay.d.ts.map +1 -0
  21. package/lib/{relay.mjs → npm/relay.mjs} +8 -70
  22. package/lib/npm/version.d.ts.map +1 -0
  23. package/package.json +10 -18
  24. package/lib/cdn/relay.min.js +0 -2
  25. package/lib/cdn/relay.min.js.map +0 -1
  26. package/lib/client-id/client-id.d.ts.map +0 -1
  27. package/lib/config/config.d.ts.map +0 -1
  28. package/lib/docs/relay-docs.json +0 -1862
  29. package/lib/emit/emit.d.ts.map +0 -1
  30. package/lib/environment/browser/browser.d.ts.map +0 -1
  31. package/lib/environment/browser/storage/availability.d.ts.map +0 -1
  32. package/lib/environment/browser/storage/cookie.d.ts.map +0 -1
  33. package/lib/environment/browser/storage/storage.d.ts.map +0 -1
  34. package/lib/environment/environment.d.ts.map +0 -1
  35. package/lib/environment/manager/manager.d.ts.map +0 -1
  36. package/lib/environment/null/null.d.ts.map +0 -1
  37. package/lib/environment/storage.d.ts.map +0 -1
  38. package/lib/event/meta/meta.d.ts.map +0 -1
  39. package/lib/event/relay-event.d.ts.map +0 -1
  40. package/lib/listener/listener.d.ts.map +0 -1
  41. package/lib/relay-payload.d.ts.map +0 -1
  42. package/lib/relay.d.ts.map +0 -1
  43. package/lib/relay.js +0 -375
  44. package/lib/version.d.ts.map +0 -1
  45. /package/lib/{client-id → npm/client-id}/client-id.d.ts +0 -0
  46. /package/lib/{emit → npm/emit}/emit.d.ts +0 -0
  47. /package/lib/{environment → npm/environment}/browser/browser.d.ts +0 -0
  48. /package/lib/{environment → npm/environment}/browser/storage/availability.d.ts +0 -0
  49. /package/lib/{environment → npm/environment}/browser/storage/cookie.d.ts +0 -0
  50. /package/lib/{environment → npm/environment}/browser/storage/storage.d.ts +0 -0
  51. /package/lib/{environment → npm/environment}/manager/manager.d.ts +0 -0
  52. /package/lib/{environment → npm/environment}/null/null.d.ts +0 -0
  53. /package/lib/{environment → npm/environment}/storage.d.ts +0 -0
  54. /package/lib/{event → npm/event}/meta/meta.d.ts +0 -0
  55. /package/lib/{event → npm/event}/relay-event.d.ts +0 -0
  56. /package/lib/{listener → npm/listener}/listener.d.ts +0 -0
  57. /package/lib/{relay-payload.d.ts → npm/relay-payload.d.ts} +0 -0
  58. /package/lib/{version.d.ts → npm/version.d.ts} +0 -0
@@ -1,1862 +0,0 @@
1
- {
2
- "id": 0,
3
- "name": "@coveo/relay",
4
- "variant": "project",
5
- "kind": 1,
6
- "flags": {},
7
- "children": [
8
- {
9
- "id": 41,
10
- "name": "EventConfig",
11
- "variant": "declaration",
12
- "kind": 256,
13
- "flags": {},
14
- "comment": {
15
- "summary": [
16
- {
17
- "kind": "text",
18
- "text": "The "
19
- },
20
- {
21
- "kind": "code",
22
- "text": "`EventConfig`"
23
- },
24
- {
25
- "kind": "text",
26
- "text": " object provides additonal information for the configuration associated with the event."
27
- }
28
- ]
29
- },
30
- "children": [
31
- {
32
- "id": 42,
33
- "name": "trackingId",
34
- "variant": "declaration",
35
- "kind": 1024,
36
- "flags": {},
37
- "comment": {
38
- "summary": [
39
- {
40
- "kind": "text",
41
- "text": "The unique identifier of a web property. See [What's a tracking ID?](https://docs.coveo.com/en/n8tg0567/)."
42
- }
43
- ]
44
- },
45
- "sources": [
46
- {
47
- "fileName": "event/meta/meta.ts",
48
- "line": 13,
49
- "character": 2,
50
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L13"
51
- }
52
- ],
53
- "type": {
54
- "type": "intrinsic",
55
- "name": "string"
56
- }
57
- }
58
- ],
59
- "groups": [
60
- {
61
- "title": "Properties",
62
- "children": [
63
- 42
64
- ]
65
- }
66
- ],
67
- "sources": [
68
- {
69
- "fileName": "event/meta/meta.ts",
70
- "line": 9,
71
- "character": 17,
72
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L9"
73
- }
74
- ]
75
- },
76
- {
77
- "id": 32,
78
- "name": "Meta",
79
- "variant": "declaration",
80
- "kind": 256,
81
- "flags": {},
82
- "comment": {
83
- "summary": [
84
- {
85
- "kind": "text",
86
- "text": "The "
87
- },
88
- {
89
- "kind": "code",
90
- "text": "`Meta`"
91
- },
92
- {
93
- "kind": "text",
94
- "text": " object provides a structured representation of metadata associated with an emitted event.\nThis object is auto-populated by Relay."
95
- }
96
- ]
97
- },
98
- "children": [
99
- {
100
- "id": 37,
101
- "name": "clientId",
102
- "variant": "declaration",
103
- "kind": 1024,
104
- "flags": {},
105
- "comment": {
106
- "summary": [
107
- {
108
- "kind": "text",
109
- "text": "Persistent unique identifier of a device."
110
- }
111
- ]
112
- },
113
- "sources": [
114
- {
115
- "fileName": "event/meta/meta.ts",
116
- "line": 44,
117
- "character": 2,
118
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L44"
119
- }
120
- ],
121
- "type": {
122
- "type": "intrinsic",
123
- "name": "string"
124
- }
125
- },
126
- {
127
- "id": 34,
128
- "name": "config",
129
- "variant": "declaration",
130
- "kind": 1024,
131
- "flags": {},
132
- "comment": {
133
- "summary": [
134
- {
135
- "kind": "text",
136
- "text": "Configuration associated with the event."
137
- }
138
- ]
139
- },
140
- "sources": [
141
- {
142
- "fileName": "event/meta/meta.ts",
143
- "line": 29,
144
- "character": 2,
145
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L29"
146
- }
147
- ],
148
- "type": {
149
- "type": "reference",
150
- "target": 41,
151
- "name": "EventConfig",
152
- "package": "@coveo/relay"
153
- }
154
- },
155
- {
156
- "id": 40,
157
- "name": "location",
158
- "variant": "declaration",
159
- "kind": 1024,
160
- "flags": {},
161
- "comment": {
162
- "summary": [
163
- {
164
- "kind": "text",
165
- "text": "Browser Location's [href](https://developer.mozilla.org/en-US/docs/Web/API/Location/href) property if set."
166
- }
167
- ]
168
- },
169
- "sources": [
170
- {
171
- "fileName": "event/meta/meta.ts",
172
- "line": 59,
173
- "character": 2,
174
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L59"
175
- }
176
- ],
177
- "type": {
178
- "type": "union",
179
- "types": [
180
- {
181
- "type": "literal",
182
- "value": null
183
- },
184
- {
185
- "type": "intrinsic",
186
- "name": "string"
187
- }
188
- ]
189
- }
190
- },
191
- {
192
- "id": 39,
193
- "name": "referrer",
194
- "variant": "declaration",
195
- "kind": 1024,
196
- "flags": {},
197
- "comment": {
198
- "summary": [
199
- {
200
- "kind": "text",
201
- "text": "Browser Document's [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) property if set."
202
- }
203
- ]
204
- },
205
- "sources": [
206
- {
207
- "fileName": "event/meta/meta.ts",
208
- "line": 54,
209
- "character": 2,
210
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L54"
211
- }
212
- ],
213
- "type": {
214
- "type": "union",
215
- "types": [
216
- {
217
- "type": "literal",
218
- "value": null
219
- },
220
- {
221
- "type": "intrinsic",
222
- "name": "string"
223
- }
224
- ]
225
- }
226
- },
227
- {
228
- "id": 36,
229
- "name": "source",
230
- "variant": "declaration",
231
- "kind": 1024,
232
- "flags": {},
233
- "comment": {
234
- "summary": [
235
- {
236
- "kind": "text",
237
- "text": "Names and versions of the client side libraries which built and emitted this event."
238
- }
239
- ]
240
- },
241
- "sources": [
242
- {
243
- "fileName": "event/meta/meta.ts",
244
- "line": 39,
245
- "character": 2,
246
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L39"
247
- }
248
- ],
249
- "type": {
250
- "type": "array",
251
- "elementType": {
252
- "type": "intrinsic",
253
- "name": "string"
254
- }
255
- }
256
- },
257
- {
258
- "id": 35,
259
- "name": "ts",
260
- "variant": "declaration",
261
- "kind": 1024,
262
- "flags": {},
263
- "comment": {
264
- "summary": [
265
- {
266
- "kind": "text",
267
- "text": "Timestamp when the event was emitted."
268
- }
269
- ]
270
- },
271
- "sources": [
272
- {
273
- "fileName": "event/meta/meta.ts",
274
- "line": 34,
275
- "character": 2,
276
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L34"
277
- }
278
- ],
279
- "type": {
280
- "type": "intrinsic",
281
- "name": "number"
282
- }
283
- },
284
- {
285
- "id": 33,
286
- "name": "type",
287
- "variant": "declaration",
288
- "kind": 1024,
289
- "flags": {},
290
- "comment": {
291
- "summary": [
292
- {
293
- "kind": "text",
294
- "text": "Event's type that was emitted."
295
- }
296
- ]
297
- },
298
- "sources": [
299
- {
300
- "fileName": "event/meta/meta.ts",
301
- "line": 24,
302
- "character": 2,
303
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L24"
304
- }
305
- ],
306
- "type": {
307
- "type": "intrinsic",
308
- "name": "string"
309
- }
310
- },
311
- {
312
- "id": 38,
313
- "name": "userAgent",
314
- "variant": "declaration",
315
- "kind": 1024,
316
- "flags": {},
317
- "comment": {
318
- "summary": [
319
- {
320
- "kind": "text",
321
- "text": "Browser Navigator's [user agent](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent) property if set."
322
- }
323
- ]
324
- },
325
- "sources": [
326
- {
327
- "fileName": "event/meta/meta.ts",
328
- "line": 49,
329
- "character": 2,
330
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L49"
331
- }
332
- ],
333
- "type": {
334
- "type": "union",
335
- "types": [
336
- {
337
- "type": "literal",
338
- "value": null
339
- },
340
- {
341
- "type": "intrinsic",
342
- "name": "string"
343
- }
344
- ]
345
- }
346
- }
347
- ],
348
- "groups": [
349
- {
350
- "title": "Properties",
351
- "children": [
352
- 37,
353
- 34,
354
- 40,
355
- 39,
356
- 36,
357
- 35,
358
- 33,
359
- 38
360
- ]
361
- }
362
- ],
363
- "sources": [
364
- {
365
- "fileName": "event/meta/meta.ts",
366
- "line": 20,
367
- "character": 17,
368
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/meta/meta.ts#L20"
369
- }
370
- ]
371
- },
372
- {
373
- "id": 7,
374
- "name": "Relay",
375
- "variant": "declaration",
376
- "kind": 256,
377
- "flags": {},
378
- "comment": {
379
- "summary": [
380
- {
381
- "kind": "text",
382
- "text": "Relay instance.\nThis object provides a comprehensive set of variables and methods for interacting with the Event API."
383
- }
384
- ]
385
- },
386
- "children": [
387
- {
388
- "id": 8,
389
- "name": "emit",
390
- "variant": "declaration",
391
- "kind": 1024,
392
- "flags": {},
393
- "comment": {
394
- "summary": [
395
- {
396
- "kind": "text",
397
- "text": "Sends an event to the Event API."
398
- }
399
- ]
400
- },
401
- "sources": [
402
- {
403
- "fileName": "relay.ts",
404
- "line": 29,
405
- "character": 2,
406
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L29"
407
- }
408
- ],
409
- "type": {
410
- "type": "reflection",
411
- "declaration": {
412
- "id": 9,
413
- "name": "__type",
414
- "variant": "declaration",
415
- "kind": 65536,
416
- "flags": {},
417
- "sources": [
418
- {
419
- "fileName": "relay.ts",
420
- "line": 29,
421
- "character": 8,
422
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L29"
423
- }
424
- ],
425
- "signatures": [
426
- {
427
- "id": 10,
428
- "name": "__type",
429
- "variant": "signature",
430
- "kind": 4096,
431
- "flags": {},
432
- "comment": {
433
- "summary": [],
434
- "blockTags": [
435
- {
436
- "tag": "@returns",
437
- "content": []
438
- }
439
- ]
440
- },
441
- "sources": [
442
- {
443
- "fileName": "relay.ts",
444
- "line": 29,
445
- "character": 8,
446
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L29"
447
- }
448
- ],
449
- "parameters": [
450
- {
451
- "id": 11,
452
- "name": "type",
453
- "variant": "param",
454
- "kind": 32768,
455
- "flags": {},
456
- "comment": {
457
- "summary": [
458
- {
459
- "kind": "text",
460
- "text": "event's type to be emitted."
461
- }
462
- ]
463
- },
464
- "type": {
465
- "type": "intrinsic",
466
- "name": "string"
467
- }
468
- },
469
- {
470
- "id": 12,
471
- "name": "payload",
472
- "variant": "param",
473
- "kind": 32768,
474
- "flags": {},
475
- "comment": {
476
- "summary": [
477
- {
478
- "kind": "text",
479
- "text": "payload to include within the event."
480
- }
481
- ]
482
- },
483
- "type": {
484
- "type": "reference",
485
- "target": {
486
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts",
487
- "qualifiedName": "Record"
488
- },
489
- "typeArguments": [
490
- {
491
- "type": "intrinsic",
492
- "name": "string"
493
- },
494
- {
495
- "type": "intrinsic",
496
- "name": "any"
497
- }
498
- ],
499
- "name": "Record",
500
- "package": "typescript"
501
- }
502
- }
503
- ],
504
- "type": {
505
- "type": "intrinsic",
506
- "name": "void"
507
- }
508
- }
509
- ]
510
- }
511
- }
512
- },
513
- {
514
- "id": 13,
515
- "name": "getMeta",
516
- "variant": "declaration",
517
- "kind": 1024,
518
- "flags": {},
519
- "comment": {
520
- "summary": [
521
- {
522
- "kind": "text",
523
- "text": "Gets the client-side generated meta object."
524
- }
525
- ]
526
- },
527
- "sources": [
528
- {
529
- "fileName": "relay.ts",
530
- "line": 36,
531
- "character": 2,
532
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L36"
533
- }
534
- ],
535
- "type": {
536
- "type": "reflection",
537
- "declaration": {
538
- "id": 14,
539
- "name": "__type",
540
- "variant": "declaration",
541
- "kind": 65536,
542
- "flags": {},
543
- "sources": [
544
- {
545
- "fileName": "relay.ts",
546
- "line": 36,
547
- "character": 11,
548
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L36"
549
- }
550
- ],
551
- "signatures": [
552
- {
553
- "id": 15,
554
- "name": "__type",
555
- "variant": "signature",
556
- "kind": 4096,
557
- "flags": {},
558
- "comment": {
559
- "summary": [],
560
- "blockTags": [
561
- {
562
- "tag": "@returns",
563
- "content": []
564
- }
565
- ]
566
- },
567
- "sources": [
568
- {
569
- "fileName": "relay.ts",
570
- "line": 36,
571
- "character": 11,
572
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L36"
573
- }
574
- ],
575
- "parameters": [
576
- {
577
- "id": 16,
578
- "name": "type",
579
- "variant": "param",
580
- "kind": 32768,
581
- "flags": {},
582
- "comment": {
583
- "summary": [
584
- {
585
- "kind": "text",
586
- "text": "event's type that will be included in the meta object."
587
- }
588
- ]
589
- },
590
- "type": {
591
- "type": "intrinsic",
592
- "name": "string"
593
- }
594
- }
595
- ],
596
- "type": {
597
- "type": "reference",
598
- "target": 32,
599
- "name": "Meta",
600
- "package": "@coveo/relay"
601
- }
602
- }
603
- ]
604
- }
605
- }
606
- },
607
- {
608
- "id": 22,
609
- "name": "off",
610
- "variant": "declaration",
611
- "kind": 1024,
612
- "flags": {},
613
- "comment": {
614
- "summary": [
615
- {
616
- "kind": "text",
617
- "text": "Detach callback(s) from events.\nIf only the \"type\" parameter is set, all callbacks for the specified type will be removed."
618
- }
619
- ]
620
- },
621
- "sources": [
622
- {
623
- "fileName": "relay.ts",
624
- "line": 57,
625
- "character": 2,
626
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L57"
627
- }
628
- ],
629
- "type": {
630
- "type": "reflection",
631
- "declaration": {
632
- "id": 23,
633
- "name": "__type",
634
- "variant": "declaration",
635
- "kind": 65536,
636
- "flags": {},
637
- "sources": [
638
- {
639
- "fileName": "relay.ts",
640
- "line": 57,
641
- "character": 7,
642
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L57"
643
- }
644
- ],
645
- "signatures": [
646
- {
647
- "id": 24,
648
- "name": "__type",
649
- "variant": "signature",
650
- "kind": 4096,
651
- "flags": {},
652
- "comment": {
653
- "summary": [],
654
- "blockTags": [
655
- {
656
- "tag": "@returns",
657
- "content": []
658
- }
659
- ]
660
- },
661
- "sources": [
662
- {
663
- "fileName": "relay.ts",
664
- "line": 57,
665
- "character": 7,
666
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L57"
667
- }
668
- ],
669
- "parameters": [
670
- {
671
- "id": 25,
672
- "name": "type",
673
- "variant": "param",
674
- "kind": 32768,
675
- "flags": {},
676
- "comment": {
677
- "summary": [
678
- {
679
- "kind": "text",
680
- "text": "event's type."
681
- }
682
- ]
683
- },
684
- "type": {
685
- "type": "intrinsic",
686
- "name": "string"
687
- }
688
- },
689
- {
690
- "id": 26,
691
- "name": "callback",
692
- "variant": "param",
693
- "kind": 32768,
694
- "flags": {
695
- "isOptional": true
696
- },
697
- "comment": {
698
- "summary": [
699
- {
700
- "kind": "text",
701
- "text": "callback that should be removed."
702
- }
703
- ]
704
- },
705
- "type": {
706
- "type": "reference",
707
- "target": 43,
708
- "name": "EventCallback",
709
- "package": "@coveo/relay"
710
- }
711
- }
712
- ],
713
- "type": {
714
- "type": "intrinsic",
715
- "name": "void"
716
- }
717
- }
718
- ]
719
- }
720
- }
721
- },
722
- {
723
- "id": 17,
724
- "name": "on",
725
- "variant": "declaration",
726
- "kind": 1024,
727
- "flags": {},
728
- "comment": {
729
- "summary": [
730
- {
731
- "kind": "text",
732
- "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."
733
- }
734
- ]
735
- },
736
- "sources": [
737
- {
738
- "fileName": "relay.ts",
739
- "line": 48,
740
- "character": 2,
741
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L48"
742
- }
743
- ],
744
- "type": {
745
- "type": "reflection",
746
- "declaration": {
747
- "id": 18,
748
- "name": "__type",
749
- "variant": "declaration",
750
- "kind": 65536,
751
- "flags": {},
752
- "sources": [
753
- {
754
- "fileName": "relay.ts",
755
- "line": 48,
756
- "character": 6,
757
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L48"
758
- }
759
- ],
760
- "signatures": [
761
- {
762
- "id": 19,
763
- "name": "__type",
764
- "variant": "signature",
765
- "kind": 4096,
766
- "flags": {},
767
- "comment": {
768
- "summary": [],
769
- "blockTags": [
770
- {
771
- "tag": "@returns",
772
- "content": []
773
- }
774
- ]
775
- },
776
- "sources": [
777
- {
778
- "fileName": "relay.ts",
779
- "line": 48,
780
- "character": 6,
781
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L48"
782
- }
783
- ],
784
- "parameters": [
785
- {
786
- "id": 20,
787
- "name": "type",
788
- "variant": "param",
789
- "kind": 32768,
790
- "flags": {},
791
- "comment": {
792
- "summary": [
793
- {
794
- "kind": "text",
795
- "text": "event's type."
796
- }
797
- ]
798
- },
799
- "type": {
800
- "type": "intrinsic",
801
- "name": "string"
802
- }
803
- },
804
- {
805
- "id": 21,
806
- "name": "callback",
807
- "variant": "param",
808
- "kind": 32768,
809
- "flags": {},
810
- "comment": {
811
- "summary": [
812
- {
813
- "kind": "text",
814
- "text": "callback that should be called when the event is emitted."
815
- }
816
- ]
817
- },
818
- "type": {
819
- "type": "reference",
820
- "target": 43,
821
- "name": "EventCallback",
822
- "package": "@coveo/relay"
823
- }
824
- }
825
- ],
826
- "type": {
827
- "type": "reference",
828
- "target": 4,
829
- "name": "Off",
830
- "package": "@coveo/relay"
831
- }
832
- }
833
- ]
834
- }
835
- }
836
- },
837
- {
838
- "id": 27,
839
- "name": "updateConfig",
840
- "variant": "declaration",
841
- "kind": 1024,
842
- "flags": {},
843
- "comment": {
844
- "summary": [
845
- {
846
- "kind": "text",
847
- "text": "Updates Relay's configuration after its initialization."
848
- }
849
- ]
850
- },
851
- "sources": [
852
- {
853
- "fileName": "relay.ts",
854
- "line": 64,
855
- "character": 2,
856
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L64"
857
- }
858
- ],
859
- "type": {
860
- "type": "reflection",
861
- "declaration": {
862
- "id": 28,
863
- "name": "__type",
864
- "variant": "declaration",
865
- "kind": 65536,
866
- "flags": {},
867
- "sources": [
868
- {
869
- "fileName": "relay.ts",
870
- "line": 64,
871
- "character": 16,
872
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L64"
873
- }
874
- ],
875
- "signatures": [
876
- {
877
- "id": 29,
878
- "name": "__type",
879
- "variant": "signature",
880
- "kind": 4096,
881
- "flags": {},
882
- "comment": {
883
- "summary": [],
884
- "blockTags": [
885
- {
886
- "tag": "@returns",
887
- "content": []
888
- }
889
- ]
890
- },
891
- "sources": [
892
- {
893
- "fileName": "relay.ts",
894
- "line": 64,
895
- "character": 16,
896
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L64"
897
- }
898
- ],
899
- "parameters": [
900
- {
901
- "id": 30,
902
- "name": "config",
903
- "variant": "param",
904
- "kind": 32768,
905
- "flags": {},
906
- "comment": {
907
- "summary": [
908
- {
909
- "kind": "text",
910
- "text": "configuration that should be updated."
911
- }
912
- ]
913
- },
914
- "type": {
915
- "type": "reference",
916
- "target": {
917
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts",
918
- "qualifiedName": "Partial"
919
- },
920
- "typeArguments": [
921
- {
922
- "type": "reference",
923
- "target": 47,
924
- "name": "RelayConfig",
925
- "package": "@coveo/relay"
926
- }
927
- ],
928
- "name": "Partial",
929
- "package": "typescript"
930
- }
931
- }
932
- ],
933
- "type": {
934
- "type": "intrinsic",
935
- "name": "void"
936
- }
937
- }
938
- ]
939
- }
940
- }
941
- },
942
- {
943
- "id": 31,
944
- "name": "version",
945
- "variant": "declaration",
946
- "kind": 1024,
947
- "flags": {},
948
- "comment": {
949
- "summary": [
950
- {
951
- "kind": "text",
952
- "text": "Current version of the Relay library."
953
- }
954
- ]
955
- },
956
- "sources": [
957
- {
958
- "fileName": "relay.ts",
959
- "line": 69,
960
- "character": 2,
961
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L69"
962
- }
963
- ],
964
- "type": {
965
- "type": "intrinsic",
966
- "name": "string"
967
- }
968
- }
969
- ],
970
- "groups": [
971
- {
972
- "title": "Properties",
973
- "children": [
974
- 8,
975
- 13,
976
- 22,
977
- 17,
978
- 27,
979
- 31
980
- ]
981
- }
982
- ],
983
- "sources": [
984
- {
985
- "fileName": "relay.ts",
986
- "line": 22,
987
- "character": 10,
988
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L22"
989
- }
990
- ]
991
- },
992
- {
993
- "id": 47,
994
- "name": "RelayConfig",
995
- "variant": "declaration",
996
- "kind": 256,
997
- "flags": {},
998
- "comment": {
999
- "summary": [
1000
- {
1001
- "kind": "text",
1002
- "text": "The "
1003
- },
1004
- {
1005
- "kind": "code",
1006
- "text": "`RelayConfig`"
1007
- },
1008
- {
1009
- "kind": "text",
1010
- "text": " object defines the configuration options for initializing a Relay instance."
1011
- }
1012
- ]
1013
- },
1014
- "children": [
1015
- {
1016
- "id": 51,
1017
- "name": "mode",
1018
- "variant": "declaration",
1019
- "kind": 1024,
1020
- "flags": {
1021
- "isOptional": true
1022
- },
1023
- "comment": {
1024
- "summary": [
1025
- {
1026
- "kind": "text",
1027
- "text": "Defines the library mode. The available modes are "
1028
- },
1029
- {
1030
- "kind": "code",
1031
- "text": "`emit`"
1032
- },
1033
- {
1034
- "kind": "text",
1035
- "text": " and "
1036
- },
1037
- {
1038
- "kind": "code",
1039
- "text": "`disabled`"
1040
- },
1041
- {
1042
- "kind": "text",
1043
- "text": ".\n"
1044
- },
1045
- {
1046
- "kind": "code",
1047
- "text": "`emit`"
1048
- },
1049
- {
1050
- "kind": "text",
1051
- "text": " sends analytics events to Coveo to be stored.\n"
1052
- },
1053
- {
1054
- "kind": "code",
1055
- "text": "`disabled`"
1056
- },
1057
- {
1058
- "kind": "text",
1059
- "text": " prevents the emission of events and does not trigger callbacks."
1060
- }
1061
- ],
1062
- "blockTags": [
1063
- {
1064
- "tag": "@default",
1065
- "content": [
1066
- {
1067
- "kind": "code",
1068
- "text": "```ts\nemit\n```"
1069
- }
1070
- ]
1071
- }
1072
- ]
1073
- },
1074
- "sources": [
1075
- {
1076
- "fileName": "config/config.ts",
1077
- "line": 26,
1078
- "character": 2,
1079
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/config/config.ts#L26"
1080
- }
1081
- ],
1082
- "type": {
1083
- "type": "union",
1084
- "types": [
1085
- {
1086
- "type": "literal",
1087
- "value": "emit"
1088
- },
1089
- {
1090
- "type": "literal",
1091
- "value": "disabled"
1092
- }
1093
- ]
1094
- }
1095
- },
1096
- {
1097
- "id": 52,
1098
- "name": "source",
1099
- "variant": "declaration",
1100
- "kind": 1024,
1101
- "flags": {
1102
- "isOptional": true
1103
- },
1104
- "comment": {
1105
- "summary": [
1106
- {
1107
- "kind": "text",
1108
- "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."
1109
- }
1110
- ]
1111
- },
1112
- "sources": [
1113
- {
1114
- "fileName": "config/config.ts",
1115
- "line": 33,
1116
- "character": 2,
1117
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/config/config.ts#L33"
1118
- }
1119
- ],
1120
- "type": {
1121
- "type": "array",
1122
- "elementType": {
1123
- "type": "intrinsic",
1124
- "name": "string"
1125
- }
1126
- }
1127
- },
1128
- {
1129
- "id": 49,
1130
- "name": "token",
1131
- "variant": "declaration",
1132
- "kind": 1024,
1133
- "flags": {},
1134
- "comment": {
1135
- "summary": [
1136
- {
1137
- "kind": "text",
1138
- "text": "Token to authorize the access to the Event API endpoint."
1139
- }
1140
- ]
1141
- },
1142
- "sources": [
1143
- {
1144
- "fileName": "config/config.ts",
1145
- "line": 13,
1146
- "character": 2,
1147
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/config/config.ts#L13"
1148
- }
1149
- ],
1150
- "type": {
1151
- "type": "intrinsic",
1152
- "name": "string"
1153
- }
1154
- },
1155
- {
1156
- "id": 50,
1157
- "name": "trackingId",
1158
- "variant": "declaration",
1159
- "kind": 1024,
1160
- "flags": {},
1161
- "comment": {
1162
- "summary": [
1163
- {
1164
- "kind": "text",
1165
- "text": "The unique identifier of a web property. See [What's a tracking ID?](https://docs.coveo.com/en/n8tg0567/)."
1166
- }
1167
- ]
1168
- },
1169
- "sources": [
1170
- {
1171
- "fileName": "config/config.ts",
1172
- "line": 18,
1173
- "character": 2,
1174
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/config/config.ts#L18"
1175
- }
1176
- ],
1177
- "type": {
1178
- "type": "intrinsic",
1179
- "name": "string"
1180
- }
1181
- },
1182
- {
1183
- "id": 48,
1184
- "name": "url",
1185
- "variant": "declaration",
1186
- "kind": 1024,
1187
- "flags": {},
1188
- "comment": {
1189
- "summary": [
1190
- {
1191
- "kind": "text",
1192
- "text": "Endpoint defined to communicate with the Event API."
1193
- }
1194
- ]
1195
- },
1196
- "sources": [
1197
- {
1198
- "fileName": "config/config.ts",
1199
- "line": 8,
1200
- "character": 2,
1201
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/config/config.ts#L8"
1202
- }
1203
- ],
1204
- "type": {
1205
- "type": "intrinsic",
1206
- "name": "string"
1207
- }
1208
- }
1209
- ],
1210
- "groups": [
1211
- {
1212
- "title": "Properties",
1213
- "children": [
1214
- 51,
1215
- 52,
1216
- 49,
1217
- 50,
1218
- 48
1219
- ]
1220
- }
1221
- ],
1222
- "sources": [
1223
- {
1224
- "fileName": "config/config.ts",
1225
- "line": 4,
1226
- "character": 17,
1227
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/config/config.ts#L4"
1228
- }
1229
- ]
1230
- },
1231
- {
1232
- "id": 54,
1233
- "name": "RelayEvent",
1234
- "variant": "declaration",
1235
- "kind": 256,
1236
- "flags": {},
1237
- "comment": {
1238
- "summary": [
1239
- {
1240
- "kind": "text",
1241
- "text": "Defines the structure of a RelayEvent, extending the RelayPayload."
1242
- }
1243
- ]
1244
- },
1245
- "children": [
1246
- {
1247
- "id": 55,
1248
- "name": "meta",
1249
- "variant": "declaration",
1250
- "kind": 1024,
1251
- "flags": {},
1252
- "comment": {
1253
- "summary": [
1254
- {
1255
- "kind": "text",
1256
- "text": "Read-only "
1257
- },
1258
- {
1259
- "kind": "code",
1260
- "text": "`meta`"
1261
- },
1262
- {
1263
- "kind": "text",
1264
- "text": " property of Meta type."
1265
- }
1266
- ]
1267
- },
1268
- "sources": [
1269
- {
1270
- "fileName": "event/relay-event.ts",
1271
- "line": 14,
1272
- "character": 2,
1273
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/relay-event.ts#L14"
1274
- }
1275
- ],
1276
- "type": {
1277
- "type": "reference",
1278
- "target": {
1279
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts",
1280
- "qualifiedName": "Readonly"
1281
- },
1282
- "typeArguments": [
1283
- {
1284
- "type": "reference",
1285
- "target": 32,
1286
- "name": "Meta",
1287
- "package": "@coveo/relay"
1288
- }
1289
- ],
1290
- "name": "Readonly",
1291
- "package": "typescript"
1292
- }
1293
- }
1294
- ],
1295
- "groups": [
1296
- {
1297
- "title": "Properties",
1298
- "children": [
1299
- 55
1300
- ]
1301
- }
1302
- ],
1303
- "sources": [
1304
- {
1305
- "fileName": "event/relay-event.ts",
1306
- "line": 10,
1307
- "character": 17,
1308
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/event/relay-event.ts#L10"
1309
- }
1310
- ],
1311
- "extendedTypes": [
1312
- {
1313
- "type": "reference",
1314
- "target": 53,
1315
- "name": "RelayPayload",
1316
- "package": "@coveo/relay"
1317
- }
1318
- ]
1319
- },
1320
- {
1321
- "id": 43,
1322
- "name": "EventCallback",
1323
- "variant": "declaration",
1324
- "kind": 2097152,
1325
- "flags": {},
1326
- "comment": {
1327
- "summary": [
1328
- {
1329
- "kind": "text",
1330
- "text": "Callback to perform an action when a specified event is emitted."
1331
- }
1332
- ]
1333
- },
1334
- "sources": [
1335
- {
1336
- "fileName": "listener/listener.ts",
1337
- "line": 11,
1338
- "character": 12,
1339
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/listener/listener.ts#L11"
1340
- }
1341
- ],
1342
- "type": {
1343
- "type": "reflection",
1344
- "declaration": {
1345
- "id": 44,
1346
- "name": "__type",
1347
- "variant": "declaration",
1348
- "kind": 65536,
1349
- "flags": {},
1350
- "sources": [
1351
- {
1352
- "fileName": "listener/listener.ts",
1353
- "line": 11,
1354
- "character": 28,
1355
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/listener/listener.ts#L11"
1356
- }
1357
- ],
1358
- "signatures": [
1359
- {
1360
- "id": 45,
1361
- "name": "__type",
1362
- "variant": "signature",
1363
- "kind": 4096,
1364
- "flags": {},
1365
- "comment": {
1366
- "summary": [],
1367
- "blockTags": [
1368
- {
1369
- "tag": "@returns",
1370
- "content": []
1371
- }
1372
- ]
1373
- },
1374
- "parameters": [
1375
- {
1376
- "id": 46,
1377
- "name": "event",
1378
- "variant": "param",
1379
- "kind": 32768,
1380
- "flags": {},
1381
- "comment": {
1382
- "summary": [
1383
- {
1384
- "kind": "text",
1385
- "text": "the Relay event payload that triggered the callback."
1386
- }
1387
- ]
1388
- },
1389
- "type": {
1390
- "type": "reference",
1391
- "target": 54,
1392
- "name": "RelayEvent",
1393
- "package": "@coveo/relay"
1394
- }
1395
- }
1396
- ],
1397
- "type": {
1398
- "type": "intrinsic",
1399
- "name": "void"
1400
- }
1401
- }
1402
- ]
1403
- }
1404
- }
1405
- },
1406
- {
1407
- "id": 4,
1408
- "name": "Off",
1409
- "variant": "declaration",
1410
- "kind": 2097152,
1411
- "flags": {},
1412
- "comment": {
1413
- "summary": [
1414
- {
1415
- "kind": "text",
1416
- "text": "Function that detaches an event callback."
1417
- }
1418
- ]
1419
- },
1420
- "sources": [
1421
- {
1422
- "fileName": "relay.ts",
1423
- "line": 16,
1424
- "character": 12,
1425
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L16"
1426
- }
1427
- ],
1428
- "type": {
1429
- "type": "reflection",
1430
- "declaration": {
1431
- "id": 5,
1432
- "name": "__type",
1433
- "variant": "declaration",
1434
- "kind": 65536,
1435
- "flags": {},
1436
- "sources": [
1437
- {
1438
- "fileName": "relay.ts",
1439
- "line": 16,
1440
- "character": 18,
1441
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L16"
1442
- }
1443
- ],
1444
- "signatures": [
1445
- {
1446
- "id": 6,
1447
- "name": "__type",
1448
- "variant": "signature",
1449
- "kind": 4096,
1450
- "flags": {},
1451
- "comment": {
1452
- "summary": [],
1453
- "blockTags": [
1454
- {
1455
- "tag": "@returns",
1456
- "content": []
1457
- }
1458
- ]
1459
- },
1460
- "type": {
1461
- "type": "intrinsic",
1462
- "name": "void"
1463
- }
1464
- }
1465
- ]
1466
- }
1467
- }
1468
- },
1469
- {
1470
- "id": 53,
1471
- "name": "RelayPayload",
1472
- "variant": "declaration",
1473
- "kind": 2097152,
1474
- "flags": {},
1475
- "comment": {
1476
- "summary": [
1477
- {
1478
- "kind": "text",
1479
- "text": "Represents the payload sent with Relay.\nIt is a object with string keys and values of any type."
1480
- }
1481
- ]
1482
- },
1483
- "sources": [
1484
- {
1485
- "fileName": "relay-payload.ts",
1486
- "line": 5,
1487
- "character": 12,
1488
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay-payload.ts#L5"
1489
- }
1490
- ],
1491
- "type": {
1492
- "type": "reference",
1493
- "target": {
1494
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts",
1495
- "qualifiedName": "Record"
1496
- },
1497
- "typeArguments": [
1498
- {
1499
- "type": "intrinsic",
1500
- "name": "string"
1501
- },
1502
- {
1503
- "type": "intrinsic",
1504
- "name": "any"
1505
- }
1506
- ],
1507
- "name": "Record",
1508
- "package": "typescript"
1509
- },
1510
- "extendedBy": [
1511
- {
1512
- "type": "reference",
1513
- "target": 54,
1514
- "name": "RelayEvent"
1515
- }
1516
- ]
1517
- },
1518
- {
1519
- "id": 1,
1520
- "name": "createRelay",
1521
- "variant": "declaration",
1522
- "kind": 64,
1523
- "flags": {},
1524
- "sources": [
1525
- {
1526
- "fileName": "relay.ts",
1527
- "line": 77,
1528
- "character": 16,
1529
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L77"
1530
- }
1531
- ],
1532
- "signatures": [
1533
- {
1534
- "id": 2,
1535
- "name": "createRelay",
1536
- "variant": "signature",
1537
- "kind": 4096,
1538
- "flags": {},
1539
- "comment": {
1540
- "summary": [
1541
- {
1542
- "kind": "text",
1543
- "text": "Initializes the Relay library object."
1544
- }
1545
- ],
1546
- "blockTags": [
1547
- {
1548
- "tag": "@returns",
1549
- "content": []
1550
- }
1551
- ]
1552
- },
1553
- "sources": [
1554
- {
1555
- "fileName": "relay.ts",
1556
- "line": 77,
1557
- "character": 16,
1558
- "url": "https://github.com/coveo-platform/relay/blob/bcd1b028a071583b747ff4919f61570855068484/packages/relay/src/relay.ts#L77"
1559
- }
1560
- ],
1561
- "parameters": [
1562
- {
1563
- "id": 3,
1564
- "name": "initialConfig",
1565
- "variant": "param",
1566
- "kind": 32768,
1567
- "flags": {},
1568
- "type": {
1569
- "type": "reference",
1570
- "target": 47,
1571
- "name": "RelayConfig",
1572
- "package": "@coveo/relay"
1573
- }
1574
- }
1575
- ],
1576
- "type": {
1577
- "type": "reference",
1578
- "target": 7,
1579
- "name": "Relay",
1580
- "package": "@coveo/relay"
1581
- }
1582
- }
1583
- ]
1584
- }
1585
- ],
1586
- "groups": [
1587
- {
1588
- "title": "Interfaces",
1589
- "children": [
1590
- 41,
1591
- 32,
1592
- 7,
1593
- 47,
1594
- 54
1595
- ]
1596
- },
1597
- {
1598
- "title": "Type Aliases",
1599
- "children": [
1600
- 43,
1601
- 4,
1602
- 53
1603
- ]
1604
- },
1605
- {
1606
- "title": "Functions",
1607
- "children": [
1608
- 1
1609
- ]
1610
- }
1611
- ],
1612
- "packageName": "@coveo/relay",
1613
- "packageVersion": "1.0.0",
1614
- "readme": [
1615
- {
1616
- "kind": "text",
1617
- "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"
1618
- },
1619
- {
1620
- "kind": "code",
1621
- "text": "```js\nimport { createRelay } from \"@coveo/relay\";\n\nconst config = {...};\nconst relay = createRelay(config);\n\nconst payload = {...};\nrelay.emit('itemView', payload);\n```"
1622
- },
1623
- {
1624
- "kind": "text",
1625
- "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)"
1626
- }
1627
- ],
1628
- "symbolIdMap": {
1629
- "0": {
1630
- "sourceFileName": "src/relay.ts",
1631
- "qualifiedName": ""
1632
- },
1633
- "1": {
1634
- "sourceFileName": "src/relay.ts",
1635
- "qualifiedName": "createRelay"
1636
- },
1637
- "2": {
1638
- "sourceFileName": "src/relay.ts",
1639
- "qualifiedName": "createRelay"
1640
- },
1641
- "3": {
1642
- "sourceFileName": "src/relay.ts",
1643
- "qualifiedName": "initialConfig"
1644
- },
1645
- "4": {
1646
- "sourceFileName": "src/relay.ts",
1647
- "qualifiedName": "Off"
1648
- },
1649
- "5": {
1650
- "sourceFileName": "src/relay.ts",
1651
- "qualifiedName": "__type"
1652
- },
1653
- "6": {
1654
- "sourceFileName": "src/relay.ts",
1655
- "qualifiedName": "__type"
1656
- },
1657
- "7": {
1658
- "sourceFileName": "src/relay.ts",
1659
- "qualifiedName": "Relay"
1660
- },
1661
- "8": {
1662
- "sourceFileName": "src/relay.ts",
1663
- "qualifiedName": "Relay.emit"
1664
- },
1665
- "9": {
1666
- "sourceFileName": "src/relay.ts",
1667
- "qualifiedName": "__type"
1668
- },
1669
- "10": {
1670
- "sourceFileName": "src/relay.ts",
1671
- "qualifiedName": "__type"
1672
- },
1673
- "11": {
1674
- "sourceFileName": "src/relay.ts",
1675
- "qualifiedName": "type"
1676
- },
1677
- "12": {
1678
- "sourceFileName": "src/relay.ts",
1679
- "qualifiedName": "payload"
1680
- },
1681
- "13": {
1682
- "sourceFileName": "src/relay.ts",
1683
- "qualifiedName": "Relay.getMeta"
1684
- },
1685
- "14": {
1686
- "sourceFileName": "src/relay.ts",
1687
- "qualifiedName": "__type"
1688
- },
1689
- "15": {
1690
- "sourceFileName": "src/relay.ts",
1691
- "qualifiedName": "__type"
1692
- },
1693
- "16": {
1694
- "sourceFileName": "src/relay.ts",
1695
- "qualifiedName": "type"
1696
- },
1697
- "17": {
1698
- "sourceFileName": "src/relay.ts",
1699
- "qualifiedName": "Relay.on"
1700
- },
1701
- "18": {
1702
- "sourceFileName": "src/relay.ts",
1703
- "qualifiedName": "__type"
1704
- },
1705
- "19": {
1706
- "sourceFileName": "src/relay.ts",
1707
- "qualifiedName": "__type"
1708
- },
1709
- "20": {
1710
- "sourceFileName": "src/relay.ts",
1711
- "qualifiedName": "type"
1712
- },
1713
- "21": {
1714
- "sourceFileName": "src/relay.ts",
1715
- "qualifiedName": "callback"
1716
- },
1717
- "22": {
1718
- "sourceFileName": "src/relay.ts",
1719
- "qualifiedName": "Relay.off"
1720
- },
1721
- "23": {
1722
- "sourceFileName": "src/relay.ts",
1723
- "qualifiedName": "__type"
1724
- },
1725
- "24": {
1726
- "sourceFileName": "src/relay.ts",
1727
- "qualifiedName": "__type"
1728
- },
1729
- "25": {
1730
- "sourceFileName": "src/relay.ts",
1731
- "qualifiedName": "type"
1732
- },
1733
- "26": {
1734
- "sourceFileName": "src/relay.ts",
1735
- "qualifiedName": "callback"
1736
- },
1737
- "27": {
1738
- "sourceFileName": "src/relay.ts",
1739
- "qualifiedName": "Relay.updateConfig"
1740
- },
1741
- "28": {
1742
- "sourceFileName": "src/relay.ts",
1743
- "qualifiedName": "__type"
1744
- },
1745
- "29": {
1746
- "sourceFileName": "src/relay.ts",
1747
- "qualifiedName": "__type"
1748
- },
1749
- "30": {
1750
- "sourceFileName": "src/relay.ts",
1751
- "qualifiedName": "config"
1752
- },
1753
- "31": {
1754
- "sourceFileName": "src/relay.ts",
1755
- "qualifiedName": "Relay.version"
1756
- },
1757
- "32": {
1758
- "sourceFileName": "src/event/meta/meta.ts",
1759
- "qualifiedName": "Meta"
1760
- },
1761
- "33": {
1762
- "sourceFileName": "src/event/meta/meta.ts",
1763
- "qualifiedName": "Meta.type"
1764
- },
1765
- "34": {
1766
- "sourceFileName": "src/event/meta/meta.ts",
1767
- "qualifiedName": "Meta.config"
1768
- },
1769
- "35": {
1770
- "sourceFileName": "src/event/meta/meta.ts",
1771
- "qualifiedName": "Meta.ts"
1772
- },
1773
- "36": {
1774
- "sourceFileName": "src/event/meta/meta.ts",
1775
- "qualifiedName": "Meta.source"
1776
- },
1777
- "37": {
1778
- "sourceFileName": "src/event/meta/meta.ts",
1779
- "qualifiedName": "Meta.clientId"
1780
- },
1781
- "38": {
1782
- "sourceFileName": "src/event/meta/meta.ts",
1783
- "qualifiedName": "Meta.userAgent"
1784
- },
1785
- "39": {
1786
- "sourceFileName": "src/event/meta/meta.ts",
1787
- "qualifiedName": "Meta.referrer"
1788
- },
1789
- "40": {
1790
- "sourceFileName": "src/event/meta/meta.ts",
1791
- "qualifiedName": "Meta.location"
1792
- },
1793
- "41": {
1794
- "sourceFileName": "src/event/meta/meta.ts",
1795
- "qualifiedName": "EventConfig"
1796
- },
1797
- "42": {
1798
- "sourceFileName": "src/event/meta/meta.ts",
1799
- "qualifiedName": "EventConfig.trackingId"
1800
- },
1801
- "43": {
1802
- "sourceFileName": "src/listener/listener.ts",
1803
- "qualifiedName": "EventCallback"
1804
- },
1805
- "44": {
1806
- "sourceFileName": "src/listener/listener.ts",
1807
- "qualifiedName": "__type"
1808
- },
1809
- "45": {
1810
- "sourceFileName": "src/listener/listener.ts",
1811
- "qualifiedName": "__type"
1812
- },
1813
- "46": {
1814
- "sourceFileName": "src/listener/listener.ts",
1815
- "qualifiedName": "event"
1816
- },
1817
- "47": {
1818
- "sourceFileName": "src/config/config.ts",
1819
- "qualifiedName": "RelayConfig"
1820
- },
1821
- "48": {
1822
- "sourceFileName": "src/config/config.ts",
1823
- "qualifiedName": "RelayConfig.url"
1824
- },
1825
- "49": {
1826
- "sourceFileName": "src/config/config.ts",
1827
- "qualifiedName": "RelayConfig.token"
1828
- },
1829
- "50": {
1830
- "sourceFileName": "src/config/config.ts",
1831
- "qualifiedName": "RelayConfig.trackingId"
1832
- },
1833
- "51": {
1834
- "sourceFileName": "src/config/config.ts",
1835
- "qualifiedName": "RelayConfig.mode"
1836
- },
1837
- "52": {
1838
- "sourceFileName": "src/config/config.ts",
1839
- "qualifiedName": "RelayConfig.source"
1840
- },
1841
- "53": {
1842
- "sourceFileName": "src/relay-payload.ts",
1843
- "qualifiedName": "RelayPayload"
1844
- },
1845
- "54": {
1846
- "sourceFileName": "src/event/relay-event.ts",
1847
- "qualifiedName": "RelayEvent"
1848
- },
1849
- "55": {
1850
- "sourceFileName": "src/event/relay-event.ts",
1851
- "qualifiedName": "RelayEvent.meta"
1852
- }
1853
- },
1854
- "files": {
1855
- "entries": {
1856
- "1": "src/relay.ts"
1857
- },
1858
- "reflections": {
1859
- "1": 0
1860
- }
1861
- }
1862
- }