@todesktop/shared 7.186.19 → 7.186.21
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 +6 -3
- package/package.json +1 -1
- package/src/desktopify.ts +6 -3
package/lib/desktopify.d.ts
CHANGED
|
@@ -32,7 +32,9 @@ export declare enum BuildStatus {
|
|
|
32
32
|
cancelled = "cancelled"
|
|
33
33
|
}
|
|
34
34
|
export declare type Arch = 'ia32' | 'x64' | 'arm64';
|
|
35
|
-
export declare type MacArch = '
|
|
35
|
+
export declare type MacArch = 'x64' | 'arm64' | 'universal';
|
|
36
|
+
export declare type LinuxArch = 'x64' | 'arm64';
|
|
37
|
+
export declare type WindowsArch = 'ia32' | 'x64' | 'arm64' | 'universal';
|
|
36
38
|
export declare type LinuxArtifactName = 'appImage' | 'deb' | 'rpm' | 'snap';
|
|
37
39
|
export declare type MacArtifactName = 'dmg' | 'zip' | 'installer';
|
|
38
40
|
export declare type WindowsArtifactName = 'msi' | 'nsis' | 'nsis-web' | 'nsis-web-7z' | 'appx';
|
|
@@ -95,6 +97,7 @@ export interface Build {
|
|
|
95
97
|
isBeingCancelled?: boolean;
|
|
96
98
|
linux?: PlatformBuild;
|
|
97
99
|
mac?: PlatformBuild;
|
|
100
|
+
onBuildFinishedWebhook?: string;
|
|
98
101
|
releasedAt?: ISODate;
|
|
99
102
|
shouldCodeSign: boolean;
|
|
100
103
|
shouldRelease: boolean;
|
|
@@ -142,13 +145,13 @@ export interface CustomManifest {
|
|
|
142
145
|
version: SemanticVersion;
|
|
143
146
|
}
|
|
144
147
|
export interface LinuxCustomManifest extends CustomManifest {
|
|
145
|
-
artifacts: Record<LinuxArtifactName, Record<
|
|
148
|
+
artifacts: Record<LinuxArtifactName, Record<LinuxArch, CustomManifestArtifactDetails | null> | null>;
|
|
146
149
|
}
|
|
147
150
|
export interface MacCustomManifest extends CustomManifest {
|
|
148
151
|
artifacts: Record<MacArtifactName, Record<MacArch, CustomManifestArtifactDetails | null> | null>;
|
|
149
152
|
}
|
|
150
153
|
export interface WindowsCustomManifest extends CustomManifest {
|
|
151
|
-
artifacts: Record<WindowsArtifactName, Record<
|
|
154
|
+
artifacts: Record<WindowsArtifactName, Record<WindowsArch, CustomManifestArtifactDetails | null> | null>;
|
|
152
155
|
}
|
|
153
156
|
export interface SmokeTestProgress {
|
|
154
157
|
appLaunched?: boolean;
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -48,7 +48,9 @@ export enum BuildStatus {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export type Arch = 'ia32' | 'x64' | 'arm64';
|
|
51
|
-
export type MacArch = '
|
|
51
|
+
export type MacArch = 'x64' | 'arm64' | 'universal';
|
|
52
|
+
export type LinuxArch = 'x64' | 'arm64';
|
|
53
|
+
export type WindowsArch = 'ia32' | 'x64' | 'arm64' | 'universal';
|
|
52
54
|
export type LinuxArtifactName = 'appImage' | 'deb' | 'rpm' | 'snap';
|
|
53
55
|
export type MacArtifactName = 'dmg' | 'zip' | 'installer';
|
|
54
56
|
export type WindowsArtifactName =
|
|
@@ -134,6 +136,7 @@ export interface Build {
|
|
|
134
136
|
isBeingCancelled?: boolean;
|
|
135
137
|
linux?: PlatformBuild;
|
|
136
138
|
mac?: PlatformBuild;
|
|
139
|
+
onBuildFinishedWebhook?: string;
|
|
137
140
|
releasedAt?: ISODate;
|
|
138
141
|
shouldCodeSign: boolean;
|
|
139
142
|
shouldRelease: boolean;
|
|
@@ -205,7 +208,7 @@ export interface CustomManifest {
|
|
|
205
208
|
export interface LinuxCustomManifest extends CustomManifest {
|
|
206
209
|
artifacts: Record<
|
|
207
210
|
LinuxArtifactName,
|
|
208
|
-
Record<
|
|
211
|
+
Record<LinuxArch, CustomManifestArtifactDetails | null> | null
|
|
209
212
|
>;
|
|
210
213
|
}
|
|
211
214
|
|
|
@@ -219,7 +222,7 @@ export interface MacCustomManifest extends CustomManifest {
|
|
|
219
222
|
export interface WindowsCustomManifest extends CustomManifest {
|
|
220
223
|
artifacts: Record<
|
|
221
224
|
WindowsArtifactName,
|
|
222
|
-
Record<
|
|
225
|
+
Record<WindowsArch, CustomManifestArtifactDetails | null> | null
|
|
223
226
|
>;
|
|
224
227
|
}
|
|
225
228
|
|