@todesktop/shared 7.188.2 → 7.188.4
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 -3
- package/lib/desktopify.js +10 -10
- package/package.json +1 -1
- package/src/desktopify.ts +8 -3
package/lib/desktopify.d.ts
CHANGED
|
@@ -31,12 +31,12 @@ export declare enum BuildStatus {
|
|
|
31
31
|
succeeded = "succeeded",
|
|
32
32
|
cancelled = "cancelled"
|
|
33
33
|
}
|
|
34
|
-
export declare enum
|
|
34
|
+
export declare enum AnalysisStatus {
|
|
35
35
|
notStarted = "notStarted",
|
|
36
36
|
initializing = "initializing",
|
|
37
37
|
downloading = "downloading",
|
|
38
38
|
extracting = "extracting",
|
|
39
|
-
|
|
39
|
+
analyzing = "analyzing",
|
|
40
40
|
done = "done"
|
|
41
41
|
}
|
|
42
42
|
export declare type Arch = 'ia32' | 'x64' | 'arm64' | 'universal';
|
|
@@ -117,7 +117,11 @@ export interface Build {
|
|
|
117
117
|
windows?: SmokeTestProgress;
|
|
118
118
|
};
|
|
119
119
|
staticAnalysis?: {
|
|
120
|
-
status:
|
|
120
|
+
status: AnalysisStatus;
|
|
121
|
+
result?: string;
|
|
122
|
+
};
|
|
123
|
+
dependencyAnalysis?: {
|
|
124
|
+
status: AnalysisStatus;
|
|
121
125
|
result?: string;
|
|
122
126
|
};
|
|
123
127
|
sourcePackageManager?: PackageManager;
|
package/lib/desktopify.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isBuildCancellable = exports.isBuildRunning = exports.isCiBuildRunning = exports.isPlatformBuildRunning = exports.hasBuildKickedOff = exports.ManifestCategory = exports.
|
|
3
|
+
exports.isBuildCancellable = exports.isBuildRunning = exports.isCiBuildRunning = exports.isPlatformBuildRunning = exports.hasBuildKickedOff = exports.ManifestCategory = exports.AnalysisStatus = exports.BuildStatus = exports.PackageManager = exports.PlatformName = void 0;
|
|
4
4
|
var PlatformName;
|
|
5
5
|
(function (PlatformName) {
|
|
6
6
|
PlatformName["linux"] = "linux";
|
|
@@ -22,15 +22,15 @@ var BuildStatus;
|
|
|
22
22
|
BuildStatus["succeeded"] = "succeeded";
|
|
23
23
|
BuildStatus["cancelled"] = "cancelled";
|
|
24
24
|
})(BuildStatus = exports.BuildStatus || (exports.BuildStatus = {}));
|
|
25
|
-
var
|
|
26
|
-
(function (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
})(
|
|
25
|
+
var AnalysisStatus;
|
|
26
|
+
(function (AnalysisStatus) {
|
|
27
|
+
AnalysisStatus["notStarted"] = "notStarted";
|
|
28
|
+
AnalysisStatus["initializing"] = "initializing";
|
|
29
|
+
AnalysisStatus["downloading"] = "downloading";
|
|
30
|
+
AnalysisStatus["extracting"] = "extracting";
|
|
31
|
+
AnalysisStatus["analyzing"] = "analyzing";
|
|
32
|
+
AnalysisStatus["done"] = "done";
|
|
33
|
+
})(AnalysisStatus = exports.AnalysisStatus || (exports.AnalysisStatus = {}));
|
|
34
34
|
var ManifestCategory;
|
|
35
35
|
(function (ManifestCategory) {
|
|
36
36
|
ManifestCategory["primary"] = "primary";
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -47,12 +47,12 @@ export enum BuildStatus {
|
|
|
47
47
|
cancelled = 'cancelled',
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export enum
|
|
50
|
+
export enum AnalysisStatus {
|
|
51
51
|
notStarted = 'notStarted',
|
|
52
52
|
initializing = 'initializing',
|
|
53
53
|
downloading = 'downloading',
|
|
54
54
|
extracting = 'extracting',
|
|
55
|
-
|
|
55
|
+
analyzing = 'analyzing',
|
|
56
56
|
done = 'done',
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -157,7 +157,12 @@ export interface Build {
|
|
|
157
157
|
windows?: SmokeTestProgress;
|
|
158
158
|
};
|
|
159
159
|
staticAnalysis?: {
|
|
160
|
-
status:
|
|
160
|
+
status: AnalysisStatus;
|
|
161
|
+
// `result` is a stringified JSON object
|
|
162
|
+
result?: string;
|
|
163
|
+
};
|
|
164
|
+
dependencyAnalysis?: {
|
|
165
|
+
status: AnalysisStatus;
|
|
161
166
|
// `result` is a stringified JSON object
|
|
162
167
|
result?: string;
|
|
163
168
|
};
|