@todesktop/shared 7.188.35 → 7.188.37
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 +5 -1
- package/lib/desktopify.d.ts +1 -0
- package/package.json +1 -1
- package/src/base.ts +6 -0
- package/src/desktopify.ts +1 -0
package/lib/base.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtraFileReference, FilePath, IAppBuilderLib, Release } from './desktopify';
|
|
1
|
+
import { ExtraFileReference, FilePath, IAppBuilderLib, PlatformName, Release } from './desktopify';
|
|
2
2
|
export interface Schemable {
|
|
3
3
|
schemaVersion?: number;
|
|
4
4
|
}
|
|
@@ -218,6 +218,10 @@ export declare type ReleaseRedirectionRule = {
|
|
|
218
218
|
buildId: string;
|
|
219
219
|
ipList: string[];
|
|
220
220
|
rule: 'buildByIp';
|
|
221
|
+
} | {
|
|
222
|
+
buildId: string;
|
|
223
|
+
platforms: PlatformName[];
|
|
224
|
+
rule: 'buildByPlatform';
|
|
221
225
|
};
|
|
222
226
|
export interface BaseApp extends Schemable {
|
|
223
227
|
id: string;
|
package/lib/desktopify.d.ts
CHANGED
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ExtraFileReference,
|
|
3
3
|
FilePath,
|
|
4
4
|
IAppBuilderLib,
|
|
5
|
+
PlatformName,
|
|
5
6
|
Release,
|
|
6
7
|
} from './desktopify';
|
|
7
8
|
export interface Schemable {
|
|
@@ -248,6 +249,11 @@ export type ReleaseRedirectionRule =
|
|
|
248
249
|
buildId: string;
|
|
249
250
|
ipList: string[];
|
|
250
251
|
rule: 'buildByIp';
|
|
252
|
+
}
|
|
253
|
+
| {
|
|
254
|
+
buildId: string;
|
|
255
|
+
platforms: PlatformName[];
|
|
256
|
+
rule: 'buildByPlatform';
|
|
251
257
|
};
|
|
252
258
|
|
|
253
259
|
export interface BaseApp extends Schemable {
|
package/src/desktopify.ts
CHANGED
|
@@ -149,6 +149,7 @@ export interface Build {
|
|
|
149
149
|
linux?: PlatformBuild;
|
|
150
150
|
mac?: PlatformBuild;
|
|
151
151
|
onBuildFinishedWebhook?: string;
|
|
152
|
+
partiallyReleasedAt?: ISODate;
|
|
152
153
|
projectConfig?: string; // Stringified version of todesktop.json
|
|
153
154
|
releasedAt?: ISODate;
|
|
154
155
|
shouldCodeSign: boolean;
|