@allurereport/core-api 3.0.0-beta.16 → 3.0.0-beta.17

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.
package/dist/ci.d.ts ADDED
@@ -0,0 +1,23 @@
1
+ export declare enum CiType {
2
+ Amazon = "amazon",
3
+ Azure = "azure",
4
+ Bitbucket = "bitbucket",
5
+ Circle = "circle",
6
+ Drone = "drone",
7
+ Github = "github",
8
+ Gitlab = "gitlab",
9
+ Jenkins = "jenkins"
10
+ }
11
+ export interface CiDescriptor {
12
+ type: CiType;
13
+ detected: boolean;
14
+ jobUid: string;
15
+ jobUrl: string;
16
+ jobName: string;
17
+ jobRunUid: string;
18
+ jobRunUrl: string;
19
+ jobRunName: string;
20
+ jobRunBranch: string;
21
+ pullRequestName: string;
22
+ pullRequestUrl: string;
23
+ }
package/dist/ci.js ADDED
@@ -0,0 +1,11 @@
1
+ export var CiType;
2
+ (function (CiType) {
3
+ CiType["Amazon"] = "amazon";
4
+ CiType["Azure"] = "azure";
5
+ CiType["Bitbucket"] = "bitbucket";
6
+ CiType["Circle"] = "circle";
7
+ CiType["Drone"] = "drone";
8
+ CiType["Github"] = "github";
9
+ CiType["Gitlab"] = "gitlab";
10
+ CiType["Jenkins"] = "jenkins";
11
+ })(CiType || (CiType = {}));
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export type * from "./aggregate.js";
2
2
  export * from "./constants.js";
3
+ export * from "./ci.js";
3
4
  export type * from "./environment.js";
4
5
  export type * from "./history.js";
5
6
  export type * from "./known.js";
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./constants.js";
2
+ export * from "./ci.js";
2
3
  export * from "./utils/step.js";
3
4
  export * from "./utils/time.js";
4
5
  export * from "./utils/comparator.js";
package/dist/model.d.ts CHANGED
@@ -48,6 +48,7 @@ export interface TestResult {
48
48
  runSelector?: string;
49
49
  retries?: TestResult[];
50
50
  categories?: any;
51
+ titlePath?: string[];
51
52
  }
52
53
  export interface TestEnvGroup {
53
54
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/core-api",
3
- "version": "3.0.0-beta.16",
3
+ "version": "3.0.0-beta.17",
4
4
  "description": "Allure Core API",
5
5
  "keywords": [
6
6
  "allure"
@@ -33,7 +33,7 @@
33
33
  "@typescript-eslint/parser": "^8.0.0",
34
34
  "@vitest/runner": "^2.1.9",
35
35
  "@vitest/snapshot": "^2.1.9",
36
- "allure-vitest": "^3.0.9",
36
+ "allure-vitest": "^3.3.0",
37
37
  "eslint": "^8.57.0",
38
38
  "eslint-config-prettier": "^9.1.0",
39
39
  "eslint-plugin-import": "^2.29.1",