@todesktop/shared 7.188.13 → 7.188.14

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.
@@ -179,14 +179,18 @@ export interface WindowsCustomManifest extends CustomManifest {
179
179
  artifacts: Record<WindowsArtifactName, Record<WindowsArch, CustomManifestArtifactDetails | null> | null>;
180
180
  }
181
181
  export interface SmokeTestProgress {
182
+ abState?: SmokeTestState;
182
183
  appLaunched?: boolean;
183
184
  appUpdated?: boolean;
185
+ bcState?: SmokeTestState;
186
+ code?: string;
184
187
  message?: string;
185
188
  progress: number;
186
189
  screenshot?: string;
187
- state: 'progress' | 'done' | 'error' | 'skipped';
190
+ state: SmokeTestState;
188
191
  updatedAppHasNoMainErrors?: boolean;
189
192
  }
193
+ export declare type SmokeTestState = 'progress' | 'done' | 'error' | 'skipped';
190
194
  export declare const hasBuildKickedOff: (build: Build) => boolean;
191
195
  export declare const isPlatformBuildRunning: (platformBuild: PlatformBuild) => boolean;
192
196
  export declare const isCiBuildRunning: (build: Build) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.13",
3
+ "version": "7.188.14",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -256,15 +256,20 @@ export interface WindowsCustomManifest extends CustomManifest {
256
256
  }
257
257
 
258
258
  export interface SmokeTestProgress {
259
+ abState?: SmokeTestState;
259
260
  appLaunched?: boolean;
260
261
  appUpdated?: boolean;
262
+ bcState?: SmokeTestState;
263
+ code?: string; // string currently, since it's still a subject to change
261
264
  message?: string;
262
265
  progress: number;
263
266
  screenshot?: string;
264
- state: 'progress' | 'done' | 'error' | 'skipped';
267
+ state: SmokeTestState;
265
268
  updatedAppHasNoMainErrors?: boolean;
266
269
  }
267
270
 
271
+ export type SmokeTestState = 'progress' | 'done' | 'error' | 'skipped';
272
+
268
273
  export const hasBuildKickedOff = (build: Build): boolean => {
269
274
  if (!build) {
270
275
  return false;