@microsoft/sp-diagnostics 1.22.0-beta.3 → 1.22.0-beta.5
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/dist/78359e4b-07c2-43c6-8d0b-d060b4d577e8.manifest.json +1 -1
- package/dist/index-internal-beta.d.ts +164 -10
- package/dist/index-internal-public.d.ts +164 -10
- package/dist/index-internal.d.ts +164 -10
- package/lib/Api/ExecutionQueue.d.ts +2 -4
- package/lib/Api/ExecutionQueue.d.ts.map +1 -1
- package/lib/Api/ExecutionQueue.js +4 -6
- package/lib/Api/LogSource.d.ts +1 -1
- package/lib/Api/LogSource.d.ts.map +1 -1
- package/lib/Api/LogSource.js +1 -1
- package/lib/Api/Trace/TraceLogger.d.ts +3 -4
- package/lib/Api/Trace/TraceLogger.d.ts.map +1 -1
- package/lib/Api/Trace/TraceLogger.js +3 -4
- package/lib/IDiagnosticsSettings.d.ts +2 -0
- package/lib/IDiagnosticsSettings.d.ts.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib-commonjs/Api/ExecutionQueue.js +4 -6
- package/lib-commonjs/Api/LogSource.js +1 -1
- package/lib-commonjs/Api/Trace/TraceLogger.js +3 -4
- package/package.json +6 -6
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import type { ILogHandler } from '@microsoft/sp-core-library';
|
|
9
|
-
import type { IQosEndSchema } from '@msinternal/odsp-core-bundle';
|
|
10
9
|
import { ServiceKey } from '@microsoft/sp-core-library';
|
|
11
10
|
import type { ServiceScope } from '@microsoft/sp-core-library';
|
|
12
11
|
import type { _VetoValues } from '@microsoft/sp-core-library';
|
|
@@ -31,13 +30,7 @@ import type { _VetoValues } from '@microsoft/sp-core-library';
|
|
|
31
30
|
|
|
32
31
|
/* Excluded from this release type: _IABExperiment */
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
* Options for clearing telemetry settings including top level and nested properties
|
|
36
|
-
*/
|
|
37
|
-
declare interface IClearSettingsOptions {
|
|
38
|
-
diagnosticSettings?: (keyof _IDiagnosticsSettings)[];
|
|
39
|
-
extraDiagnosticInfo?: (keyof _IExtraDiagnosticInfo)[];
|
|
40
|
-
}
|
|
33
|
+
/* Excluded from this release type: _IClearSettingsOptions */
|
|
41
34
|
|
|
42
35
|
/* Excluded from this release type: _ICustomerPromiseErrorDetails */
|
|
43
36
|
|
|
@@ -49,6 +42,10 @@ declare interface IClearSettingsOptions {
|
|
|
49
42
|
|
|
50
43
|
/* Excluded from this release type: _IEngagementHandler */
|
|
51
44
|
|
|
45
|
+
declare interface IExtraData {
|
|
46
|
+
[key: string]: {} | string | number | boolean | null | undefined;
|
|
47
|
+
}
|
|
48
|
+
|
|
52
49
|
/* Excluded from this release type: _IExtraDataForCustomerPromise */
|
|
53
50
|
|
|
54
51
|
/* Excluded from this release type: _IExtraDiagnosticInfo */
|
|
@@ -65,8 +62,70 @@ declare interface IClearSettingsOptions {
|
|
|
65
62
|
|
|
66
63
|
/* Excluded from this release type: _ILogVerboseData */
|
|
67
64
|
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
* Privacy data wrapper for telemetry data.
|
|
68
|
+
*/
|
|
69
|
+
declare interface IPrivacyData<T> {
|
|
70
|
+
/** The actual value */
|
|
71
|
+
_value: T;
|
|
72
|
+
/** The type of privacy data */
|
|
73
|
+
_type: IPrivacyDataType;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* Privacy data type.
|
|
79
|
+
* safe: The data is safe to log.
|
|
80
|
+
* unsafe: The data is not safe to log and should be scrubbed or dropped.
|
|
81
|
+
*/
|
|
82
|
+
declare type IPrivacyDataType = 'safe' | 'unsafe';
|
|
83
|
+
|
|
68
84
|
/* Excluded from this release type: _IQos */
|
|
69
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
declare interface IQosEndSchema {
|
|
90
|
+
/**
|
|
91
|
+
* This is the name of the qos event
|
|
92
|
+
*/
|
|
93
|
+
name?: string;
|
|
94
|
+
/**
|
|
95
|
+
* This is a endTime override for the qos event
|
|
96
|
+
*/
|
|
97
|
+
endTimeOverride?: number;
|
|
98
|
+
/**
|
|
99
|
+
* This is result code for the qos event
|
|
100
|
+
*/
|
|
101
|
+
resultCode?: string;
|
|
102
|
+
/**
|
|
103
|
+
* This is the result type enum
|
|
104
|
+
*/
|
|
105
|
+
resultType: ResultTypeEnum;
|
|
106
|
+
/**
|
|
107
|
+
* This is the error message to be logged with failed result
|
|
108
|
+
*/
|
|
109
|
+
error?: string | IPrivacyData<string>;
|
|
110
|
+
/**
|
|
111
|
+
* An optional stack trace to be logged with the error
|
|
112
|
+
*/
|
|
113
|
+
stackTrace?: IPrivacyData<string>;
|
|
114
|
+
/**
|
|
115
|
+
* This is the random extra data for the qos event
|
|
116
|
+
*/
|
|
117
|
+
extraData?: IExtraData;
|
|
118
|
+
/**
|
|
119
|
+
* Extra data for the qos event that should be logged as aggregatable metrics
|
|
120
|
+
*/
|
|
121
|
+
extraMetrics?: IExtraData;
|
|
122
|
+
/**
|
|
123
|
+
* The object type against which the event was invoked.
|
|
124
|
+
* e.g. 'File', 'Folder', 'List', etc.
|
|
125
|
+
*/
|
|
126
|
+
objectType?: ObjectTypeValues;
|
|
127
|
+
}
|
|
128
|
+
|
|
70
129
|
/* Excluded from this release type: _IQosExtraData */
|
|
71
130
|
|
|
72
131
|
/* Excluded from this release type: _IQosStartEvent */
|
|
@@ -93,11 +152,97 @@ declare interface IClearSettingsOptions {
|
|
|
93
152
|
|
|
94
153
|
/* Excluded from this release type: _LogSource */
|
|
95
154
|
|
|
96
|
-
|
|
97
|
-
export declare const _logSourceServiceKey: ServiceKey<_LogSource>;
|
|
155
|
+
/* Excluded from this release type: _logSourceServiceKey */
|
|
98
156
|
|
|
99
157
|
/* Excluded from this release type: _LogType */
|
|
100
158
|
|
|
159
|
+
declare const ObjectTypes: {
|
|
160
|
+
readonly NPSRating1: 1;
|
|
161
|
+
readonly NPSRating2: 1;
|
|
162
|
+
readonly NPSRating3: 1;
|
|
163
|
+
readonly NPSRating4: 1;
|
|
164
|
+
readonly NPSRating5: 1;
|
|
165
|
+
readonly Recent: 1;
|
|
166
|
+
readonly Site: 1;
|
|
167
|
+
readonly spJoinedTeam: 1;
|
|
168
|
+
readonly MyOrganizationAssets: 1;
|
|
169
|
+
readonly MyLists: 1;
|
|
170
|
+
readonly RecentLists: 1;
|
|
171
|
+
readonly DocsInCommon: 1;
|
|
172
|
+
readonly Channel: 1;
|
|
173
|
+
readonly OtherUserFiles: 1;
|
|
174
|
+
readonly ListItem: 1;
|
|
175
|
+
readonly Libraries: 1;
|
|
176
|
+
readonly File: 1;
|
|
177
|
+
readonly Files: 1;
|
|
178
|
+
readonly MobileDevice: 1;
|
|
179
|
+
readonly AllPhotos: 1;
|
|
180
|
+
readonly 'CloudStorage-undefined': 1;
|
|
181
|
+
readonly 'CloudStorage-BOX': 1;
|
|
182
|
+
readonly 'CloudStorage-DROPBOX': 1;
|
|
183
|
+
readonly 'CloudStorage-EGNYTE': 1;
|
|
184
|
+
readonly 'CloudStorage-GOOGLEDRIVE': 1;
|
|
185
|
+
readonly 'CloudStorage-SHAREFILE': 1;
|
|
186
|
+
readonly 'CloudStorage-SharePoint': 1;
|
|
187
|
+
readonly Downloads: 1;
|
|
188
|
+
readonly PhoneLink: 1;
|
|
189
|
+
readonly Shared: 1;
|
|
190
|
+
readonly SuggestedSite: 1;
|
|
191
|
+
readonly PhotoStream: 1;
|
|
192
|
+
readonly LargestFiles: 1;
|
|
193
|
+
readonly StockImages: 1;
|
|
194
|
+
readonly BingSearch: 1;
|
|
195
|
+
readonly Local: 1;
|
|
196
|
+
readonly Link: 1;
|
|
197
|
+
readonly custom: 1;
|
|
198
|
+
readonly outOfBox: 1;
|
|
199
|
+
readonly Links: 1;
|
|
200
|
+
readonly 'Sharing.getAuthToken': 1;
|
|
201
|
+
readonly Computed: 1;
|
|
202
|
+
readonly LinkTitle: 1;
|
|
203
|
+
readonly Text: 1;
|
|
204
|
+
readonly Number: 1;
|
|
205
|
+
readonly Currency: 1;
|
|
206
|
+
readonly Boolean: 1;
|
|
207
|
+
readonly URL: 1;
|
|
208
|
+
readonly Lookup: 1;
|
|
209
|
+
readonly LookupMulti: 1;
|
|
210
|
+
readonly MultiLine: 1;
|
|
211
|
+
readonly RTE: 1;
|
|
212
|
+
readonly Choice: 1;
|
|
213
|
+
readonly MultiChoice: 1;
|
|
214
|
+
readonly User: 1;
|
|
215
|
+
readonly UserMulti: 1;
|
|
216
|
+
readonly DateTime: 1;
|
|
217
|
+
readonly Thumbnail: 1;
|
|
218
|
+
readonly MMD: 1;
|
|
219
|
+
readonly Default: 1;
|
|
220
|
+
readonly Unknown: 1;
|
|
221
|
+
readonly Home: 1;
|
|
222
|
+
readonly MyFiles: 1;
|
|
223
|
+
readonly SharedWithMe: 1;
|
|
224
|
+
readonly SharedByMe: 1;
|
|
225
|
+
readonly Favorites: 1;
|
|
226
|
+
readonly RecycleBin: 1;
|
|
227
|
+
readonly People: 1;
|
|
228
|
+
readonly PeopleL2: 1;
|
|
229
|
+
readonly PeopleL2Folder: 1;
|
|
230
|
+
readonly PeopleL2LegacyFolder: 1;
|
|
231
|
+
readonly MountedFolder: 1;
|
|
232
|
+
readonly MountedLegacyFolder: 1;
|
|
233
|
+
readonly Meetings: 1;
|
|
234
|
+
readonly MeetingsL2: 1;
|
|
235
|
+
readonly DocumentLibrary: 1;
|
|
236
|
+
readonly AllSites: 1;
|
|
237
|
+
readonly Folder: 1;
|
|
238
|
+
readonly LegacyFolder: 1;
|
|
239
|
+
readonly List: 1;
|
|
240
|
+
readonly Search: 1;
|
|
241
|
+
readonly '3rdPartyApp': 1;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
declare type ObjectTypeValues = keyof typeof ObjectTypes;
|
|
245
|
+
|
|
101
246
|
/* Excluded from this release type: _PageType */
|
|
102
247
|
|
|
103
248
|
/* Excluded from this release type: _PromotedState */
|
|
@@ -110,6 +255,15 @@ export declare const _logSourceServiceKey: ServiceKey<_LogSource>;
|
|
|
110
255
|
|
|
111
256
|
/* Excluded from this release type: _QosResultType */
|
|
112
257
|
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
declare enum ResultTypeEnum {
|
|
262
|
+
Success = 0,
|
|
263
|
+
Failure = 1,
|
|
264
|
+
ExpectedFailure = 2
|
|
265
|
+
}
|
|
266
|
+
|
|
113
267
|
/* Excluded from this release type: _SiteType */
|
|
114
268
|
|
|
115
269
|
/* Excluded from this release type: _TraceLogger */
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import type { ILogHandler } from '@microsoft/sp-core-library';
|
|
9
|
-
import type { IQosEndSchema } from '@msinternal/odsp-core-bundle';
|
|
10
9
|
import { ServiceKey } from '@microsoft/sp-core-library';
|
|
11
10
|
import type { ServiceScope } from '@microsoft/sp-core-library';
|
|
12
11
|
import type { _VetoValues } from '@microsoft/sp-core-library';
|
|
@@ -31,13 +30,7 @@ import type { _VetoValues } from '@microsoft/sp-core-library';
|
|
|
31
30
|
|
|
32
31
|
/* Excluded from this release type: _IABExperiment */
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
* Options for clearing telemetry settings including top level and nested properties
|
|
36
|
-
*/
|
|
37
|
-
declare interface IClearSettingsOptions {
|
|
38
|
-
diagnosticSettings?: (keyof _IDiagnosticsSettings)[];
|
|
39
|
-
extraDiagnosticInfo?: (keyof _IExtraDiagnosticInfo)[];
|
|
40
|
-
}
|
|
33
|
+
/* Excluded from this release type: _IClearSettingsOptions */
|
|
41
34
|
|
|
42
35
|
/* Excluded from this release type: _ICustomerPromiseErrorDetails */
|
|
43
36
|
|
|
@@ -49,6 +42,10 @@ declare interface IClearSettingsOptions {
|
|
|
49
42
|
|
|
50
43
|
/* Excluded from this release type: _IEngagementHandler */
|
|
51
44
|
|
|
45
|
+
declare interface IExtraData {
|
|
46
|
+
[key: string]: {} | string | number | boolean | null | undefined;
|
|
47
|
+
}
|
|
48
|
+
|
|
52
49
|
/* Excluded from this release type: _IExtraDataForCustomerPromise */
|
|
53
50
|
|
|
54
51
|
/* Excluded from this release type: _IExtraDiagnosticInfo */
|
|
@@ -65,8 +62,70 @@ declare interface IClearSettingsOptions {
|
|
|
65
62
|
|
|
66
63
|
/* Excluded from this release type: _ILogVerboseData */
|
|
67
64
|
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
* Privacy data wrapper for telemetry data.
|
|
68
|
+
*/
|
|
69
|
+
declare interface IPrivacyData<T> {
|
|
70
|
+
/** The actual value */
|
|
71
|
+
_value: T;
|
|
72
|
+
/** The type of privacy data */
|
|
73
|
+
_type: IPrivacyDataType;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* Privacy data type.
|
|
79
|
+
* safe: The data is safe to log.
|
|
80
|
+
* unsafe: The data is not safe to log and should be scrubbed or dropped.
|
|
81
|
+
*/
|
|
82
|
+
declare type IPrivacyDataType = 'safe' | 'unsafe';
|
|
83
|
+
|
|
68
84
|
/* Excluded from this release type: _IQos */
|
|
69
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
declare interface IQosEndSchema {
|
|
90
|
+
/**
|
|
91
|
+
* This is the name of the qos event
|
|
92
|
+
*/
|
|
93
|
+
name?: string;
|
|
94
|
+
/**
|
|
95
|
+
* This is a endTime override for the qos event
|
|
96
|
+
*/
|
|
97
|
+
endTimeOverride?: number;
|
|
98
|
+
/**
|
|
99
|
+
* This is result code for the qos event
|
|
100
|
+
*/
|
|
101
|
+
resultCode?: string;
|
|
102
|
+
/**
|
|
103
|
+
* This is the result type enum
|
|
104
|
+
*/
|
|
105
|
+
resultType: ResultTypeEnum;
|
|
106
|
+
/**
|
|
107
|
+
* This is the error message to be logged with failed result
|
|
108
|
+
*/
|
|
109
|
+
error?: string | IPrivacyData<string>;
|
|
110
|
+
/**
|
|
111
|
+
* An optional stack trace to be logged with the error
|
|
112
|
+
*/
|
|
113
|
+
stackTrace?: IPrivacyData<string>;
|
|
114
|
+
/**
|
|
115
|
+
* This is the random extra data for the qos event
|
|
116
|
+
*/
|
|
117
|
+
extraData?: IExtraData;
|
|
118
|
+
/**
|
|
119
|
+
* Extra data for the qos event that should be logged as aggregatable metrics
|
|
120
|
+
*/
|
|
121
|
+
extraMetrics?: IExtraData;
|
|
122
|
+
/**
|
|
123
|
+
* The object type against which the event was invoked.
|
|
124
|
+
* e.g. 'File', 'Folder', 'List', etc.
|
|
125
|
+
*/
|
|
126
|
+
objectType?: ObjectTypeValues;
|
|
127
|
+
}
|
|
128
|
+
|
|
70
129
|
/* Excluded from this release type: _IQosExtraData */
|
|
71
130
|
|
|
72
131
|
/* Excluded from this release type: _IQosStartEvent */
|
|
@@ -93,11 +152,97 @@ declare interface IClearSettingsOptions {
|
|
|
93
152
|
|
|
94
153
|
/* Excluded from this release type: _LogSource */
|
|
95
154
|
|
|
96
|
-
|
|
97
|
-
export declare const _logSourceServiceKey: ServiceKey<_LogSource>;
|
|
155
|
+
/* Excluded from this release type: _logSourceServiceKey */
|
|
98
156
|
|
|
99
157
|
/* Excluded from this release type: _LogType */
|
|
100
158
|
|
|
159
|
+
declare const ObjectTypes: {
|
|
160
|
+
readonly NPSRating1: 1;
|
|
161
|
+
readonly NPSRating2: 1;
|
|
162
|
+
readonly NPSRating3: 1;
|
|
163
|
+
readonly NPSRating4: 1;
|
|
164
|
+
readonly NPSRating5: 1;
|
|
165
|
+
readonly Recent: 1;
|
|
166
|
+
readonly Site: 1;
|
|
167
|
+
readonly spJoinedTeam: 1;
|
|
168
|
+
readonly MyOrganizationAssets: 1;
|
|
169
|
+
readonly MyLists: 1;
|
|
170
|
+
readonly RecentLists: 1;
|
|
171
|
+
readonly DocsInCommon: 1;
|
|
172
|
+
readonly Channel: 1;
|
|
173
|
+
readonly OtherUserFiles: 1;
|
|
174
|
+
readonly ListItem: 1;
|
|
175
|
+
readonly Libraries: 1;
|
|
176
|
+
readonly File: 1;
|
|
177
|
+
readonly Files: 1;
|
|
178
|
+
readonly MobileDevice: 1;
|
|
179
|
+
readonly AllPhotos: 1;
|
|
180
|
+
readonly 'CloudStorage-undefined': 1;
|
|
181
|
+
readonly 'CloudStorage-BOX': 1;
|
|
182
|
+
readonly 'CloudStorage-DROPBOX': 1;
|
|
183
|
+
readonly 'CloudStorage-EGNYTE': 1;
|
|
184
|
+
readonly 'CloudStorage-GOOGLEDRIVE': 1;
|
|
185
|
+
readonly 'CloudStorage-SHAREFILE': 1;
|
|
186
|
+
readonly 'CloudStorage-SharePoint': 1;
|
|
187
|
+
readonly Downloads: 1;
|
|
188
|
+
readonly PhoneLink: 1;
|
|
189
|
+
readonly Shared: 1;
|
|
190
|
+
readonly SuggestedSite: 1;
|
|
191
|
+
readonly PhotoStream: 1;
|
|
192
|
+
readonly LargestFiles: 1;
|
|
193
|
+
readonly StockImages: 1;
|
|
194
|
+
readonly BingSearch: 1;
|
|
195
|
+
readonly Local: 1;
|
|
196
|
+
readonly Link: 1;
|
|
197
|
+
readonly custom: 1;
|
|
198
|
+
readonly outOfBox: 1;
|
|
199
|
+
readonly Links: 1;
|
|
200
|
+
readonly 'Sharing.getAuthToken': 1;
|
|
201
|
+
readonly Computed: 1;
|
|
202
|
+
readonly LinkTitle: 1;
|
|
203
|
+
readonly Text: 1;
|
|
204
|
+
readonly Number: 1;
|
|
205
|
+
readonly Currency: 1;
|
|
206
|
+
readonly Boolean: 1;
|
|
207
|
+
readonly URL: 1;
|
|
208
|
+
readonly Lookup: 1;
|
|
209
|
+
readonly LookupMulti: 1;
|
|
210
|
+
readonly MultiLine: 1;
|
|
211
|
+
readonly RTE: 1;
|
|
212
|
+
readonly Choice: 1;
|
|
213
|
+
readonly MultiChoice: 1;
|
|
214
|
+
readonly User: 1;
|
|
215
|
+
readonly UserMulti: 1;
|
|
216
|
+
readonly DateTime: 1;
|
|
217
|
+
readonly Thumbnail: 1;
|
|
218
|
+
readonly MMD: 1;
|
|
219
|
+
readonly Default: 1;
|
|
220
|
+
readonly Unknown: 1;
|
|
221
|
+
readonly Home: 1;
|
|
222
|
+
readonly MyFiles: 1;
|
|
223
|
+
readonly SharedWithMe: 1;
|
|
224
|
+
readonly SharedByMe: 1;
|
|
225
|
+
readonly Favorites: 1;
|
|
226
|
+
readonly RecycleBin: 1;
|
|
227
|
+
readonly People: 1;
|
|
228
|
+
readonly PeopleL2: 1;
|
|
229
|
+
readonly PeopleL2Folder: 1;
|
|
230
|
+
readonly PeopleL2LegacyFolder: 1;
|
|
231
|
+
readonly MountedFolder: 1;
|
|
232
|
+
readonly MountedLegacyFolder: 1;
|
|
233
|
+
readonly Meetings: 1;
|
|
234
|
+
readonly MeetingsL2: 1;
|
|
235
|
+
readonly DocumentLibrary: 1;
|
|
236
|
+
readonly AllSites: 1;
|
|
237
|
+
readonly Folder: 1;
|
|
238
|
+
readonly LegacyFolder: 1;
|
|
239
|
+
readonly List: 1;
|
|
240
|
+
readonly Search: 1;
|
|
241
|
+
readonly '3rdPartyApp': 1;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
declare type ObjectTypeValues = keyof typeof ObjectTypes;
|
|
245
|
+
|
|
101
246
|
/* Excluded from this release type: _PageType */
|
|
102
247
|
|
|
103
248
|
/* Excluded from this release type: _PromotedState */
|
|
@@ -110,6 +255,15 @@ export declare const _logSourceServiceKey: ServiceKey<_LogSource>;
|
|
|
110
255
|
|
|
111
256
|
/* Excluded from this release type: _QosResultType */
|
|
112
257
|
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
declare enum ResultTypeEnum {
|
|
262
|
+
Success = 0,
|
|
263
|
+
Failure = 1,
|
|
264
|
+
ExpectedFailure = 2
|
|
265
|
+
}
|
|
266
|
+
|
|
113
267
|
/* Excluded from this release type: _SiteType */
|
|
114
268
|
|
|
115
269
|
/* Excluded from this release type: _TraceLogger */
|
package/dist/index-internal.d.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import type { ILogHandler } from '@microsoft/sp-core-library';
|
|
9
|
-
import type { IQosEndSchema } from '@msinternal/odsp-core-bundle';
|
|
10
9
|
import { ServiceKey } from '@microsoft/sp-core-library';
|
|
11
10
|
import type { ServiceScope } from '@microsoft/sp-core-library';
|
|
12
11
|
import type { _VetoValues } from '@microsoft/sp-core-library';
|
|
@@ -31,13 +30,7 @@ import type { _VetoValues } from '@microsoft/sp-core-library';
|
|
|
31
30
|
|
|
32
31
|
/* Excluded from this release type: _IABExperiment */
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
* Options for clearing telemetry settings including top level and nested properties
|
|
36
|
-
*/
|
|
37
|
-
declare interface IClearSettingsOptions {
|
|
38
|
-
diagnosticSettings?: (keyof _IDiagnosticsSettings)[];
|
|
39
|
-
extraDiagnosticInfo?: (keyof _IExtraDiagnosticInfo)[];
|
|
40
|
-
}
|
|
33
|
+
/* Excluded from this release type: _IClearSettingsOptions */
|
|
41
34
|
|
|
42
35
|
/* Excluded from this release type: _ICustomerPromiseErrorDetails */
|
|
43
36
|
|
|
@@ -49,6 +42,10 @@ declare interface IClearSettingsOptions {
|
|
|
49
42
|
|
|
50
43
|
/* Excluded from this release type: _IEngagementHandler */
|
|
51
44
|
|
|
45
|
+
declare interface IExtraData {
|
|
46
|
+
[key: string]: {} | string | number | boolean | null | undefined;
|
|
47
|
+
}
|
|
48
|
+
|
|
52
49
|
/* Excluded from this release type: _IExtraDataForCustomerPromise */
|
|
53
50
|
|
|
54
51
|
/* Excluded from this release type: _IExtraDiagnosticInfo */
|
|
@@ -65,8 +62,70 @@ declare interface IClearSettingsOptions {
|
|
|
65
62
|
|
|
66
63
|
/* Excluded from this release type: _ILogVerboseData */
|
|
67
64
|
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
* Privacy data wrapper for telemetry data.
|
|
68
|
+
*/
|
|
69
|
+
declare interface IPrivacyData<T> {
|
|
70
|
+
/** The actual value */
|
|
71
|
+
_value: T;
|
|
72
|
+
/** The type of privacy data */
|
|
73
|
+
_type: IPrivacyDataType;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* Privacy data type.
|
|
79
|
+
* safe: The data is safe to log.
|
|
80
|
+
* unsafe: The data is not safe to log and should be scrubbed or dropped.
|
|
81
|
+
*/
|
|
82
|
+
declare type IPrivacyDataType = 'safe' | 'unsafe';
|
|
83
|
+
|
|
68
84
|
/* Excluded from this release type: _IQos */
|
|
69
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
declare interface IQosEndSchema {
|
|
90
|
+
/**
|
|
91
|
+
* This is the name of the qos event
|
|
92
|
+
*/
|
|
93
|
+
name?: string;
|
|
94
|
+
/**
|
|
95
|
+
* This is a endTime override for the qos event
|
|
96
|
+
*/
|
|
97
|
+
endTimeOverride?: number;
|
|
98
|
+
/**
|
|
99
|
+
* This is result code for the qos event
|
|
100
|
+
*/
|
|
101
|
+
resultCode?: string;
|
|
102
|
+
/**
|
|
103
|
+
* This is the result type enum
|
|
104
|
+
*/
|
|
105
|
+
resultType: ResultTypeEnum;
|
|
106
|
+
/**
|
|
107
|
+
* This is the error message to be logged with failed result
|
|
108
|
+
*/
|
|
109
|
+
error?: string | IPrivacyData<string>;
|
|
110
|
+
/**
|
|
111
|
+
* An optional stack trace to be logged with the error
|
|
112
|
+
*/
|
|
113
|
+
stackTrace?: IPrivacyData<string>;
|
|
114
|
+
/**
|
|
115
|
+
* This is the random extra data for the qos event
|
|
116
|
+
*/
|
|
117
|
+
extraData?: IExtraData;
|
|
118
|
+
/**
|
|
119
|
+
* Extra data for the qos event that should be logged as aggregatable metrics
|
|
120
|
+
*/
|
|
121
|
+
extraMetrics?: IExtraData;
|
|
122
|
+
/**
|
|
123
|
+
* The object type against which the event was invoked.
|
|
124
|
+
* e.g. 'File', 'Folder', 'List', etc.
|
|
125
|
+
*/
|
|
126
|
+
objectType?: ObjectTypeValues;
|
|
127
|
+
}
|
|
128
|
+
|
|
70
129
|
/* Excluded from this release type: _IQosExtraData */
|
|
71
130
|
|
|
72
131
|
/* Excluded from this release type: _IQosStartEvent */
|
|
@@ -93,11 +152,97 @@ declare interface IClearSettingsOptions {
|
|
|
93
152
|
|
|
94
153
|
/* Excluded from this release type: _LogSource */
|
|
95
154
|
|
|
96
|
-
|
|
97
|
-
export declare const _logSourceServiceKey: ServiceKey<_LogSource>;
|
|
155
|
+
/* Excluded from this release type: _logSourceServiceKey */
|
|
98
156
|
|
|
99
157
|
/* Excluded from this release type: _LogType */
|
|
100
158
|
|
|
159
|
+
declare const ObjectTypes: {
|
|
160
|
+
readonly NPSRating1: 1;
|
|
161
|
+
readonly NPSRating2: 1;
|
|
162
|
+
readonly NPSRating3: 1;
|
|
163
|
+
readonly NPSRating4: 1;
|
|
164
|
+
readonly NPSRating5: 1;
|
|
165
|
+
readonly Recent: 1;
|
|
166
|
+
readonly Site: 1;
|
|
167
|
+
readonly spJoinedTeam: 1;
|
|
168
|
+
readonly MyOrganizationAssets: 1;
|
|
169
|
+
readonly MyLists: 1;
|
|
170
|
+
readonly RecentLists: 1;
|
|
171
|
+
readonly DocsInCommon: 1;
|
|
172
|
+
readonly Channel: 1;
|
|
173
|
+
readonly OtherUserFiles: 1;
|
|
174
|
+
readonly ListItem: 1;
|
|
175
|
+
readonly Libraries: 1;
|
|
176
|
+
readonly File: 1;
|
|
177
|
+
readonly Files: 1;
|
|
178
|
+
readonly MobileDevice: 1;
|
|
179
|
+
readonly AllPhotos: 1;
|
|
180
|
+
readonly 'CloudStorage-undefined': 1;
|
|
181
|
+
readonly 'CloudStorage-BOX': 1;
|
|
182
|
+
readonly 'CloudStorage-DROPBOX': 1;
|
|
183
|
+
readonly 'CloudStorage-EGNYTE': 1;
|
|
184
|
+
readonly 'CloudStorage-GOOGLEDRIVE': 1;
|
|
185
|
+
readonly 'CloudStorage-SHAREFILE': 1;
|
|
186
|
+
readonly 'CloudStorage-SharePoint': 1;
|
|
187
|
+
readonly Downloads: 1;
|
|
188
|
+
readonly PhoneLink: 1;
|
|
189
|
+
readonly Shared: 1;
|
|
190
|
+
readonly SuggestedSite: 1;
|
|
191
|
+
readonly PhotoStream: 1;
|
|
192
|
+
readonly LargestFiles: 1;
|
|
193
|
+
readonly StockImages: 1;
|
|
194
|
+
readonly BingSearch: 1;
|
|
195
|
+
readonly Local: 1;
|
|
196
|
+
readonly Link: 1;
|
|
197
|
+
readonly custom: 1;
|
|
198
|
+
readonly outOfBox: 1;
|
|
199
|
+
readonly Links: 1;
|
|
200
|
+
readonly 'Sharing.getAuthToken': 1;
|
|
201
|
+
readonly Computed: 1;
|
|
202
|
+
readonly LinkTitle: 1;
|
|
203
|
+
readonly Text: 1;
|
|
204
|
+
readonly Number: 1;
|
|
205
|
+
readonly Currency: 1;
|
|
206
|
+
readonly Boolean: 1;
|
|
207
|
+
readonly URL: 1;
|
|
208
|
+
readonly Lookup: 1;
|
|
209
|
+
readonly LookupMulti: 1;
|
|
210
|
+
readonly MultiLine: 1;
|
|
211
|
+
readonly RTE: 1;
|
|
212
|
+
readonly Choice: 1;
|
|
213
|
+
readonly MultiChoice: 1;
|
|
214
|
+
readonly User: 1;
|
|
215
|
+
readonly UserMulti: 1;
|
|
216
|
+
readonly DateTime: 1;
|
|
217
|
+
readonly Thumbnail: 1;
|
|
218
|
+
readonly MMD: 1;
|
|
219
|
+
readonly Default: 1;
|
|
220
|
+
readonly Unknown: 1;
|
|
221
|
+
readonly Home: 1;
|
|
222
|
+
readonly MyFiles: 1;
|
|
223
|
+
readonly SharedWithMe: 1;
|
|
224
|
+
readonly SharedByMe: 1;
|
|
225
|
+
readonly Favorites: 1;
|
|
226
|
+
readonly RecycleBin: 1;
|
|
227
|
+
readonly People: 1;
|
|
228
|
+
readonly PeopleL2: 1;
|
|
229
|
+
readonly PeopleL2Folder: 1;
|
|
230
|
+
readonly PeopleL2LegacyFolder: 1;
|
|
231
|
+
readonly MountedFolder: 1;
|
|
232
|
+
readonly MountedLegacyFolder: 1;
|
|
233
|
+
readonly Meetings: 1;
|
|
234
|
+
readonly MeetingsL2: 1;
|
|
235
|
+
readonly DocumentLibrary: 1;
|
|
236
|
+
readonly AllSites: 1;
|
|
237
|
+
readonly Folder: 1;
|
|
238
|
+
readonly LegacyFolder: 1;
|
|
239
|
+
readonly List: 1;
|
|
240
|
+
readonly Search: 1;
|
|
241
|
+
readonly '3rdPartyApp': 1;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
declare type ObjectTypeValues = keyof typeof ObjectTypes;
|
|
245
|
+
|
|
101
246
|
/* Excluded from this release type: _PageType */
|
|
102
247
|
|
|
103
248
|
/* Excluded from this release type: _PromotedState */
|
|
@@ -110,6 +255,15 @@ export declare const _logSourceServiceKey: ServiceKey<_LogSource>;
|
|
|
110
255
|
|
|
111
256
|
/* Excluded from this release type: _QosResultType */
|
|
112
257
|
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
declare enum ResultTypeEnum {
|
|
262
|
+
Success = 0,
|
|
263
|
+
Failure = 1,
|
|
264
|
+
ExpectedFailure = 2
|
|
265
|
+
}
|
|
266
|
+
|
|
113
267
|
/* Excluded from this release type: _SiteType */
|
|
114
268
|
|
|
115
269
|
/* Excluded from this release type: _TraceLogger */
|
|
@@ -13,15 +13,13 @@ export default class ExecutionQueue {
|
|
|
13
13
|
/**
|
|
14
14
|
* Determines if the added execution entries should be processed in real time.
|
|
15
15
|
* If this is set to true, a stack with entries will not be saved.
|
|
16
|
-
|
|
17
|
-
get shouldExecuteInRealTime(): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the behavior for this execution stack.
|
|
16
|
+
*
|
|
20
17
|
* When set to true, all entries on stack will be processed and future entries
|
|
21
18
|
* will be executed in real time.
|
|
22
19
|
* When set to false, future entries will be saved in the execution stack for
|
|
23
20
|
* later processing.
|
|
24
21
|
*/
|
|
22
|
+
get shouldExecuteInRealTime(): boolean;
|
|
25
23
|
set shouldExecuteInRealTime(executeInRealTime: boolean);
|
|
26
24
|
/**
|
|
27
25
|
* Registers an external handler to collection for delayed asynchronous processing.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutionQueue.d.ts","sourceRoot":"","sources":["../../src/Api/ExecutionQueue.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,EAAE,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,OAAO,CAAC,wBAAwB,CAAkB;IAClD,OAAO,CAAC,SAAS,CAA8D;IAC/E,OAAO,CAAC,iBAAiB,CAA8B;IAEvD
|
|
1
|
+
{"version":3,"file":"ExecutionQueue.d.ts","sourceRoot":"","sources":["../../src/Api/ExecutionQueue.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,EAAE,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,OAAO,CAAC,wBAAwB,CAAkB;IAClD,OAAO,CAAC,SAAS,CAA8D;IAC/E,OAAO,CAAC,iBAAiB,CAA8B;IAEvD;;;;;;;;OAQG;IACH,IAAW,uBAAuB,IAAI,OAAO,CAE5C;IAED,IAAW,uBAAuB,CAAC,iBAAiB,EAAE,OAAO,EAM5D;IAED;;;OAGG;IACI,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,GAAG,IAAI;IAY3E;;OAEG;IACI,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAU/D;;;OAGG;IACI,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,GAAG,IAAI;IAO9E;;;OAGG;IACI,KAAK,IAAI,IAAI;IAKpB;;;OAGG;IACI,KAAK,IAAI,IAAI;IAKpB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,6BAA6B;IAMrC,OAAO,CAAC,2BAA2B;IAenC,OAAO,CAAC,sBAAsB;CAU/B"}
|
|
@@ -12,17 +12,15 @@ var ExecutionQueue = /** @class */ (function () {
|
|
|
12
12
|
/**
|
|
13
13
|
* Determines if the added execution entries should be processed in real time.
|
|
14
14
|
* If this is set to true, a stack with entries will not be saved.
|
|
15
|
-
|
|
16
|
-
get: function () {
|
|
17
|
-
return this._shouldExecuteInRealTime;
|
|
18
|
-
},
|
|
19
|
-
/**
|
|
20
|
-
* Sets the behavior for this execution stack.
|
|
15
|
+
*
|
|
21
16
|
* When set to true, all entries on stack will be processed and future entries
|
|
22
17
|
* will be executed in real time.
|
|
23
18
|
* When set to false, future entries will be saved in the execution stack for
|
|
24
19
|
* later processing.
|
|
25
20
|
*/
|
|
21
|
+
get: function () {
|
|
22
|
+
return this._shouldExecuteInRealTime;
|
|
23
|
+
},
|
|
26
24
|
set: function (executeInRealTime) {
|
|
27
25
|
this._shouldExecuteInRealTime = executeInRealTime;
|
|
28
26
|
if (this._shouldExecuteInRealTime) {
|
package/lib/Api/LogSource.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogSource.d.ts","sourceRoot":"","sources":["../../src/Api/LogSource.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,UAAU,EAA+B,MAAM,4BAA4B,CAAC;AAErF;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,YAAW,UAAU;IAClD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAE7B;;;OAGG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS;IAI3C,IAAW,EAAE,IAAI,MAAM,CAEtB;IAED;;OAEG;IACI,OAAO,IAAI,OAAO;IAIzB,OAAO;CAKR;AAED,
|
|
1
|
+
{"version":3,"file":"LogSource.d.ts","sourceRoot":"","sources":["../../src/Api/LogSource.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,UAAU,EAA+B,MAAM,4BAA4B,CAAC;AAErF;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,YAAW,UAAU;IAClD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAE7B;;;OAGG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS;IAI3C,IAAW,EAAE,IAAI,MAAM,CAEtB;IAED;;OAEG;IACI,OAAO,IAAI,OAAO;IAIzB,OAAO;CAKR;AAED,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,SAAS,CAKrD,CAAC"}
|
package/lib/Api/LogSource.js
CHANGED
|
@@ -33,7 +33,7 @@ var LogSource = /** @class */ (function () {
|
|
|
33
33
|
return LogSource;
|
|
34
34
|
}());
|
|
35
35
|
export default LogSource;
|
|
36
|
-
/** @
|
|
36
|
+
/** @internal */
|
|
37
37
|
export var logSourceServiceKey = ServiceKey.createCustom('sp-client-base:LogSource', function (serviceScope) {
|
|
38
38
|
return LogSource.create('');
|
|
39
39
|
});
|
|
@@ -87,12 +87,11 @@ export default class TraceLogger {
|
|
|
87
87
|
/**
|
|
88
88
|
* Indicates if the log entries should be output to the console.
|
|
89
89
|
* This flag is set to true by default.
|
|
90
|
-
|
|
91
|
-
static get shouldWriteToConsole(): boolean;
|
|
92
|
-
/**
|
|
90
|
+
*
|
|
93
91
|
* Toggles console output functionality.
|
|
94
|
-
* Property can be
|
|
92
|
+
* Property can be changed by remote caller.
|
|
95
93
|
*/
|
|
94
|
+
static get shouldWriteToConsole(): boolean;
|
|
96
95
|
static set shouldWriteToConsole(shouldWrite: boolean);
|
|
97
96
|
static logVerboseWithLogEntry(source: ILogSource, logEntry: ILogEntry, eventName?: string): void;
|
|
98
97
|
private static _log;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TraceLogger.d.ts","sourceRoot":"","sources":["../../../src/Api/Trace/TraceLogger.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,UAAU,MAAM,eAAe,CAAC;AAG5C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE5F,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B;;OAEG;IACH,OAAc,WAAW,EAAE,UAAU,CAAC,cAAc,CAAC,CAAoC;IAEzF;;OAEG;IACH,OAAc,kBAAkB,EAAE,UAAU,CAAC,qBAAqB,CAAC,CACzB;IAE1C,OAAO,CAAC,MAAM,CAAC,cAAc,CAA4C;IACzE,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAkB;IAEtD;;;;OAIG;WACW,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IAOtD;;;;;;;;;;;;;QAaI;WACU,QAAQ,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI;IAKvG;;;;;;;;;OASG;WACW,YAAY,CAAC,IAAI,EAA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,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI;IAKvG;;;;;;;;;OASG;WACW,YAAY,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;IAMrD;;;;;;;;;;;QAWI;WACU,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAKvF;;;;;;;;;;;OAWG;WACW,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI;IAKzD;;;;;QAKI;WACU,oBAAoB,CAChC,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,MAAM,EAClB,UAAU,CAAC,EAAE,MAAM,GAClB,IAAI;IAMP;;;;;;OAMG;IACH,WAAkB,oBAAoB,IAAI,OAAO,CAEhD;IAED,WAAkB,oBAAoB,CAAC,WAAW,EAAE,OAAO,EAS1D;WASa,sBAAsB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAKvG,OAAO,CAAC,MAAM,CAAC,IAAI;IA2BnB,OAAO,CAAC,MAAM,CAAC,eAAe;IAY9B,OAAO,CAAC,MAAM,CAAC,eAAe;CAgB/B"}
|
|
@@ -101,14 +101,13 @@ var TraceLogger = /** @class */ (function () {
|
|
|
101
101
|
/**
|
|
102
102
|
* Indicates if the log entries should be output to the console.
|
|
103
103
|
* This flag is set to true by default.
|
|
104
|
+
*
|
|
105
|
+
* Toggles console output functionality.
|
|
106
|
+
* Property can be changed by remote caller.
|
|
104
107
|
*/
|
|
105
108
|
get: function () {
|
|
106
109
|
return TraceLogger._shouldWriteToConsole;
|
|
107
110
|
},
|
|
108
|
-
/**
|
|
109
|
-
* Toggles console output functionality.
|
|
110
|
-
* Property can be chaged by remote caller.
|
|
111
|
-
*/
|
|
112
111
|
set: function (shouldWrite) {
|
|
113
112
|
if (TraceLogger._shouldWriteToConsole && !shouldWrite) {
|
|
114
113
|
TraceLogger._logManager.removeHandler(TraceLogger._defaultLogger.log);
|
|
@@ -78,6 +78,8 @@ export interface IExtraDiagnosticInfo {
|
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Options for clearing telemetry settings including top level and nested properties
|
|
81
|
+
*
|
|
82
|
+
* @internal
|
|
81
83
|
*/
|
|
82
84
|
export interface IClearSettingsOptions {
|
|
83
85
|
diagnosticSettings?: (keyof IDiagnosticsSettings)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IDiagnosticsSettings.d.ts","sourceRoot":"","sources":["../src/IDiagnosticsSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,sBAAsB,CAAC;IAErC;;OAEG;IACH,mBAAmB,CAAC,EAAE,oBAAoB,CAAC;CAC5C;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED
|
|
1
|
+
{"version":3,"file":"IDiagnosticsSettings.d.ts","sourceRoot":"","sources":["../src/IDiagnosticsSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,sBAAsB,CAAC;IAErC;;OAEG;IACH,mBAAmB,CAAC,EAAE,oBAAoB,CAAC;CAC5C;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,kBAAkB,CAAC,EAAE,CAAC,MAAM,oBAAoB,CAAC,EAAE,CAAC;IACpD,mBAAmB,CAAC,EAAE,CAAC,MAAM,oBAAoB,CAAC,EAAE,CAAC;CACtD;AAED,eAAe,oBAAoB,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { default as _LogFeature } from './Api/LogFeature';
|
|
|
17
17
|
export { default as _LogSource, logSourceServiceKey as _logSourceServiceKey } from './Api/LogSource';
|
|
18
18
|
export { default as _LogType } from './Api/LogType';
|
|
19
19
|
export { default as _Diagnostics } from './Diagnostics';
|
|
20
|
-
export type { IDiagnosticsSettings as _IDiagnosticsSettings, IExtraDiagnosticInfo as _IExtraDiagnosticInfo } from './IDiagnosticsSettings';
|
|
20
|
+
export type { IDiagnosticsSettings as _IDiagnosticsSettings, IExtraDiagnosticInfo as _IExtraDiagnosticInfo, IClearSettingsOptions as _IClearSettingsOptions } from './IDiagnosticsSettings';
|
|
21
21
|
export type { IDiagnosticContextInfo as _IDiagnosticContextInfo } from './extraData/IDiagnosticContextInfo';
|
|
22
22
|
export { PromotedState as _PromotedState } from './extraData/PromotedState';
|
|
23
23
|
export { PageType as _PageType } from './extraData/PageType';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAClE,YAAY,EACV,aAAa,IAAI,cAAc,EAC/B,cAAc,IAAI,eAAe,EACjC,qBAAqB,IAAI,sBAAsB,EAChD,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3D,YAAY,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrE,YAAY,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzE,YAAY,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,YAAY,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/D,YAAY,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,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6B,EAAE,MAAM,wCAAwC,CAAC;AACvH,YAAY,EAAE,4BAA4B,IAAI,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AACtJ,YAAY,EAAE,4BAA4B,IAAI,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AACtJ,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC/E,YAAY,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACpD,YAAY,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE1E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -14,17 +14,15 @@ var ExecutionQueue = /** @class */ (function () {
|
|
|
14
14
|
/**
|
|
15
15
|
* Determines if the added execution entries should be processed in real time.
|
|
16
16
|
* If this is set to true, a stack with entries will not be saved.
|
|
17
|
-
|
|
18
|
-
get: function () {
|
|
19
|
-
return this._shouldExecuteInRealTime;
|
|
20
|
-
},
|
|
21
|
-
/**
|
|
22
|
-
* Sets the behavior for this execution stack.
|
|
17
|
+
*
|
|
23
18
|
* When set to true, all entries on stack will be processed and future entries
|
|
24
19
|
* will be executed in real time.
|
|
25
20
|
* When set to false, future entries will be saved in the execution stack for
|
|
26
21
|
* later processing.
|
|
27
22
|
*/
|
|
23
|
+
get: function () {
|
|
24
|
+
return this._shouldExecuteInRealTime;
|
|
25
|
+
},
|
|
28
26
|
set: function (executeInRealTime) {
|
|
29
27
|
this._shouldExecuteInRealTime = executeInRealTime;
|
|
30
28
|
if (this._shouldExecuteInRealTime) {
|
|
@@ -36,7 +36,7 @@ var LogSource = /** @class */ (function () {
|
|
|
36
36
|
return LogSource;
|
|
37
37
|
}());
|
|
38
38
|
exports.default = LogSource;
|
|
39
|
-
/** @
|
|
39
|
+
/** @internal */
|
|
40
40
|
exports.logSourceServiceKey = sp_core_library_1.ServiceKey.createCustom('sp-client-base:LogSource', function (serviceScope) {
|
|
41
41
|
return LogSource.create('');
|
|
42
42
|
});
|
|
@@ -104,14 +104,13 @@ var TraceLogger = /** @class */ (function () {
|
|
|
104
104
|
/**
|
|
105
105
|
* Indicates if the log entries should be output to the console.
|
|
106
106
|
* This flag is set to true by default.
|
|
107
|
+
*
|
|
108
|
+
* Toggles console output functionality.
|
|
109
|
+
* Property can be changed by remote caller.
|
|
107
110
|
*/
|
|
108
111
|
get: function () {
|
|
109
112
|
return TraceLogger._shouldWriteToConsole;
|
|
110
113
|
},
|
|
111
|
-
/**
|
|
112
|
-
* Toggles console output functionality.
|
|
113
|
-
* Property can be chaged by remote caller.
|
|
114
|
-
*/
|
|
115
114
|
set: function (shouldWrite) {
|
|
116
115
|
if (TraceLogger._shouldWriteToConsole && !shouldWrite) {
|
|
117
116
|
TraceLogger._logManager.removeHandler(TraceLogger._defaultLogger.log);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-diagnostics",
|
|
3
|
-
"version": "1.22.0-beta.
|
|
3
|
+
"version": "1.22.0-beta.5",
|
|
4
4
|
"description": "Diagnostics tools for the SharePoint Framework",
|
|
5
5
|
"license": "https://aka.ms/spfx/license",
|
|
6
6
|
"homepage": "http://aka.ms/spfx",
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"module": "lib/index.js",
|
|
9
9
|
"typings": "dist/index-internal.d.ts",
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@rushstack/heft": "
|
|
12
|
-
"@swc/helpers": "0.5.12",
|
|
11
|
+
"@rushstack/heft": "1.1.2",
|
|
12
|
+
"@swc/helpers": "^0.5.12",
|
|
13
13
|
"eslint": "8.57.1",
|
|
14
14
|
"tslib": "2.3.1",
|
|
15
|
-
"@msinternal/odsp-core-bundle": "1.4.
|
|
15
|
+
"@msinternal/odsp-core-bundle": "1.4.517",
|
|
16
16
|
"@msinternal/spfx-internal-web-build-rig": "0.1.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@microsoft/sp-core-library": "1.22.0-beta.
|
|
20
|
-
"@microsoft/sp-lodash-subset": "1.22.0-beta.
|
|
19
|
+
"@microsoft/sp-core-library": "1.22.0-beta.5",
|
|
20
|
+
"@microsoft/sp-lodash-subset": "1.22.0-beta.5"
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18.17.1 <19.0.0 || >=22.14.0 < 23.0.0"
|