@microsoft/applicationinsights-core-js 3.0.0-beta.2302-04 → 3.0.0-beta.2302-06
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 +2 -1
- package/browser/applicationinsights-core-js.integrity.json +9 -9
- package/browser/applicationinsights-core-js.js +236 -141
- package/browser/applicationinsights-core-js.js.map +1 -1
- package/browser/applicationinsights-core-js.min.js +2 -2
- package/browser/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.api.json +813 -41
- package/dist/applicationinsights-core-js.api.md +27 -6
- package/dist/applicationinsights-core-js.d.ts +82 -7
- package/dist/applicationinsights-core-js.js +236 -141
- package/dist/applicationinsights-core-js.js.map +1 -1
- package/dist/applicationinsights-core-js.min.js +2 -2
- package/dist/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.rollup.d.ts +82 -7
- package/dist-esm/Config/ConfigDefaultHelpers.js +103 -0
- package/dist-esm/Config/ConfigDefaultHelpers.js.map +1 -0
- package/dist-esm/Config/ConfigDefaults.js +81 -11
- package/dist-esm/Config/ConfigDefaults.js.map +1 -1
- package/dist-esm/Config/DynamicConfig.js +3 -3
- package/dist-esm/Config/DynamicConfig.js.map +1 -1
- package/dist-esm/Config/DynamicProperty.js +1 -1
- package/dist-esm/Config/DynamicState.js +3 -3
- package/dist-esm/Config/DynamicState.js.map +1 -1
- package/dist-esm/Config/DynamicSupport.js +1 -1
- package/dist-esm/Config/IConfigDefaults.js +1 -1
- package/dist-esm/Config/IDynamicConfigHandler.js +1 -1
- package/dist-esm/Config/IDynamicPropertyHandler.js +1 -1
- package/dist-esm/Config/IDynamicWatcher.js +1 -1
- package/dist-esm/Config/_IDynamicConfigHandlerState.js +1 -1
- package/dist-esm/JavaScriptSDK/AggregationError.js +1 -1
- package/dist-esm/JavaScriptSDK/AppInsightsCore.js +2 -2
- package/dist-esm/JavaScriptSDK/AppInsightsCore.js.map +1 -1
- package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/Constants.js +1 -1
- package/dist-esm/JavaScriptSDK/CookieMgr.js +17 -15
- package/dist-esm/JavaScriptSDK/CookieMgr.js.map +1 -1
- package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
- package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
- package/dist-esm/JavaScriptSDK/EnvUtils.js +3 -3
- package/dist-esm/JavaScriptSDK/EnvUtils.js.map +1 -1
- package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
- package/dist-esm/JavaScriptSDK/HelperFuncs.js +1 -10
- package/dist-esm/JavaScriptSDK/HelperFuncs.js.map +1 -1
- package/dist-esm/JavaScriptSDK/InstrumentHooks.js +12 -9
- package/dist-esm/JavaScriptSDK/InstrumentHooks.js.map +1 -1
- package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
- package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
- package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
- package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
- package/dist-esm/JavaScriptSDK/UnloadHookContainer.js +1 -1
- package/dist-esm/JavaScriptSDK/W3cTraceParent.js +6 -5
- package/dist-esm/JavaScriptSDK/W3cTraceParent.js.map +1 -1
- package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
- package/dist-esm/__DynamicConstants.js +6 -5
- package/dist-esm/__DynamicConstants.js.map +1 -1
- package/dist-esm/applicationinsights-core-js.js +2 -1
- package/dist-esm/applicationinsights-core-js.js.map +1 -1
- package/package.json +1 -1
- package/src/JavaScriptSDK/CookieMgr.ts +14 -13
- package/src/JavaScriptSDK/HelperFuncs.ts +0 -11
- package/src/JavaScriptSDK/InstrumentHooks.ts +11 -8
- package/types/Config/ConfigDefaultHelpers.d.ts +47 -0
- package/types/Config/ConfigDefaults.d.ts +1 -2
- package/types/Config/IConfigDefaults.d.ts +24 -3
- package/types/JavaScriptSDK/InstrumentHooks.d.ts +6 -3
- package/types/__DynamicConstants.d.ts +2 -1
- package/types/applicationinsights-core-js.d.ts +1 -0
|
@@ -6060,6 +6060,658 @@
|
|
|
6060
6060
|
}
|
|
6061
6061
|
]
|
|
6062
6062
|
},
|
|
6063
|
+
{
|
|
6064
|
+
"kind": "Function",
|
|
6065
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!cfgDfBoolean:function(1)",
|
|
6066
|
+
"docComment": "/**\n * Helper which returns an IConfigDefaultCheck instance that will validate and convert the user provided value to a boolean from a string or boolean value\n *\n * @param validator - The IConfigCheckFn function to validate the user provided value\n *\n * @param defaultValue - The default value to apply it not provided or it's not valid\n *\n * @param fallBackName - The fallback configuration name if the current value is not available\n *\n * @returns a new IConfigDefaultCheck structure\n */\n",
|
|
6067
|
+
"excerptTokens": [
|
|
6068
|
+
{
|
|
6069
|
+
"kind": "Content",
|
|
6070
|
+
"text": "export declare function cfgDfBoolean<T, C = "
|
|
6071
|
+
},
|
|
6072
|
+
{
|
|
6073
|
+
"kind": "Reference",
|
|
6074
|
+
"text": "IConfiguration",
|
|
6075
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
6076
|
+
},
|
|
6077
|
+
{
|
|
6078
|
+
"kind": "Content",
|
|
6079
|
+
"text": ">(defaultValue?: "
|
|
6080
|
+
},
|
|
6081
|
+
{
|
|
6082
|
+
"kind": "Content",
|
|
6083
|
+
"text": "boolean"
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
"kind": "Content",
|
|
6087
|
+
"text": ", fallBackName?: "
|
|
6088
|
+
},
|
|
6089
|
+
{
|
|
6090
|
+
"kind": "Content",
|
|
6091
|
+
"text": "keyof T | keyof C | "
|
|
6092
|
+
},
|
|
6093
|
+
{
|
|
6094
|
+
"kind": "Reference",
|
|
6095
|
+
"text": "Array",
|
|
6096
|
+
"canonicalReference": "!Array:interface"
|
|
6097
|
+
},
|
|
6098
|
+
{
|
|
6099
|
+
"kind": "Content",
|
|
6100
|
+
"text": "<keyof T | keyof C>"
|
|
6101
|
+
},
|
|
6102
|
+
{
|
|
6103
|
+
"kind": "Content",
|
|
6104
|
+
"text": "): "
|
|
6105
|
+
},
|
|
6106
|
+
{
|
|
6107
|
+
"kind": "Reference",
|
|
6108
|
+
"text": "IConfigDefaultCheck",
|
|
6109
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck:interface"
|
|
6110
|
+
},
|
|
6111
|
+
{
|
|
6112
|
+
"kind": "Content",
|
|
6113
|
+
"text": "<T, boolean, C>"
|
|
6114
|
+
},
|
|
6115
|
+
{
|
|
6116
|
+
"kind": "Content",
|
|
6117
|
+
"text": ";"
|
|
6118
|
+
}
|
|
6119
|
+
],
|
|
6120
|
+
"fileUrlPath": "types/Config/ConfigDefaultHelpers.d.ts",
|
|
6121
|
+
"returnTypeTokenRange": {
|
|
6122
|
+
"startIndex": 9,
|
|
6123
|
+
"endIndex": 11
|
|
6124
|
+
},
|
|
6125
|
+
"releaseTag": "Public",
|
|
6126
|
+
"overloadIndex": 1,
|
|
6127
|
+
"parameters": [
|
|
6128
|
+
{
|
|
6129
|
+
"parameterName": "defaultValue",
|
|
6130
|
+
"parameterTypeTokenRange": {
|
|
6131
|
+
"startIndex": 3,
|
|
6132
|
+
"endIndex": 4
|
|
6133
|
+
},
|
|
6134
|
+
"isOptional": true
|
|
6135
|
+
},
|
|
6136
|
+
{
|
|
6137
|
+
"parameterName": "fallBackName",
|
|
6138
|
+
"parameterTypeTokenRange": {
|
|
6139
|
+
"startIndex": 5,
|
|
6140
|
+
"endIndex": 8
|
|
6141
|
+
},
|
|
6142
|
+
"isOptional": true
|
|
6143
|
+
}
|
|
6144
|
+
],
|
|
6145
|
+
"typeParameters": [
|
|
6146
|
+
{
|
|
6147
|
+
"typeParameterName": "T",
|
|
6148
|
+
"constraintTokenRange": {
|
|
6149
|
+
"startIndex": 0,
|
|
6150
|
+
"endIndex": 0
|
|
6151
|
+
},
|
|
6152
|
+
"defaultTypeTokenRange": {
|
|
6153
|
+
"startIndex": 0,
|
|
6154
|
+
"endIndex": 0
|
|
6155
|
+
}
|
|
6156
|
+
},
|
|
6157
|
+
{
|
|
6158
|
+
"typeParameterName": "C",
|
|
6159
|
+
"constraintTokenRange": {
|
|
6160
|
+
"startIndex": 0,
|
|
6161
|
+
"endIndex": 0
|
|
6162
|
+
},
|
|
6163
|
+
"defaultTypeTokenRange": {
|
|
6164
|
+
"startIndex": 1,
|
|
6165
|
+
"endIndex": 2
|
|
6166
|
+
}
|
|
6167
|
+
}
|
|
6168
|
+
],
|
|
6169
|
+
"name": "cfgDfBoolean"
|
|
6170
|
+
},
|
|
6171
|
+
{
|
|
6172
|
+
"kind": "Function",
|
|
6173
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!cfgDfFunc:function(1)",
|
|
6174
|
+
"docComment": "/**\n * Helper which returns an IConfigDefaultCheck instance that will validate that the user provided value is a function.\n *\n * @param defaultValue - The default value to apply it not provided or it's not valid\n *\n * @returns a new IConfigDefaultCheck structure\n */\n",
|
|
6175
|
+
"excerptTokens": [
|
|
6176
|
+
{
|
|
6177
|
+
"kind": "Content",
|
|
6178
|
+
"text": "export declare function cfgDfFunc<V, T, C = "
|
|
6179
|
+
},
|
|
6180
|
+
{
|
|
6181
|
+
"kind": "Reference",
|
|
6182
|
+
"text": "IConfiguration",
|
|
6183
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
6184
|
+
},
|
|
6185
|
+
{
|
|
6186
|
+
"kind": "Content",
|
|
6187
|
+
"text": ">(defaultValue?: "
|
|
6188
|
+
},
|
|
6189
|
+
{
|
|
6190
|
+
"kind": "Content",
|
|
6191
|
+
"text": "V"
|
|
6192
|
+
},
|
|
6193
|
+
{
|
|
6194
|
+
"kind": "Content",
|
|
6195
|
+
"text": "): "
|
|
6196
|
+
},
|
|
6197
|
+
{
|
|
6198
|
+
"kind": "Reference",
|
|
6199
|
+
"text": "IConfigDefaultCheck",
|
|
6200
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck:interface"
|
|
6201
|
+
},
|
|
6202
|
+
{
|
|
6203
|
+
"kind": "Content",
|
|
6204
|
+
"text": "<T, V, C>"
|
|
6205
|
+
},
|
|
6206
|
+
{
|
|
6207
|
+
"kind": "Content",
|
|
6208
|
+
"text": ";"
|
|
6209
|
+
}
|
|
6210
|
+
],
|
|
6211
|
+
"fileUrlPath": "types/Config/ConfigDefaultHelpers.d.ts",
|
|
6212
|
+
"returnTypeTokenRange": {
|
|
6213
|
+
"startIndex": 5,
|
|
6214
|
+
"endIndex": 7
|
|
6215
|
+
},
|
|
6216
|
+
"releaseTag": "Public",
|
|
6217
|
+
"overloadIndex": 1,
|
|
6218
|
+
"parameters": [
|
|
6219
|
+
{
|
|
6220
|
+
"parameterName": "defaultValue",
|
|
6221
|
+
"parameterTypeTokenRange": {
|
|
6222
|
+
"startIndex": 3,
|
|
6223
|
+
"endIndex": 4
|
|
6224
|
+
},
|
|
6225
|
+
"isOptional": true
|
|
6226
|
+
}
|
|
6227
|
+
],
|
|
6228
|
+
"typeParameters": [
|
|
6229
|
+
{
|
|
6230
|
+
"typeParameterName": "V",
|
|
6231
|
+
"constraintTokenRange": {
|
|
6232
|
+
"startIndex": 0,
|
|
6233
|
+
"endIndex": 0
|
|
6234
|
+
},
|
|
6235
|
+
"defaultTypeTokenRange": {
|
|
6236
|
+
"startIndex": 0,
|
|
6237
|
+
"endIndex": 0
|
|
6238
|
+
}
|
|
6239
|
+
},
|
|
6240
|
+
{
|
|
6241
|
+
"typeParameterName": "T",
|
|
6242
|
+
"constraintTokenRange": {
|
|
6243
|
+
"startIndex": 0,
|
|
6244
|
+
"endIndex": 0
|
|
6245
|
+
},
|
|
6246
|
+
"defaultTypeTokenRange": {
|
|
6247
|
+
"startIndex": 0,
|
|
6248
|
+
"endIndex": 0
|
|
6249
|
+
}
|
|
6250
|
+
},
|
|
6251
|
+
{
|
|
6252
|
+
"typeParameterName": "C",
|
|
6253
|
+
"constraintTokenRange": {
|
|
6254
|
+
"startIndex": 0,
|
|
6255
|
+
"endIndex": 0
|
|
6256
|
+
},
|
|
6257
|
+
"defaultTypeTokenRange": {
|
|
6258
|
+
"startIndex": 1,
|
|
6259
|
+
"endIndex": 2
|
|
6260
|
+
}
|
|
6261
|
+
}
|
|
6262
|
+
],
|
|
6263
|
+
"name": "cfgDfFunc"
|
|
6264
|
+
},
|
|
6265
|
+
{
|
|
6266
|
+
"kind": "Function",
|
|
6267
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!cfgDfMerge:function(1)",
|
|
6268
|
+
"docComment": "/**\n * Helper which returns an IConfigDefaultCheck instance with the provided field validator\n *\n * @param validator - The IConfigCheckFn function to validate the user provided value\n *\n * @param defaultValue - The default value to apply it not provided or it's not valid\n *\n * @returns a new IConfigDefaultCheck structure\n */\n",
|
|
6269
|
+
"excerptTokens": [
|
|
6270
|
+
{
|
|
6271
|
+
"kind": "Content",
|
|
6272
|
+
"text": "export declare function cfgDfMerge<V, T = "
|
|
6273
|
+
},
|
|
6274
|
+
{
|
|
6275
|
+
"kind": "Reference",
|
|
6276
|
+
"text": "IConfiguration",
|
|
6277
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
6278
|
+
},
|
|
6279
|
+
{
|
|
6280
|
+
"kind": "Content",
|
|
6281
|
+
"text": ", C = "
|
|
6282
|
+
},
|
|
6283
|
+
{
|
|
6284
|
+
"kind": "Reference",
|
|
6285
|
+
"text": "IConfiguration",
|
|
6286
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
6287
|
+
},
|
|
6288
|
+
{
|
|
6289
|
+
"kind": "Content",
|
|
6290
|
+
"text": ">(defaultValue: "
|
|
6291
|
+
},
|
|
6292
|
+
{
|
|
6293
|
+
"kind": "Content",
|
|
6294
|
+
"text": "V | "
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
"kind": "Reference",
|
|
6298
|
+
"text": "IConfigDefaults",
|
|
6299
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaults:type"
|
|
6300
|
+
},
|
|
6301
|
+
{
|
|
6302
|
+
"kind": "Content",
|
|
6303
|
+
"text": "<V, T>"
|
|
6304
|
+
},
|
|
6305
|
+
{
|
|
6306
|
+
"kind": "Content",
|
|
6307
|
+
"text": "): "
|
|
6308
|
+
},
|
|
6309
|
+
{
|
|
6310
|
+
"kind": "Reference",
|
|
6311
|
+
"text": "IConfigDefaultCheck",
|
|
6312
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck:interface"
|
|
6313
|
+
},
|
|
6314
|
+
{
|
|
6315
|
+
"kind": "Content",
|
|
6316
|
+
"text": "<T, V, C>"
|
|
6317
|
+
},
|
|
6318
|
+
{
|
|
6319
|
+
"kind": "Content",
|
|
6320
|
+
"text": ";"
|
|
6321
|
+
}
|
|
6322
|
+
],
|
|
6323
|
+
"fileUrlPath": "types/Config/ConfigDefaultHelpers.d.ts",
|
|
6324
|
+
"returnTypeTokenRange": {
|
|
6325
|
+
"startIndex": 9,
|
|
6326
|
+
"endIndex": 11
|
|
6327
|
+
},
|
|
6328
|
+
"releaseTag": "Public",
|
|
6329
|
+
"overloadIndex": 1,
|
|
6330
|
+
"parameters": [
|
|
6331
|
+
{
|
|
6332
|
+
"parameterName": "defaultValue",
|
|
6333
|
+
"parameterTypeTokenRange": {
|
|
6334
|
+
"startIndex": 5,
|
|
6335
|
+
"endIndex": 8
|
|
6336
|
+
},
|
|
6337
|
+
"isOptional": false
|
|
6338
|
+
}
|
|
6339
|
+
],
|
|
6340
|
+
"typeParameters": [
|
|
6341
|
+
{
|
|
6342
|
+
"typeParameterName": "V",
|
|
6343
|
+
"constraintTokenRange": {
|
|
6344
|
+
"startIndex": 0,
|
|
6345
|
+
"endIndex": 0
|
|
6346
|
+
},
|
|
6347
|
+
"defaultTypeTokenRange": {
|
|
6348
|
+
"startIndex": 0,
|
|
6349
|
+
"endIndex": 0
|
|
6350
|
+
}
|
|
6351
|
+
},
|
|
6352
|
+
{
|
|
6353
|
+
"typeParameterName": "T",
|
|
6354
|
+
"constraintTokenRange": {
|
|
6355
|
+
"startIndex": 0,
|
|
6356
|
+
"endIndex": 0
|
|
6357
|
+
},
|
|
6358
|
+
"defaultTypeTokenRange": {
|
|
6359
|
+
"startIndex": 1,
|
|
6360
|
+
"endIndex": 2
|
|
6361
|
+
}
|
|
6362
|
+
},
|
|
6363
|
+
{
|
|
6364
|
+
"typeParameterName": "C",
|
|
6365
|
+
"constraintTokenRange": {
|
|
6366
|
+
"startIndex": 0,
|
|
6367
|
+
"endIndex": 0
|
|
6368
|
+
},
|
|
6369
|
+
"defaultTypeTokenRange": {
|
|
6370
|
+
"startIndex": 3,
|
|
6371
|
+
"endIndex": 4
|
|
6372
|
+
}
|
|
6373
|
+
}
|
|
6374
|
+
],
|
|
6375
|
+
"name": "cfgDfMerge"
|
|
6376
|
+
},
|
|
6377
|
+
{
|
|
6378
|
+
"kind": "Function",
|
|
6379
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!cfgDfSet:function(1)",
|
|
6380
|
+
"docComment": "/**\n * Helper which returns an IConfigDefaultCheck instance with the provided field set function\n *\n * @param setter - The IConfigCheckFn function to validate the user provided value\n *\n * @param defaultValue - The default value to apply it not provided or it's not valid\n *\n * @returns a new IConfigDefaultCheck structure\n */\n",
|
|
6381
|
+
"excerptTokens": [
|
|
6382
|
+
{
|
|
6383
|
+
"kind": "Content",
|
|
6384
|
+
"text": "export declare function cfgDfSet<V, T, C = "
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
"kind": "Reference",
|
|
6388
|
+
"text": "IConfiguration",
|
|
6389
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
6390
|
+
},
|
|
6391
|
+
{
|
|
6392
|
+
"kind": "Content",
|
|
6393
|
+
"text": ">(setter: "
|
|
6394
|
+
},
|
|
6395
|
+
{
|
|
6396
|
+
"kind": "Reference",
|
|
6397
|
+
"text": "IConfigSetFn",
|
|
6398
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigSetFn:type"
|
|
6399
|
+
},
|
|
6400
|
+
{
|
|
6401
|
+
"kind": "Content",
|
|
6402
|
+
"text": "<T, V>"
|
|
6403
|
+
},
|
|
6404
|
+
{
|
|
6405
|
+
"kind": "Content",
|
|
6406
|
+
"text": ", defaultValue: "
|
|
6407
|
+
},
|
|
6408
|
+
{
|
|
6409
|
+
"kind": "Content",
|
|
6410
|
+
"text": "V"
|
|
6411
|
+
},
|
|
6412
|
+
{
|
|
6413
|
+
"kind": "Content",
|
|
6414
|
+
"text": "): "
|
|
6415
|
+
},
|
|
6416
|
+
{
|
|
6417
|
+
"kind": "Reference",
|
|
6418
|
+
"text": "IConfigDefaultCheck",
|
|
6419
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck:interface"
|
|
6420
|
+
},
|
|
6421
|
+
{
|
|
6422
|
+
"kind": "Content",
|
|
6423
|
+
"text": "<T, V, C>"
|
|
6424
|
+
},
|
|
6425
|
+
{
|
|
6426
|
+
"kind": "Content",
|
|
6427
|
+
"text": ";"
|
|
6428
|
+
}
|
|
6429
|
+
],
|
|
6430
|
+
"fileUrlPath": "types/Config/ConfigDefaultHelpers.d.ts",
|
|
6431
|
+
"returnTypeTokenRange": {
|
|
6432
|
+
"startIndex": 8,
|
|
6433
|
+
"endIndex": 10
|
|
6434
|
+
},
|
|
6435
|
+
"releaseTag": "Public",
|
|
6436
|
+
"overloadIndex": 1,
|
|
6437
|
+
"parameters": [
|
|
6438
|
+
{
|
|
6439
|
+
"parameterName": "setter",
|
|
6440
|
+
"parameterTypeTokenRange": {
|
|
6441
|
+
"startIndex": 3,
|
|
6442
|
+
"endIndex": 5
|
|
6443
|
+
},
|
|
6444
|
+
"isOptional": false
|
|
6445
|
+
},
|
|
6446
|
+
{
|
|
6447
|
+
"parameterName": "defaultValue",
|
|
6448
|
+
"parameterTypeTokenRange": {
|
|
6449
|
+
"startIndex": 6,
|
|
6450
|
+
"endIndex": 7
|
|
6451
|
+
},
|
|
6452
|
+
"isOptional": false
|
|
6453
|
+
}
|
|
6454
|
+
],
|
|
6455
|
+
"typeParameters": [
|
|
6456
|
+
{
|
|
6457
|
+
"typeParameterName": "V",
|
|
6458
|
+
"constraintTokenRange": {
|
|
6459
|
+
"startIndex": 0,
|
|
6460
|
+
"endIndex": 0
|
|
6461
|
+
},
|
|
6462
|
+
"defaultTypeTokenRange": {
|
|
6463
|
+
"startIndex": 0,
|
|
6464
|
+
"endIndex": 0
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
{
|
|
6468
|
+
"typeParameterName": "T",
|
|
6469
|
+
"constraintTokenRange": {
|
|
6470
|
+
"startIndex": 0,
|
|
6471
|
+
"endIndex": 0
|
|
6472
|
+
},
|
|
6473
|
+
"defaultTypeTokenRange": {
|
|
6474
|
+
"startIndex": 0,
|
|
6475
|
+
"endIndex": 0
|
|
6476
|
+
}
|
|
6477
|
+
},
|
|
6478
|
+
{
|
|
6479
|
+
"typeParameterName": "C",
|
|
6480
|
+
"constraintTokenRange": {
|
|
6481
|
+
"startIndex": 0,
|
|
6482
|
+
"endIndex": 0
|
|
6483
|
+
},
|
|
6484
|
+
"defaultTypeTokenRange": {
|
|
6485
|
+
"startIndex": 1,
|
|
6486
|
+
"endIndex": 2
|
|
6487
|
+
}
|
|
6488
|
+
}
|
|
6489
|
+
],
|
|
6490
|
+
"name": "cfgDfSet"
|
|
6491
|
+
},
|
|
6492
|
+
{
|
|
6493
|
+
"kind": "Function",
|
|
6494
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!cfgDfString:function(1)",
|
|
6495
|
+
"docComment": "/**\n * Helper which returns an IConfigDefaultCheck instance that will validate that the user provided value is a function.\n *\n * @param defaultValue - The default string value to apply it not provided or it's not valid, defaults to an empty string\n *\n * @returns a new IConfigDefaultCheck structure\n */\n",
|
|
6496
|
+
"excerptTokens": [
|
|
6497
|
+
{
|
|
6498
|
+
"kind": "Content",
|
|
6499
|
+
"text": "export declare function cfgDfString<T, C = "
|
|
6500
|
+
},
|
|
6501
|
+
{
|
|
6502
|
+
"kind": "Reference",
|
|
6503
|
+
"text": "IConfiguration",
|
|
6504
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
6505
|
+
},
|
|
6506
|
+
{
|
|
6507
|
+
"kind": "Content",
|
|
6508
|
+
"text": ">(defaultValue?: "
|
|
6509
|
+
},
|
|
6510
|
+
{
|
|
6511
|
+
"kind": "Content",
|
|
6512
|
+
"text": "string"
|
|
6513
|
+
},
|
|
6514
|
+
{
|
|
6515
|
+
"kind": "Content",
|
|
6516
|
+
"text": "): "
|
|
6517
|
+
},
|
|
6518
|
+
{
|
|
6519
|
+
"kind": "Reference",
|
|
6520
|
+
"text": "IConfigDefaultCheck",
|
|
6521
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck:interface"
|
|
6522
|
+
},
|
|
6523
|
+
{
|
|
6524
|
+
"kind": "Content",
|
|
6525
|
+
"text": "<T, string, C>"
|
|
6526
|
+
},
|
|
6527
|
+
{
|
|
6528
|
+
"kind": "Content",
|
|
6529
|
+
"text": ";"
|
|
6530
|
+
}
|
|
6531
|
+
],
|
|
6532
|
+
"fileUrlPath": "types/Config/ConfigDefaultHelpers.d.ts",
|
|
6533
|
+
"returnTypeTokenRange": {
|
|
6534
|
+
"startIndex": 5,
|
|
6535
|
+
"endIndex": 7
|
|
6536
|
+
},
|
|
6537
|
+
"releaseTag": "Public",
|
|
6538
|
+
"overloadIndex": 1,
|
|
6539
|
+
"parameters": [
|
|
6540
|
+
{
|
|
6541
|
+
"parameterName": "defaultValue",
|
|
6542
|
+
"parameterTypeTokenRange": {
|
|
6543
|
+
"startIndex": 3,
|
|
6544
|
+
"endIndex": 4
|
|
6545
|
+
},
|
|
6546
|
+
"isOptional": true
|
|
6547
|
+
}
|
|
6548
|
+
],
|
|
6549
|
+
"typeParameters": [
|
|
6550
|
+
{
|
|
6551
|
+
"typeParameterName": "T",
|
|
6552
|
+
"constraintTokenRange": {
|
|
6553
|
+
"startIndex": 0,
|
|
6554
|
+
"endIndex": 0
|
|
6555
|
+
},
|
|
6556
|
+
"defaultTypeTokenRange": {
|
|
6557
|
+
"startIndex": 0,
|
|
6558
|
+
"endIndex": 0
|
|
6559
|
+
}
|
|
6560
|
+
},
|
|
6561
|
+
{
|
|
6562
|
+
"typeParameterName": "C",
|
|
6563
|
+
"constraintTokenRange": {
|
|
6564
|
+
"startIndex": 0,
|
|
6565
|
+
"endIndex": 0
|
|
6566
|
+
},
|
|
6567
|
+
"defaultTypeTokenRange": {
|
|
6568
|
+
"startIndex": 1,
|
|
6569
|
+
"endIndex": 2
|
|
6570
|
+
}
|
|
6571
|
+
}
|
|
6572
|
+
],
|
|
6573
|
+
"name": "cfgDfString"
|
|
6574
|
+
},
|
|
6575
|
+
{
|
|
6576
|
+
"kind": "Function",
|
|
6577
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!cfgDfValidate:function(1)",
|
|
6578
|
+
"docComment": "/**\n * Helper which returns an IConfigDefaultCheck instance with the provided field validator\n *\n * @param validator - The IConfigCheckFn function to validate the user provided value\n *\n * @param defaultValue - The default value to apply it not provided or it's not valid\n *\n * @param fallBackName - The fallback configuration name if the current value is not available\n *\n * @returns a new IConfigDefaultCheck structure\n */\n",
|
|
6579
|
+
"excerptTokens": [
|
|
6580
|
+
{
|
|
6581
|
+
"kind": "Content",
|
|
6582
|
+
"text": "export declare function cfgDfValidate<V, T, C = "
|
|
6583
|
+
},
|
|
6584
|
+
{
|
|
6585
|
+
"kind": "Reference",
|
|
6586
|
+
"text": "IConfiguration",
|
|
6587
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
"kind": "Content",
|
|
6591
|
+
"text": ">(validator: "
|
|
6592
|
+
},
|
|
6593
|
+
{
|
|
6594
|
+
"kind": "Reference",
|
|
6595
|
+
"text": "IConfigCheckFn",
|
|
6596
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigCheckFn:type"
|
|
6597
|
+
},
|
|
6598
|
+
{
|
|
6599
|
+
"kind": "Content",
|
|
6600
|
+
"text": "<V>"
|
|
6601
|
+
},
|
|
6602
|
+
{
|
|
6603
|
+
"kind": "Content",
|
|
6604
|
+
"text": ", defaultValue: "
|
|
6605
|
+
},
|
|
6606
|
+
{
|
|
6607
|
+
"kind": "Content",
|
|
6608
|
+
"text": "V"
|
|
6609
|
+
},
|
|
6610
|
+
{
|
|
6611
|
+
"kind": "Content",
|
|
6612
|
+
"text": ", fallBackName?: "
|
|
6613
|
+
},
|
|
6614
|
+
{
|
|
6615
|
+
"kind": "Content",
|
|
6616
|
+
"text": "keyof T | keyof C | "
|
|
6617
|
+
},
|
|
6618
|
+
{
|
|
6619
|
+
"kind": "Reference",
|
|
6620
|
+
"text": "Array",
|
|
6621
|
+
"canonicalReference": "!Array:interface"
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
"kind": "Content",
|
|
6625
|
+
"text": "<keyof T | keyof C>"
|
|
6626
|
+
},
|
|
6627
|
+
{
|
|
6628
|
+
"kind": "Content",
|
|
6629
|
+
"text": "): "
|
|
6630
|
+
},
|
|
6631
|
+
{
|
|
6632
|
+
"kind": "Reference",
|
|
6633
|
+
"text": "IConfigDefaultCheck",
|
|
6634
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck:interface"
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"kind": "Content",
|
|
6638
|
+
"text": "<T, V, C>"
|
|
6639
|
+
},
|
|
6640
|
+
{
|
|
6641
|
+
"kind": "Content",
|
|
6642
|
+
"text": ";"
|
|
6643
|
+
}
|
|
6644
|
+
],
|
|
6645
|
+
"fileUrlPath": "types/Config/ConfigDefaultHelpers.d.ts",
|
|
6646
|
+
"returnTypeTokenRange": {
|
|
6647
|
+
"startIndex": 12,
|
|
6648
|
+
"endIndex": 14
|
|
6649
|
+
},
|
|
6650
|
+
"releaseTag": "Public",
|
|
6651
|
+
"overloadIndex": 1,
|
|
6652
|
+
"parameters": [
|
|
6653
|
+
{
|
|
6654
|
+
"parameterName": "validator",
|
|
6655
|
+
"parameterTypeTokenRange": {
|
|
6656
|
+
"startIndex": 3,
|
|
6657
|
+
"endIndex": 5
|
|
6658
|
+
},
|
|
6659
|
+
"isOptional": false
|
|
6660
|
+
},
|
|
6661
|
+
{
|
|
6662
|
+
"parameterName": "defaultValue",
|
|
6663
|
+
"parameterTypeTokenRange": {
|
|
6664
|
+
"startIndex": 6,
|
|
6665
|
+
"endIndex": 7
|
|
6666
|
+
},
|
|
6667
|
+
"isOptional": false
|
|
6668
|
+
},
|
|
6669
|
+
{
|
|
6670
|
+
"parameterName": "fallBackName",
|
|
6671
|
+
"parameterTypeTokenRange": {
|
|
6672
|
+
"startIndex": 8,
|
|
6673
|
+
"endIndex": 11
|
|
6674
|
+
},
|
|
6675
|
+
"isOptional": true
|
|
6676
|
+
}
|
|
6677
|
+
],
|
|
6678
|
+
"typeParameters": [
|
|
6679
|
+
{
|
|
6680
|
+
"typeParameterName": "V",
|
|
6681
|
+
"constraintTokenRange": {
|
|
6682
|
+
"startIndex": 0,
|
|
6683
|
+
"endIndex": 0
|
|
6684
|
+
},
|
|
6685
|
+
"defaultTypeTokenRange": {
|
|
6686
|
+
"startIndex": 0,
|
|
6687
|
+
"endIndex": 0
|
|
6688
|
+
}
|
|
6689
|
+
},
|
|
6690
|
+
{
|
|
6691
|
+
"typeParameterName": "T",
|
|
6692
|
+
"constraintTokenRange": {
|
|
6693
|
+
"startIndex": 0,
|
|
6694
|
+
"endIndex": 0
|
|
6695
|
+
},
|
|
6696
|
+
"defaultTypeTokenRange": {
|
|
6697
|
+
"startIndex": 0,
|
|
6698
|
+
"endIndex": 0
|
|
6699
|
+
}
|
|
6700
|
+
},
|
|
6701
|
+
{
|
|
6702
|
+
"typeParameterName": "C",
|
|
6703
|
+
"constraintTokenRange": {
|
|
6704
|
+
"startIndex": 0,
|
|
6705
|
+
"endIndex": 0
|
|
6706
|
+
},
|
|
6707
|
+
"defaultTypeTokenRange": {
|
|
6708
|
+
"startIndex": 1,
|
|
6709
|
+
"endIndex": 2
|
|
6710
|
+
}
|
|
6711
|
+
}
|
|
6712
|
+
],
|
|
6713
|
+
"name": "cfgDfValidate"
|
|
6714
|
+
},
|
|
6063
6715
|
{
|
|
6064
6716
|
"kind": "Function",
|
|
6065
6717
|
"canonicalReference": "@microsoft/applicationinsights-core-js!createClassFromInterface:function(1)",
|
|
@@ -11100,16 +11752,7 @@
|
|
|
11100
11752
|
"excerptTokens": [
|
|
11101
11753
|
{
|
|
11102
11754
|
"kind": "Content",
|
|
11103
|
-
"text": "export interface IConfigDefaultCheck<T, V, C
|
|
11104
|
-
},
|
|
11105
|
-
{
|
|
11106
|
-
"kind": "Reference",
|
|
11107
|
-
"text": "IConfiguration",
|
|
11108
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
11109
|
-
},
|
|
11110
|
-
{
|
|
11111
|
-
"kind": "Content",
|
|
11112
|
-
"text": " = "
|
|
11755
|
+
"text": "export interface IConfigDefaultCheck<T, V, C = "
|
|
11113
11756
|
},
|
|
11114
11757
|
{
|
|
11115
11758
|
"kind": "Reference",
|
|
@@ -11149,12 +11792,12 @@
|
|
|
11149
11792
|
{
|
|
11150
11793
|
"typeParameterName": "C",
|
|
11151
11794
|
"constraintTokenRange": {
|
|
11152
|
-
"startIndex":
|
|
11153
|
-
"endIndex":
|
|
11795
|
+
"startIndex": 0,
|
|
11796
|
+
"endIndex": 0
|
|
11154
11797
|
},
|
|
11155
11798
|
"defaultTypeTokenRange": {
|
|
11156
|
-
"startIndex":
|
|
11157
|
-
"endIndex":
|
|
11799
|
+
"startIndex": 1,
|
|
11800
|
+
"endIndex": 2
|
|
11158
11801
|
}
|
|
11159
11802
|
}
|
|
11160
11803
|
],
|
|
@@ -11256,6 +11899,87 @@
|
|
|
11256
11899
|
"endIndex": 3
|
|
11257
11900
|
}
|
|
11258
11901
|
},
|
|
11902
|
+
{
|
|
11903
|
+
"kind": "PropertySignature",
|
|
11904
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck#mrg:member",
|
|
11905
|
+
"docComment": "/**\n * Specify that any provided value should have the default value(s) merged into the value rather than just using either the default of user provided values. Mergeed objects will automatically be marked as referenced.\n */\n",
|
|
11906
|
+
"excerptTokens": [
|
|
11907
|
+
{
|
|
11908
|
+
"kind": "Content",
|
|
11909
|
+
"text": "mrg?: "
|
|
11910
|
+
},
|
|
11911
|
+
{
|
|
11912
|
+
"kind": "Content",
|
|
11913
|
+
"text": "boolean"
|
|
11914
|
+
},
|
|
11915
|
+
{
|
|
11916
|
+
"kind": "Content",
|
|
11917
|
+
"text": ";"
|
|
11918
|
+
}
|
|
11919
|
+
],
|
|
11920
|
+
"isReadonly": false,
|
|
11921
|
+
"isOptional": true,
|
|
11922
|
+
"releaseTag": "Public",
|
|
11923
|
+
"name": "mrg",
|
|
11924
|
+
"propertyTypeTokenRange": {
|
|
11925
|
+
"startIndex": 1,
|
|
11926
|
+
"endIndex": 2
|
|
11927
|
+
}
|
|
11928
|
+
},
|
|
11929
|
+
{
|
|
11930
|
+
"kind": "PropertySignature",
|
|
11931
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck#rdOnly:member",
|
|
11932
|
+
"docComment": "/**\n * Set this field of the target as read-only, which will block this single named property from ever being changed for the target instance. This does NOT freeze or seal the instance, it just stops the direct re-assignment of the named property, if the value is a non-primitive (ie. an object or array) it's properties will still be mutable.\n *\n * @returns The referenced properties current value\n */\n",
|
|
11933
|
+
"excerptTokens": [
|
|
11934
|
+
{
|
|
11935
|
+
"kind": "Content",
|
|
11936
|
+
"text": "rdOnly?: "
|
|
11937
|
+
},
|
|
11938
|
+
{
|
|
11939
|
+
"kind": "Content",
|
|
11940
|
+
"text": "boolean"
|
|
11941
|
+
},
|
|
11942
|
+
{
|
|
11943
|
+
"kind": "Content",
|
|
11944
|
+
"text": ";"
|
|
11945
|
+
}
|
|
11946
|
+
],
|
|
11947
|
+
"isReadonly": false,
|
|
11948
|
+
"isOptional": true,
|
|
11949
|
+
"releaseTag": "Public",
|
|
11950
|
+
"name": "rdOnly",
|
|
11951
|
+
"propertyTypeTokenRange": {
|
|
11952
|
+
"startIndex": 1,
|
|
11953
|
+
"endIndex": 2
|
|
11954
|
+
}
|
|
11955
|
+
},
|
|
11956
|
+
{
|
|
11957
|
+
"kind": "PropertySignature",
|
|
11958
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck#ref:member",
|
|
11959
|
+
"docComment": "/**\n * Set this field of the target as referenced, which will cause any object or array instance to be updated in-place rather than being entirely replaced. All other values will continue to be replaced. This is required for nested default objects to avoid multiple repetitive updates to listeners\n *\n * @returns The referenced properties current value\n */\n",
|
|
11960
|
+
"excerptTokens": [
|
|
11961
|
+
{
|
|
11962
|
+
"kind": "Content",
|
|
11963
|
+
"text": "ref?: "
|
|
11964
|
+
},
|
|
11965
|
+
{
|
|
11966
|
+
"kind": "Content",
|
|
11967
|
+
"text": "boolean"
|
|
11968
|
+
},
|
|
11969
|
+
{
|
|
11970
|
+
"kind": "Content",
|
|
11971
|
+
"text": ";"
|
|
11972
|
+
}
|
|
11973
|
+
],
|
|
11974
|
+
"isReadonly": false,
|
|
11975
|
+
"isOptional": true,
|
|
11976
|
+
"releaseTag": "Public",
|
|
11977
|
+
"name": "ref",
|
|
11978
|
+
"propertyTypeTokenRange": {
|
|
11979
|
+
"startIndex": 1,
|
|
11980
|
+
"endIndex": 2
|
|
11981
|
+
}
|
|
11982
|
+
},
|
|
11259
11983
|
{
|
|
11260
11984
|
"kind": "PropertySignature",
|
|
11261
11985
|
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaultCheck#set:member",
|
|
@@ -11299,7 +12023,16 @@
|
|
|
11299
12023
|
},
|
|
11300
12024
|
{
|
|
11301
12025
|
"kind": "Content",
|
|
11302
|
-
"text": "V"
|
|
12026
|
+
"text": "V | "
|
|
12027
|
+
},
|
|
12028
|
+
{
|
|
12029
|
+
"kind": "Reference",
|
|
12030
|
+
"text": "IConfigDefaults",
|
|
12031
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfigDefaults:type"
|
|
12032
|
+
},
|
|
12033
|
+
{
|
|
12034
|
+
"kind": "Content",
|
|
12035
|
+
"text": "<V, T>"
|
|
11303
12036
|
},
|
|
11304
12037
|
{
|
|
11305
12038
|
"kind": "Content",
|
|
@@ -11312,7 +12045,7 @@
|
|
|
11312
12045
|
"name": "v",
|
|
11313
12046
|
"propertyTypeTokenRange": {
|
|
11314
12047
|
"startIndex": 1,
|
|
11315
|
-
"endIndex":
|
|
12048
|
+
"endIndex": 4
|
|
11316
12049
|
}
|
|
11317
12050
|
}
|
|
11318
12051
|
],
|
|
@@ -11325,16 +12058,7 @@
|
|
|
11325
12058
|
"excerptTokens": [
|
|
11326
12059
|
{
|
|
11327
12060
|
"kind": "Content",
|
|
11328
|
-
"text": "export type IConfigDefaults<T, C
|
|
11329
|
-
},
|
|
11330
|
-
{
|
|
11331
|
-
"kind": "Reference",
|
|
11332
|
-
"text": "IConfiguration",
|
|
11333
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
11334
|
-
},
|
|
11335
|
-
{
|
|
11336
|
-
"kind": "Content",
|
|
11337
|
-
"text": " = "
|
|
12061
|
+
"text": "export type IConfigDefaults<T, C = "
|
|
11338
12062
|
},
|
|
11339
12063
|
{
|
|
11340
12064
|
"kind": "Reference",
|
|
@@ -11381,18 +12105,18 @@
|
|
|
11381
12105
|
{
|
|
11382
12106
|
"typeParameterName": "C",
|
|
11383
12107
|
"constraintTokenRange": {
|
|
11384
|
-
"startIndex":
|
|
11385
|
-
"endIndex":
|
|
12108
|
+
"startIndex": 0,
|
|
12109
|
+
"endIndex": 0
|
|
11386
12110
|
},
|
|
11387
12111
|
"defaultTypeTokenRange": {
|
|
11388
|
-
"startIndex":
|
|
11389
|
-
"endIndex":
|
|
12112
|
+
"startIndex": 1,
|
|
12113
|
+
"endIndex": 2
|
|
11390
12114
|
}
|
|
11391
12115
|
}
|
|
11392
12116
|
],
|
|
11393
12117
|
"typeTokenRange": {
|
|
11394
|
-
"startIndex":
|
|
11395
|
-
"endIndex":
|
|
12118
|
+
"startIndex": 3,
|
|
12119
|
+
"endIndex": 6
|
|
11396
12120
|
}
|
|
11397
12121
|
},
|
|
11398
12122
|
{
|
|
@@ -15662,7 +16386,7 @@
|
|
|
15662
16386
|
{
|
|
15663
16387
|
"kind": "Function",
|
|
15664
16388
|
"canonicalReference": "@microsoft/applicationinsights-core-js!InstrumentEvent:function(1)",
|
|
15665
|
-
"docComment": "/**\n * Add an instrumentation hook to the provided named \"event\" for the target class / object, this doesn't check whether the named \"event\" is in fact a function and just assigns the instrumentation hook to the target[evtName]\n *\n * @param target - The target object\n *\n * @param evtName - The name of the event\n *\n * @param callbacks - The callbacks to configure and call whenever the function is called\n *\n * @param checkPrototype - If the function doesn't exist on the target should it attempt to hook the prototype function\n */\n",
|
|
16389
|
+
"docComment": "/**\n * Add an instrumentation hook to the provided named \"event\" for the target class / object, this doesn't check whether the named \"event\" is in fact a function and just assigns the instrumentation hook to the target[evtName]\n *\n * @param target - The target object\n *\n * @param evtName - The name of the event\n *\n * @param callbacks - The callbacks to configure and call whenever the function is called\n *\n * @param checkPrototype - If the function doesn't exist on the target should it attempt to hook the prototype function\n *\n * @param checkParentProto - If the function doesn't exist on the target or it's prototype should it attempt to hook the parent's prototype\n */\n",
|
|
15666
16390
|
"excerptTokens": [
|
|
15667
16391
|
{
|
|
15668
16392
|
"kind": "Content",
|
|
@@ -15697,6 +16421,14 @@
|
|
|
15697
16421
|
"kind": "Content",
|
|
15698
16422
|
"text": "boolean"
|
|
15699
16423
|
},
|
|
16424
|
+
{
|
|
16425
|
+
"kind": "Content",
|
|
16426
|
+
"text": ", checkParentProto?: "
|
|
16427
|
+
},
|
|
16428
|
+
{
|
|
16429
|
+
"kind": "Content",
|
|
16430
|
+
"text": "boolean"
|
|
16431
|
+
},
|
|
15700
16432
|
{
|
|
15701
16433
|
"kind": "Content",
|
|
15702
16434
|
"text": "): "
|
|
@@ -15713,8 +16445,8 @@
|
|
|
15713
16445
|
],
|
|
15714
16446
|
"fileUrlPath": "types/JavaScriptSDK/InstrumentHooks.d.ts",
|
|
15715
16447
|
"returnTypeTokenRange": {
|
|
15716
|
-
"startIndex":
|
|
15717
|
-
"endIndex":
|
|
16448
|
+
"startIndex": 11,
|
|
16449
|
+
"endIndex": 12
|
|
15718
16450
|
},
|
|
15719
16451
|
"releaseTag": "Public",
|
|
15720
16452
|
"overloadIndex": 1,
|
|
@@ -15750,6 +16482,14 @@
|
|
|
15750
16482
|
"endIndex": 8
|
|
15751
16483
|
},
|
|
15752
16484
|
"isOptional": true
|
|
16485
|
+
},
|
|
16486
|
+
{
|
|
16487
|
+
"parameterName": "checkParentProto",
|
|
16488
|
+
"parameterTypeTokenRange": {
|
|
16489
|
+
"startIndex": 9,
|
|
16490
|
+
"endIndex": 10
|
|
16491
|
+
},
|
|
16492
|
+
"isOptional": true
|
|
15753
16493
|
}
|
|
15754
16494
|
],
|
|
15755
16495
|
"name": "InstrumentEvent"
|
|
@@ -15757,7 +16497,7 @@
|
|
|
15757
16497
|
{
|
|
15758
16498
|
"kind": "Function",
|
|
15759
16499
|
"canonicalReference": "@microsoft/applicationinsights-core-js!InstrumentFunc:function(1)",
|
|
15760
|
-
"docComment": "/**\n * Intercept the named prototype functions for the target class / object\n *\n * @param target - The target object\n *\n * @param funcName - The function name\n *\n * @param callbacks - The callbacks to configure and call whenever the function is called\n *\n * @param checkPrototype - If the function doesn't exist on the target should it attempt to hook the prototype function\n */\n",
|
|
16500
|
+
"docComment": "/**\n * Intercept the named prototype functions for the target class / object\n *\n * @param target - The target object\n *\n * @param funcName - The function name\n *\n * @param callbacks - The callbacks to configure and call whenever the function is called\n *\n * @param checkPrototype - If the function doesn't exist on the target should it attempt to hook the prototype function\n *\n * @param checkParentProto - If the function doesn't exist on the target or it's prototype should it attempt to hook the parent's prototype\n */\n",
|
|
15761
16501
|
"excerptTokens": [
|
|
15762
16502
|
{
|
|
15763
16503
|
"kind": "Content",
|
|
@@ -15792,6 +16532,14 @@
|
|
|
15792
16532
|
"kind": "Content",
|
|
15793
16533
|
"text": "boolean"
|
|
15794
16534
|
},
|
|
16535
|
+
{
|
|
16536
|
+
"kind": "Content",
|
|
16537
|
+
"text": ", checkParentProto?: "
|
|
16538
|
+
},
|
|
16539
|
+
{
|
|
16540
|
+
"kind": "Content",
|
|
16541
|
+
"text": "boolean"
|
|
16542
|
+
},
|
|
15795
16543
|
{
|
|
15796
16544
|
"kind": "Content",
|
|
15797
16545
|
"text": "): "
|
|
@@ -15808,8 +16556,8 @@
|
|
|
15808
16556
|
],
|
|
15809
16557
|
"fileUrlPath": "types/JavaScriptSDK/InstrumentHooks.d.ts",
|
|
15810
16558
|
"returnTypeTokenRange": {
|
|
15811
|
-
"startIndex":
|
|
15812
|
-
"endIndex":
|
|
16559
|
+
"startIndex": 11,
|
|
16560
|
+
"endIndex": 12
|
|
15813
16561
|
},
|
|
15814
16562
|
"releaseTag": "Public",
|
|
15815
16563
|
"overloadIndex": 1,
|
|
@@ -15845,6 +16593,14 @@
|
|
|
15845
16593
|
"endIndex": 8
|
|
15846
16594
|
},
|
|
15847
16595
|
"isOptional": true
|
|
16596
|
+
},
|
|
16597
|
+
{
|
|
16598
|
+
"parameterName": "checkParentProto",
|
|
16599
|
+
"parameterTypeTokenRange": {
|
|
16600
|
+
"startIndex": 9,
|
|
16601
|
+
"endIndex": 10
|
|
16602
|
+
},
|
|
16603
|
+
"isOptional": true
|
|
15848
16604
|
}
|
|
15849
16605
|
],
|
|
15850
16606
|
"name": "InstrumentFunc"
|
|
@@ -15852,7 +16608,7 @@
|
|
|
15852
16608
|
{
|
|
15853
16609
|
"kind": "Function",
|
|
15854
16610
|
"canonicalReference": "@microsoft/applicationinsights-core-js!InstrumentFuncs:function(1)",
|
|
15855
|
-
"docComment": "/**\n * Intercept the named functions for the target class / object\n *\n * @param target - The target object\n *\n * @param funcNames - The function names to intercept and call\n *\n * @param callbacks - The callbacks to configure and call whenever the function is called\n *\n * @param checkPrototype - If the function doesn't exist on the target should it attempt to hook the prototype function\n */\n",
|
|
16611
|
+
"docComment": "/**\n * Intercept the named functions for the target class / object\n *\n * @param target - The target object\n *\n * @param funcNames - The function names to intercept and call\n *\n * @param callbacks - The callbacks to configure and call whenever the function is called\n *\n * @param checkPrototype - If the function doesn't exist on the target should it attempt to hook the prototype function\n *\n * @param checkParentProto - If the function doesn't exist on the target or it's prototype should it attempt to hook the parent's prototype\n */\n",
|
|
15856
16612
|
"excerptTokens": [
|
|
15857
16613
|
{
|
|
15858
16614
|
"kind": "Content",
|
|
@@ -15887,6 +16643,14 @@
|
|
|
15887
16643
|
"kind": "Content",
|
|
15888
16644
|
"text": "boolean"
|
|
15889
16645
|
},
|
|
16646
|
+
{
|
|
16647
|
+
"kind": "Content",
|
|
16648
|
+
"text": ", checkParentProto?: "
|
|
16649
|
+
},
|
|
16650
|
+
{
|
|
16651
|
+
"kind": "Content",
|
|
16652
|
+
"text": "boolean"
|
|
16653
|
+
},
|
|
15890
16654
|
{
|
|
15891
16655
|
"kind": "Content",
|
|
15892
16656
|
"text": "): "
|
|
@@ -15907,8 +16671,8 @@
|
|
|
15907
16671
|
],
|
|
15908
16672
|
"fileUrlPath": "types/JavaScriptSDK/InstrumentHooks.d.ts",
|
|
15909
16673
|
"returnTypeTokenRange": {
|
|
15910
|
-
"startIndex":
|
|
15911
|
-
"endIndex":
|
|
16674
|
+
"startIndex": 11,
|
|
16675
|
+
"endIndex": 13
|
|
15912
16676
|
},
|
|
15913
16677
|
"releaseTag": "Public",
|
|
15914
16678
|
"overloadIndex": 1,
|
|
@@ -15944,6 +16708,14 @@
|
|
|
15944
16708
|
"endIndex": 8
|
|
15945
16709
|
},
|
|
15946
16710
|
"isOptional": true
|
|
16711
|
+
},
|
|
16712
|
+
{
|
|
16713
|
+
"parameterName": "checkParentProto",
|
|
16714
|
+
"parameterTypeTokenRange": {
|
|
16715
|
+
"startIndex": 9,
|
|
16716
|
+
"endIndex": 10
|
|
16717
|
+
},
|
|
16718
|
+
"isOptional": true
|
|
15947
16719
|
}
|
|
15948
16720
|
],
|
|
15949
16721
|
"name": "InstrumentFuncs"
|