@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 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;
@@ -109,6 +109,7 @@ export interface Build {
109
109
  linux?: PlatformBuild;
110
110
  mac?: PlatformBuild;
111
111
  onBuildFinishedWebhook?: string;
112
+ partiallyReleasedAt?: ISODate;
112
113
  projectConfig?: string;
113
114
  releasedAt?: ISODate;
114
115
  shouldCodeSign: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.35",
3
+ "version": "7.188.37",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
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;