@todesktop/shared 7.188.36 → 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.36",
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 {