@microsoft/applicationinsights-react-js 3.1.5 → 3.2.1-nightly.202110-03

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1194 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.18.11",
5
+ "schemaVersion": 1004,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@betaDocumentation",
119
+ "syntaxKind": "modifier"
120
+ },
121
+ {
122
+ "tagName": "@internalRemarks",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@preapproved",
127
+ "syntaxKind": "modifier"
128
+ }
129
+ ],
130
+ "supportForTags": {
131
+ "@alpha": true,
132
+ "@beta": true,
133
+ "@defaultValue": true,
134
+ "@decorator": true,
135
+ "@deprecated": true,
136
+ "@eventProperty": true,
137
+ "@example": true,
138
+ "@experimental": true,
139
+ "@inheritDoc": true,
140
+ "@internal": true,
141
+ "@label": true,
142
+ "@link": true,
143
+ "@override": true,
144
+ "@packageDocumentation": true,
145
+ "@param": true,
146
+ "@privateRemarks": true,
147
+ "@public": true,
148
+ "@readonly": true,
149
+ "@remarks": true,
150
+ "@returns": true,
151
+ "@sealed": true,
152
+ "@see": true,
153
+ "@throws": true,
154
+ "@typeParam": true,
155
+ "@virtual": true,
156
+ "@betaDocumentation": true,
157
+ "@internalRemarks": true,
158
+ "@preapproved": true
159
+ }
160
+ }
161
+ },
162
+ "kind": "Package",
163
+ "canonicalReference": "@microsoft/applicationinsights-react-js!",
164
+ "docComment": "",
165
+ "name": "@microsoft/applicationinsights-react-js",
166
+ "members": [
167
+ {
168
+ "kind": "EntryPoint",
169
+ "canonicalReference": "@microsoft/applicationinsights-react-js!",
170
+ "name": "",
171
+ "members": [
172
+ {
173
+ "kind": "Variable",
174
+ "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsContext:var",
175
+ "docComment": "",
176
+ "excerptTokens": [
177
+ {
178
+ "kind": "Content",
179
+ "text": "AppInsightsContext: "
180
+ },
181
+ {
182
+ "kind": "Reference",
183
+ "text": "AppInsightsReactContext",
184
+ "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsReactContext:type"
185
+ }
186
+ ],
187
+ "releaseTag": "Public",
188
+ "name": "AppInsightsContext",
189
+ "variableTypeTokenRange": {
190
+ "startIndex": 1,
191
+ "endIndex": 2
192
+ }
193
+ },
194
+ {
195
+ "kind": "Class",
196
+ "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary:class",
197
+ "docComment": "",
198
+ "excerptTokens": [
199
+ {
200
+ "kind": "Content",
201
+ "text": "export default class AppInsightsErrorBoundary extends "
202
+ },
203
+ {
204
+ "kind": "Reference",
205
+ "text": "React.Component",
206
+ "canonicalReference": "@types/react!~React.Component:class"
207
+ },
208
+ {
209
+ "kind": "Content",
210
+ "text": "<"
211
+ },
212
+ {
213
+ "kind": "Reference",
214
+ "text": "IAppInsightsErrorBoundaryProps",
215
+ "canonicalReference": "@microsoft/applicationinsights-react-js!IAppInsightsErrorBoundaryProps:interface"
216
+ },
217
+ {
218
+ "kind": "Content",
219
+ "text": ", "
220
+ },
221
+ {
222
+ "kind": "Reference",
223
+ "text": "IAppInsightsErrorBoundaryState",
224
+ "canonicalReference": "@microsoft/applicationinsights-react-js!IAppInsightsErrorBoundaryState:interface"
225
+ },
226
+ {
227
+ "kind": "Content",
228
+ "text": "> "
229
+ }
230
+ ],
231
+ "releaseTag": "Public",
232
+ "name": "AppInsightsErrorBoundary",
233
+ "members": [
234
+ {
235
+ "kind": "Method",
236
+ "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary#componentDidCatch:member(1)",
237
+ "docComment": "",
238
+ "excerptTokens": [
239
+ {
240
+ "kind": "Content",
241
+ "text": "componentDidCatch(error: "
242
+ },
243
+ {
244
+ "kind": "Reference",
245
+ "text": "Error",
246
+ "canonicalReference": "!Error:interface"
247
+ },
248
+ {
249
+ "kind": "Content",
250
+ "text": ", errorInfo: "
251
+ },
252
+ {
253
+ "kind": "Reference",
254
+ "text": "React.ErrorInfo",
255
+ "canonicalReference": "@types/react!~React.ErrorInfo:interface"
256
+ },
257
+ {
258
+ "kind": "Content",
259
+ "text": "): "
260
+ },
261
+ {
262
+ "kind": "Content",
263
+ "text": "void"
264
+ },
265
+ {
266
+ "kind": "Content",
267
+ "text": ";"
268
+ }
269
+ ],
270
+ "isOptional": false,
271
+ "isStatic": false,
272
+ "returnTypeTokenRange": {
273
+ "startIndex": 5,
274
+ "endIndex": 6
275
+ },
276
+ "releaseTag": "Public",
277
+ "overloadIndex": 1,
278
+ "parameters": [
279
+ {
280
+ "parameterName": "error",
281
+ "parameterTypeTokenRange": {
282
+ "startIndex": 1,
283
+ "endIndex": 2
284
+ }
285
+ },
286
+ {
287
+ "parameterName": "errorInfo",
288
+ "parameterTypeTokenRange": {
289
+ "startIndex": 3,
290
+ "endIndex": 4
291
+ }
292
+ }
293
+ ],
294
+ "name": "componentDidCatch"
295
+ },
296
+ {
297
+ "kind": "Method",
298
+ "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary#render:member(1)",
299
+ "docComment": "",
300
+ "excerptTokens": [
301
+ {
302
+ "kind": "Content",
303
+ "text": "render(): "
304
+ },
305
+ {
306
+ "kind": "Reference",
307
+ "text": "React.ReactNode",
308
+ "canonicalReference": "@types/react!~React.ReactNode:type"
309
+ },
310
+ {
311
+ "kind": "Content",
312
+ "text": ";"
313
+ }
314
+ ],
315
+ "isOptional": false,
316
+ "isStatic": false,
317
+ "returnTypeTokenRange": {
318
+ "startIndex": 1,
319
+ "endIndex": 2
320
+ },
321
+ "releaseTag": "Public",
322
+ "overloadIndex": 1,
323
+ "parameters": [],
324
+ "name": "render"
325
+ },
326
+ {
327
+ "kind": "Property",
328
+ "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary#state:member",
329
+ "docComment": "",
330
+ "excerptTokens": [
331
+ {
332
+ "kind": "Content",
333
+ "text": "state: "
334
+ },
335
+ {
336
+ "kind": "Content",
337
+ "text": "{\n hasError: boolean;\n }"
338
+ },
339
+ {
340
+ "kind": "Content",
341
+ "text": ";"
342
+ }
343
+ ],
344
+ "isOptional": false,
345
+ "releaseTag": "Public",
346
+ "name": "state",
347
+ "propertyTypeTokenRange": {
348
+ "startIndex": 1,
349
+ "endIndex": 2
350
+ },
351
+ "isStatic": false
352
+ }
353
+ ],
354
+ "extendsTokenRange": {
355
+ "startIndex": 1,
356
+ "endIndex": 7
357
+ },
358
+ "implementsTokenRanges": []
359
+ },
360
+ {
361
+ "kind": "Interface",
362
+ "canonicalReference": "@microsoft/applicationinsights-react-js!IReactExtensionConfig:interface",
363
+ "docComment": "/**\n * Settings to initialize a ReactAI instance.\n */\n",
364
+ "excerptTokens": [
365
+ {
366
+ "kind": "Content",
367
+ "text": "export interface IReactExtensionConfig "
368
+ }
369
+ ],
370
+ "releaseTag": "Public",
371
+ "name": "IReactExtensionConfig",
372
+ "members": [
373
+ {
374
+ "kind": "PropertySignature",
375
+ "canonicalReference": "@microsoft/applicationinsights-react-js!IReactExtensionConfig#history:member",
376
+ "docComment": "/**\n * React router history for enabling Application Insights PageView tracking.\n *\n * @type {History} @memberof IReactAISettings\n */\n",
377
+ "excerptTokens": [
378
+ {
379
+ "kind": "Content",
380
+ "text": "readonly history?: "
381
+ },
382
+ {
383
+ "kind": "Reference",
384
+ "text": "History",
385
+ "canonicalReference": "@types/history!History:interface"
386
+ },
387
+ {
388
+ "kind": "Content",
389
+ "text": ";"
390
+ }
391
+ ],
392
+ "isOptional": true,
393
+ "releaseTag": "Public",
394
+ "name": "history",
395
+ "propertyTypeTokenRange": {
396
+ "startIndex": 1,
397
+ "endIndex": 2
398
+ }
399
+ }
400
+ ],
401
+ "extendsTokenRanges": []
402
+ },
403
+ {
404
+ "kind": "Class",
405
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class",
406
+ "docComment": "",
407
+ "excerptTokens": [
408
+ {
409
+ "kind": "Content",
410
+ "text": "export default class ReactPlugin extends "
411
+ },
412
+ {
413
+ "kind": "Reference",
414
+ "text": "BaseTelemetryPlugin",
415
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin:class"
416
+ },
417
+ {
418
+ "kind": "Content",
419
+ "text": " "
420
+ }
421
+ ],
422
+ "releaseTag": "Public",
423
+ "name": "ReactPlugin",
424
+ "members": [
425
+ {
426
+ "kind": "Method",
427
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#getCookieMgr:member(1)",
428
+ "docComment": "/**\n * Get the current cookie manager for this instance\n */\n",
429
+ "excerptTokens": [
430
+ {
431
+ "kind": "Content",
432
+ "text": "getCookieMgr(): "
433
+ },
434
+ {
435
+ "kind": "Reference",
436
+ "text": "ICookieMgr",
437
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ICookieMgr:interface"
438
+ },
439
+ {
440
+ "kind": "Content",
441
+ "text": ";"
442
+ }
443
+ ],
444
+ "isOptional": false,
445
+ "isStatic": false,
446
+ "returnTypeTokenRange": {
447
+ "startIndex": 1,
448
+ "endIndex": 2
449
+ },
450
+ "releaseTag": "Public",
451
+ "overloadIndex": 1,
452
+ "parameters": [],
453
+ "name": "getCookieMgr"
454
+ },
455
+ {
456
+ "kind": "Property",
457
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#identifier:member",
458
+ "docComment": "",
459
+ "excerptTokens": [
460
+ {
461
+ "kind": "Content",
462
+ "text": "identifier: "
463
+ },
464
+ {
465
+ "kind": "Content",
466
+ "text": "string"
467
+ },
468
+ {
469
+ "kind": "Content",
470
+ "text": ";"
471
+ }
472
+ ],
473
+ "isOptional": false,
474
+ "releaseTag": "Public",
475
+ "name": "identifier",
476
+ "propertyTypeTokenRange": {
477
+ "startIndex": 1,
478
+ "endIndex": 2
479
+ },
480
+ "isStatic": false
481
+ },
482
+ {
483
+ "kind": "Method",
484
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#initialize:member(1)",
485
+ "docComment": "",
486
+ "excerptTokens": [
487
+ {
488
+ "kind": "Content",
489
+ "text": "initialize(config: "
490
+ },
491
+ {
492
+ "kind": "Reference",
493
+ "text": "IConfiguration",
494
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
495
+ },
496
+ {
497
+ "kind": "Content",
498
+ "text": " & "
499
+ },
500
+ {
501
+ "kind": "Reference",
502
+ "text": "IConfig",
503
+ "canonicalReference": "@microsoft/applicationinsights-common!IConfig:interface"
504
+ },
505
+ {
506
+ "kind": "Content",
507
+ "text": ", core: "
508
+ },
509
+ {
510
+ "kind": "Reference",
511
+ "text": "IAppInsightsCore",
512
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
513
+ },
514
+ {
515
+ "kind": "Content",
516
+ "text": ", extensions: "
517
+ },
518
+ {
519
+ "kind": "Reference",
520
+ "text": "IPlugin",
521
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
522
+ },
523
+ {
524
+ "kind": "Content",
525
+ "text": "[]"
526
+ },
527
+ {
528
+ "kind": "Content",
529
+ "text": ", pluginChain?: "
530
+ },
531
+ {
532
+ "kind": "Reference",
533
+ "text": "ITelemetryPluginChain",
534
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
535
+ },
536
+ {
537
+ "kind": "Content",
538
+ "text": "): "
539
+ },
540
+ {
541
+ "kind": "Content",
542
+ "text": "void"
543
+ },
544
+ {
545
+ "kind": "Content",
546
+ "text": ";"
547
+ }
548
+ ],
549
+ "isOptional": false,
550
+ "isStatic": false,
551
+ "returnTypeTokenRange": {
552
+ "startIndex": 12,
553
+ "endIndex": 13
554
+ },
555
+ "releaseTag": "Public",
556
+ "overloadIndex": 1,
557
+ "parameters": [
558
+ {
559
+ "parameterName": "config",
560
+ "parameterTypeTokenRange": {
561
+ "startIndex": 1,
562
+ "endIndex": 4
563
+ }
564
+ },
565
+ {
566
+ "parameterName": "core",
567
+ "parameterTypeTokenRange": {
568
+ "startIndex": 5,
569
+ "endIndex": 6
570
+ }
571
+ },
572
+ {
573
+ "parameterName": "extensions",
574
+ "parameterTypeTokenRange": {
575
+ "startIndex": 7,
576
+ "endIndex": 9
577
+ }
578
+ },
579
+ {
580
+ "parameterName": "pluginChain",
581
+ "parameterTypeTokenRange": {
582
+ "startIndex": 10,
583
+ "endIndex": 11
584
+ }
585
+ }
586
+ ],
587
+ "name": "initialize"
588
+ },
589
+ {
590
+ "kind": "Property",
591
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#priority:member",
592
+ "docComment": "",
593
+ "excerptTokens": [
594
+ {
595
+ "kind": "Content",
596
+ "text": "priority: "
597
+ },
598
+ {
599
+ "kind": "Content",
600
+ "text": "number"
601
+ },
602
+ {
603
+ "kind": "Content",
604
+ "text": ";"
605
+ }
606
+ ],
607
+ "isOptional": false,
608
+ "releaseTag": "Public",
609
+ "name": "priority",
610
+ "propertyTypeTokenRange": {
611
+ "startIndex": 1,
612
+ "endIndex": 2
613
+ },
614
+ "isStatic": false
615
+ },
616
+ {
617
+ "kind": "Method",
618
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#processTelemetry:member(1)",
619
+ "docComment": "/**\n * Add Part A fields to the event\n *\n * @param event - The event that needs to be processed\n */\n",
620
+ "excerptTokens": [
621
+ {
622
+ "kind": "Content",
623
+ "text": "processTelemetry(event: "
624
+ },
625
+ {
626
+ "kind": "Reference",
627
+ "text": "ITelemetryItem",
628
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
629
+ },
630
+ {
631
+ "kind": "Content",
632
+ "text": ", itemCtx?: "
633
+ },
634
+ {
635
+ "kind": "Reference",
636
+ "text": "IProcessTelemetryContext",
637
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
638
+ },
639
+ {
640
+ "kind": "Content",
641
+ "text": "): "
642
+ },
643
+ {
644
+ "kind": "Content",
645
+ "text": "void"
646
+ },
647
+ {
648
+ "kind": "Content",
649
+ "text": ";"
650
+ }
651
+ ],
652
+ "isOptional": false,
653
+ "isStatic": false,
654
+ "returnTypeTokenRange": {
655
+ "startIndex": 5,
656
+ "endIndex": 6
657
+ },
658
+ "releaseTag": "Public",
659
+ "overloadIndex": 1,
660
+ "parameters": [
661
+ {
662
+ "parameterName": "event",
663
+ "parameterTypeTokenRange": {
664
+ "startIndex": 1,
665
+ "endIndex": 2
666
+ }
667
+ },
668
+ {
669
+ "parameterName": "itemCtx",
670
+ "parameterTypeTokenRange": {
671
+ "startIndex": 3,
672
+ "endIndex": 4
673
+ }
674
+ }
675
+ ],
676
+ "name": "processTelemetry"
677
+ },
678
+ {
679
+ "kind": "Method",
680
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackEvent:member(1)",
681
+ "docComment": "",
682
+ "excerptTokens": [
683
+ {
684
+ "kind": "Content",
685
+ "text": "trackEvent(event: "
686
+ },
687
+ {
688
+ "kind": "Reference",
689
+ "text": "IEventTelemetry",
690
+ "canonicalReference": "@microsoft/applicationinsights-common!IEventTelemetry:interface"
691
+ },
692
+ {
693
+ "kind": "Content",
694
+ "text": ", customProperties?: "
695
+ },
696
+ {
697
+ "kind": "Reference",
698
+ "text": "ICustomProperties",
699
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ICustomProperties:interface"
700
+ },
701
+ {
702
+ "kind": "Content",
703
+ "text": "): "
704
+ },
705
+ {
706
+ "kind": "Content",
707
+ "text": "void"
708
+ },
709
+ {
710
+ "kind": "Content",
711
+ "text": ";"
712
+ }
713
+ ],
714
+ "isOptional": false,
715
+ "isStatic": false,
716
+ "returnTypeTokenRange": {
717
+ "startIndex": 5,
718
+ "endIndex": 6
719
+ },
720
+ "releaseTag": "Public",
721
+ "overloadIndex": 1,
722
+ "parameters": [
723
+ {
724
+ "parameterName": "event",
725
+ "parameterTypeTokenRange": {
726
+ "startIndex": 1,
727
+ "endIndex": 2
728
+ }
729
+ },
730
+ {
731
+ "parameterName": "customProperties",
732
+ "parameterTypeTokenRange": {
733
+ "startIndex": 3,
734
+ "endIndex": 4
735
+ }
736
+ }
737
+ ],
738
+ "name": "trackEvent"
739
+ },
740
+ {
741
+ "kind": "Method",
742
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackException:member(1)",
743
+ "docComment": "",
744
+ "excerptTokens": [
745
+ {
746
+ "kind": "Content",
747
+ "text": "trackException(exception: "
748
+ },
749
+ {
750
+ "kind": "Reference",
751
+ "text": "IExceptionTelemetry",
752
+ "canonicalReference": "@microsoft/applicationinsights-common!IExceptionTelemetry:interface"
753
+ },
754
+ {
755
+ "kind": "Content",
756
+ "text": ", customProperties?: "
757
+ },
758
+ {
759
+ "kind": "Content",
760
+ "text": "{\n [key: string]: any;\n }"
761
+ },
762
+ {
763
+ "kind": "Content",
764
+ "text": "): "
765
+ },
766
+ {
767
+ "kind": "Content",
768
+ "text": "void"
769
+ },
770
+ {
771
+ "kind": "Content",
772
+ "text": ";"
773
+ }
774
+ ],
775
+ "isOptional": false,
776
+ "isStatic": false,
777
+ "returnTypeTokenRange": {
778
+ "startIndex": 5,
779
+ "endIndex": 6
780
+ },
781
+ "releaseTag": "Public",
782
+ "overloadIndex": 1,
783
+ "parameters": [
784
+ {
785
+ "parameterName": "exception",
786
+ "parameterTypeTokenRange": {
787
+ "startIndex": 1,
788
+ "endIndex": 2
789
+ }
790
+ },
791
+ {
792
+ "parameterName": "customProperties",
793
+ "parameterTypeTokenRange": {
794
+ "startIndex": 3,
795
+ "endIndex": 4
796
+ }
797
+ }
798
+ ],
799
+ "name": "trackException"
800
+ },
801
+ {
802
+ "kind": "Method",
803
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackMetric:member(1)",
804
+ "docComment": "",
805
+ "excerptTokens": [
806
+ {
807
+ "kind": "Content",
808
+ "text": "trackMetric(metric: "
809
+ },
810
+ {
811
+ "kind": "Reference",
812
+ "text": "IMetricTelemetry",
813
+ "canonicalReference": "@microsoft/applicationinsights-common!IMetricTelemetry:interface"
814
+ },
815
+ {
816
+ "kind": "Content",
817
+ "text": ", customProperties: "
818
+ },
819
+ {
820
+ "kind": "Reference",
821
+ "text": "ICustomProperties",
822
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ICustomProperties:interface"
823
+ },
824
+ {
825
+ "kind": "Content",
826
+ "text": "): "
827
+ },
828
+ {
829
+ "kind": "Content",
830
+ "text": "void"
831
+ },
832
+ {
833
+ "kind": "Content",
834
+ "text": ";"
835
+ }
836
+ ],
837
+ "isOptional": false,
838
+ "isStatic": false,
839
+ "returnTypeTokenRange": {
840
+ "startIndex": 5,
841
+ "endIndex": 6
842
+ },
843
+ "releaseTag": "Public",
844
+ "overloadIndex": 1,
845
+ "parameters": [
846
+ {
847
+ "parameterName": "metric",
848
+ "parameterTypeTokenRange": {
849
+ "startIndex": 1,
850
+ "endIndex": 2
851
+ }
852
+ },
853
+ {
854
+ "parameterName": "customProperties",
855
+ "parameterTypeTokenRange": {
856
+ "startIndex": 3,
857
+ "endIndex": 4
858
+ }
859
+ }
860
+ ],
861
+ "name": "trackMetric"
862
+ },
863
+ {
864
+ "kind": "Method",
865
+ "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackPageView:member(1)",
866
+ "docComment": "",
867
+ "excerptTokens": [
868
+ {
869
+ "kind": "Content",
870
+ "text": "trackPageView(pageView: "
871
+ },
872
+ {
873
+ "kind": "Reference",
874
+ "text": "IPageViewTelemetry",
875
+ "canonicalReference": "@microsoft/applicationinsights-common!IPageViewTelemetry:interface"
876
+ },
877
+ {
878
+ "kind": "Content",
879
+ "text": "): "
880
+ },
881
+ {
882
+ "kind": "Content",
883
+ "text": "void"
884
+ },
885
+ {
886
+ "kind": "Content",
887
+ "text": ";"
888
+ }
889
+ ],
890
+ "isOptional": false,
891
+ "isStatic": false,
892
+ "returnTypeTokenRange": {
893
+ "startIndex": 3,
894
+ "endIndex": 4
895
+ },
896
+ "releaseTag": "Public",
897
+ "overloadIndex": 1,
898
+ "parameters": [
899
+ {
900
+ "parameterName": "pageView",
901
+ "parameterTypeTokenRange": {
902
+ "startIndex": 1,
903
+ "endIndex": 2
904
+ }
905
+ }
906
+ ],
907
+ "name": "trackPageView"
908
+ }
909
+ ],
910
+ "extendsTokenRange": {
911
+ "startIndex": 1,
912
+ "endIndex": 3
913
+ },
914
+ "implementsTokenRanges": []
915
+ },
916
+ {
917
+ "kind": "Variable",
918
+ "canonicalReference": "@microsoft/applicationinsights-react-js!useAppInsightsContext:var",
919
+ "docComment": "",
920
+ "excerptTokens": [
921
+ {
922
+ "kind": "Content",
923
+ "text": "useAppInsightsContext: "
924
+ },
925
+ {
926
+ "kind": "Content",
927
+ "text": "() => "
928
+ },
929
+ {
930
+ "kind": "Reference",
931
+ "text": "ReactPlugin",
932
+ "canonicalReference": "@microsoft/applicationinsights-react-js!default:class"
933
+ }
934
+ ],
935
+ "releaseTag": "Public",
936
+ "name": "useAppInsightsContext",
937
+ "variableTypeTokenRange": {
938
+ "startIndex": 1,
939
+ "endIndex": 3
940
+ }
941
+ },
942
+ {
943
+ "kind": "Function",
944
+ "canonicalReference": "@microsoft/applicationinsights-react-js!useTrackEvent:function(1)",
945
+ "docComment": "",
946
+ "excerptTokens": [
947
+ {
948
+ "kind": "Content",
949
+ "text": "export default function useCustomEvent<T>(reactPlugin: "
950
+ },
951
+ {
952
+ "kind": "Reference",
953
+ "text": "ReactPlugin",
954
+ "canonicalReference": "@microsoft/applicationinsights-react-js!default:class"
955
+ },
956
+ {
957
+ "kind": "Content",
958
+ "text": ", eventName: "
959
+ },
960
+ {
961
+ "kind": "Content",
962
+ "text": "string"
963
+ },
964
+ {
965
+ "kind": "Content",
966
+ "text": ", eventData: "
967
+ },
968
+ {
969
+ "kind": "Content",
970
+ "text": "T"
971
+ },
972
+ {
973
+ "kind": "Content",
974
+ "text": ", skipFirstRun?: "
975
+ },
976
+ {
977
+ "kind": "Content",
978
+ "text": "boolean"
979
+ },
980
+ {
981
+ "kind": "Content",
982
+ "text": "): "
983
+ },
984
+ {
985
+ "kind": "Reference",
986
+ "text": "AIReactCustomEvent",
987
+ "canonicalReference": "@microsoft/applicationinsights-react-js!AIReactCustomEvent:type"
988
+ },
989
+ {
990
+ "kind": "Content",
991
+ "text": "<T>"
992
+ },
993
+ {
994
+ "kind": "Content",
995
+ "text": ";"
996
+ }
997
+ ],
998
+ "returnTypeTokenRange": {
999
+ "startIndex": 9,
1000
+ "endIndex": 11
1001
+ },
1002
+ "releaseTag": "Public",
1003
+ "overloadIndex": 1,
1004
+ "parameters": [
1005
+ {
1006
+ "parameterName": "reactPlugin",
1007
+ "parameterTypeTokenRange": {
1008
+ "startIndex": 1,
1009
+ "endIndex": 2
1010
+ }
1011
+ },
1012
+ {
1013
+ "parameterName": "eventName",
1014
+ "parameterTypeTokenRange": {
1015
+ "startIndex": 3,
1016
+ "endIndex": 4
1017
+ }
1018
+ },
1019
+ {
1020
+ "parameterName": "eventData",
1021
+ "parameterTypeTokenRange": {
1022
+ "startIndex": 5,
1023
+ "endIndex": 6
1024
+ }
1025
+ },
1026
+ {
1027
+ "parameterName": "skipFirstRun",
1028
+ "parameterTypeTokenRange": {
1029
+ "startIndex": 7,
1030
+ "endIndex": 8
1031
+ }
1032
+ }
1033
+ ],
1034
+ "typeParameters": [
1035
+ {
1036
+ "typeParameterName": "T",
1037
+ "constraintTokenRange": {
1038
+ "startIndex": 0,
1039
+ "endIndex": 0
1040
+ },
1041
+ "defaultTypeTokenRange": {
1042
+ "startIndex": 0,
1043
+ "endIndex": 0
1044
+ }
1045
+ }
1046
+ ],
1047
+ "name": "useTrackEvent"
1048
+ },
1049
+ {
1050
+ "kind": "Variable",
1051
+ "canonicalReference": "@microsoft/applicationinsights-react-js!useTrackMetric:var",
1052
+ "docComment": "",
1053
+ "excerptTokens": [
1054
+ {
1055
+ "kind": "Content",
1056
+ "text": "useComponentTracking: "
1057
+ },
1058
+ {
1059
+ "kind": "Content",
1060
+ "text": "(reactPlugin: "
1061
+ },
1062
+ {
1063
+ "kind": "Reference",
1064
+ "text": "ReactPlugin",
1065
+ "canonicalReference": "@microsoft/applicationinsights-react-js!default:class"
1066
+ },
1067
+ {
1068
+ "kind": "Content",
1069
+ "text": ", componentName: string) => () => void"
1070
+ }
1071
+ ],
1072
+ "releaseTag": "Public",
1073
+ "name": "useTrackMetric",
1074
+ "variableTypeTokenRange": {
1075
+ "startIndex": 1,
1076
+ "endIndex": 4
1077
+ }
1078
+ },
1079
+ {
1080
+ "kind": "Function",
1081
+ "canonicalReference": "@microsoft/applicationinsights-react-js!withAITracking:function(1)",
1082
+ "docComment": "/**\n * Higher-order component function to hook Application Insights tracking in a React component's lifecycle.\n *\n * @param reactPlugin - ReactPlugin instance\n *\n * @param Component - the React component to be instrumented\n *\n * @param componentName - (optional) component name\n *\n * @param className - (optional) className of the HOC div\n */\n",
1083
+ "excerptTokens": [
1084
+ {
1085
+ "kind": "Content",
1086
+ "text": "export default function withAITracking<P>(reactPlugin: "
1087
+ },
1088
+ {
1089
+ "kind": "Reference",
1090
+ "text": "ReactPlugin",
1091
+ "canonicalReference": "@microsoft/applicationinsights-react-js!default:class"
1092
+ },
1093
+ {
1094
+ "kind": "Content",
1095
+ "text": ", Component: "
1096
+ },
1097
+ {
1098
+ "kind": "Reference",
1099
+ "text": "React.ComponentType",
1100
+ "canonicalReference": "@types/react!~React.ComponentType:type"
1101
+ },
1102
+ {
1103
+ "kind": "Content",
1104
+ "text": "<P>"
1105
+ },
1106
+ {
1107
+ "kind": "Content",
1108
+ "text": ", componentName?: "
1109
+ },
1110
+ {
1111
+ "kind": "Content",
1112
+ "text": "string"
1113
+ },
1114
+ {
1115
+ "kind": "Content",
1116
+ "text": ", className?: "
1117
+ },
1118
+ {
1119
+ "kind": "Content",
1120
+ "text": "string"
1121
+ },
1122
+ {
1123
+ "kind": "Content",
1124
+ "text": "): "
1125
+ },
1126
+ {
1127
+ "kind": "Reference",
1128
+ "text": "React.ComponentClass",
1129
+ "canonicalReference": "@types/react!~React.ComponentClass:interface"
1130
+ },
1131
+ {
1132
+ "kind": "Content",
1133
+ "text": "<P>"
1134
+ },
1135
+ {
1136
+ "kind": "Content",
1137
+ "text": ";"
1138
+ }
1139
+ ],
1140
+ "returnTypeTokenRange": {
1141
+ "startIndex": 10,
1142
+ "endIndex": 12
1143
+ },
1144
+ "releaseTag": "Public",
1145
+ "overloadIndex": 1,
1146
+ "parameters": [
1147
+ {
1148
+ "parameterName": "reactPlugin",
1149
+ "parameterTypeTokenRange": {
1150
+ "startIndex": 1,
1151
+ "endIndex": 2
1152
+ }
1153
+ },
1154
+ {
1155
+ "parameterName": "Component",
1156
+ "parameterTypeTokenRange": {
1157
+ "startIndex": 3,
1158
+ "endIndex": 5
1159
+ }
1160
+ },
1161
+ {
1162
+ "parameterName": "componentName",
1163
+ "parameterTypeTokenRange": {
1164
+ "startIndex": 6,
1165
+ "endIndex": 7
1166
+ }
1167
+ },
1168
+ {
1169
+ "parameterName": "className",
1170
+ "parameterTypeTokenRange": {
1171
+ "startIndex": 8,
1172
+ "endIndex": 9
1173
+ }
1174
+ }
1175
+ ],
1176
+ "typeParameters": [
1177
+ {
1178
+ "typeParameterName": "P",
1179
+ "constraintTokenRange": {
1180
+ "startIndex": 0,
1181
+ "endIndex": 0
1182
+ },
1183
+ "defaultTypeTokenRange": {
1184
+ "startIndex": 0,
1185
+ "endIndex": 0
1186
+ }
1187
+ }
1188
+ ],
1189
+ "name": "withAITracking"
1190
+ }
1191
+ ]
1192
+ }
1193
+ ]
1194
+ }