@microsoft/applicationinsights-react-js 19.3.7-nightly.2507-03 → 19.3.7-nightly.2507-04

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 (30) hide show
  1. package/dist-esm/AppInsightsContext.js +0 -4
  2. package/dist-esm/AppInsightsContext.js.map +1 -1
  3. package/dist-esm/AppInsightsErrorBoundary.js +3 -7
  4. package/dist-esm/AppInsightsErrorBoundary.js.map +1 -1
  5. package/dist-esm/Interfaces/IReactExtensionConfig.js +2 -6
  6. package/dist-esm/Interfaces/IReactExtensionConfig.js.map +1 -1
  7. package/dist-esm/ReactPlugin.js +40 -19
  8. package/dist-esm/ReactPlugin.js.map +1 -1
  9. package/dist-esm/applicationinsights-react-js.js +2 -6
  10. package/dist-esm/applicationinsights-react-js.js.map +1 -1
  11. package/dist-esm/useTrackEvent.js +0 -4
  12. package/dist-esm/useTrackEvent.js.map +1 -1
  13. package/dist-esm/useTrackMetric.js +1 -5
  14. package/dist-esm/useTrackMetric.js.map +1 -1
  15. package/dist-esm/withAITracking.js +3 -7
  16. package/dist-esm/withAITracking.js.map +1 -1
  17. package/package.json +1 -1
  18. package/browser/applicationinsights-react-js.js +0 -3863
  19. package/browser/applicationinsights-react-js.js.map +0 -1
  20. package/browser/applicationinsights-react-js.min.js +0 -6
  21. package/browser/applicationinsights-react-js.min.js.map +0 -1
  22. package/dist/applicationinsights-react-js.api.json +0 -1982
  23. package/dist/applicationinsights-react-js.api.md +0 -129
  24. package/dist/applicationinsights-react-js.d.ts +0 -137
  25. package/dist/applicationinsights-react-js.js +0 -3863
  26. package/dist/applicationinsights-react-js.js.map +0 -1
  27. package/dist/applicationinsights-react-js.min.js +0 -6
  28. package/dist/applicationinsights-react-js.min.js.map +0 -1
  29. package/dist/applicationinsights-react-js.rollup.d.ts +0 -142
  30. package/types/tsdoc-metadata.json +0 -11
@@ -1,1982 +0,0 @@
1
- {
2
- "metadata": {
3
- "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.52.8",
5
- "schemaVersion": 1011,
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
- "reportUnsupportedHtmlElements": false
161
- }
162
- },
163
- "kind": "Package",
164
- "canonicalReference": "@microsoft/applicationinsights-react-js!",
165
- "docComment": "",
166
- "name": "@microsoft/applicationinsights-react-js",
167
- "preserveMemberOrder": false,
168
- "members": [
169
- {
170
- "kind": "EntryPoint",
171
- "canonicalReference": "@microsoft/applicationinsights-react-js!",
172
- "name": "",
173
- "preserveMemberOrder": false,
174
- "members": [
175
- {
176
- "kind": "Class",
177
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase:class",
178
- "docComment": "/**\n * Higher-order component base class to hook Application Insights tracking in a React component's lifecycle.\n */\n",
179
- "excerptTokens": [
180
- {
181
- "kind": "Content",
182
- "text": "export declare abstract class AITrackedComponentBase<P> extends "
183
- },
184
- {
185
- "kind": "Reference",
186
- "text": "React.Component",
187
- "canonicalReference": "@types/react!React.Component:class"
188
- },
189
- {
190
- "kind": "Content",
191
- "text": "<P>"
192
- },
193
- {
194
- "kind": "Content",
195
- "text": " "
196
- }
197
- ],
198
- "fileUrlPath": "types/withAITracking.d.ts",
199
- "releaseTag": "Public",
200
- "typeParameters": [
201
- {
202
- "typeParameterName": "P",
203
- "constraintTokenRange": {
204
- "startIndex": 0,
205
- "endIndex": 0
206
- },
207
- "defaultTypeTokenRange": {
208
- "startIndex": 0,
209
- "endIndex": 0
210
- }
211
- }
212
- ],
213
- "isAbstract": true,
214
- "name": "AITrackedComponentBase",
215
- "preserveMemberOrder": false,
216
- "members": [
217
- {
218
- "kind": "Property",
219
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_componentName:member",
220
- "docComment": "",
221
- "excerptTokens": [
222
- {
223
- "kind": "Content",
224
- "text": "protected _componentName: "
225
- },
226
- {
227
- "kind": "Content",
228
- "text": "string"
229
- },
230
- {
231
- "kind": "Content",
232
- "text": ";"
233
- }
234
- ],
235
- "isReadonly": false,
236
- "isOptional": false,
237
- "releaseTag": "Public",
238
- "name": "_componentName",
239
- "propertyTypeTokenRange": {
240
- "startIndex": 1,
241
- "endIndex": 2
242
- },
243
- "isStatic": false,
244
- "isProtected": true,
245
- "isAbstract": false
246
- },
247
- {
248
- "kind": "Property",
249
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_firstActiveTimestamp:member",
250
- "docComment": "",
251
- "excerptTokens": [
252
- {
253
- "kind": "Content",
254
- "text": "protected _firstActiveTimestamp: "
255
- },
256
- {
257
- "kind": "Content",
258
- "text": "number"
259
- },
260
- {
261
- "kind": "Content",
262
- "text": ";"
263
- }
264
- ],
265
- "isReadonly": false,
266
- "isOptional": false,
267
- "releaseTag": "Public",
268
- "name": "_firstActiveTimestamp",
269
- "propertyTypeTokenRange": {
270
- "startIndex": 1,
271
- "endIndex": 2
272
- },
273
- "isStatic": false,
274
- "isProtected": true,
275
- "isAbstract": false
276
- },
277
- {
278
- "kind": "Property",
279
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_idleCount:member",
280
- "docComment": "",
281
- "excerptTokens": [
282
- {
283
- "kind": "Content",
284
- "text": "protected _idleCount: "
285
- },
286
- {
287
- "kind": "Content",
288
- "text": "number"
289
- },
290
- {
291
- "kind": "Content",
292
- "text": ";"
293
- }
294
- ],
295
- "isReadonly": false,
296
- "isOptional": false,
297
- "releaseTag": "Public",
298
- "name": "_idleCount",
299
- "propertyTypeTokenRange": {
300
- "startIndex": 1,
301
- "endIndex": 2
302
- },
303
- "isStatic": false,
304
- "isProtected": true,
305
- "isAbstract": false
306
- },
307
- {
308
- "kind": "Property",
309
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_idleStartTimestamp:member",
310
- "docComment": "",
311
- "excerptTokens": [
312
- {
313
- "kind": "Content",
314
- "text": "protected _idleStartTimestamp: "
315
- },
316
- {
317
- "kind": "Content",
318
- "text": "number"
319
- },
320
- {
321
- "kind": "Content",
322
- "text": ";"
323
- }
324
- ],
325
- "isReadonly": false,
326
- "isOptional": false,
327
- "releaseTag": "Public",
328
- "name": "_idleStartTimestamp",
329
- "propertyTypeTokenRange": {
330
- "startIndex": 1,
331
- "endIndex": 2
332
- },
333
- "isStatic": false,
334
- "isProtected": true,
335
- "isAbstract": false
336
- },
337
- {
338
- "kind": "Property",
339
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_idleTimeout:member",
340
- "docComment": "",
341
- "excerptTokens": [
342
- {
343
- "kind": "Content",
344
- "text": "protected _idleTimeout: "
345
- },
346
- {
347
- "kind": "Content",
348
- "text": "number"
349
- },
350
- {
351
- "kind": "Content",
352
- "text": ";"
353
- }
354
- ],
355
- "isReadonly": false,
356
- "isOptional": false,
357
- "releaseTag": "Public",
358
- "name": "_idleTimeout",
359
- "propertyTypeTokenRange": {
360
- "startIndex": 1,
361
- "endIndex": 2
362
- },
363
- "isStatic": false,
364
- "isProtected": true,
365
- "isAbstract": false
366
- },
367
- {
368
- "kind": "Property",
369
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_intervalId:member",
370
- "docComment": "",
371
- "excerptTokens": [
372
- {
373
- "kind": "Content",
374
- "text": "protected _intervalId?: "
375
- },
376
- {
377
- "kind": "Content",
378
- "text": "any"
379
- },
380
- {
381
- "kind": "Content",
382
- "text": ";"
383
- }
384
- ],
385
- "isReadonly": false,
386
- "isOptional": true,
387
- "releaseTag": "Public",
388
- "name": "_intervalId",
389
- "propertyTypeTokenRange": {
390
- "startIndex": 1,
391
- "endIndex": 2
392
- },
393
- "isStatic": false,
394
- "isProtected": true,
395
- "isAbstract": false
396
- },
397
- {
398
- "kind": "Property",
399
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_lastActiveTimestamp:member",
400
- "docComment": "",
401
- "excerptTokens": [
402
- {
403
- "kind": "Content",
404
- "text": "protected _lastActiveTimestamp: "
405
- },
406
- {
407
- "kind": "Content",
408
- "text": "number"
409
- },
410
- {
411
- "kind": "Content",
412
- "text": ";"
413
- }
414
- ],
415
- "isReadonly": false,
416
- "isOptional": false,
417
- "releaseTag": "Public",
418
- "name": "_lastActiveTimestamp",
419
- "propertyTypeTokenRange": {
420
- "startIndex": 1,
421
- "endIndex": 2
422
- },
423
- "isStatic": false,
424
- "isProtected": true,
425
- "isAbstract": false
426
- },
427
- {
428
- "kind": "Property",
429
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_mountTimestamp:member",
430
- "docComment": "",
431
- "excerptTokens": [
432
- {
433
- "kind": "Content",
434
- "text": "protected _mountTimestamp: "
435
- },
436
- {
437
- "kind": "Content",
438
- "text": "number"
439
- },
440
- {
441
- "kind": "Content",
442
- "text": ";"
443
- }
444
- ],
445
- "isReadonly": false,
446
- "isOptional": false,
447
- "releaseTag": "Public",
448
- "name": "_mountTimestamp",
449
- "propertyTypeTokenRange": {
450
- "startIndex": 1,
451
- "endIndex": 2
452
- },
453
- "isStatic": false,
454
- "isProtected": true,
455
- "isAbstract": false
456
- },
457
- {
458
- "kind": "Property",
459
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_reactPlugin:member",
460
- "docComment": "",
461
- "excerptTokens": [
462
- {
463
- "kind": "Content",
464
- "text": "protected _reactPlugin: "
465
- },
466
- {
467
- "kind": "Reference",
468
- "text": "ReactPlugin",
469
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class"
470
- },
471
- {
472
- "kind": "Content",
473
- "text": ";"
474
- }
475
- ],
476
- "isReadonly": false,
477
- "isOptional": false,
478
- "releaseTag": "Public",
479
- "name": "_reactPlugin",
480
- "propertyTypeTokenRange": {
481
- "startIndex": 1,
482
- "endIndex": 2
483
- },
484
- "isStatic": false,
485
- "isProtected": true,
486
- "isAbstract": false
487
- },
488
- {
489
- "kind": "Property",
490
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#_totalIdleTime:member",
491
- "docComment": "",
492
- "excerptTokens": [
493
- {
494
- "kind": "Content",
495
- "text": "protected _totalIdleTime: "
496
- },
497
- {
498
- "kind": "Content",
499
- "text": "number"
500
- },
501
- {
502
- "kind": "Content",
503
- "text": ";"
504
- }
505
- ],
506
- "isReadonly": false,
507
- "isOptional": false,
508
- "releaseTag": "Public",
509
- "name": "_totalIdleTime",
510
- "propertyTypeTokenRange": {
511
- "startIndex": 1,
512
- "endIndex": 2
513
- },
514
- "isStatic": false,
515
- "isProtected": true,
516
- "isAbstract": false
517
- },
518
- {
519
- "kind": "Constructor",
520
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase:constructor(1)",
521
- "docComment": "/**\n * Constructs a new instance of the `AITrackedComponentBase` class\n */\n",
522
- "excerptTokens": [
523
- {
524
- "kind": "Content",
525
- "text": "constructor(props: "
526
- },
527
- {
528
- "kind": "Content",
529
- "text": "P"
530
- },
531
- {
532
- "kind": "Content",
533
- "text": ", reactPlugin: "
534
- },
535
- {
536
- "kind": "Reference",
537
- "text": "ReactPlugin",
538
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class"
539
- },
540
- {
541
- "kind": "Content",
542
- "text": ", componentName: "
543
- },
544
- {
545
- "kind": "Content",
546
- "text": "string"
547
- },
548
- {
549
- "kind": "Content",
550
- "text": ");"
551
- }
552
- ],
553
- "releaseTag": "Public",
554
- "isProtected": false,
555
- "overloadIndex": 1,
556
- "parameters": [
557
- {
558
- "parameterName": "props",
559
- "parameterTypeTokenRange": {
560
- "startIndex": 1,
561
- "endIndex": 2
562
- },
563
- "isOptional": false
564
- },
565
- {
566
- "parameterName": "reactPlugin",
567
- "parameterTypeTokenRange": {
568
- "startIndex": 3,
569
- "endIndex": 4
570
- },
571
- "isOptional": false
572
- },
573
- {
574
- "parameterName": "componentName",
575
- "parameterTypeTokenRange": {
576
- "startIndex": 5,
577
- "endIndex": 6
578
- },
579
- "isOptional": false
580
- }
581
- ]
582
- },
583
- {
584
- "kind": "Method",
585
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#componentDidMount:member(1)",
586
- "docComment": "",
587
- "excerptTokens": [
588
- {
589
- "kind": "Content",
590
- "text": "componentDidMount(): "
591
- },
592
- {
593
- "kind": "Content",
594
- "text": "void"
595
- },
596
- {
597
- "kind": "Content",
598
- "text": ";"
599
- }
600
- ],
601
- "isStatic": false,
602
- "returnTypeTokenRange": {
603
- "startIndex": 1,
604
- "endIndex": 2
605
- },
606
- "releaseTag": "Public",
607
- "isProtected": false,
608
- "overloadIndex": 1,
609
- "parameters": [],
610
- "isOptional": false,
611
- "isAbstract": false,
612
- "name": "componentDidMount"
613
- },
614
- {
615
- "kind": "Method",
616
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#componentWillUnmount:member(1)",
617
- "docComment": "",
618
- "excerptTokens": [
619
- {
620
- "kind": "Content",
621
- "text": "componentWillUnmount(): "
622
- },
623
- {
624
- "kind": "Content",
625
- "text": "void"
626
- },
627
- {
628
- "kind": "Content",
629
- "text": ";"
630
- }
631
- ],
632
- "isStatic": false,
633
- "returnTypeTokenRange": {
634
- "startIndex": 1,
635
- "endIndex": 2
636
- },
637
- "releaseTag": "Public",
638
- "isProtected": false,
639
- "overloadIndex": 1,
640
- "parameters": [],
641
- "isOptional": false,
642
- "isAbstract": false,
643
- "name": "componentWillUnmount"
644
- },
645
- {
646
- "kind": "Property",
647
- "canonicalReference": "@microsoft/applicationinsights-react-js!AITrackedComponentBase#trackActivity:member",
648
- "docComment": "",
649
- "excerptTokens": [
650
- {
651
- "kind": "Content",
652
- "text": "protected trackActivity: "
653
- },
654
- {
655
- "kind": "Content",
656
- "text": "(e: "
657
- },
658
- {
659
- "kind": "Reference",
660
- "text": "React.SyntheticEvent",
661
- "canonicalReference": "@types/react!React.SyntheticEvent:interface"
662
- },
663
- {
664
- "kind": "Content",
665
- "text": "<any>) => void"
666
- },
667
- {
668
- "kind": "Content",
669
- "text": ";"
670
- }
671
- ],
672
- "isReadonly": false,
673
- "isOptional": false,
674
- "releaseTag": "Public",
675
- "name": "trackActivity",
676
- "propertyTypeTokenRange": {
677
- "startIndex": 1,
678
- "endIndex": 4
679
- },
680
- "isStatic": false,
681
- "isProtected": true,
682
- "isAbstract": false
683
- }
684
- ],
685
- "extendsTokenRange": {
686
- "startIndex": 1,
687
- "endIndex": 3
688
- },
689
- "implementsTokenRanges": []
690
- },
691
- {
692
- "kind": "Variable",
693
- "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsContext:var",
694
- "docComment": "",
695
- "excerptTokens": [
696
- {
697
- "kind": "Content",
698
- "text": "AppInsightsContext: "
699
- },
700
- {
701
- "kind": "Reference",
702
- "text": "AppInsightsReactContext",
703
- "canonicalReference": "@microsoft/applicationinsights-react-js!~AppInsightsReactContext:type"
704
- }
705
- ],
706
- "fileUrlPath": "types/AppInsightsContext.d.ts",
707
- "isReadonly": true,
708
- "releaseTag": "Public",
709
- "name": "AppInsightsContext",
710
- "variableTypeTokenRange": {
711
- "startIndex": 1,
712
- "endIndex": 2
713
- }
714
- },
715
- {
716
- "kind": "Class",
717
- "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary:class",
718
- "docComment": "",
719
- "excerptTokens": [
720
- {
721
- "kind": "Content",
722
- "text": "export default class AppInsightsErrorBoundary extends "
723
- },
724
- {
725
- "kind": "Reference",
726
- "text": "React.Component",
727
- "canonicalReference": "@types/react!React.Component:class"
728
- },
729
- {
730
- "kind": "Content",
731
- "text": "<"
732
- },
733
- {
734
- "kind": "Reference",
735
- "text": "IAppInsightsErrorBoundaryProps",
736
- "canonicalReference": "@microsoft/applicationinsights-react-js!~IAppInsightsErrorBoundaryProps:interface"
737
- },
738
- {
739
- "kind": "Content",
740
- "text": ", "
741
- },
742
- {
743
- "kind": "Reference",
744
- "text": "IAppInsightsErrorBoundaryState",
745
- "canonicalReference": "@microsoft/applicationinsights-react-js!~IAppInsightsErrorBoundaryState:interface"
746
- },
747
- {
748
- "kind": "Content",
749
- "text": ">"
750
- },
751
- {
752
- "kind": "Content",
753
- "text": " "
754
- }
755
- ],
756
- "fileUrlPath": "types/AppInsightsErrorBoundary.d.ts",
757
- "releaseTag": "Public",
758
- "isAbstract": false,
759
- "name": "AppInsightsErrorBoundary",
760
- "preserveMemberOrder": false,
761
- "members": [
762
- {
763
- "kind": "Method",
764
- "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary#componentDidCatch:member(1)",
765
- "docComment": "",
766
- "excerptTokens": [
767
- {
768
- "kind": "Content",
769
- "text": "componentDidCatch(error: "
770
- },
771
- {
772
- "kind": "Reference",
773
- "text": "Error",
774
- "canonicalReference": "!Error:interface"
775
- },
776
- {
777
- "kind": "Content",
778
- "text": ", errorInfo: "
779
- },
780
- {
781
- "kind": "Reference",
782
- "text": "React.ErrorInfo",
783
- "canonicalReference": "@types/react!React.ErrorInfo:interface"
784
- },
785
- {
786
- "kind": "Content",
787
- "text": "): "
788
- },
789
- {
790
- "kind": "Content",
791
- "text": "void"
792
- },
793
- {
794
- "kind": "Content",
795
- "text": ";"
796
- }
797
- ],
798
- "isStatic": false,
799
- "returnTypeTokenRange": {
800
- "startIndex": 5,
801
- "endIndex": 6
802
- },
803
- "releaseTag": "Public",
804
- "isProtected": false,
805
- "overloadIndex": 1,
806
- "parameters": [
807
- {
808
- "parameterName": "error",
809
- "parameterTypeTokenRange": {
810
- "startIndex": 1,
811
- "endIndex": 2
812
- },
813
- "isOptional": false
814
- },
815
- {
816
- "parameterName": "errorInfo",
817
- "parameterTypeTokenRange": {
818
- "startIndex": 3,
819
- "endIndex": 4
820
- },
821
- "isOptional": false
822
- }
823
- ],
824
- "isOptional": false,
825
- "isAbstract": false,
826
- "name": "componentDidCatch"
827
- },
828
- {
829
- "kind": "Method",
830
- "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary#render:member(1)",
831
- "docComment": "",
832
- "excerptTokens": [
833
- {
834
- "kind": "Content",
835
- "text": "render(): "
836
- },
837
- {
838
- "kind": "Reference",
839
- "text": "React.ReactElement",
840
- "canonicalReference": "@types/react!React.ReactElement:interface"
841
- },
842
- {
843
- "kind": "Content",
844
- "text": "<unknown, string | "
845
- },
846
- {
847
- "kind": "Reference",
848
- "text": "React.JSXElementConstructor",
849
- "canonicalReference": "@types/react!React.JSXElementConstructor:type"
850
- },
851
- {
852
- "kind": "Content",
853
- "text": "<any>>"
854
- },
855
- {
856
- "kind": "Content",
857
- "text": ";"
858
- }
859
- ],
860
- "isStatic": false,
861
- "returnTypeTokenRange": {
862
- "startIndex": 1,
863
- "endIndex": 5
864
- },
865
- "releaseTag": "Public",
866
- "isProtected": false,
867
- "overloadIndex": 1,
868
- "parameters": [],
869
- "isOptional": false,
870
- "isAbstract": false,
871
- "name": "render"
872
- },
873
- {
874
- "kind": "Property",
875
- "canonicalReference": "@microsoft/applicationinsights-react-js!AppInsightsErrorBoundary#state:member",
876
- "docComment": "",
877
- "excerptTokens": [
878
- {
879
- "kind": "Content",
880
- "text": "state: "
881
- },
882
- {
883
- "kind": "Content",
884
- "text": "{\n hasError: boolean;\n }"
885
- },
886
- {
887
- "kind": "Content",
888
- "text": ";"
889
- }
890
- ],
891
- "isReadonly": false,
892
- "isOptional": false,
893
- "releaseTag": "Public",
894
- "name": "state",
895
- "propertyTypeTokenRange": {
896
- "startIndex": 1,
897
- "endIndex": 2
898
- },
899
- "isStatic": false,
900
- "isProtected": false,
901
- "isAbstract": false
902
- }
903
- ],
904
- "extendsTokenRange": {
905
- "startIndex": 1,
906
- "endIndex": 7
907
- },
908
- "implementsTokenRanges": []
909
- },
910
- {
911
- "kind": "Interface",
912
- "canonicalReference": "@microsoft/applicationinsights-react-js!IReactExtensionConfig:interface",
913
- "docComment": "/**\n * Settings to initialize a ReactAI instance.\n */\n",
914
- "excerptTokens": [
915
- {
916
- "kind": "Content",
917
- "text": "export interface IReactExtensionConfig "
918
- }
919
- ],
920
- "fileUrlPath": "types/Interfaces/IReactExtensionConfig.d.ts",
921
- "releaseTag": "Public",
922
- "name": "IReactExtensionConfig",
923
- "preserveMemberOrder": false,
924
- "members": [
925
- {
926
- "kind": "PropertySignature",
927
- "canonicalReference": "@microsoft/applicationinsights-react-js!IReactExtensionConfig#history:member",
928
- "docComment": "/**\n * React router history for enabling Application Insights PageView tracking.\n *\n * @type {History} @memberof IReactAISettings\n */\n",
929
- "excerptTokens": [
930
- {
931
- "kind": "Content",
932
- "text": "readonly history?: "
933
- },
934
- {
935
- "kind": "Reference",
936
- "text": "History",
937
- "canonicalReference": "history!History:interface"
938
- },
939
- {
940
- "kind": "Content",
941
- "text": ";"
942
- }
943
- ],
944
- "isReadonly": true,
945
- "isOptional": true,
946
- "releaseTag": "Public",
947
- "name": "history",
948
- "propertyTypeTokenRange": {
949
- "startIndex": 1,
950
- "endIndex": 2
951
- }
952
- }
953
- ],
954
- "extendsTokenRanges": []
955
- },
956
- {
957
- "kind": "Class",
958
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class",
959
- "docComment": "",
960
- "excerptTokens": [
961
- {
962
- "kind": "Content",
963
- "text": "export default class ReactPlugin extends "
964
- },
965
- {
966
- "kind": "Reference",
967
- "text": "BaseTelemetryPlugin",
968
- "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin:class"
969
- },
970
- {
971
- "kind": "Content",
972
- "text": " "
973
- }
974
- ],
975
- "fileUrlPath": "types/ReactPlugin.d.ts",
976
- "releaseTag": "Public",
977
- "isAbstract": false,
978
- "name": "ReactPlugin",
979
- "preserveMemberOrder": false,
980
- "members": [
981
- {
982
- "kind": "Constructor",
983
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:constructor(1)",
984
- "docComment": "/**\n * Constructs a new instance of the `ReactPlugin` class\n */\n",
985
- "excerptTokens": [
986
- {
987
- "kind": "Content",
988
- "text": "constructor();"
989
- }
990
- ],
991
- "releaseTag": "Public",
992
- "isProtected": false,
993
- "overloadIndex": 1,
994
- "parameters": []
995
- },
996
- {
997
- "kind": "Property",
998
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#context:member",
999
- "docComment": "",
1000
- "excerptTokens": [
1001
- {
1002
- "kind": "Content",
1003
- "text": "readonly context: "
1004
- },
1005
- {
1006
- "kind": "Reference",
1007
- "text": "Common_ITelemetryContext",
1008
- "canonicalReference": "@microsoft/applicationinsights-common!ITelemetryContext:interface"
1009
- },
1010
- {
1011
- "kind": "Content",
1012
- "text": ";"
1013
- }
1014
- ],
1015
- "isReadonly": true,
1016
- "isOptional": false,
1017
- "releaseTag": "Public",
1018
- "name": "context",
1019
- "propertyTypeTokenRange": {
1020
- "startIndex": 1,
1021
- "endIndex": 2
1022
- },
1023
- "isStatic": false,
1024
- "isProtected": false,
1025
- "isAbstract": false
1026
- },
1027
- {
1028
- "kind": "Method",
1029
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#getAppInsights:member(1)",
1030
- "docComment": "/**\n * Get application insights instance.\n */\n",
1031
- "excerptTokens": [
1032
- {
1033
- "kind": "Content",
1034
- "text": "getAppInsights(): "
1035
- },
1036
- {
1037
- "kind": "Reference",
1038
- "text": "IAppInsights",
1039
- "canonicalReference": "@microsoft/applicationinsights-common!IAppInsights:interface"
1040
- },
1041
- {
1042
- "kind": "Content",
1043
- "text": ";"
1044
- }
1045
- ],
1046
- "isStatic": false,
1047
- "returnTypeTokenRange": {
1048
- "startIndex": 1,
1049
- "endIndex": 2
1050
- },
1051
- "releaseTag": "Public",
1052
- "isProtected": false,
1053
- "overloadIndex": 1,
1054
- "parameters": [],
1055
- "isOptional": false,
1056
- "isAbstract": false,
1057
- "name": "getAppInsights"
1058
- },
1059
- {
1060
- "kind": "Method",
1061
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#getCookieMgr:member(1)",
1062
- "docComment": "/**\n * Get the current cookie manager for this instance\n */\n",
1063
- "excerptTokens": [
1064
- {
1065
- "kind": "Content",
1066
- "text": "getCookieMgr(): "
1067
- },
1068
- {
1069
- "kind": "Reference",
1070
- "text": "ICookieMgr",
1071
- "canonicalReference": "@microsoft/applicationinsights-core-js!ICookieMgr:interface"
1072
- },
1073
- {
1074
- "kind": "Content",
1075
- "text": ";"
1076
- }
1077
- ],
1078
- "isStatic": false,
1079
- "returnTypeTokenRange": {
1080
- "startIndex": 1,
1081
- "endIndex": 2
1082
- },
1083
- "releaseTag": "Public",
1084
- "isProtected": false,
1085
- "overloadIndex": 1,
1086
- "parameters": [],
1087
- "isOptional": false,
1088
- "isAbstract": false,
1089
- "name": "getCookieMgr"
1090
- },
1091
- {
1092
- "kind": "Property",
1093
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#identifier:member",
1094
- "docComment": "",
1095
- "excerptTokens": [
1096
- {
1097
- "kind": "Content",
1098
- "text": "identifier: "
1099
- },
1100
- {
1101
- "kind": "Content",
1102
- "text": "string"
1103
- },
1104
- {
1105
- "kind": "Content",
1106
- "text": ";"
1107
- }
1108
- ],
1109
- "isReadonly": false,
1110
- "isOptional": false,
1111
- "releaseTag": "Public",
1112
- "name": "identifier",
1113
- "propertyTypeTokenRange": {
1114
- "startIndex": 1,
1115
- "endIndex": 2
1116
- },
1117
- "isStatic": false,
1118
- "isProtected": false,
1119
- "isAbstract": false
1120
- },
1121
- {
1122
- "kind": "Method",
1123
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#initialize:member(1)",
1124
- "docComment": "",
1125
- "excerptTokens": [
1126
- {
1127
- "kind": "Content",
1128
- "text": "initialize(config: "
1129
- },
1130
- {
1131
- "kind": "Reference",
1132
- "text": "IConfiguration",
1133
- "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
1134
- },
1135
- {
1136
- "kind": "Content",
1137
- "text": " & "
1138
- },
1139
- {
1140
- "kind": "Reference",
1141
- "text": "IConfig",
1142
- "canonicalReference": "@microsoft/applicationinsights-common!IConfig:interface"
1143
- },
1144
- {
1145
- "kind": "Content",
1146
- "text": ", core: "
1147
- },
1148
- {
1149
- "kind": "Reference",
1150
- "text": "IAppInsightsCore",
1151
- "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
1152
- },
1153
- {
1154
- "kind": "Content",
1155
- "text": ", extensions: "
1156
- },
1157
- {
1158
- "kind": "Reference",
1159
- "text": "IPlugin",
1160
- "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
1161
- },
1162
- {
1163
- "kind": "Content",
1164
- "text": "[]"
1165
- },
1166
- {
1167
- "kind": "Content",
1168
- "text": ", pluginChain?: "
1169
- },
1170
- {
1171
- "kind": "Reference",
1172
- "text": "ITelemetryPluginChain",
1173
- "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
1174
- },
1175
- {
1176
- "kind": "Content",
1177
- "text": "): "
1178
- },
1179
- {
1180
- "kind": "Content",
1181
- "text": "void"
1182
- },
1183
- {
1184
- "kind": "Content",
1185
- "text": ";"
1186
- }
1187
- ],
1188
- "isStatic": false,
1189
- "returnTypeTokenRange": {
1190
- "startIndex": 12,
1191
- "endIndex": 13
1192
- },
1193
- "releaseTag": "Public",
1194
- "isProtected": false,
1195
- "overloadIndex": 1,
1196
- "parameters": [
1197
- {
1198
- "parameterName": "config",
1199
- "parameterTypeTokenRange": {
1200
- "startIndex": 1,
1201
- "endIndex": 4
1202
- },
1203
- "isOptional": false
1204
- },
1205
- {
1206
- "parameterName": "core",
1207
- "parameterTypeTokenRange": {
1208
- "startIndex": 5,
1209
- "endIndex": 6
1210
- },
1211
- "isOptional": false
1212
- },
1213
- {
1214
- "parameterName": "extensions",
1215
- "parameterTypeTokenRange": {
1216
- "startIndex": 7,
1217
- "endIndex": 9
1218
- },
1219
- "isOptional": false
1220
- },
1221
- {
1222
- "parameterName": "pluginChain",
1223
- "parameterTypeTokenRange": {
1224
- "startIndex": 10,
1225
- "endIndex": 11
1226
- },
1227
- "isOptional": true
1228
- }
1229
- ],
1230
- "isOptional": false,
1231
- "isAbstract": false,
1232
- "name": "initialize"
1233
- },
1234
- {
1235
- "kind": "Property",
1236
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#priority:member",
1237
- "docComment": "",
1238
- "excerptTokens": [
1239
- {
1240
- "kind": "Content",
1241
- "text": "priority: "
1242
- },
1243
- {
1244
- "kind": "Content",
1245
- "text": "number"
1246
- },
1247
- {
1248
- "kind": "Content",
1249
- "text": ";"
1250
- }
1251
- ],
1252
- "isReadonly": false,
1253
- "isOptional": false,
1254
- "releaseTag": "Public",
1255
- "name": "priority",
1256
- "propertyTypeTokenRange": {
1257
- "startIndex": 1,
1258
- "endIndex": 2
1259
- },
1260
- "isStatic": false,
1261
- "isProtected": false,
1262
- "isAbstract": false
1263
- },
1264
- {
1265
- "kind": "Method",
1266
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#processTelemetry:member(1)",
1267
- "docComment": "/**\n * Add Part A fields to the event\n *\n * @param event - The event that needs to be processed\n */\n",
1268
- "excerptTokens": [
1269
- {
1270
- "kind": "Content",
1271
- "text": "processTelemetry(event: "
1272
- },
1273
- {
1274
- "kind": "Reference",
1275
- "text": "ITelemetryItem",
1276
- "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
1277
- },
1278
- {
1279
- "kind": "Content",
1280
- "text": ", itemCtx?: "
1281
- },
1282
- {
1283
- "kind": "Reference",
1284
- "text": "IProcessTelemetryContext",
1285
- "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
1286
- },
1287
- {
1288
- "kind": "Content",
1289
- "text": "): "
1290
- },
1291
- {
1292
- "kind": "Content",
1293
- "text": "void"
1294
- },
1295
- {
1296
- "kind": "Content",
1297
- "text": ";"
1298
- }
1299
- ],
1300
- "isStatic": false,
1301
- "returnTypeTokenRange": {
1302
- "startIndex": 5,
1303
- "endIndex": 6
1304
- },
1305
- "releaseTag": "Public",
1306
- "isProtected": false,
1307
- "overloadIndex": 1,
1308
- "parameters": [
1309
- {
1310
- "parameterName": "event",
1311
- "parameterTypeTokenRange": {
1312
- "startIndex": 1,
1313
- "endIndex": 2
1314
- },
1315
- "isOptional": false
1316
- },
1317
- {
1318
- "parameterName": "itemCtx",
1319
- "parameterTypeTokenRange": {
1320
- "startIndex": 3,
1321
- "endIndex": 4
1322
- },
1323
- "isOptional": true
1324
- }
1325
- ],
1326
- "isOptional": false,
1327
- "isAbstract": false,
1328
- "name": "processTelemetry"
1329
- },
1330
- {
1331
- "kind": "Method",
1332
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackEvent:member(1)",
1333
- "docComment": "",
1334
- "excerptTokens": [
1335
- {
1336
- "kind": "Content",
1337
- "text": "trackEvent(event: "
1338
- },
1339
- {
1340
- "kind": "Reference",
1341
- "text": "IEventTelemetry",
1342
- "canonicalReference": "@microsoft/applicationinsights-common!IEventTelemetry:interface"
1343
- },
1344
- {
1345
- "kind": "Content",
1346
- "text": ", customProperties?: "
1347
- },
1348
- {
1349
- "kind": "Reference",
1350
- "text": "ICustomProperties",
1351
- "canonicalReference": "@microsoft/applicationinsights-core-js!ICustomProperties:interface"
1352
- },
1353
- {
1354
- "kind": "Content",
1355
- "text": "): "
1356
- },
1357
- {
1358
- "kind": "Content",
1359
- "text": "void"
1360
- },
1361
- {
1362
- "kind": "Content",
1363
- "text": ";"
1364
- }
1365
- ],
1366
- "isStatic": false,
1367
- "returnTypeTokenRange": {
1368
- "startIndex": 5,
1369
- "endIndex": 6
1370
- },
1371
- "releaseTag": "Public",
1372
- "isProtected": false,
1373
- "overloadIndex": 1,
1374
- "parameters": [
1375
- {
1376
- "parameterName": "event",
1377
- "parameterTypeTokenRange": {
1378
- "startIndex": 1,
1379
- "endIndex": 2
1380
- },
1381
- "isOptional": false
1382
- },
1383
- {
1384
- "parameterName": "customProperties",
1385
- "parameterTypeTokenRange": {
1386
- "startIndex": 3,
1387
- "endIndex": 4
1388
- },
1389
- "isOptional": true
1390
- }
1391
- ],
1392
- "isOptional": false,
1393
- "isAbstract": false,
1394
- "name": "trackEvent"
1395
- },
1396
- {
1397
- "kind": "Method",
1398
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackException:member(1)",
1399
- "docComment": "",
1400
- "excerptTokens": [
1401
- {
1402
- "kind": "Content",
1403
- "text": "trackException(exception: "
1404
- },
1405
- {
1406
- "kind": "Reference",
1407
- "text": "IExceptionTelemetry",
1408
- "canonicalReference": "@microsoft/applicationinsights-common!IExceptionTelemetry:interface"
1409
- },
1410
- {
1411
- "kind": "Content",
1412
- "text": ", customProperties?: "
1413
- },
1414
- {
1415
- "kind": "Reference",
1416
- "text": "ICustomProperties",
1417
- "canonicalReference": "@microsoft/applicationinsights-core-js!ICustomProperties:interface"
1418
- },
1419
- {
1420
- "kind": "Content",
1421
- "text": "): "
1422
- },
1423
- {
1424
- "kind": "Content",
1425
- "text": "void"
1426
- },
1427
- {
1428
- "kind": "Content",
1429
- "text": ";"
1430
- }
1431
- ],
1432
- "isStatic": false,
1433
- "returnTypeTokenRange": {
1434
- "startIndex": 5,
1435
- "endIndex": 6
1436
- },
1437
- "releaseTag": "Public",
1438
- "isProtected": false,
1439
- "overloadIndex": 1,
1440
- "parameters": [
1441
- {
1442
- "parameterName": "exception",
1443
- "parameterTypeTokenRange": {
1444
- "startIndex": 1,
1445
- "endIndex": 2
1446
- },
1447
- "isOptional": false
1448
- },
1449
- {
1450
- "parameterName": "customProperties",
1451
- "parameterTypeTokenRange": {
1452
- "startIndex": 3,
1453
- "endIndex": 4
1454
- },
1455
- "isOptional": true
1456
- }
1457
- ],
1458
- "isOptional": false,
1459
- "isAbstract": false,
1460
- "name": "trackException"
1461
- },
1462
- {
1463
- "kind": "Method",
1464
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackMetric:member(1)",
1465
- "docComment": "",
1466
- "excerptTokens": [
1467
- {
1468
- "kind": "Content",
1469
- "text": "trackMetric(metric: "
1470
- },
1471
- {
1472
- "kind": "Reference",
1473
- "text": "IMetricTelemetry",
1474
- "canonicalReference": "@microsoft/applicationinsights-common!IMetricTelemetry:interface"
1475
- },
1476
- {
1477
- "kind": "Content",
1478
- "text": ", customProperties: "
1479
- },
1480
- {
1481
- "kind": "Reference",
1482
- "text": "ICustomProperties",
1483
- "canonicalReference": "@microsoft/applicationinsights-core-js!ICustomProperties:interface"
1484
- },
1485
- {
1486
- "kind": "Content",
1487
- "text": "): "
1488
- },
1489
- {
1490
- "kind": "Content",
1491
- "text": "void"
1492
- },
1493
- {
1494
- "kind": "Content",
1495
- "text": ";"
1496
- }
1497
- ],
1498
- "isStatic": false,
1499
- "returnTypeTokenRange": {
1500
- "startIndex": 5,
1501
- "endIndex": 6
1502
- },
1503
- "releaseTag": "Public",
1504
- "isProtected": false,
1505
- "overloadIndex": 1,
1506
- "parameters": [
1507
- {
1508
- "parameterName": "metric",
1509
- "parameterTypeTokenRange": {
1510
- "startIndex": 1,
1511
- "endIndex": 2
1512
- },
1513
- "isOptional": false
1514
- },
1515
- {
1516
- "parameterName": "customProperties",
1517
- "parameterTypeTokenRange": {
1518
- "startIndex": 3,
1519
- "endIndex": 4
1520
- },
1521
- "isOptional": false
1522
- }
1523
- ],
1524
- "isOptional": false,
1525
- "isAbstract": false,
1526
- "name": "trackMetric"
1527
- },
1528
- {
1529
- "kind": "Method",
1530
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackPageView:member(1)",
1531
- "docComment": "",
1532
- "excerptTokens": [
1533
- {
1534
- "kind": "Content",
1535
- "text": "trackPageView(pageView: "
1536
- },
1537
- {
1538
- "kind": "Reference",
1539
- "text": "IPageViewTelemetry",
1540
- "canonicalReference": "@microsoft/applicationinsights-common!IPageViewTelemetry:interface"
1541
- },
1542
- {
1543
- "kind": "Content",
1544
- "text": "): "
1545
- },
1546
- {
1547
- "kind": "Content",
1548
- "text": "void"
1549
- },
1550
- {
1551
- "kind": "Content",
1552
- "text": ";"
1553
- }
1554
- ],
1555
- "isStatic": false,
1556
- "returnTypeTokenRange": {
1557
- "startIndex": 3,
1558
- "endIndex": 4
1559
- },
1560
- "releaseTag": "Public",
1561
- "isProtected": false,
1562
- "overloadIndex": 1,
1563
- "parameters": [
1564
- {
1565
- "parameterName": "pageView",
1566
- "parameterTypeTokenRange": {
1567
- "startIndex": 1,
1568
- "endIndex": 2
1569
- },
1570
- "isOptional": false
1571
- }
1572
- ],
1573
- "isOptional": false,
1574
- "isAbstract": false,
1575
- "name": "trackPageView"
1576
- },
1577
- {
1578
- "kind": "Method",
1579
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin#trackTrace:member(1)",
1580
- "docComment": "",
1581
- "excerptTokens": [
1582
- {
1583
- "kind": "Content",
1584
- "text": "trackTrace(trace: "
1585
- },
1586
- {
1587
- "kind": "Reference",
1588
- "text": "ITraceTelemetry",
1589
- "canonicalReference": "@microsoft/applicationinsights-common!ITraceTelemetry:interface"
1590
- },
1591
- {
1592
- "kind": "Content",
1593
- "text": ", customProperties?: "
1594
- },
1595
- {
1596
- "kind": "Reference",
1597
- "text": "ICustomProperties",
1598
- "canonicalReference": "@microsoft/applicationinsights-core-js!ICustomProperties:interface"
1599
- },
1600
- {
1601
- "kind": "Content",
1602
- "text": "): "
1603
- },
1604
- {
1605
- "kind": "Content",
1606
- "text": "void"
1607
- },
1608
- {
1609
- "kind": "Content",
1610
- "text": ";"
1611
- }
1612
- ],
1613
- "isStatic": false,
1614
- "returnTypeTokenRange": {
1615
- "startIndex": 5,
1616
- "endIndex": 6
1617
- },
1618
- "releaseTag": "Public",
1619
- "isProtected": false,
1620
- "overloadIndex": 1,
1621
- "parameters": [
1622
- {
1623
- "parameterName": "trace",
1624
- "parameterTypeTokenRange": {
1625
- "startIndex": 1,
1626
- "endIndex": 2
1627
- },
1628
- "isOptional": false
1629
- },
1630
- {
1631
- "parameterName": "customProperties",
1632
- "parameterTypeTokenRange": {
1633
- "startIndex": 3,
1634
- "endIndex": 4
1635
- },
1636
- "isOptional": true
1637
- }
1638
- ],
1639
- "isOptional": false,
1640
- "isAbstract": false,
1641
- "name": "trackTrace"
1642
- }
1643
- ],
1644
- "extendsTokenRange": {
1645
- "startIndex": 1,
1646
- "endIndex": 2
1647
- },
1648
- "implementsTokenRanges": []
1649
- },
1650
- {
1651
- "kind": "Function",
1652
- "canonicalReference": "@microsoft/applicationinsights-react-js!useAppInsightsContext:function(1)",
1653
- "docComment": "",
1654
- "excerptTokens": [
1655
- {
1656
- "kind": "Content",
1657
- "text": "useAppInsightsContext: () => "
1658
- },
1659
- {
1660
- "kind": "Reference",
1661
- "text": "ReactPlugin",
1662
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class"
1663
- }
1664
- ],
1665
- "fileUrlPath": "types/AppInsightsContext.d.ts",
1666
- "returnTypeTokenRange": {
1667
- "startIndex": 1,
1668
- "endIndex": 2
1669
- },
1670
- "releaseTag": "Public",
1671
- "overloadIndex": 1,
1672
- "parameters": [],
1673
- "name": "useAppInsightsContext"
1674
- },
1675
- {
1676
- "kind": "Function",
1677
- "canonicalReference": "@microsoft/applicationinsights-react-js!useTrackEvent:function(1)",
1678
- "docComment": "",
1679
- "excerptTokens": [
1680
- {
1681
- "kind": "Content",
1682
- "text": "export default function useCustomEvent<T>(reactPlugin: "
1683
- },
1684
- {
1685
- "kind": "Reference",
1686
- "text": "ReactPlugin",
1687
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class"
1688
- },
1689
- {
1690
- "kind": "Content",
1691
- "text": ", eventName: "
1692
- },
1693
- {
1694
- "kind": "Content",
1695
- "text": "string"
1696
- },
1697
- {
1698
- "kind": "Content",
1699
- "text": ", eventData: "
1700
- },
1701
- {
1702
- "kind": "Content",
1703
- "text": "T"
1704
- },
1705
- {
1706
- "kind": "Content",
1707
- "text": ", skipFirstRun?: "
1708
- },
1709
- {
1710
- "kind": "Content",
1711
- "text": "boolean"
1712
- },
1713
- {
1714
- "kind": "Content",
1715
- "text": "): "
1716
- },
1717
- {
1718
- "kind": "Reference",
1719
- "text": "AIReactCustomEvent",
1720
- "canonicalReference": "@microsoft/applicationinsights-react-js!~AIReactCustomEvent:type"
1721
- },
1722
- {
1723
- "kind": "Content",
1724
- "text": "<T>"
1725
- },
1726
- {
1727
- "kind": "Content",
1728
- "text": ";"
1729
- }
1730
- ],
1731
- "fileUrlPath": "types/useTrackEvent.d.ts",
1732
- "returnTypeTokenRange": {
1733
- "startIndex": 9,
1734
- "endIndex": 11
1735
- },
1736
- "releaseTag": "Public",
1737
- "overloadIndex": 1,
1738
- "parameters": [
1739
- {
1740
- "parameterName": "reactPlugin",
1741
- "parameterTypeTokenRange": {
1742
- "startIndex": 1,
1743
- "endIndex": 2
1744
- },
1745
- "isOptional": false
1746
- },
1747
- {
1748
- "parameterName": "eventName",
1749
- "parameterTypeTokenRange": {
1750
- "startIndex": 3,
1751
- "endIndex": 4
1752
- },
1753
- "isOptional": false
1754
- },
1755
- {
1756
- "parameterName": "eventData",
1757
- "parameterTypeTokenRange": {
1758
- "startIndex": 5,
1759
- "endIndex": 6
1760
- },
1761
- "isOptional": false
1762
- },
1763
- {
1764
- "parameterName": "skipFirstRun",
1765
- "parameterTypeTokenRange": {
1766
- "startIndex": 7,
1767
- "endIndex": 8
1768
- },
1769
- "isOptional": true
1770
- }
1771
- ],
1772
- "typeParameters": [
1773
- {
1774
- "typeParameterName": "T",
1775
- "constraintTokenRange": {
1776
- "startIndex": 0,
1777
- "endIndex": 0
1778
- },
1779
- "defaultTypeTokenRange": {
1780
- "startIndex": 0,
1781
- "endIndex": 0
1782
- }
1783
- }
1784
- ],
1785
- "name": "useTrackEvent"
1786
- },
1787
- {
1788
- "kind": "Function",
1789
- "canonicalReference": "@microsoft/applicationinsights-react-js!useTrackMetric:function(1)",
1790
- "docComment": "",
1791
- "excerptTokens": [
1792
- {
1793
- "kind": "Content",
1794
- "text": "useComponentTracking: (reactPlugin: "
1795
- },
1796
- {
1797
- "kind": "Reference",
1798
- "text": "ReactPlugin",
1799
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class"
1800
- },
1801
- {
1802
- "kind": "Content",
1803
- "text": ", componentName: "
1804
- },
1805
- {
1806
- "kind": "Content",
1807
- "text": "string"
1808
- },
1809
- {
1810
- "kind": "Content",
1811
- "text": ", customProperties?: "
1812
- },
1813
- {
1814
- "kind": "Reference",
1815
- "text": "ICustomProperties",
1816
- "canonicalReference": "@microsoft/applicationinsights-core-js!ICustomProperties:interface"
1817
- },
1818
- {
1819
- "kind": "Content",
1820
- "text": ") => "
1821
- },
1822
- {
1823
- "kind": "Content",
1824
- "text": "() => void"
1825
- }
1826
- ],
1827
- "fileUrlPath": "types/useTrackMetric.d.ts",
1828
- "returnTypeTokenRange": {
1829
- "startIndex": 7,
1830
- "endIndex": 8
1831
- },
1832
- "releaseTag": "Public",
1833
- "overloadIndex": 1,
1834
- "parameters": [
1835
- {
1836
- "parameterName": "reactPlugin",
1837
- "parameterTypeTokenRange": {
1838
- "startIndex": 1,
1839
- "endIndex": 2
1840
- },
1841
- "isOptional": false
1842
- },
1843
- {
1844
- "parameterName": "componentName",
1845
- "parameterTypeTokenRange": {
1846
- "startIndex": 3,
1847
- "endIndex": 4
1848
- },
1849
- "isOptional": false
1850
- },
1851
- {
1852
- "parameterName": "customProperties",
1853
- "parameterTypeTokenRange": {
1854
- "startIndex": 5,
1855
- "endIndex": 6
1856
- },
1857
- "isOptional": true
1858
- }
1859
- ],
1860
- "name": "useTrackMetric"
1861
- },
1862
- {
1863
- "kind": "Function",
1864
- "canonicalReference": "@microsoft/applicationinsights-react-js!withAITracking:function(1)",
1865
- "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",
1866
- "excerptTokens": [
1867
- {
1868
- "kind": "Content",
1869
- "text": "export default function withAITracking<P>(reactPlugin: "
1870
- },
1871
- {
1872
- "kind": "Reference",
1873
- "text": "ReactPlugin",
1874
- "canonicalReference": "@microsoft/applicationinsights-react-js!ReactPlugin:class"
1875
- },
1876
- {
1877
- "kind": "Content",
1878
- "text": ", Component: "
1879
- },
1880
- {
1881
- "kind": "Reference",
1882
- "text": "React.ComponentType",
1883
- "canonicalReference": "@types/react!React.ComponentType:type"
1884
- },
1885
- {
1886
- "kind": "Content",
1887
- "text": "<P>"
1888
- },
1889
- {
1890
- "kind": "Content",
1891
- "text": ", componentName?: "
1892
- },
1893
- {
1894
- "kind": "Content",
1895
- "text": "string"
1896
- },
1897
- {
1898
- "kind": "Content",
1899
- "text": ", className?: "
1900
- },
1901
- {
1902
- "kind": "Content",
1903
- "text": "string"
1904
- },
1905
- {
1906
- "kind": "Content",
1907
- "text": "): "
1908
- },
1909
- {
1910
- "kind": "Reference",
1911
- "text": "React.ComponentClass",
1912
- "canonicalReference": "@types/react!React.ComponentClass:interface"
1913
- },
1914
- {
1915
- "kind": "Content",
1916
- "text": "<P>"
1917
- },
1918
- {
1919
- "kind": "Content",
1920
- "text": ";"
1921
- }
1922
- ],
1923
- "fileUrlPath": "types/withAITracking.d.ts",
1924
- "returnTypeTokenRange": {
1925
- "startIndex": 10,
1926
- "endIndex": 12
1927
- },
1928
- "releaseTag": "Public",
1929
- "overloadIndex": 1,
1930
- "parameters": [
1931
- {
1932
- "parameterName": "reactPlugin",
1933
- "parameterTypeTokenRange": {
1934
- "startIndex": 1,
1935
- "endIndex": 2
1936
- },
1937
- "isOptional": false
1938
- },
1939
- {
1940
- "parameterName": "Component",
1941
- "parameterTypeTokenRange": {
1942
- "startIndex": 3,
1943
- "endIndex": 5
1944
- },
1945
- "isOptional": false
1946
- },
1947
- {
1948
- "parameterName": "componentName",
1949
- "parameterTypeTokenRange": {
1950
- "startIndex": 6,
1951
- "endIndex": 7
1952
- },
1953
- "isOptional": true
1954
- },
1955
- {
1956
- "parameterName": "className",
1957
- "parameterTypeTokenRange": {
1958
- "startIndex": 8,
1959
- "endIndex": 9
1960
- },
1961
- "isOptional": true
1962
- }
1963
- ],
1964
- "typeParameters": [
1965
- {
1966
- "typeParameterName": "P",
1967
- "constraintTokenRange": {
1968
- "startIndex": 0,
1969
- "endIndex": 0
1970
- },
1971
- "defaultTypeTokenRange": {
1972
- "startIndex": 0,
1973
- "endIndex": 0
1974
- }
1975
- }
1976
- ],
1977
- "name": "withAITracking"
1978
- }
1979
- ]
1980
- }
1981
- ]
1982
- }