@alwaysmeticulous/api 2.63.0 → 2.68.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.
Files changed (27) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +1 -0
  3. package/dist/index.js.map +1 -0
  4. package/dist/organization.types.js +1 -0
  5. package/dist/organization.types.js.map +1 -0
  6. package/dist/project.types.js +1 -0
  7. package/dist/project.types.js.map +1 -0
  8. package/dist/replay/replay.types.js +1 -0
  9. package/dist/replay/replay.types.js.map +1 -0
  10. package/dist/replay/test-run.types.js +1 -0
  11. package/dist/replay/test-run.types.js.map +1 -0
  12. package/dist/sdk-bundle-api/bidirectional/replayable-event.js +1 -0
  13. package/dist/sdk-bundle-api/bidirectional/replayable-event.js.map +1 -0
  14. package/dist/sdk-bundle-api/bundle-to-sdk/screenshot-diff-result.js +1 -0
  15. package/dist/sdk-bundle-api/bundle-to-sdk/screenshot-diff-result.js.map +1 -0
  16. package/dist/sdk-bundle-api/sdk-to-bundle/har-log.js +1 -0
  17. package/dist/sdk-bundle-api/sdk-to-bundle/har-log.js.map +1 -0
  18. package/dist/sdk-bundle-api/sdk-to-bundle/network-stubbing.js +1 -0
  19. package/dist/sdk-bundle-api/sdk-to-bundle/network-stubbing.js.map +1 -0
  20. package/dist/sdk-bundle-api/sdk-to-bundle/screenshotting-options.js +1 -0
  21. package/dist/sdk-bundle-api/sdk-to-bundle/screenshotting-options.js.map +1 -0
  22. package/dist/sdk-bundle-api/sdk-to-bundle/session-data.js +1 -0
  23. package/dist/sdk-bundle-api/sdk-to-bundle/session-data.js.map +1 -0
  24. package/dist/sdk-bundle-api/sdk-to-bundle/test-run-environment.d.ts +16 -1
  25. package/dist/sdk-bundle-api/sdk-to-bundle/test-run-environment.js +1 -0
  26. package/dist/sdk-bundle-api/sdk-to-bundle/test-run-environment.js.map +1 -0
  27. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { Organization } from "./organization.types";
2
2
  export { Project, ProjectConfigurationData } from "./project.types";
3
3
  export { EndStateScreenshot, ScreenshotAfterEvent, ScreenshotDiffResult, ScreenshotDiffResultCompared, ScreenshotDiffResultDifferentSize, ScreenshotDiffResultMissingBase, ScreenshotDiffResultMissingBaseAndHead, ScreenshotDiffResultMissingHead, ScreenshotIdentifier, SingleTryScreenshotDiffResult, } from "./sdk-bundle-api/bundle-to-sdk/screenshot-diff-result";
4
4
  export { TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCaseResultStatus, } from "./replay/test-run.types";
5
- export { TestRunEnvironment, TestRunGitHubContext, TestRunGitHubPullRequestContext, TestRunGitHubPushContext, TestRunGitHubWorkflowDispatchContext, } from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
5
+ export { TestRunEnvironment, TestRunGitHubContext, TestRunGitHubPullRequestContext, TestRunGitHubPushContext, TestRunGitHubWorkflowDispatchContext, TestRunGitLabContext, TestRunGitLabMergeRequestContext, } from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
6
6
  export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
7
7
  export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
8
8
  export { Cookie, SessionData, UrlHistoryEvent, WindowData, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=organization.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.types.js","sourceRoot":"","sources":["../src/organization.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=project.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.types.js","sourceRoot":"","sources":["../src/project.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=replay.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replay.types.js","sourceRoot":"","sources":["../../src/replay/replay.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=test-run.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-run.types.js","sourceRoot":"","sources":["../../src/replay/test-run.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=replayable-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replayable-event.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/bidirectional/replayable-event.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=screenshot-diff-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenshot-diff-result.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/bundle-to-sdk/screenshot-diff-result.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=har-log.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"har-log.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/har-log.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=network-stubbing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"network-stubbing.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/network-stubbing.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=screenshotting-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenshotting-options.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/screenshotting-options.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=session-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  export interface TestRunEnvironment {
2
2
  ci?: boolean;
3
- context?: TestRunGitHubContext;
3
+ context?: TestRunGitHubContext | TestRunGitLabContext;
4
4
  [key: string]: unknown;
5
5
  }
6
6
  export type TestRunGitHubContext = TestRunGitHubPullRequestContext | TestRunGitHubPushContext | TestRunGitHubWorkflowDispatchContext;
@@ -44,3 +44,18 @@ export interface TestRunGitHubWorkflowDispatchContext {
44
44
  /** Resolved head commit hash */
45
45
  headSha: string;
46
46
  }
47
+ export type TestRunGitLabContext = TestRunGitLabMergeRequestContext;
48
+ export interface TestRunGitLabMergeRequestContext {
49
+ type: "gitlab";
50
+ event: "merge-request";
51
+ /** Merge request title */
52
+ title: string;
53
+ /** Merge request number */
54
+ internalId: number;
55
+ /** Base commit hash */
56
+ baseSha: string;
57
+ /** Head commit hash */
58
+ headSha: string;
59
+ /** Merge request URL (web page) */
60
+ webUrl: string;
61
+ }
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=test-run-environment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-run-environment.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/test-run-environment.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.63.0",
3
+ "version": "2.68.0",
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": "e94ad2f32e0b5a85f52782b008121302282cbd0e"
38
+ "gitHead": "2be359e8682d846e1b9febb7648adadeac7269b3"
39
39
  }