@todesktop/shared 7.188.13 → 7.188.15
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 -2
- package/lib/desktopify.js +1 -0
- package/package.json +1 -1
- package/src/desktopify.ts +7 -1
package/lib/desktopify.d.ts
CHANGED
|
@@ -37,7 +37,8 @@ export declare enum AnalysisStatus {
|
|
|
37
37
|
downloading = "downloading",
|
|
38
38
|
extracting = "extracting",
|
|
39
39
|
analyzing = "analyzing",
|
|
40
|
-
done = "done"
|
|
40
|
+
done = "done",
|
|
41
|
+
error = "error"
|
|
41
42
|
}
|
|
42
43
|
export declare type Arch = 'ia32' | 'x64' | 'arm64' | 'universal';
|
|
43
44
|
export declare type MacArch = 'x64' | 'arm64' | 'universal';
|
|
@@ -179,14 +180,18 @@ export interface WindowsCustomManifest extends CustomManifest {
|
|
|
179
180
|
artifacts: Record<WindowsArtifactName, Record<WindowsArch, CustomManifestArtifactDetails | null> | null>;
|
|
180
181
|
}
|
|
181
182
|
export interface SmokeTestProgress {
|
|
183
|
+
abState?: SmokeTestState;
|
|
182
184
|
appLaunched?: boolean;
|
|
183
185
|
appUpdated?: boolean;
|
|
186
|
+
bcState?: SmokeTestState;
|
|
187
|
+
code?: string;
|
|
184
188
|
message?: string;
|
|
185
189
|
progress: number;
|
|
186
190
|
screenshot?: string;
|
|
187
|
-
state:
|
|
191
|
+
state: SmokeTestState;
|
|
188
192
|
updatedAppHasNoMainErrors?: boolean;
|
|
189
193
|
}
|
|
194
|
+
export declare type SmokeTestState = 'progress' | 'done' | 'error' | 'skipped';
|
|
190
195
|
export declare const hasBuildKickedOff: (build: Build) => boolean;
|
|
191
196
|
export declare const isPlatformBuildRunning: (platformBuild: PlatformBuild) => boolean;
|
|
192
197
|
export declare const isCiBuildRunning: (build: Build) => boolean;
|
package/lib/desktopify.js
CHANGED
|
@@ -30,6 +30,7 @@ var AnalysisStatus;
|
|
|
30
30
|
AnalysisStatus["extracting"] = "extracting";
|
|
31
31
|
AnalysisStatus["analyzing"] = "analyzing";
|
|
32
32
|
AnalysisStatus["done"] = "done";
|
|
33
|
+
AnalysisStatus["error"] = "error";
|
|
33
34
|
})(AnalysisStatus = exports.AnalysisStatus || (exports.AnalysisStatus = {}));
|
|
34
35
|
var ManifestCategory;
|
|
35
36
|
(function (ManifestCategory) {
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -54,6 +54,7 @@ export enum AnalysisStatus {
|
|
|
54
54
|
extracting = 'extracting',
|
|
55
55
|
analyzing = 'analyzing',
|
|
56
56
|
done = 'done',
|
|
57
|
+
error = 'error',
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
export type Arch = 'ia32' | 'x64' | 'arm64' | 'universal';
|
|
@@ -256,15 +257,20 @@ export interface WindowsCustomManifest extends CustomManifest {
|
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
export interface SmokeTestProgress {
|
|
260
|
+
abState?: SmokeTestState;
|
|
259
261
|
appLaunched?: boolean;
|
|
260
262
|
appUpdated?: boolean;
|
|
263
|
+
bcState?: SmokeTestState;
|
|
264
|
+
code?: string; // string currently, since it's still a subject to change
|
|
261
265
|
message?: string;
|
|
262
266
|
progress: number;
|
|
263
267
|
screenshot?: string;
|
|
264
|
-
state:
|
|
268
|
+
state: SmokeTestState;
|
|
265
269
|
updatedAppHasNoMainErrors?: boolean;
|
|
266
270
|
}
|
|
267
271
|
|
|
272
|
+
export type SmokeTestState = 'progress' | 'done' | 'error' | 'skipped';
|
|
273
|
+
|
|
268
274
|
export const hasBuildKickedOff = (build: Build): boolean => {
|
|
269
275
|
if (!build) {
|
|
270
276
|
return false;
|