html-reporter 11.17.0 → 11.17.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-reporter",
3
- "version": "11.17.0",
3
+ "version": "11.17.2",
4
4
  "description": "Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.",
5
5
  "files": [
6
6
  "build",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-reporter",
3
- "version": "11.17.0",
3
+ "version": "11.17.2",
4
4
  "description": "Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.",
5
5
  "files": [
6
6
  "build",
@@ -4,7 +4,7 @@ import defaultState from '../default-state';
4
4
  import type { Action, Store } from './types';
5
5
  import { ThunkAction } from 'redux-thunk';
6
6
  import { Point } from "../../new-ui/types";
7
- import type { StaticAccepterProgress, StaticAccepterResult } from "../static-accepter-v2";
7
+ import type { StaticAccepterProgress, StaticAccepterResult, StaticAccepterTheme } from "../static-accepter-v2";
8
8
  type StaticAccepterDelayScreenshotPayload = {
9
9
  imageId: string;
10
10
  stateName: string;
@@ -34,6 +34,7 @@ type StaticAccepterPayload = {
34
34
  }[];
35
35
  type StaticAccepterCommitScreenshotOptions = Pick<StaticAccepterConfig, 'repositoryUrl' | 'pullRequestUrl' | 'serviceUrl' | 'moduleUrl' | 'axiosRequestOptions' | 'meta'> & {
36
36
  message: string;
37
+ theme?: StaticAccepterTheme;
37
38
  };
38
39
  export interface CommitResult {
39
40
  error?: Error;
@@ -41,7 +42,7 @@ export interface CommitResult {
41
42
  }
42
43
  export declare const formatStaticAccepterProgress: ({ phase, completed, total }: StaticAccepterProgress) => string;
43
44
  type StaticAccepterCommitScreenshotAction = Action<typeof actionNames.STATIC_ACCEPTER_COMMIT_SCREENSHOT, string[]>;
44
- export declare const staticAccepterCommitScreenshot: (imagesInfo: StaticAccepterPayload, { repositoryUrl, pullRequestUrl, serviceUrl, moduleUrl, message, axiosRequestOptions, meta }: StaticAccepterCommitScreenshotOptions) => ThunkAction<Promise<CommitResult>, Store, void, StaticAccepterCommitScreenshotAction>;
45
+ export declare const staticAccepterCommitScreenshot: (imagesInfo: StaticAccepterPayload, { repositoryUrl, pullRequestUrl, serviceUrl, moduleUrl, message, theme, axiosRequestOptions, meta }: StaticAccepterCommitScreenshotOptions) => ThunkAction<Promise<CommitResult>, Store, void, StaticAccepterCommitScreenshotAction>;
45
46
  type StaticAccepterUpdateToolbarPositionAction = Action<typeof actionNames.STATIC_ACCEPTER_UPDATE_TOOLBAR_OFFSET, {
46
47
  offset: Point;
47
48
  }>;