@todesktop/shared 7.188.24 → 7.188.26
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/lib/desktopify.d.ts +7 -9
- package/package.json +1 -1
- package/src/desktopify.ts +7 -9
package/lib/desktopify.d.ts
CHANGED
|
@@ -123,6 +123,7 @@ export interface Build {
|
|
|
123
123
|
staticAnalysis?: {
|
|
124
124
|
status: AnalysisStatus;
|
|
125
125
|
result?: string;
|
|
126
|
+
error?: string;
|
|
126
127
|
};
|
|
127
128
|
dependencyAnalysis?: {
|
|
128
129
|
status: AnalysisStatus;
|
|
@@ -194,11 +195,7 @@ export interface SmokeTestProgress {
|
|
|
194
195
|
}
|
|
195
196
|
export interface SmokeTestPerformance {
|
|
196
197
|
/**
|
|
197
|
-
* Time between process
|
|
198
|
-
*/
|
|
199
|
-
appStartedMs: number;
|
|
200
|
-
/**
|
|
201
|
-
* Time between process spawning and `App#redy event`
|
|
198
|
+
* Time between process.getCreationTime() and `App#redy event`
|
|
202
199
|
*/
|
|
203
200
|
appReadyMs: number;
|
|
204
201
|
/**
|
|
@@ -225,16 +222,17 @@ export interface SmokeTestPerformance {
|
|
|
225
222
|
*/
|
|
226
223
|
memoryUsageRendererProcessMb?: number;
|
|
227
224
|
/**
|
|
228
|
-
* Time between process
|
|
225
|
+
* Time between `process.getCreationTime()` and `initSmokeTest()` of
|
|
226
|
+
* runtime execution
|
|
229
227
|
*/
|
|
230
228
|
runtimeLoadedMs: number;
|
|
231
229
|
/**
|
|
232
|
-
* Time between process
|
|
233
|
-
* if any window is created
|
|
230
|
+
* Time between `process.getCreationTime()` and the first firing of
|
|
231
|
+
* WebContents#dom-ready if any window is created
|
|
234
232
|
*/
|
|
235
233
|
webContentsDomReadyMs?: number;
|
|
236
234
|
/**
|
|
237
|
-
* Time between process
|
|
235
|
+
* Time between `process.getCreationTime()` and the first firing of
|
|
238
236
|
* WebContents#did-finish-load if any window is created
|
|
239
237
|
*/
|
|
240
238
|
webContentsFinishLoadMs?: number;
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -164,6 +164,7 @@ export interface Build {
|
|
|
164
164
|
status: AnalysisStatus;
|
|
165
165
|
// `result` is a stringified JSON object
|
|
166
166
|
result?: string;
|
|
167
|
+
error?: string;
|
|
167
168
|
};
|
|
168
169
|
dependencyAnalysis?: {
|
|
169
170
|
status: AnalysisStatus;
|
|
@@ -272,11 +273,7 @@ export interface SmokeTestProgress {
|
|
|
272
273
|
|
|
273
274
|
export interface SmokeTestPerformance {
|
|
274
275
|
/**
|
|
275
|
-
* Time between process
|
|
276
|
-
*/
|
|
277
|
-
appStartedMs: number;
|
|
278
|
-
/**
|
|
279
|
-
* Time between process spawning and `App#redy event`
|
|
276
|
+
* Time between process.getCreationTime() and `App#redy event`
|
|
280
277
|
*/
|
|
281
278
|
appReadyMs: number;
|
|
282
279
|
/**
|
|
@@ -303,16 +300,17 @@ export interface SmokeTestPerformance {
|
|
|
303
300
|
*/
|
|
304
301
|
memoryUsageRendererProcessMb?: number;
|
|
305
302
|
/**
|
|
306
|
-
* Time between process
|
|
303
|
+
* Time between `process.getCreationTime()` and `initSmokeTest()` of
|
|
304
|
+
* runtime execution
|
|
307
305
|
*/
|
|
308
306
|
runtimeLoadedMs: number;
|
|
309
307
|
/**
|
|
310
|
-
* Time between process
|
|
311
|
-
* if any window is created
|
|
308
|
+
* Time between `process.getCreationTime()` and the first firing of
|
|
309
|
+
* WebContents#dom-ready if any window is created
|
|
312
310
|
*/
|
|
313
311
|
webContentsDomReadyMs?: number;
|
|
314
312
|
/**
|
|
315
|
-
* Time between process
|
|
313
|
+
* Time between `process.getCreationTime()` and the first firing of
|
|
316
314
|
* WebContents#did-finish-load if any window is created
|
|
317
315
|
*/
|
|
318
316
|
webContentsFinishLoadMs?: number;
|