@todesktop/shared 7.188.11 → 7.188.13

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
@@ -82,6 +82,7 @@ export interface IAppMeta {
82
82
  electron?: string;
83
83
  version?: string;
84
84
  };
85
+ releaseRedirections?: ReleaseRedirectionRule[];
85
86
  windowsEVOnboarding?: {
86
87
  provider: WindowsEVOnboardingProvider;
87
88
  tempHSMCertName: string;
@@ -192,6 +193,18 @@ export declare type CustomMacNotarization = {
192
193
  ascProvider?: string;
193
194
  teamId?: string;
194
195
  };
196
+ export declare type ReleaseRedirectionRule = {
197
+ appId: string;
198
+ rule: 'app';
199
+ } | {
200
+ appId: string;
201
+ ipList: string[];
202
+ rule: 'appByIp';
203
+ } | {
204
+ buildId: string;
205
+ ipList: string[];
206
+ rule: 'buildByIp';
207
+ };
195
208
  export interface BaseApp extends Schemable {
196
209
  id: string;
197
210
  appModelId?: string;
@@ -88,6 +88,7 @@ export interface Build {
88
88
  appNotarizaionBundleId: string;
89
89
  appVersion?: SemanticVersion;
90
90
  buildServerExecutionId?: number;
91
+ bundlePhobiaData?: Record<string, BundlePhobiaItem>;
91
92
  ciRunner?: CIRunner;
92
93
  cliConfigSchemaVersion: number;
93
94
  continuousIntegrationServiceName?: string;
@@ -145,6 +146,12 @@ export interface Build {
145
146
  };
146
147
  windows?: PlatformBuild;
147
148
  }
149
+ export declare type BundlePhobiaItem = {
150
+ description: string;
151
+ gzip: string;
152
+ name: string;
153
+ size: number;
154
+ };
148
155
  export declare type ComputedBuildProperties = Pick<Build, 'desktopifyVersion' | 'electronVersionUsed' | 'endedAt' | 'errorMessage' | 'releasedAt' | 'standardUniversalDownloadUrl' | 'startedAt' | 'status' | 'universalDownloadUrl'>;
149
156
  export declare enum ManifestCategory {
150
157
  primary = "primary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.11",
3
+ "version": "7.188.13",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -93,6 +93,7 @@ export interface IAppMeta {
93
93
  electron?: string;
94
94
  version?: string;
95
95
  };
96
+ releaseRedirections?: ReleaseRedirectionRule[];
96
97
  windowsEVOnboarding?: {
97
98
  provider: WindowsEVOnboardingProvider;
98
99
  tempHSMCertName: string;
@@ -216,6 +217,22 @@ export type CustomMacNotarization =
216
217
  teamId?: string;
217
218
  };
218
219
 
220
+ export type ReleaseRedirectionRule =
221
+ | {
222
+ appId: string;
223
+ rule: 'app';
224
+ }
225
+ | {
226
+ appId: string;
227
+ ipList: string[];
228
+ rule: 'appByIp';
229
+ }
230
+ | {
231
+ buildId: string;
232
+ ipList: string[];
233
+ rule: 'buildByIp';
234
+ };
235
+
219
236
  export interface BaseApp extends Schemable {
220
237
  id: string;
221
238
  appModelId?: string;
package/src/desktopify.ts CHANGED
@@ -124,6 +124,7 @@ export interface Build {
124
124
  appNotarizaionBundleId: string;
125
125
  appVersion?: SemanticVersion;
126
126
  buildServerExecutionId?: number;
127
+ bundlePhobiaData?: Record<string, BundlePhobiaItem>;
127
128
  ciRunner?: CIRunner;
128
129
  cliConfigSchemaVersion: number;
129
130
  continuousIntegrationServiceName?: string;
@@ -191,6 +192,13 @@ export interface Build {
191
192
  windows?: PlatformBuild;
192
193
  }
193
194
 
195
+ export type BundlePhobiaItem = {
196
+ description: string;
197
+ gzip: string;
198
+ name: string;
199
+ size: number;
200
+ };
201
+
194
202
  export type ComputedBuildProperties = Pick<
195
203
  Build,
196
204
  | 'desktopifyVersion'