@coveo/relay 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/lib/cdn/relay.min.js +1 -1
- package/lib/cdn/relay.min.js.map +1 -1
- package/lib/cdn/types/config/config.d.ts +7 -5
- package/lib/cdn/types/config/config.d.ts.map +1 -1
- package/lib/cdn/types/event/meta/meta.d.ts +1 -0
- package/lib/cdn/types/event/meta/meta.d.ts.map +1 -1
- package/lib/cdn/types/event/relay-event.d.ts +7 -1
- package/lib/cdn/types/event/relay-event.d.ts.map +1 -1
- package/lib/cdn/types/listener/listener.d.ts +1 -1
- package/lib/cdn/types/relay-payload.d.ts +6 -0
- package/lib/cdn/types/relay-payload.d.ts.map +1 -0
- package/lib/cdn/types/relay.d.ts +12 -4
- package/lib/cdn/types/relay.d.ts.map +1 -1
- package/lib/docs/relay-docs.json +569 -264
- package/lib/relay.cjs +2 -2
- package/lib/relay.js +2 -2
- package/lib/relay.mjs +2 -2
- package/lib/types/config/config.d.ts +7 -5
- package/lib/types/config/config.d.ts.map +1 -1
- package/lib/types/event/meta/meta.d.ts +1 -0
- package/lib/types/event/meta/meta.d.ts.map +1 -1
- package/lib/types/event/relay-event.d.ts +7 -1
- package/lib/types/event/relay-event.d.ts.map +1 -1
- package/lib/types/listener/listener.d.ts +1 -1
- package/lib/types/relay-payload.d.ts +6 -0
- package/lib/types/relay-payload.d.ts.map +1 -0
- package/lib/types/relay.d.ts +12 -4
- package/lib/types/relay.d.ts.map +1 -1
- package/package.json +6 -4
- package/lib/cdn/types/internal-types.d.ts +0 -2
- package/lib/cdn/types/internal-types.d.ts.map +0 -1
- package/lib/types/internal-types.d.ts +0 -2
- package/lib/types/internal-types.d.ts.map +0 -1
package/lib/docs/relay-docs.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"flags": {},
|
|
7
7
|
"children": [
|
|
8
8
|
{
|
|
9
|
-
"id":
|
|
9
|
+
"id": 44,
|
|
10
10
|
"name": "EventConfig",
|
|
11
11
|
"variant": "declaration",
|
|
12
12
|
"kind": 256,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"children": [
|
|
31
31
|
{
|
|
32
|
-
"id":
|
|
32
|
+
"id": 45,
|
|
33
33
|
"name": "trackingId",
|
|
34
34
|
"variant": "declaration",
|
|
35
35
|
"kind": 1024,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"fileName": "event/meta/meta.ts",
|
|
48
48
|
"line": 13,
|
|
49
49
|
"character": 2,
|
|
50
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
50
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L13"
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
53
|
"type": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
"id":
|
|
59
|
+
"id": 46,
|
|
60
60
|
"name": "user",
|
|
61
61
|
"variant": "declaration",
|
|
62
62
|
"kind": 1024,
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"fileName": "event/meta/meta.ts",
|
|
75
75
|
"line": 18,
|
|
76
76
|
"character": 2,
|
|
77
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
77
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L18"
|
|
78
78
|
}
|
|
79
79
|
],
|
|
80
80
|
"type": {
|
|
@@ -86,10 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"type": "reference",
|
|
89
|
-
"target":
|
|
90
|
-
"sourceFileName": "src/config/config.ts",
|
|
91
|
-
"qualifiedName": "User"
|
|
92
|
-
},
|
|
89
|
+
"target": 57,
|
|
93
90
|
"name": "User",
|
|
94
91
|
"package": "@coveo/relay"
|
|
95
92
|
}
|
|
@@ -101,8 +98,8 @@
|
|
|
101
98
|
{
|
|
102
99
|
"title": "Properties",
|
|
103
100
|
"children": [
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
45,
|
|
102
|
+
46
|
|
106
103
|
]
|
|
107
104
|
}
|
|
108
105
|
],
|
|
@@ -111,12 +108,12 @@
|
|
|
111
108
|
"fileName": "event/meta/meta.ts",
|
|
112
109
|
"line": 9,
|
|
113
110
|
"character": 17,
|
|
114
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
111
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L9"
|
|
115
112
|
}
|
|
116
113
|
]
|
|
117
114
|
},
|
|
118
115
|
{
|
|
119
|
-
"id":
|
|
116
|
+
"id": 35,
|
|
120
117
|
"name": "Meta",
|
|
121
118
|
"variant": "declaration",
|
|
122
119
|
"kind": 256,
|
|
@@ -133,13 +130,13 @@
|
|
|
133
130
|
},
|
|
134
131
|
{
|
|
135
132
|
"kind": "text",
|
|
136
|
-
"text": " object provides a structured representation of metadata associated with an emitted event."
|
|
133
|
+
"text": " object provides a structured representation of metadata associated with an emitted event.\nThis object is auto-populated by Relay."
|
|
137
134
|
}
|
|
138
135
|
]
|
|
139
136
|
},
|
|
140
137
|
"children": [
|
|
141
138
|
{
|
|
142
|
-
"id":
|
|
139
|
+
"id": 40,
|
|
143
140
|
"name": "clientId",
|
|
144
141
|
"variant": "declaration",
|
|
145
142
|
"kind": 1024,
|
|
@@ -155,9 +152,9 @@
|
|
|
155
152
|
"sources": [
|
|
156
153
|
{
|
|
157
154
|
"fileName": "event/meta/meta.ts",
|
|
158
|
-
"line":
|
|
155
|
+
"line": 49,
|
|
159
156
|
"character": 2,
|
|
160
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
157
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L49"
|
|
161
158
|
}
|
|
162
159
|
],
|
|
163
160
|
"type": {
|
|
@@ -166,7 +163,7 @@
|
|
|
166
163
|
}
|
|
167
164
|
},
|
|
168
165
|
{
|
|
169
|
-
"id":
|
|
166
|
+
"id": 37,
|
|
170
167
|
"name": "config",
|
|
171
168
|
"variant": "declaration",
|
|
172
169
|
"kind": 1024,
|
|
@@ -182,20 +179,20 @@
|
|
|
182
179
|
"sources": [
|
|
183
180
|
{
|
|
184
181
|
"fileName": "event/meta/meta.ts",
|
|
185
|
-
"line":
|
|
182
|
+
"line": 34,
|
|
186
183
|
"character": 2,
|
|
187
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
184
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L34"
|
|
188
185
|
}
|
|
189
186
|
],
|
|
190
187
|
"type": {
|
|
191
188
|
"type": "reference",
|
|
192
|
-
"target":
|
|
189
|
+
"target": 44,
|
|
193
190
|
"name": "EventConfig",
|
|
194
191
|
"package": "@coveo/relay"
|
|
195
192
|
}
|
|
196
193
|
},
|
|
197
194
|
{
|
|
198
|
-
"id":
|
|
195
|
+
"id": 43,
|
|
199
196
|
"name": "location",
|
|
200
197
|
"variant": "declaration",
|
|
201
198
|
"kind": 1024,
|
|
@@ -211,9 +208,9 @@
|
|
|
211
208
|
"sources": [
|
|
212
209
|
{
|
|
213
210
|
"fileName": "event/meta/meta.ts",
|
|
214
|
-
"line":
|
|
211
|
+
"line": 64,
|
|
215
212
|
"character": 2,
|
|
216
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
213
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L64"
|
|
217
214
|
}
|
|
218
215
|
],
|
|
219
216
|
"type": {
|
|
@@ -231,7 +228,7 @@
|
|
|
231
228
|
}
|
|
232
229
|
},
|
|
233
230
|
{
|
|
234
|
-
"id":
|
|
231
|
+
"id": 42,
|
|
235
232
|
"name": "referrer",
|
|
236
233
|
"variant": "declaration",
|
|
237
234
|
"kind": 1024,
|
|
@@ -247,9 +244,9 @@
|
|
|
247
244
|
"sources": [
|
|
248
245
|
{
|
|
249
246
|
"fileName": "event/meta/meta.ts",
|
|
250
|
-
"line":
|
|
247
|
+
"line": 59,
|
|
251
248
|
"character": 2,
|
|
252
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
249
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L59"
|
|
253
250
|
}
|
|
254
251
|
],
|
|
255
252
|
"type": {
|
|
@@ -267,7 +264,7 @@
|
|
|
267
264
|
}
|
|
268
265
|
},
|
|
269
266
|
{
|
|
270
|
-
"id":
|
|
267
|
+
"id": 39,
|
|
271
268
|
"name": "source",
|
|
272
269
|
"variant": "declaration",
|
|
273
270
|
"kind": 1024,
|
|
@@ -283,9 +280,9 @@
|
|
|
283
280
|
"sources": [
|
|
284
281
|
{
|
|
285
282
|
"fileName": "event/meta/meta.ts",
|
|
286
|
-
"line":
|
|
283
|
+
"line": 44,
|
|
287
284
|
"character": 2,
|
|
288
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
285
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L44"
|
|
289
286
|
}
|
|
290
287
|
],
|
|
291
288
|
"type": {
|
|
@@ -297,7 +294,7 @@
|
|
|
297
294
|
}
|
|
298
295
|
},
|
|
299
296
|
{
|
|
300
|
-
"id":
|
|
297
|
+
"id": 38,
|
|
301
298
|
"name": "ts",
|
|
302
299
|
"variant": "declaration",
|
|
303
300
|
"kind": 1024,
|
|
@@ -313,9 +310,9 @@
|
|
|
313
310
|
"sources": [
|
|
314
311
|
{
|
|
315
312
|
"fileName": "event/meta/meta.ts",
|
|
316
|
-
"line":
|
|
313
|
+
"line": 39,
|
|
317
314
|
"character": 2,
|
|
318
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
315
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L39"
|
|
319
316
|
}
|
|
320
317
|
],
|
|
321
318
|
"type": {
|
|
@@ -324,7 +321,7 @@
|
|
|
324
321
|
}
|
|
325
322
|
},
|
|
326
323
|
{
|
|
327
|
-
"id":
|
|
324
|
+
"id": 36,
|
|
328
325
|
"name": "type",
|
|
329
326
|
"variant": "declaration",
|
|
330
327
|
"kind": 1024,
|
|
@@ -340,9 +337,9 @@
|
|
|
340
337
|
"sources": [
|
|
341
338
|
{
|
|
342
339
|
"fileName": "event/meta/meta.ts",
|
|
343
|
-
"line":
|
|
340
|
+
"line": 29,
|
|
344
341
|
"character": 2,
|
|
345
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
342
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L29"
|
|
346
343
|
}
|
|
347
344
|
],
|
|
348
345
|
"type": {
|
|
@@ -351,7 +348,7 @@
|
|
|
351
348
|
}
|
|
352
349
|
},
|
|
353
350
|
{
|
|
354
|
-
"id":
|
|
351
|
+
"id": 41,
|
|
355
352
|
"name": "userAgent",
|
|
356
353
|
"variant": "declaration",
|
|
357
354
|
"kind": 1024,
|
|
@@ -367,9 +364,9 @@
|
|
|
367
364
|
"sources": [
|
|
368
365
|
{
|
|
369
366
|
"fileName": "event/meta/meta.ts",
|
|
370
|
-
"line":
|
|
367
|
+
"line": 54,
|
|
371
368
|
"character": 2,
|
|
372
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
369
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L54"
|
|
373
370
|
}
|
|
374
371
|
],
|
|
375
372
|
"type": {
|
|
@@ -391,28 +388,28 @@
|
|
|
391
388
|
{
|
|
392
389
|
"title": "Properties",
|
|
393
390
|
"children": [
|
|
394
|
-
37,
|
|
395
|
-
34,
|
|
396
391
|
40,
|
|
392
|
+
37,
|
|
393
|
+
43,
|
|
394
|
+
42,
|
|
397
395
|
39,
|
|
396
|
+
38,
|
|
398
397
|
36,
|
|
399
|
-
|
|
400
|
-
33,
|
|
401
|
-
38
|
|
398
|
+
41
|
|
402
399
|
]
|
|
403
400
|
}
|
|
404
401
|
],
|
|
405
402
|
"sources": [
|
|
406
403
|
{
|
|
407
404
|
"fileName": "event/meta/meta.ts",
|
|
408
|
-
"line":
|
|
405
|
+
"line": 25,
|
|
409
406
|
"character": 17,
|
|
410
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
407
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/meta/meta.ts#L25"
|
|
411
408
|
}
|
|
412
409
|
]
|
|
413
410
|
},
|
|
414
411
|
{
|
|
415
|
-
"id":
|
|
412
|
+
"id": 7,
|
|
416
413
|
"name": "Relay",
|
|
417
414
|
"variant": "declaration",
|
|
418
415
|
"kind": 256,
|
|
@@ -427,7 +424,7 @@
|
|
|
427
424
|
},
|
|
428
425
|
"children": [
|
|
429
426
|
{
|
|
430
|
-
"id":
|
|
427
|
+
"id": 32,
|
|
431
428
|
"name": "clearStorage",
|
|
432
429
|
"variant": "declaration",
|
|
433
430
|
"kind": 1024,
|
|
@@ -435,15 +432,15 @@
|
|
|
435
432
|
"sources": [
|
|
436
433
|
{
|
|
437
434
|
"fileName": "relay.ts",
|
|
438
|
-
"line":
|
|
435
|
+
"line": 75,
|
|
439
436
|
"character": 2,
|
|
440
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
437
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L75"
|
|
441
438
|
}
|
|
442
439
|
],
|
|
443
440
|
"type": {
|
|
444
441
|
"type": "reflection",
|
|
445
442
|
"declaration": {
|
|
446
|
-
"id":
|
|
443
|
+
"id": 33,
|
|
447
444
|
"name": "__type",
|
|
448
445
|
"variant": "declaration",
|
|
449
446
|
"kind": 65536,
|
|
@@ -451,14 +448,14 @@
|
|
|
451
448
|
"sources": [
|
|
452
449
|
{
|
|
453
450
|
"fileName": "relay.ts",
|
|
454
|
-
"line":
|
|
451
|
+
"line": 75,
|
|
455
452
|
"character": 16,
|
|
456
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
453
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L75"
|
|
457
454
|
}
|
|
458
455
|
],
|
|
459
456
|
"signatures": [
|
|
460
457
|
{
|
|
461
|
-
"id":
|
|
458
|
+
"id": 34,
|
|
462
459
|
"name": "__type",
|
|
463
460
|
"variant": "signature",
|
|
464
461
|
"kind": 4096,
|
|
@@ -480,9 +477,9 @@
|
|
|
480
477
|
"sources": [
|
|
481
478
|
{
|
|
482
479
|
"fileName": "relay.ts",
|
|
483
|
-
"line":
|
|
480
|
+
"line": 75,
|
|
484
481
|
"character": 16,
|
|
485
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
482
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L75"
|
|
486
483
|
}
|
|
487
484
|
],
|
|
488
485
|
"type": {
|
|
@@ -495,7 +492,7 @@
|
|
|
495
492
|
}
|
|
496
493
|
},
|
|
497
494
|
{
|
|
498
|
-
"id":
|
|
495
|
+
"id": 8,
|
|
499
496
|
"name": "emit",
|
|
500
497
|
"variant": "declaration",
|
|
501
498
|
"kind": 1024,
|
|
@@ -503,15 +500,15 @@
|
|
|
503
500
|
"sources": [
|
|
504
501
|
{
|
|
505
502
|
"fileName": "relay.ts",
|
|
506
|
-
"line":
|
|
503
|
+
"line": 29,
|
|
507
504
|
"character": 2,
|
|
508
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
505
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L29"
|
|
509
506
|
}
|
|
510
507
|
],
|
|
511
508
|
"type": {
|
|
512
509
|
"type": "reflection",
|
|
513
510
|
"declaration": {
|
|
514
|
-
"id":
|
|
511
|
+
"id": 9,
|
|
515
512
|
"name": "__type",
|
|
516
513
|
"variant": "declaration",
|
|
517
514
|
"kind": 65536,
|
|
@@ -519,14 +516,14 @@
|
|
|
519
516
|
"sources": [
|
|
520
517
|
{
|
|
521
518
|
"fileName": "relay.ts",
|
|
522
|
-
"line":
|
|
519
|
+
"line": 29,
|
|
523
520
|
"character": 8,
|
|
524
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
521
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L29"
|
|
525
522
|
}
|
|
526
523
|
],
|
|
527
524
|
"signatures": [
|
|
528
525
|
{
|
|
529
|
-
"id":
|
|
526
|
+
"id": 10,
|
|
530
527
|
"name": "__type",
|
|
531
528
|
"variant": "signature",
|
|
532
529
|
"kind": 4096,
|
|
@@ -548,14 +545,14 @@
|
|
|
548
545
|
"sources": [
|
|
549
546
|
{
|
|
550
547
|
"fileName": "relay.ts",
|
|
551
|
-
"line":
|
|
548
|
+
"line": 29,
|
|
552
549
|
"character": 8,
|
|
553
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
550
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L29"
|
|
554
551
|
}
|
|
555
552
|
],
|
|
556
553
|
"parameters": [
|
|
557
554
|
{
|
|
558
|
-
"id":
|
|
555
|
+
"id": 11,
|
|
559
556
|
"name": "type",
|
|
560
557
|
"variant": "param",
|
|
561
558
|
"kind": 32768,
|
|
@@ -574,7 +571,7 @@
|
|
|
574
571
|
}
|
|
575
572
|
},
|
|
576
573
|
{
|
|
577
|
-
"id":
|
|
574
|
+
"id": 12,
|
|
578
575
|
"name": "payload",
|
|
579
576
|
"variant": "param",
|
|
580
577
|
"kind": 32768,
|
|
@@ -618,7 +615,7 @@
|
|
|
618
615
|
}
|
|
619
616
|
},
|
|
620
617
|
{
|
|
621
|
-
"id":
|
|
618
|
+
"id": 13,
|
|
622
619
|
"name": "getMeta",
|
|
623
620
|
"variant": "declaration",
|
|
624
621
|
"kind": 1024,
|
|
@@ -626,15 +623,15 @@
|
|
|
626
623
|
"sources": [
|
|
627
624
|
{
|
|
628
625
|
"fileName": "relay.ts",
|
|
629
|
-
"line":
|
|
626
|
+
"line": 36,
|
|
630
627
|
"character": 2,
|
|
631
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
628
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L36"
|
|
632
629
|
}
|
|
633
630
|
],
|
|
634
631
|
"type": {
|
|
635
632
|
"type": "reflection",
|
|
636
633
|
"declaration": {
|
|
637
|
-
"id":
|
|
634
|
+
"id": 14,
|
|
638
635
|
"name": "__type",
|
|
639
636
|
"variant": "declaration",
|
|
640
637
|
"kind": 65536,
|
|
@@ -642,14 +639,14 @@
|
|
|
642
639
|
"sources": [
|
|
643
640
|
{
|
|
644
641
|
"fileName": "relay.ts",
|
|
645
|
-
"line":
|
|
642
|
+
"line": 36,
|
|
646
643
|
"character": 11,
|
|
647
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
644
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L36"
|
|
648
645
|
}
|
|
649
646
|
],
|
|
650
647
|
"signatures": [
|
|
651
648
|
{
|
|
652
|
-
"id":
|
|
649
|
+
"id": 15,
|
|
653
650
|
"name": "__type",
|
|
654
651
|
"variant": "signature",
|
|
655
652
|
"kind": 4096,
|
|
@@ -671,14 +668,14 @@
|
|
|
671
668
|
"sources": [
|
|
672
669
|
{
|
|
673
670
|
"fileName": "relay.ts",
|
|
674
|
-
"line":
|
|
671
|
+
"line": 36,
|
|
675
672
|
"character": 11,
|
|
676
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
673
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L36"
|
|
677
674
|
}
|
|
678
675
|
],
|
|
679
676
|
"parameters": [
|
|
680
677
|
{
|
|
681
|
-
"id":
|
|
678
|
+
"id": 16,
|
|
682
679
|
"name": "type",
|
|
683
680
|
"variant": "param",
|
|
684
681
|
"kind": 32768,
|
|
@@ -699,7 +696,7 @@
|
|
|
699
696
|
],
|
|
700
697
|
"type": {
|
|
701
698
|
"type": "reference",
|
|
702
|
-
"target":
|
|
699
|
+
"target": 35,
|
|
703
700
|
"name": "Meta",
|
|
704
701
|
"package": "@coveo/relay"
|
|
705
702
|
}
|
|
@@ -709,7 +706,7 @@
|
|
|
709
706
|
}
|
|
710
707
|
},
|
|
711
708
|
{
|
|
712
|
-
"id":
|
|
709
|
+
"id": 22,
|
|
713
710
|
"name": "off",
|
|
714
711
|
"variant": "declaration",
|
|
715
712
|
"kind": 1024,
|
|
@@ -717,15 +714,15 @@
|
|
|
717
714
|
"sources": [
|
|
718
715
|
{
|
|
719
716
|
"fileName": "relay.ts",
|
|
720
|
-
"line":
|
|
717
|
+
"line": 57,
|
|
721
718
|
"character": 2,
|
|
722
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
719
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L57"
|
|
723
720
|
}
|
|
724
721
|
],
|
|
725
722
|
"type": {
|
|
726
723
|
"type": "reflection",
|
|
727
724
|
"declaration": {
|
|
728
|
-
"id":
|
|
725
|
+
"id": 23,
|
|
729
726
|
"name": "__type",
|
|
730
727
|
"variant": "declaration",
|
|
731
728
|
"kind": 65536,
|
|
@@ -733,14 +730,14 @@
|
|
|
733
730
|
"sources": [
|
|
734
731
|
{
|
|
735
732
|
"fileName": "relay.ts",
|
|
736
|
-
"line":
|
|
733
|
+
"line": 57,
|
|
737
734
|
"character": 7,
|
|
738
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
735
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L57"
|
|
739
736
|
}
|
|
740
737
|
],
|
|
741
738
|
"signatures": [
|
|
742
739
|
{
|
|
743
|
-
"id":
|
|
740
|
+
"id": 24,
|
|
744
741
|
"name": "__type",
|
|
745
742
|
"variant": "signature",
|
|
746
743
|
"kind": 4096,
|
|
@@ -762,14 +759,14 @@
|
|
|
762
759
|
"sources": [
|
|
763
760
|
{
|
|
764
761
|
"fileName": "relay.ts",
|
|
765
|
-
"line":
|
|
762
|
+
"line": 57,
|
|
766
763
|
"character": 7,
|
|
767
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
764
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L57"
|
|
768
765
|
}
|
|
769
766
|
],
|
|
770
767
|
"parameters": [
|
|
771
768
|
{
|
|
772
|
-
"id":
|
|
769
|
+
"id": 25,
|
|
773
770
|
"name": "type",
|
|
774
771
|
"variant": "param",
|
|
775
772
|
"kind": 32768,
|
|
@@ -788,7 +785,7 @@
|
|
|
788
785
|
}
|
|
789
786
|
},
|
|
790
787
|
{
|
|
791
|
-
"id":
|
|
788
|
+
"id": 26,
|
|
792
789
|
"name": "callback",
|
|
793
790
|
"variant": "param",
|
|
794
791
|
"kind": 32768,
|
|
@@ -805,7 +802,7 @@
|
|
|
805
802
|
},
|
|
806
803
|
"type": {
|
|
807
804
|
"type": "reference",
|
|
808
|
-
"target":
|
|
805
|
+
"target": 47,
|
|
809
806
|
"name": "EventCallback",
|
|
810
807
|
"package": "@coveo/relay"
|
|
811
808
|
}
|
|
@@ -821,7 +818,7 @@
|
|
|
821
818
|
}
|
|
822
819
|
},
|
|
823
820
|
{
|
|
824
|
-
"id":
|
|
821
|
+
"id": 17,
|
|
825
822
|
"name": "on",
|
|
826
823
|
"variant": "declaration",
|
|
827
824
|
"kind": 1024,
|
|
@@ -829,15 +826,15 @@
|
|
|
829
826
|
"sources": [
|
|
830
827
|
{
|
|
831
828
|
"fileName": "relay.ts",
|
|
832
|
-
"line":
|
|
829
|
+
"line": 48,
|
|
833
830
|
"character": 2,
|
|
834
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
831
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L48"
|
|
835
832
|
}
|
|
836
833
|
],
|
|
837
834
|
"type": {
|
|
838
835
|
"type": "reflection",
|
|
839
836
|
"declaration": {
|
|
840
|
-
"id":
|
|
837
|
+
"id": 18,
|
|
841
838
|
"name": "__type",
|
|
842
839
|
"variant": "declaration",
|
|
843
840
|
"kind": 65536,
|
|
@@ -845,14 +842,14 @@
|
|
|
845
842
|
"sources": [
|
|
846
843
|
{
|
|
847
844
|
"fileName": "relay.ts",
|
|
848
|
-
"line":
|
|
845
|
+
"line": 48,
|
|
849
846
|
"character": 6,
|
|
850
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
847
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L48"
|
|
851
848
|
}
|
|
852
849
|
],
|
|
853
850
|
"signatures": [
|
|
854
851
|
{
|
|
855
|
-
"id":
|
|
852
|
+
"id": 19,
|
|
856
853
|
"name": "__type",
|
|
857
854
|
"variant": "signature",
|
|
858
855
|
"kind": 4096,
|
|
@@ -861,7 +858,7 @@
|
|
|
861
858
|
"summary": [
|
|
862
859
|
{
|
|
863
860
|
"kind": "text",
|
|
864
|
-
"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.\nSetting type as \"*\" will trigger the callback for all event types.\nReturns the \"off\" function to detach the event callback."
|
|
861
|
+
"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."
|
|
865
862
|
}
|
|
866
863
|
],
|
|
867
864
|
"blockTags": [
|
|
@@ -874,14 +871,14 @@
|
|
|
874
871
|
"sources": [
|
|
875
872
|
{
|
|
876
873
|
"fileName": "relay.ts",
|
|
877
|
-
"line":
|
|
874
|
+
"line": 48,
|
|
878
875
|
"character": 6,
|
|
879
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
876
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L48"
|
|
880
877
|
}
|
|
881
878
|
],
|
|
882
879
|
"parameters": [
|
|
883
880
|
{
|
|
884
|
-
"id":
|
|
881
|
+
"id": 20,
|
|
885
882
|
"name": "type",
|
|
886
883
|
"variant": "param",
|
|
887
884
|
"kind": 32768,
|
|
@@ -900,14 +897,22 @@
|
|
|
900
897
|
}
|
|
901
898
|
},
|
|
902
899
|
{
|
|
903
|
-
"id":
|
|
900
|
+
"id": 21,
|
|
904
901
|
"name": "callback",
|
|
905
902
|
"variant": "param",
|
|
906
903
|
"kind": 32768,
|
|
907
904
|
"flags": {},
|
|
905
|
+
"comment": {
|
|
906
|
+
"summary": [
|
|
907
|
+
{
|
|
908
|
+
"kind": "text",
|
|
909
|
+
"text": "callback that should be called when the event is emitted."
|
|
910
|
+
}
|
|
911
|
+
]
|
|
912
|
+
},
|
|
908
913
|
"type": {
|
|
909
914
|
"type": "reference",
|
|
910
|
-
"target":
|
|
915
|
+
"target": 47,
|
|
911
916
|
"name": "EventCallback",
|
|
912
917
|
"package": "@coveo/relay"
|
|
913
918
|
}
|
|
@@ -915,10 +920,7 @@
|
|
|
915
920
|
],
|
|
916
921
|
"type": {
|
|
917
922
|
"type": "reference",
|
|
918
|
-
"target":
|
|
919
|
-
"sourceFileName": "src/relay.ts",
|
|
920
|
-
"qualifiedName": "Off"
|
|
921
|
-
},
|
|
923
|
+
"target": 4,
|
|
922
924
|
"name": "Off",
|
|
923
925
|
"package": "@coveo/relay"
|
|
924
926
|
}
|
|
@@ -928,7 +930,7 @@
|
|
|
928
930
|
}
|
|
929
931
|
},
|
|
930
932
|
{
|
|
931
|
-
"id":
|
|
933
|
+
"id": 27,
|
|
932
934
|
"name": "updateConfig",
|
|
933
935
|
"variant": "declaration",
|
|
934
936
|
"kind": 1024,
|
|
@@ -936,15 +938,15 @@
|
|
|
936
938
|
"sources": [
|
|
937
939
|
{
|
|
938
940
|
"fileName": "relay.ts",
|
|
939
|
-
"line":
|
|
941
|
+
"line": 64,
|
|
940
942
|
"character": 2,
|
|
941
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
943
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L64"
|
|
942
944
|
}
|
|
943
945
|
],
|
|
944
946
|
"type": {
|
|
945
947
|
"type": "reflection",
|
|
946
948
|
"declaration": {
|
|
947
|
-
"id":
|
|
949
|
+
"id": 28,
|
|
948
950
|
"name": "__type",
|
|
949
951
|
"variant": "declaration",
|
|
950
952
|
"kind": 65536,
|
|
@@ -952,14 +954,14 @@
|
|
|
952
954
|
"sources": [
|
|
953
955
|
{
|
|
954
956
|
"fileName": "relay.ts",
|
|
955
|
-
"line":
|
|
957
|
+
"line": 64,
|
|
956
958
|
"character": 16,
|
|
957
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
959
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L64"
|
|
958
960
|
}
|
|
959
961
|
],
|
|
960
962
|
"signatures": [
|
|
961
963
|
{
|
|
962
|
-
"id":
|
|
964
|
+
"id": 29,
|
|
963
965
|
"name": "__type",
|
|
964
966
|
"variant": "signature",
|
|
965
967
|
"kind": 4096,
|
|
@@ -981,14 +983,14 @@
|
|
|
981
983
|
"sources": [
|
|
982
984
|
{
|
|
983
985
|
"fileName": "relay.ts",
|
|
984
|
-
"line":
|
|
986
|
+
"line": 64,
|
|
985
987
|
"character": 16,
|
|
986
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
988
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L64"
|
|
987
989
|
}
|
|
988
990
|
],
|
|
989
991
|
"parameters": [
|
|
990
992
|
{
|
|
991
|
-
"id":
|
|
993
|
+
"id": 30,
|
|
992
994
|
"name": "config",
|
|
993
995
|
"variant": "param",
|
|
994
996
|
"kind": 32768,
|
|
@@ -1010,7 +1012,7 @@
|
|
|
1010
1012
|
"typeArguments": [
|
|
1011
1013
|
{
|
|
1012
1014
|
"type": "reference",
|
|
1013
|
-
"target":
|
|
1015
|
+
"target": 51,
|
|
1014
1016
|
"name": "RelayConfig",
|
|
1015
1017
|
"package": "@coveo/relay"
|
|
1016
1018
|
}
|
|
@@ -1030,7 +1032,7 @@
|
|
|
1030
1032
|
}
|
|
1031
1033
|
},
|
|
1032
1034
|
{
|
|
1033
|
-
"id":
|
|
1035
|
+
"id": 31,
|
|
1034
1036
|
"name": "version",
|
|
1035
1037
|
"variant": "declaration",
|
|
1036
1038
|
"kind": 1024,
|
|
@@ -1046,9 +1048,9 @@
|
|
|
1046
1048
|
"sources": [
|
|
1047
1049
|
{
|
|
1048
1050
|
"fileName": "relay.ts",
|
|
1049
|
-
"line":
|
|
1051
|
+
"line": 69,
|
|
1050
1052
|
"character": 2,
|
|
1051
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1053
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L69"
|
|
1052
1054
|
}
|
|
1053
1055
|
],
|
|
1054
1056
|
"type": {
|
|
@@ -1061,27 +1063,27 @@
|
|
|
1061
1063
|
{
|
|
1062
1064
|
"title": "Properties",
|
|
1063
1065
|
"children": [
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1066
|
+
32,
|
|
1067
|
+
8,
|
|
1068
|
+
13,
|
|
1069
|
+
22,
|
|
1070
|
+
17,
|
|
1071
|
+
27,
|
|
1072
|
+
31
|
|
1071
1073
|
]
|
|
1072
1074
|
}
|
|
1073
1075
|
],
|
|
1074
1076
|
"sources": [
|
|
1075
1077
|
{
|
|
1076
1078
|
"fileName": "relay.ts",
|
|
1077
|
-
"line":
|
|
1079
|
+
"line": 22,
|
|
1078
1080
|
"character": 10,
|
|
1079
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1081
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L22"
|
|
1080
1082
|
}
|
|
1081
1083
|
]
|
|
1082
1084
|
},
|
|
1083
1085
|
{
|
|
1084
|
-
"id":
|
|
1086
|
+
"id": 51,
|
|
1085
1087
|
"name": "RelayConfig",
|
|
1086
1088
|
"variant": "declaration",
|
|
1087
1089
|
"kind": 256,
|
|
@@ -1104,7 +1106,7 @@
|
|
|
1104
1106
|
},
|
|
1105
1107
|
"children": [
|
|
1106
1108
|
{
|
|
1107
|
-
"id":
|
|
1109
|
+
"id": 55,
|
|
1108
1110
|
"name": "mode",
|
|
1109
1111
|
"variant": "declaration",
|
|
1110
1112
|
"kind": 1024,
|
|
@@ -1115,7 +1117,39 @@
|
|
|
1115
1117
|
"summary": [
|
|
1116
1118
|
{
|
|
1117
1119
|
"kind": "text",
|
|
1118
|
-
"text": "Defines the library mode. The
|
|
1120
|
+
"text": "Defines the library mode. The available modes are "
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"kind": "code",
|
|
1124
|
+
"text": "`emit`"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "text",
|
|
1128
|
+
"text": " and "
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"kind": "code",
|
|
1132
|
+
"text": "`disabled`"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"kind": "text",
|
|
1136
|
+
"text": ".\n"
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"kind": "code",
|
|
1140
|
+
"text": "`emit`"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"kind": "text",
|
|
1144
|
+
"text": " sends analytics events to Coveo to be stored.\n"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"kind": "code",
|
|
1148
|
+
"text": "`disabled`"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"kind": "text",
|
|
1152
|
+
"text": " prevents the emission of events and does not trigger callbacks."
|
|
1119
1153
|
}
|
|
1120
1154
|
],
|
|
1121
1155
|
"blockTags": [
|
|
@@ -1133,23 +1167,27 @@
|
|
|
1133
1167
|
"sources": [
|
|
1134
1168
|
{
|
|
1135
1169
|
"fileName": "config/config.ts",
|
|
1136
|
-
"line":
|
|
1170
|
+
"line": 26,
|
|
1137
1171
|
"character": 2,
|
|
1138
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1172
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L26"
|
|
1139
1173
|
}
|
|
1140
1174
|
],
|
|
1141
1175
|
"type": {
|
|
1142
|
-
"type": "
|
|
1143
|
-
"
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1176
|
+
"type": "union",
|
|
1177
|
+
"types": [
|
|
1178
|
+
{
|
|
1179
|
+
"type": "literal",
|
|
1180
|
+
"value": "emit"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"type": "literal",
|
|
1184
|
+
"value": "disabled"
|
|
1185
|
+
}
|
|
1186
|
+
]
|
|
1149
1187
|
}
|
|
1150
1188
|
},
|
|
1151
1189
|
{
|
|
1152
|
-
"id":
|
|
1190
|
+
"id": 56,
|
|
1153
1191
|
"name": "source",
|
|
1154
1192
|
"variant": "declaration",
|
|
1155
1193
|
"kind": 1024,
|
|
@@ -1167,9 +1205,9 @@
|
|
|
1167
1205
|
"sources": [
|
|
1168
1206
|
{
|
|
1169
1207
|
"fileName": "config/config.ts",
|
|
1170
|
-
"line":
|
|
1208
|
+
"line": 33,
|
|
1171
1209
|
"character": 2,
|
|
1172
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1210
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L33"
|
|
1173
1211
|
}
|
|
1174
1212
|
],
|
|
1175
1213
|
"type": {
|
|
@@ -1181,7 +1219,7 @@
|
|
|
1181
1219
|
}
|
|
1182
1220
|
},
|
|
1183
1221
|
{
|
|
1184
|
-
"id":
|
|
1222
|
+
"id": 53,
|
|
1185
1223
|
"name": "token",
|
|
1186
1224
|
"variant": "declaration",
|
|
1187
1225
|
"kind": 1024,
|
|
@@ -1197,9 +1235,9 @@
|
|
|
1197
1235
|
"sources": [
|
|
1198
1236
|
{
|
|
1199
1237
|
"fileName": "config/config.ts",
|
|
1200
|
-
"line":
|
|
1238
|
+
"line": 13,
|
|
1201
1239
|
"character": 2,
|
|
1202
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1240
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L13"
|
|
1203
1241
|
}
|
|
1204
1242
|
],
|
|
1205
1243
|
"type": {
|
|
@@ -1208,7 +1246,7 @@
|
|
|
1208
1246
|
}
|
|
1209
1247
|
},
|
|
1210
1248
|
{
|
|
1211
|
-
"id":
|
|
1249
|
+
"id": 54,
|
|
1212
1250
|
"name": "trackingId",
|
|
1213
1251
|
"variant": "declaration",
|
|
1214
1252
|
"kind": 1024,
|
|
@@ -1224,9 +1262,9 @@
|
|
|
1224
1262
|
"sources": [
|
|
1225
1263
|
{
|
|
1226
1264
|
"fileName": "config/config.ts",
|
|
1227
|
-
"line":
|
|
1265
|
+
"line": 18,
|
|
1228
1266
|
"character": 2,
|
|
1229
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1267
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L18"
|
|
1230
1268
|
}
|
|
1231
1269
|
],
|
|
1232
1270
|
"type": {
|
|
@@ -1235,7 +1273,7 @@
|
|
|
1235
1273
|
}
|
|
1236
1274
|
},
|
|
1237
1275
|
{
|
|
1238
|
-
"id":
|
|
1276
|
+
"id": 52,
|
|
1239
1277
|
"name": "url",
|
|
1240
1278
|
"variant": "declaration",
|
|
1241
1279
|
"kind": 1024,
|
|
@@ -1251,9 +1289,9 @@
|
|
|
1251
1289
|
"sources": [
|
|
1252
1290
|
{
|
|
1253
1291
|
"fileName": "config/config.ts",
|
|
1254
|
-
"line":
|
|
1292
|
+
"line": 8,
|
|
1255
1293
|
"character": 2,
|
|
1256
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1294
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L8"
|
|
1257
1295
|
}
|
|
1258
1296
|
],
|
|
1259
1297
|
"type": {
|
|
@@ -1266,25 +1304,174 @@
|
|
|
1266
1304
|
{
|
|
1267
1305
|
"title": "Properties",
|
|
1268
1306
|
"children": [
|
|
1269
|
-
|
|
1307
|
+
55,
|
|
1308
|
+
56,
|
|
1270
1309
|
53,
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
49
|
|
1310
|
+
54,
|
|
1311
|
+
52
|
|
1274
1312
|
]
|
|
1275
1313
|
}
|
|
1276
1314
|
],
|
|
1277
1315
|
"sources": [
|
|
1278
1316
|
{
|
|
1279
1317
|
"fileName": "config/config.ts",
|
|
1280
|
-
"line":
|
|
1318
|
+
"line": 4,
|
|
1281
1319
|
"character": 17,
|
|
1282
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1320
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L4"
|
|
1283
1321
|
}
|
|
1284
1322
|
]
|
|
1285
1323
|
},
|
|
1286
1324
|
{
|
|
1287
|
-
"id":
|
|
1325
|
+
"id": 60,
|
|
1326
|
+
"name": "RelayEvent",
|
|
1327
|
+
"variant": "declaration",
|
|
1328
|
+
"kind": 256,
|
|
1329
|
+
"flags": {},
|
|
1330
|
+
"comment": {
|
|
1331
|
+
"summary": [
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "text",
|
|
1334
|
+
"text": "Defines the structure of a RelayEvent, extending the RelayPayload."
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1338
|
+
"children": [
|
|
1339
|
+
{
|
|
1340
|
+
"id": 61,
|
|
1341
|
+
"name": "meta",
|
|
1342
|
+
"variant": "declaration",
|
|
1343
|
+
"kind": 1024,
|
|
1344
|
+
"flags": {},
|
|
1345
|
+
"comment": {
|
|
1346
|
+
"summary": [
|
|
1347
|
+
{
|
|
1348
|
+
"kind": "text",
|
|
1349
|
+
"text": "Read-only "
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"kind": "code",
|
|
1353
|
+
"text": "`meta`"
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"kind": "text",
|
|
1357
|
+
"text": " property of Meta type."
|
|
1358
|
+
}
|
|
1359
|
+
]
|
|
1360
|
+
},
|
|
1361
|
+
"sources": [
|
|
1362
|
+
{
|
|
1363
|
+
"fileName": "event/relay-event.ts",
|
|
1364
|
+
"line": 14,
|
|
1365
|
+
"character": 2,
|
|
1366
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/relay-event.ts#L14"
|
|
1367
|
+
}
|
|
1368
|
+
],
|
|
1369
|
+
"type": {
|
|
1370
|
+
"type": "reference",
|
|
1371
|
+
"target": {
|
|
1372
|
+
"sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1373
|
+
"qualifiedName": "Readonly"
|
|
1374
|
+
},
|
|
1375
|
+
"typeArguments": [
|
|
1376
|
+
{
|
|
1377
|
+
"type": "reference",
|
|
1378
|
+
"target": 35,
|
|
1379
|
+
"name": "Meta",
|
|
1380
|
+
"package": "@coveo/relay"
|
|
1381
|
+
}
|
|
1382
|
+
],
|
|
1383
|
+
"name": "Readonly",
|
|
1384
|
+
"package": "typescript"
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
],
|
|
1388
|
+
"groups": [
|
|
1389
|
+
{
|
|
1390
|
+
"title": "Properties",
|
|
1391
|
+
"children": [
|
|
1392
|
+
61
|
|
1393
|
+
]
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"sources": [
|
|
1397
|
+
{
|
|
1398
|
+
"fileName": "event/relay-event.ts",
|
|
1399
|
+
"line": 10,
|
|
1400
|
+
"character": 17,
|
|
1401
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/event/relay-event.ts#L10"
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
"extendedTypes": [
|
|
1405
|
+
{
|
|
1406
|
+
"type": "reference",
|
|
1407
|
+
"target": 59,
|
|
1408
|
+
"name": "RelayPayload",
|
|
1409
|
+
"package": "@coveo/relay"
|
|
1410
|
+
}
|
|
1411
|
+
]
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"id": 57,
|
|
1415
|
+
"name": "User",
|
|
1416
|
+
"variant": "declaration",
|
|
1417
|
+
"kind": 256,
|
|
1418
|
+
"flags": {},
|
|
1419
|
+
"comment": {
|
|
1420
|
+
"summary": [
|
|
1421
|
+
{
|
|
1422
|
+
"kind": "text",
|
|
1423
|
+
"text": "User which logged the event."
|
|
1424
|
+
}
|
|
1425
|
+
]
|
|
1426
|
+
},
|
|
1427
|
+
"children": [
|
|
1428
|
+
{
|
|
1429
|
+
"id": 58,
|
|
1430
|
+
"name": "id",
|
|
1431
|
+
"variant": "declaration",
|
|
1432
|
+
"kind": 1024,
|
|
1433
|
+
"flags": {},
|
|
1434
|
+
"comment": {
|
|
1435
|
+
"summary": [
|
|
1436
|
+
{
|
|
1437
|
+
"kind": "text",
|
|
1438
|
+
"text": "The application's user identifier."
|
|
1439
|
+
}
|
|
1440
|
+
]
|
|
1441
|
+
},
|
|
1442
|
+
"sources": [
|
|
1443
|
+
{
|
|
1444
|
+
"fileName": "config/config.ts",
|
|
1445
|
+
"line": 43,
|
|
1446
|
+
"character": 2,
|
|
1447
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L43"
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
1450
|
+
"type": {
|
|
1451
|
+
"type": "intrinsic",
|
|
1452
|
+
"name": "string"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
],
|
|
1456
|
+
"groups": [
|
|
1457
|
+
{
|
|
1458
|
+
"title": "Properties",
|
|
1459
|
+
"children": [
|
|
1460
|
+
58
|
|
1461
|
+
]
|
|
1462
|
+
}
|
|
1463
|
+
],
|
|
1464
|
+
"sources": [
|
|
1465
|
+
{
|
|
1466
|
+
"fileName": "config/config.ts",
|
|
1467
|
+
"line": 39,
|
|
1468
|
+
"character": 17,
|
|
1469
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/config/config.ts#L39"
|
|
1470
|
+
}
|
|
1471
|
+
]
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"id": 47,
|
|
1288
1475
|
"name": "EventCallback",
|
|
1289
1476
|
"variant": "declaration",
|
|
1290
1477
|
"kind": 2097152,
|
|
@@ -1294,13 +1481,13 @@
|
|
|
1294
1481
|
"fileName": "listener/listener.ts",
|
|
1295
1482
|
"line": 11,
|
|
1296
1483
|
"character": 12,
|
|
1297
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1484
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/listener/listener.ts#L11"
|
|
1298
1485
|
}
|
|
1299
1486
|
],
|
|
1300
1487
|
"type": {
|
|
1301
1488
|
"type": "reflection",
|
|
1302
1489
|
"declaration": {
|
|
1303
|
-
"id":
|
|
1490
|
+
"id": 48,
|
|
1304
1491
|
"name": "__type",
|
|
1305
1492
|
"variant": "declaration",
|
|
1306
1493
|
"kind": 65536,
|
|
@@ -1310,12 +1497,12 @@
|
|
|
1310
1497
|
"fileName": "listener/listener.ts",
|
|
1311
1498
|
"line": 11,
|
|
1312
1499
|
"character": 28,
|
|
1313
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1500
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/listener/listener.ts#L11"
|
|
1314
1501
|
}
|
|
1315
1502
|
],
|
|
1316
1503
|
"signatures": [
|
|
1317
1504
|
{
|
|
1318
|
-
"id":
|
|
1505
|
+
"id": 49,
|
|
1319
1506
|
"name": "__type",
|
|
1320
1507
|
"variant": "signature",
|
|
1321
1508
|
"kind": 4096,
|
|
@@ -1336,17 +1523,22 @@
|
|
|
1336
1523
|
},
|
|
1337
1524
|
"parameters": [
|
|
1338
1525
|
{
|
|
1339
|
-
"id":
|
|
1526
|
+
"id": 50,
|
|
1340
1527
|
"name": "event",
|
|
1341
1528
|
"variant": "param",
|
|
1342
1529
|
"kind": 32768,
|
|
1343
1530
|
"flags": {},
|
|
1531
|
+
"comment": {
|
|
1532
|
+
"summary": [
|
|
1533
|
+
{
|
|
1534
|
+
"kind": "text",
|
|
1535
|
+
"text": "the Relay event payload that triggered the callback."
|
|
1536
|
+
}
|
|
1537
|
+
]
|
|
1538
|
+
},
|
|
1344
1539
|
"type": {
|
|
1345
1540
|
"type": "reference",
|
|
1346
|
-
"target":
|
|
1347
|
-
"sourceFileName": "src/event/relay-event.ts",
|
|
1348
|
-
"qualifiedName": "RelayEvent"
|
|
1349
|
-
},
|
|
1541
|
+
"target": 60,
|
|
1350
1542
|
"name": "RelayEvent",
|
|
1351
1543
|
"package": "@coveo/relay"
|
|
1352
1544
|
}
|
|
@@ -1361,6 +1553,115 @@
|
|
|
1361
1553
|
}
|
|
1362
1554
|
}
|
|
1363
1555
|
},
|
|
1556
|
+
{
|
|
1557
|
+
"id": 4,
|
|
1558
|
+
"name": "Off",
|
|
1559
|
+
"variant": "declaration",
|
|
1560
|
+
"kind": 2097152,
|
|
1561
|
+
"flags": {},
|
|
1562
|
+
"sources": [
|
|
1563
|
+
{
|
|
1564
|
+
"fileName": "relay.ts",
|
|
1565
|
+
"line": 16,
|
|
1566
|
+
"character": 12,
|
|
1567
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L16"
|
|
1568
|
+
}
|
|
1569
|
+
],
|
|
1570
|
+
"type": {
|
|
1571
|
+
"type": "reflection",
|
|
1572
|
+
"declaration": {
|
|
1573
|
+
"id": 5,
|
|
1574
|
+
"name": "__type",
|
|
1575
|
+
"variant": "declaration",
|
|
1576
|
+
"kind": 65536,
|
|
1577
|
+
"flags": {},
|
|
1578
|
+
"sources": [
|
|
1579
|
+
{
|
|
1580
|
+
"fileName": "relay.ts",
|
|
1581
|
+
"line": 16,
|
|
1582
|
+
"character": 18,
|
|
1583
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L16"
|
|
1584
|
+
}
|
|
1585
|
+
],
|
|
1586
|
+
"signatures": [
|
|
1587
|
+
{
|
|
1588
|
+
"id": 6,
|
|
1589
|
+
"name": "__type",
|
|
1590
|
+
"variant": "signature",
|
|
1591
|
+
"kind": 4096,
|
|
1592
|
+
"flags": {},
|
|
1593
|
+
"comment": {
|
|
1594
|
+
"summary": [
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "text",
|
|
1597
|
+
"text": "Function that detaches an event callback."
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
"blockTags": [
|
|
1601
|
+
{
|
|
1602
|
+
"tag": "@returns",
|
|
1603
|
+
"content": []
|
|
1604
|
+
}
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1607
|
+
"type": {
|
|
1608
|
+
"type": "intrinsic",
|
|
1609
|
+
"name": "void"
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
]
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"id": 59,
|
|
1618
|
+
"name": "RelayPayload",
|
|
1619
|
+
"variant": "declaration",
|
|
1620
|
+
"kind": 2097152,
|
|
1621
|
+
"flags": {},
|
|
1622
|
+
"comment": {
|
|
1623
|
+
"summary": [
|
|
1624
|
+
{
|
|
1625
|
+
"kind": "text",
|
|
1626
|
+
"text": "Represents the payload sent with Relay.\nIt is a object with string keys and values of any type."
|
|
1627
|
+
}
|
|
1628
|
+
]
|
|
1629
|
+
},
|
|
1630
|
+
"sources": [
|
|
1631
|
+
{
|
|
1632
|
+
"fileName": "relay-payload.ts",
|
|
1633
|
+
"line": 5,
|
|
1634
|
+
"character": 12,
|
|
1635
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay-payload.ts#L5"
|
|
1636
|
+
}
|
|
1637
|
+
],
|
|
1638
|
+
"type": {
|
|
1639
|
+
"type": "reference",
|
|
1640
|
+
"target": {
|
|
1641
|
+
"sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1642
|
+
"qualifiedName": "Record"
|
|
1643
|
+
},
|
|
1644
|
+
"typeArguments": [
|
|
1645
|
+
{
|
|
1646
|
+
"type": "intrinsic",
|
|
1647
|
+
"name": "string"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"type": "intrinsic",
|
|
1651
|
+
"name": "any"
|
|
1652
|
+
}
|
|
1653
|
+
],
|
|
1654
|
+
"name": "Record",
|
|
1655
|
+
"package": "typescript"
|
|
1656
|
+
},
|
|
1657
|
+
"extendedBy": [
|
|
1658
|
+
{
|
|
1659
|
+
"type": "reference",
|
|
1660
|
+
"target": 60,
|
|
1661
|
+
"name": "RelayEvent"
|
|
1662
|
+
}
|
|
1663
|
+
]
|
|
1664
|
+
},
|
|
1364
1665
|
{
|
|
1365
1666
|
"id": 1,
|
|
1366
1667
|
"name": "createRelay",
|
|
@@ -1370,9 +1671,9 @@
|
|
|
1370
1671
|
"sources": [
|
|
1371
1672
|
{
|
|
1372
1673
|
"fileName": "relay.ts",
|
|
1373
|
-
"line":
|
|
1674
|
+
"line": 83,
|
|
1374
1675
|
"character": 16,
|
|
1375
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1676
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L83"
|
|
1376
1677
|
}
|
|
1377
1678
|
],
|
|
1378
1679
|
"signatures": [
|
|
@@ -1399,9 +1700,9 @@
|
|
|
1399
1700
|
"sources": [
|
|
1400
1701
|
{
|
|
1401
1702
|
"fileName": "relay.ts",
|
|
1402
|
-
"line":
|
|
1703
|
+
"line": 83,
|
|
1403
1704
|
"character": 16,
|
|
1404
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1705
|
+
"url": "https://github.com/coveo/relay/blob/36744a6/packages/relay/src/relay.ts#L83"
|
|
1405
1706
|
}
|
|
1406
1707
|
],
|
|
1407
1708
|
"parameters": [
|
|
@@ -1413,7 +1714,7 @@
|
|
|
1413
1714
|
"flags": {},
|
|
1414
1715
|
"type": {
|
|
1415
1716
|
"type": "reference",
|
|
1416
|
-
"target":
|
|
1717
|
+
"target": 51,
|
|
1417
1718
|
"name": "RelayConfig",
|
|
1418
1719
|
"package": "@coveo/relay"
|
|
1419
1720
|
}
|
|
@@ -1421,7 +1722,7 @@
|
|
|
1421
1722
|
],
|
|
1422
1723
|
"type": {
|
|
1423
1724
|
"type": "reference",
|
|
1424
|
-
"target":
|
|
1725
|
+
"target": 7,
|
|
1425
1726
|
"name": "Relay",
|
|
1426
1727
|
"package": "@coveo/relay"
|
|
1427
1728
|
}
|
|
@@ -1433,16 +1734,20 @@
|
|
|
1433
1734
|
{
|
|
1434
1735
|
"title": "Interfaces",
|
|
1435
1736
|
"children": [
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1737
|
+
44,
|
|
1738
|
+
35,
|
|
1739
|
+
7,
|
|
1740
|
+
51,
|
|
1741
|
+
60,
|
|
1742
|
+
57
|
|
1440
1743
|
]
|
|
1441
1744
|
},
|
|
1442
1745
|
{
|
|
1443
1746
|
"title": "Type Aliases",
|
|
1444
1747
|
"children": [
|
|
1445
|
-
|
|
1748
|
+
47,
|
|
1749
|
+
4,
|
|
1750
|
+
59
|
|
1446
1751
|
]
|
|
1447
1752
|
},
|
|
1448
1753
|
{
|
|
@@ -1453,51 +1758,19 @@
|
|
|
1453
1758
|
}
|
|
1454
1759
|
],
|
|
1455
1760
|
"packageName": "@coveo/relay",
|
|
1456
|
-
"packageVersion": "0.7.
|
|
1761
|
+
"packageVersion": "0.7.4",
|
|
1457
1762
|
"readme": [
|
|
1458
1763
|
{
|
|
1459
1764
|
"kind": "text",
|
|
1460
|
-
"text": "#
|
|
1765
|
+
"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"
|
|
1461
1766
|
},
|
|
1462
1767
|
{
|
|
1463
1768
|
"kind": "code",
|
|
1464
|
-
"text": "
|
|
1769
|
+
"text": "```js\nimport { createRelay } from \"@coveo/relay\";\n\nconst config = {...};\nconst relay = createRelay(config);\n\nconst payload = {...};\nrelay.emit('itemView', payload);\n```"
|
|
1465
1770
|
},
|
|
1466
1771
|
{
|
|
1467
1772
|
"kind": "text",
|
|
1468
|
-
"text": "
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
"kind": "code",
|
|
1472
|
-
"text": "`apps/playground`"
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
"kind": "text",
|
|
1476
|
-
"text": ": The playground is a sample webpage that can be used to experiment with and validate Event Protocol payloads.\n\nRelay can be used standalone, or be embedded in Coveo front end packages as the main client-side logging component.\n\n## Relay design principles and scope\n\nThe core relay library should adhere to a few core design principles:\n\n- Relay is responsible for handling any concerns that are relevant to generic event logging, including but not limited to:\n - Enriching events with information that is only present in the browser (e.g. userAgent, local time).\n - Tracking and persisting a unique identifier for a user (e.g. clientId)\n - Configuration of, and authentication with logging endpoints.\n - Privacy considerations (e.g. do not track, disable logging).\n- Relay is event-agnostic, meaning Relay has no knowledge on the contents of specific type of event payload that is being transmitted. It only handles event content, when that content is applicable to all logged events. In practice this means the following:\n - Relay event modification code is typically confined to the generic 'meta' key only.\n - Relay will not validate or modify event payloads, since it has no knowledge of the content of individual events.\n - Code should **not** contain event-type specific switches: e.g. "
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
"kind": "code",
|
|
1480
|
-
"text": "`if (event_type = <sometype>) then`"
|
|
1481
|
-
},
|
|
1482
|
-
{
|
|
1483
|
-
"kind": "text",
|
|
1484
|
-
"text": " code is highly suspect.\n - Code should **not** contain line of business specific switches: e.g. "
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"kind": "code",
|
|
1488
|
-
"text": "`if (lob = service) then`"
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"kind": "text",
|
|
1492
|
-
"text": " code is highly suspect.\n- While Relay provides hooks which can be used to listen to the emission of events, it will not allow you to modify event content prior to logging. In practice, this functionality will be abused to \"fix up\" payloads or add \"business logic\" which makes it really hard to reason about payloads.\n- Relay supports all relevant Javascript based environments, including cross-browser support, node support and React native support.\n- Relay is **not** responsible for storing the TypeScript definitions of individual event types. Please use the [@coveo/relay-event-types](https://www.npmjs.com/package/@coveo/relay-event-types) package instead.\n\n## Event structure\n\nThe basic event structure for a generic client side event is as follows:\n\n"
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
"kind": "code",
|
|
1496
|
-
"text": "```\n{\n <event parameters>\n meta: {\n type: the event type\n <dynamic meta data added by relay>\n config: {\n <subset of static relay config parameters>\n }\n }\n}\n```"
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"kind": "text",
|
|
1500
|
-
"text": "\n\nThis means an event payload can be freely defined, with the exception of the reserved keyword 'meta', which is exclusively intended to contain event metadata populated by Relay. Prior to logging events with the Coveo platform, ensure that you create appropriate event schemas in the [schema repository](https://github.com/coveo/analytics_schema).\n\nIf you want to log information from a Coveo owned backend service, do not use Relay. Instead, log them on the appropriate server side endpoint, see [this guide](https://coveord.atlassian.net/wiki/spaces/DATA/pages/3175383082/Server+side+event+logging)\n\n## Contributing\n\nPrior to contributing to the project, kindly review the guidelines outlined in [CONTRIBUTING.md](CONTRIBUTING.md)."
|
|
1773
|
+
"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)"
|
|
1501
1774
|
}
|
|
1502
1775
|
],
|
|
1503
1776
|
"symbolIdMap": {
|
|
@@ -1519,11 +1792,11 @@
|
|
|
1519
1792
|
},
|
|
1520
1793
|
"4": {
|
|
1521
1794
|
"sourceFileName": "src/relay.ts",
|
|
1522
|
-
"qualifiedName": "
|
|
1795
|
+
"qualifiedName": "Off"
|
|
1523
1796
|
},
|
|
1524
1797
|
"5": {
|
|
1525
1798
|
"sourceFileName": "src/relay.ts",
|
|
1526
|
-
"qualifiedName": "
|
|
1799
|
+
"qualifiedName": "__type"
|
|
1527
1800
|
},
|
|
1528
1801
|
"6": {
|
|
1529
1802
|
"sourceFileName": "src/relay.ts",
|
|
@@ -1531,35 +1804,35 @@
|
|
|
1531
1804
|
},
|
|
1532
1805
|
"7": {
|
|
1533
1806
|
"sourceFileName": "src/relay.ts",
|
|
1534
|
-
"qualifiedName": "
|
|
1807
|
+
"qualifiedName": "Relay"
|
|
1535
1808
|
},
|
|
1536
1809
|
"8": {
|
|
1537
1810
|
"sourceFileName": "src/relay.ts",
|
|
1538
|
-
"qualifiedName": "
|
|
1811
|
+
"qualifiedName": "Relay.emit"
|
|
1539
1812
|
},
|
|
1540
1813
|
"9": {
|
|
1541
1814
|
"sourceFileName": "src/relay.ts",
|
|
1542
|
-
"qualifiedName": "
|
|
1815
|
+
"qualifiedName": "__type"
|
|
1543
1816
|
},
|
|
1544
1817
|
"10": {
|
|
1545
1818
|
"sourceFileName": "src/relay.ts",
|
|
1546
|
-
"qualifiedName": "
|
|
1819
|
+
"qualifiedName": "__type"
|
|
1547
1820
|
},
|
|
1548
1821
|
"11": {
|
|
1549
1822
|
"sourceFileName": "src/relay.ts",
|
|
1550
|
-
"qualifiedName": "
|
|
1823
|
+
"qualifiedName": "type"
|
|
1551
1824
|
},
|
|
1552
1825
|
"12": {
|
|
1553
1826
|
"sourceFileName": "src/relay.ts",
|
|
1554
|
-
"qualifiedName": "
|
|
1827
|
+
"qualifiedName": "payload"
|
|
1555
1828
|
},
|
|
1556
1829
|
"13": {
|
|
1557
1830
|
"sourceFileName": "src/relay.ts",
|
|
1558
|
-
"qualifiedName": "
|
|
1831
|
+
"qualifiedName": "Relay.getMeta"
|
|
1559
1832
|
},
|
|
1560
1833
|
"14": {
|
|
1561
1834
|
"sourceFileName": "src/relay.ts",
|
|
1562
|
-
"qualifiedName": "
|
|
1835
|
+
"qualifiedName": "__type"
|
|
1563
1836
|
},
|
|
1564
1837
|
"15": {
|
|
1565
1838
|
"sourceFileName": "src/relay.ts",
|
|
@@ -1567,155 +1840,187 @@
|
|
|
1567
1840
|
},
|
|
1568
1841
|
"16": {
|
|
1569
1842
|
"sourceFileName": "src/relay.ts",
|
|
1570
|
-
"qualifiedName": "
|
|
1843
|
+
"qualifiedName": "type"
|
|
1571
1844
|
},
|
|
1572
1845
|
"17": {
|
|
1573
1846
|
"sourceFileName": "src/relay.ts",
|
|
1574
|
-
"qualifiedName": "
|
|
1847
|
+
"qualifiedName": "Relay.on"
|
|
1575
1848
|
},
|
|
1576
1849
|
"18": {
|
|
1577
1850
|
"sourceFileName": "src/relay.ts",
|
|
1578
|
-
"qualifiedName": "
|
|
1851
|
+
"qualifiedName": "__type"
|
|
1579
1852
|
},
|
|
1580
1853
|
"19": {
|
|
1581
1854
|
"sourceFileName": "src/relay.ts",
|
|
1582
|
-
"qualifiedName": "
|
|
1855
|
+
"qualifiedName": "__type"
|
|
1583
1856
|
},
|
|
1584
1857
|
"20": {
|
|
1585
1858
|
"sourceFileName": "src/relay.ts",
|
|
1586
|
-
"qualifiedName": "
|
|
1859
|
+
"qualifiedName": "type"
|
|
1587
1860
|
},
|
|
1588
1861
|
"21": {
|
|
1589
1862
|
"sourceFileName": "src/relay.ts",
|
|
1590
|
-
"qualifiedName": "
|
|
1863
|
+
"qualifiedName": "callback"
|
|
1591
1864
|
},
|
|
1592
1865
|
"22": {
|
|
1593
1866
|
"sourceFileName": "src/relay.ts",
|
|
1594
|
-
"qualifiedName": "
|
|
1867
|
+
"qualifiedName": "Relay.off"
|
|
1595
1868
|
},
|
|
1596
1869
|
"23": {
|
|
1597
1870
|
"sourceFileName": "src/relay.ts",
|
|
1598
|
-
"qualifiedName": "
|
|
1871
|
+
"qualifiedName": "__type"
|
|
1599
1872
|
},
|
|
1600
1873
|
"24": {
|
|
1601
1874
|
"sourceFileName": "src/relay.ts",
|
|
1602
|
-
"qualifiedName": "
|
|
1875
|
+
"qualifiedName": "__type"
|
|
1603
1876
|
},
|
|
1604
1877
|
"25": {
|
|
1605
1878
|
"sourceFileName": "src/relay.ts",
|
|
1606
|
-
"qualifiedName": "
|
|
1879
|
+
"qualifiedName": "type"
|
|
1607
1880
|
},
|
|
1608
1881
|
"26": {
|
|
1609
1882
|
"sourceFileName": "src/relay.ts",
|
|
1610
|
-
"qualifiedName": "
|
|
1883
|
+
"qualifiedName": "callback"
|
|
1611
1884
|
},
|
|
1612
1885
|
"27": {
|
|
1613
1886
|
"sourceFileName": "src/relay.ts",
|
|
1614
|
-
"qualifiedName": "
|
|
1887
|
+
"qualifiedName": "Relay.updateConfig"
|
|
1615
1888
|
},
|
|
1616
1889
|
"28": {
|
|
1617
1890
|
"sourceFileName": "src/relay.ts",
|
|
1618
|
-
"qualifiedName": "
|
|
1891
|
+
"qualifiedName": "__type"
|
|
1619
1892
|
},
|
|
1620
1893
|
"29": {
|
|
1621
1894
|
"sourceFileName": "src/relay.ts",
|
|
1622
|
-
"qualifiedName": "
|
|
1895
|
+
"qualifiedName": "__type"
|
|
1623
1896
|
},
|
|
1624
1897
|
"30": {
|
|
1625
1898
|
"sourceFileName": "src/relay.ts",
|
|
1626
|
-
"qualifiedName": "
|
|
1899
|
+
"qualifiedName": "config"
|
|
1627
1900
|
},
|
|
1628
1901
|
"31": {
|
|
1629
1902
|
"sourceFileName": "src/relay.ts",
|
|
1630
|
-
"qualifiedName": "
|
|
1903
|
+
"qualifiedName": "Relay.version"
|
|
1631
1904
|
},
|
|
1632
1905
|
"32": {
|
|
1906
|
+
"sourceFileName": "src/relay.ts",
|
|
1907
|
+
"qualifiedName": "Relay.clearStorage"
|
|
1908
|
+
},
|
|
1909
|
+
"33": {
|
|
1910
|
+
"sourceFileName": "src/relay.ts",
|
|
1911
|
+
"qualifiedName": "__type"
|
|
1912
|
+
},
|
|
1913
|
+
"34": {
|
|
1914
|
+
"sourceFileName": "src/relay.ts",
|
|
1915
|
+
"qualifiedName": "__type"
|
|
1916
|
+
},
|
|
1917
|
+
"35": {
|
|
1633
1918
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1634
1919
|
"qualifiedName": "Meta"
|
|
1635
1920
|
},
|
|
1636
|
-
"
|
|
1921
|
+
"36": {
|
|
1637
1922
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1638
1923
|
"qualifiedName": "Meta.type"
|
|
1639
1924
|
},
|
|
1640
|
-
"
|
|
1925
|
+
"37": {
|
|
1641
1926
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1642
1927
|
"qualifiedName": "Meta.config"
|
|
1643
1928
|
},
|
|
1644
|
-
"
|
|
1929
|
+
"38": {
|
|
1645
1930
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1646
1931
|
"qualifiedName": "Meta.ts"
|
|
1647
1932
|
},
|
|
1648
|
-
"
|
|
1933
|
+
"39": {
|
|
1649
1934
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1650
1935
|
"qualifiedName": "Meta.source"
|
|
1651
1936
|
},
|
|
1652
|
-
"
|
|
1937
|
+
"40": {
|
|
1653
1938
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1654
1939
|
"qualifiedName": "Meta.clientId"
|
|
1655
1940
|
},
|
|
1656
|
-
"
|
|
1941
|
+
"41": {
|
|
1657
1942
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1658
1943
|
"qualifiedName": "Meta.userAgent"
|
|
1659
1944
|
},
|
|
1660
|
-
"
|
|
1945
|
+
"42": {
|
|
1661
1946
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1662
1947
|
"qualifiedName": "Meta.referrer"
|
|
1663
1948
|
},
|
|
1664
|
-
"
|
|
1949
|
+
"43": {
|
|
1665
1950
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1666
1951
|
"qualifiedName": "Meta.location"
|
|
1667
1952
|
},
|
|
1668
|
-
"
|
|
1953
|
+
"44": {
|
|
1669
1954
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1670
1955
|
"qualifiedName": "EventConfig"
|
|
1671
1956
|
},
|
|
1672
|
-
"
|
|
1957
|
+
"45": {
|
|
1673
1958
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1674
1959
|
"qualifiedName": "EventConfig.trackingId"
|
|
1675
1960
|
},
|
|
1676
|
-
"
|
|
1961
|
+
"46": {
|
|
1677
1962
|
"sourceFileName": "src/event/meta/meta.ts",
|
|
1678
1963
|
"qualifiedName": "EventConfig.user"
|
|
1679
1964
|
},
|
|
1680
|
-
"
|
|
1965
|
+
"47": {
|
|
1681
1966
|
"sourceFileName": "src/listener/listener.ts",
|
|
1682
1967
|
"qualifiedName": "EventCallback"
|
|
1683
1968
|
},
|
|
1684
|
-
"
|
|
1969
|
+
"48": {
|
|
1685
1970
|
"sourceFileName": "src/listener/listener.ts",
|
|
1686
1971
|
"qualifiedName": "__type"
|
|
1687
1972
|
},
|
|
1688
|
-
"
|
|
1973
|
+
"49": {
|
|
1689
1974
|
"sourceFileName": "src/listener/listener.ts",
|
|
1690
1975
|
"qualifiedName": "__type"
|
|
1691
1976
|
},
|
|
1692
|
-
"
|
|
1977
|
+
"50": {
|
|
1693
1978
|
"sourceFileName": "src/listener/listener.ts",
|
|
1694
1979
|
"qualifiedName": "event"
|
|
1695
1980
|
},
|
|
1696
|
-
"
|
|
1981
|
+
"51": {
|
|
1697
1982
|
"sourceFileName": "src/config/config.ts",
|
|
1698
1983
|
"qualifiedName": "RelayConfig"
|
|
1699
1984
|
},
|
|
1700
|
-
"
|
|
1985
|
+
"52": {
|
|
1701
1986
|
"sourceFileName": "src/config/config.ts",
|
|
1702
1987
|
"qualifiedName": "RelayConfig.url"
|
|
1703
1988
|
},
|
|
1704
|
-
"
|
|
1989
|
+
"53": {
|
|
1705
1990
|
"sourceFileName": "src/config/config.ts",
|
|
1706
1991
|
"qualifiedName": "RelayConfig.token"
|
|
1707
1992
|
},
|
|
1708
|
-
"
|
|
1993
|
+
"54": {
|
|
1709
1994
|
"sourceFileName": "src/config/config.ts",
|
|
1710
1995
|
"qualifiedName": "RelayConfig.trackingId"
|
|
1711
1996
|
},
|
|
1712
|
-
"
|
|
1997
|
+
"55": {
|
|
1713
1998
|
"sourceFileName": "src/config/config.ts",
|
|
1714
1999
|
"qualifiedName": "RelayConfig.mode"
|
|
1715
2000
|
},
|
|
1716
|
-
"
|
|
2001
|
+
"56": {
|
|
1717
2002
|
"sourceFileName": "src/config/config.ts",
|
|
1718
2003
|
"qualifiedName": "RelayConfig.source"
|
|
2004
|
+
},
|
|
2005
|
+
"57": {
|
|
2006
|
+
"sourceFileName": "src/config/config.ts",
|
|
2007
|
+
"qualifiedName": "User"
|
|
2008
|
+
},
|
|
2009
|
+
"58": {
|
|
2010
|
+
"sourceFileName": "src/config/config.ts",
|
|
2011
|
+
"qualifiedName": "User.id"
|
|
2012
|
+
},
|
|
2013
|
+
"59": {
|
|
2014
|
+
"sourceFileName": "src/relay-payload.ts",
|
|
2015
|
+
"qualifiedName": "RelayPayload"
|
|
2016
|
+
},
|
|
2017
|
+
"60": {
|
|
2018
|
+
"sourceFileName": "src/event/relay-event.ts",
|
|
2019
|
+
"qualifiedName": "RelayEvent"
|
|
2020
|
+
},
|
|
2021
|
+
"61": {
|
|
2022
|
+
"sourceFileName": "src/event/relay-event.ts",
|
|
2023
|
+
"qualifiedName": "RelayEvent.meta"
|
|
1719
2024
|
}
|
|
1720
2025
|
}
|
|
1721
2026
|
}
|