@allurereport/plugin-api 3.14.1 → 3.14.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.
- package/dist/plugin.d.ts +3 -4
- package/dist/store.d.ts +4 -4
- package/package.json +2 -2
package/dist/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AllureHistory,
|
|
1
|
+
import type { AllureHistory, AllureCheckResult, CategoryDefinition, CiDescriptor, GlobalAttachmentLink, HistoryDataPoint, Statistic, TestError, TestResult, TestStatus } from "@allurereport/core-api";
|
|
2
2
|
import type { QualityGateValidationResult } from "./qualityGate.js";
|
|
3
3
|
import type { ResultFile } from "./resultFile.js";
|
|
4
4
|
import type { AllureStore } from "./store.js";
|
|
@@ -36,6 +36,7 @@ export interface PluginContext {
|
|
|
36
36
|
}
|
|
37
37
|
export type SummaryTestResult = Pick<TestResult, "name" | "id" | "status" | "duration">;
|
|
38
38
|
export type SummaryCheckResult = Pick<AllureCheckResult, "id" | "name" | "status">;
|
|
39
|
+
export type { GlobalAttachmentLink } from "@allurereport/core-api";
|
|
39
40
|
export interface PluginSummary {
|
|
40
41
|
href?: string;
|
|
41
42
|
remoteHref?: string;
|
|
@@ -81,9 +82,7 @@ export interface ExitCode {
|
|
|
81
82
|
export type PluginGlobalError = TestError & {
|
|
82
83
|
environment?: string;
|
|
83
84
|
};
|
|
84
|
-
export type PluginGlobalAttachment =
|
|
85
|
-
environment?: string;
|
|
86
|
-
};
|
|
85
|
+
export type PluginGlobalAttachment = GlobalAttachmentLink;
|
|
87
86
|
export interface PluginGlobals {
|
|
88
87
|
exitCode?: ExitCode;
|
|
89
88
|
errors: PluginGlobalError[];
|
package/dist/store.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AllureCheckResult, AttachmentLink, EnvironmentIdentity, HistoryDataPoint, HistoryTestResult, KnownTestFailure, ReportVariables, Statistic, TestCase, TestEnvGroup, TestError, TestFixtureResult, TestResult } from "@allurereport/core-api";
|
|
2
|
-
import type { ExitCode,
|
|
1
|
+
import type { AllureCheckResult, AttachmentLink, EnvironmentIdentity, GlobalAttachmentLink, HistoryDataPoint, HistoryTestResult, KnownTestFailure, ReportVariables, Statistic, TestCase, TestEnvGroup, TestError, TestFixtureResult, TestResult } from "@allurereport/core-api";
|
|
2
|
+
import type { ExitCode, PluginGlobalError } from "./plugin.js";
|
|
3
3
|
import type { QualityGateValidationResult } from "./qualityGate.js";
|
|
4
4
|
import type { ResultFile } from "./resultFile.js";
|
|
5
5
|
export type TestResultFilter = (testResult: TestResult) => boolean;
|
|
@@ -31,8 +31,8 @@ export interface AllureStore {
|
|
|
31
31
|
globalExitCode: () => Promise<ExitCode | undefined>;
|
|
32
32
|
allGlobalErrors: () => Promise<TestError[]>;
|
|
33
33
|
allGlobalErrorsByEnv: () => Promise<Record<string, PluginGlobalError[]>>;
|
|
34
|
-
allGlobalAttachments: () => Promise<
|
|
35
|
-
allGlobalAttachmentsByEnv: () => Promise<Record<string,
|
|
34
|
+
allGlobalAttachments: () => Promise<GlobalAttachmentLink[]>;
|
|
35
|
+
allGlobalAttachmentsByEnv: () => Promise<Record<string, GlobalAttachmentLink[]>>;
|
|
36
36
|
testCaseById: (tcId: string) => Promise<TestCase | undefined>;
|
|
37
37
|
testResultById: (trId: string) => Promise<TestResult | undefined>;
|
|
38
38
|
attachmentById: (attachmentId: string) => Promise<AttachmentLink | undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/plugin-api",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.3",
|
|
4
4
|
"description": "Allure Plugin API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"lint:fix": "oxlint --import-plugin --fix src test features stories"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@allurereport/core-api": "3.14.
|
|
29
|
+
"@allurereport/core-api": "3.14.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^20",
|