@todesktop/shared 7.188.1 → 7.188.2
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/base.d.ts +6 -0
- package/lib/desktopify.d.ts +12 -0
- package/lib/desktopify.js +10 -1
- package/package.json +1 -1
- package/src/base.ts +4 -0
- package/src/desktopify.ts +14 -0
package/lib/base.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import { ExtraFileReference, FilePath, IAppBuilderLib, Release } from './desktop
|
|
|
2
2
|
export interface Schemable {
|
|
3
3
|
schemaVersion?: number;
|
|
4
4
|
}
|
|
5
|
+
declare type CompositeIdFileLocationKey = string;
|
|
6
|
+
export declare type StaticAnalysisItem = {
|
|
7
|
+
hidden: boolean;
|
|
8
|
+
};
|
|
5
9
|
export declare type ProgressTypes = 'queued' | 'progress' | 'done' | 'error';
|
|
6
10
|
export interface IChecklistItem {
|
|
7
11
|
[id: string]: boolean;
|
|
@@ -67,6 +71,7 @@ export interface IAppMeta {
|
|
|
67
71
|
linux: IDownloadButtonOptions;
|
|
68
72
|
};
|
|
69
73
|
firstSuccessfulBuildEndedAt?: string;
|
|
74
|
+
staticAnalysis?: Record<CompositeIdFileLocationKey, StaticAnalysisItem>;
|
|
70
75
|
isAppChanged?: boolean;
|
|
71
76
|
isFrameBlocked?: boolean;
|
|
72
77
|
isHttps?: boolean;
|
|
@@ -212,3 +217,4 @@ export interface BaseApp extends Schemable {
|
|
|
212
217
|
description?: string;
|
|
213
218
|
};
|
|
214
219
|
}
|
|
220
|
+
export {};
|
package/lib/desktopify.d.ts
CHANGED
|
@@ -31,6 +31,14 @@ export declare enum BuildStatus {
|
|
|
31
31
|
succeeded = "succeeded",
|
|
32
32
|
cancelled = "cancelled"
|
|
33
33
|
}
|
|
34
|
+
export declare enum StaticAnalysisStatus {
|
|
35
|
+
notStarted = "notStarted",
|
|
36
|
+
initializing = "initializing",
|
|
37
|
+
downloading = "downloading",
|
|
38
|
+
extracting = "extracting",
|
|
39
|
+
anayzing = "anayzing",
|
|
40
|
+
done = "done"
|
|
41
|
+
}
|
|
34
42
|
export declare type Arch = 'ia32' | 'x64' | 'arm64' | 'universal';
|
|
35
43
|
export declare type MacArch = 'x64' | 'arm64' | 'universal';
|
|
36
44
|
export declare type LinuxArch = 'x64' | 'arm64';
|
|
@@ -108,6 +116,10 @@ export interface Build {
|
|
|
108
116
|
mac?: SmokeTestProgress;
|
|
109
117
|
windows?: SmokeTestProgress;
|
|
110
118
|
};
|
|
119
|
+
staticAnalysis?: {
|
|
120
|
+
status: StaticAnalysisStatus;
|
|
121
|
+
result?: string;
|
|
122
|
+
};
|
|
111
123
|
sourcePackageManager?: PackageManager;
|
|
112
124
|
standardUniversalDownloadUrl?: URL;
|
|
113
125
|
startedAt: ISODate;
|
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.BuildStatus = exports.PackageManager = exports.PlatformName = void 0;
|
|
3
|
+
exports.isBuildCancellable = exports.isBuildRunning = exports.isCiBuildRunning = exports.isPlatformBuildRunning = exports.hasBuildKickedOff = exports.ManifestCategory = exports.StaticAnalysisStatus = exports.BuildStatus = exports.PackageManager = exports.PlatformName = void 0;
|
|
4
4
|
var PlatformName;
|
|
5
5
|
(function (PlatformName) {
|
|
6
6
|
PlatformName["linux"] = "linux";
|
|
@@ -22,6 +22,15 @@ var BuildStatus;
|
|
|
22
22
|
BuildStatus["succeeded"] = "succeeded";
|
|
23
23
|
BuildStatus["cancelled"] = "cancelled";
|
|
24
24
|
})(BuildStatus = exports.BuildStatus || (exports.BuildStatus = {}));
|
|
25
|
+
var StaticAnalysisStatus;
|
|
26
|
+
(function (StaticAnalysisStatus) {
|
|
27
|
+
StaticAnalysisStatus["notStarted"] = "notStarted";
|
|
28
|
+
StaticAnalysisStatus["initializing"] = "initializing";
|
|
29
|
+
StaticAnalysisStatus["downloading"] = "downloading";
|
|
30
|
+
StaticAnalysisStatus["extracting"] = "extracting";
|
|
31
|
+
StaticAnalysisStatus["anayzing"] = "anayzing";
|
|
32
|
+
StaticAnalysisStatus["done"] = "done";
|
|
33
|
+
})(StaticAnalysisStatus = exports.StaticAnalysisStatus || (exports.StaticAnalysisStatus = {}));
|
|
25
34
|
var ManifestCategory;
|
|
26
35
|
(function (ManifestCategory) {
|
|
27
36
|
ManifestCategory["primary"] = "primary";
|
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -8,6 +8,9 @@ export interface Schemable {
|
|
|
8
8
|
schemaVersion?: number;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
type CompositeIdFileLocationKey = string;
|
|
12
|
+
export type StaticAnalysisItem = { hidden: boolean };
|
|
13
|
+
|
|
11
14
|
export type ProgressTypes = 'queued' | 'progress' | 'done' | 'error';
|
|
12
15
|
|
|
13
16
|
export interface IChecklistItem {
|
|
@@ -79,6 +82,7 @@ export interface IAppMeta {
|
|
|
79
82
|
linux: IDownloadButtonOptions;
|
|
80
83
|
};
|
|
81
84
|
firstSuccessfulBuildEndedAt?: string;
|
|
85
|
+
staticAnalysis?: Record<CompositeIdFileLocationKey, StaticAnalysisItem>;
|
|
82
86
|
isAppChanged?: boolean;
|
|
83
87
|
isFrameBlocked?: boolean;
|
|
84
88
|
isHttps?: boolean;
|
package/src/desktopify.ts
CHANGED
|
@@ -47,6 +47,15 @@ export enum BuildStatus {
|
|
|
47
47
|
cancelled = 'cancelled',
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
export enum StaticAnalysisStatus {
|
|
51
|
+
notStarted = 'notStarted',
|
|
52
|
+
initializing = 'initializing',
|
|
53
|
+
downloading = 'downloading',
|
|
54
|
+
extracting = 'extracting',
|
|
55
|
+
anayzing = 'anayzing',
|
|
56
|
+
done = 'done',
|
|
57
|
+
}
|
|
58
|
+
|
|
50
59
|
export type Arch = 'ia32' | 'x64' | 'arm64' | 'universal';
|
|
51
60
|
export type MacArch = 'x64' | 'arm64' | 'universal';
|
|
52
61
|
export type LinuxArch = 'x64' | 'arm64';
|
|
@@ -147,6 +156,11 @@ export interface Build {
|
|
|
147
156
|
mac?: SmokeTestProgress;
|
|
148
157
|
windows?: SmokeTestProgress;
|
|
149
158
|
};
|
|
159
|
+
staticAnalysis?: {
|
|
160
|
+
status: StaticAnalysisStatus;
|
|
161
|
+
// `result` is a stringified JSON object
|
|
162
|
+
result?: string;
|
|
163
|
+
};
|
|
150
164
|
// sourceArchiveUrl: URL;
|
|
151
165
|
sourcePackageManager?: PackageManager;
|
|
152
166
|
standardUniversalDownloadUrl?: URL;
|