@alwaysmeticulous/api 2.186.0 → 2.189.0

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.
@@ -140,7 +140,7 @@ export interface ScreenshotDiffResultDifference extends ScreenshotDiffResultComp
140
140
  * If there are too many class names we truncate the {@link changedSectionsClassNames} list,
141
141
  * and this field will be true, otherwise this field will not be present.
142
142
  */
143
- isChangedSectionsClassNamesListTruncated?: true;
143
+ isClassNamesListTruncated?: true;
144
144
  }
145
145
  /**
146
146
  * The base screenshot differed from the head screenshot, but when the head
@@ -35,6 +35,12 @@ export interface TestRunGitHubPushContext {
35
35
  ref: string;
36
36
  /** GitHub Actions run ID that triggered this test run */
37
37
  runId?: number;
38
+ /**
39
+ * Defined if we fell back to marking the trigger as a push, because for some reason we couldn't
40
+ * identify a single pull request to post the comments & checks on; or we don't want to post any
41
+ * comments or checks on any pull requests
42
+ */
43
+ reasonPullRequestIsNotAvailable?: ReasonPullRequestIsNotAvailable;
38
44
  }
39
45
  export interface TestRunGitHubWorkflowDispatchContext {
40
46
  type: "github";
@@ -108,3 +114,4 @@ export interface TestRunBitbucketPushContext {
108
114
  /** Git ref for the branch (/refs/head/<branch>) */
109
115
  ref: string;
110
116
  }
117
+ export type ReasonPullRequestIsNotAvailable = "no-pull-requests-found-for-commit" | "multiple-pull-requests-for-same-commit" | "all-pull-requests-had-skip-meticulous-label" | "only-found-merged-pull-requests-for-which-commit-is-the-merge-commit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.186.0",
3
+ "version": "2.189.0",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -13,9 +13,9 @@
13
13
  "build": "tsc --build tsconfig.json",
14
14
  "dev": "tsc --build tsconfig.json --watch",
15
15
  "format": "prettier --write src",
16
- "lint": "eslint src --ext=ts,tsx,js --cache",
16
+ "lint": "eslint \"src/**/*.{js,ts,tsx}\" --cache",
17
17
  "lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
18
- "lint:fix": "eslint src --ext=ts,tsx,js --cache --fix",
18
+ "lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
19
19
  "depcheck": "depcheck --ignore-patterns=dist"
20
20
  },
21
21
  "author": {
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
37
37
  },
38
- "gitHead": "e87ff02d6e974358abcd262d74855085fd01b8a8"
38
+ "gitHead": "13157dddb2b56ba517a67ace75e8441cdf2d7cc1"
39
39
  }