@alwaysmeticulous/api 2.206.0 → 2.206.3

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,7 @@
1
1
  import { ScreenshotDiffOptions } from "../sdk-bundle-api/sdk-to-bundle/screenshotting-options";
2
2
  export interface TestCase {
3
3
  sessionId: string;
4
+ isRelevantToPR?: boolean;
4
5
  title?: string;
5
6
  options?: TestCaseReplayOptions;
6
7
  }
@@ -15,11 +15,11 @@ export interface TestRunGitHubPullRequestContext {
15
15
  htmlUrl: string;
16
16
  /** Base commit hash */
17
17
  baseSha: string;
18
- /** Base ref (usually /refs/head/<branch>) */
18
+ /** Base ref (usually /refs/heads/<branch>) */
19
19
  baseRef?: string;
20
20
  /** Head commit hash */
21
21
  headSha: string;
22
- /** Head ref (usually /refs/head/<branch>) */
22
+ /** Head ref (usually /refs/heads/<branch>) */
23
23
  headRef?: string;
24
24
  /** GitHub Actions run ID that triggered this test run */
25
25
  runId?: number;
@@ -31,7 +31,7 @@ export interface TestRunGitHubPushContext {
31
31
  beforeSha: string;
32
32
  /** Commit hash after the push event */
33
33
  afterSha: string;
34
- /** Git ref (usually /refs/head/<branch>) */
34
+ /** Git ref (usually /refs/heads/<branch>) */
35
35
  ref: string;
36
36
  /** GitHub Actions run ID that triggered this test run */
37
37
  runId?: number;
@@ -45,7 +45,7 @@ export interface TestRunGitHubPushContext {
45
45
  export interface TestRunGitHubWorkflowDispatchContext {
46
46
  type: "github";
47
47
  event: "workflow-dispatch";
48
- /** Git ref (usually /refs/head/<branch>) */
48
+ /** Git ref (usually /refs/heads/<branch>) */
49
49
  ref: string;
50
50
  /** Workflow dispatch inputs */
51
51
  inputs: {
@@ -70,9 +70,9 @@ export interface TestRunGitLabMergeRequestContext {
70
70
  headSha: string;
71
71
  /** Merge request URL (web page) */
72
72
  webUrl: string;
73
- /** Git ref for the target branch (/refs/head/<target_branch>). Not defined for merge requests prior to July 2024. */
73
+ /** Git ref for the target branch (/refs/heads/<target_branch>). Not defined for merge requests prior to July 2024. */
74
74
  baseRef?: string;
75
- /** Git ref for the source branch (/refs/head/<source_branch>). Not defined for merge requests prior to July 2024. */
75
+ /** Git ref for the source branch (/refs/heads/<source_branch>). Not defined for merge requests prior to July 2024. */
76
76
  headRef?: string;
77
77
  }
78
78
  export interface TestRunGitLabPushContext {
@@ -82,7 +82,7 @@ export interface TestRunGitLabPushContext {
82
82
  beforeSha: string;
83
83
  /** Commit hash after the push event */
84
84
  afterSha: string;
85
- /** Git ref for the branch (/refs/head/<branch>). Not defined for pushes prior to July 2024. */
85
+ /** Git ref for the branch (/refs/heads/<branch>). Not defined for pushes prior to July 2024. */
86
86
  ref?: string;
87
87
  }
88
88
  export type TestRunBitbucketContext = {
@@ -98,11 +98,11 @@ export interface TestRunBitbucketPullRequestContext {
98
98
  htmlUrl: string;
99
99
  /** Base commit hash */
100
100
  baseSha: string;
101
- /** Base ref (usually /refs/head/<branch>) */
101
+ /** Base ref (usually /refs/heads/<branch>) */
102
102
  baseRef: string;
103
103
  /** Head commit hash */
104
104
  headSha: string;
105
- /** Head ref (usually /refs/head/<branch>) */
105
+ /** Head ref (usually /refs/heads/<branch>) */
106
106
  headRef: string;
107
107
  }
108
108
  export interface TestRunBitbucketPushContext {
@@ -111,7 +111,7 @@ export interface TestRunBitbucketPushContext {
111
111
  beforeSha: string;
112
112
  /** Commit hash after the push event */
113
113
  afterSha: string;
114
- /** Git ref for the branch (/refs/head/<branch>) */
114
+ /** Git ref for the branch (/refs/heads/<branch>) */
115
115
  ref: string;
116
116
  }
117
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" | "commit-is-already-on-base-branch";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.206.0",
3
+ "version": "2.206.3",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
37
37
  },
38
- "gitHead": "831a3fdf09d721002c5ef77d32c11fe471d208f3"
38
+ "gitHead": "73b6190d19c510585606f42bd0d788789cde0981"
39
39
  }