@alwaysmeticulous/api 2.62.0 → 2.67.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.js +1 -0
  2. package/dist/index.js.map +1 -0
  3. package/dist/organization.types.js +1 -0
  4. package/dist/organization.types.js.map +1 -0
  5. package/dist/project.types.d.ts +4 -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.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,5 +1,6 @@
1
1
  import { Organization } from "./organization.types";
2
2
  import { TestCase } from "./replay/test-run.types";
3
+ import { NetworkStubbingMode } from "./sdk-bundle-api/sdk-to-bundle/network-stubbing";
3
4
  export interface Project {
4
5
  id: string;
5
6
  organization: Organization;
@@ -9,6 +10,9 @@ export interface Project {
9
10
  createdAt: string;
10
11
  updatedAt: string;
11
12
  isGitHubIntegrationActive?: boolean;
13
+ settings: {
14
+ networkStubbingMode?: NetworkStubbingMode;
15
+ };
12
16
  }
13
17
  export interface ProjectConfigurationData {
14
18
  testCases?: TestCase[];
@@ -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.62.0",
3
+ "version": "2.67.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": "27a1e339c921064c144792812c25e44181794881"
38
+ "gitHead": "8653b5d179014abff2f181f6361d8229d3a3ec5e"
39
39
  }