@allurereport/plugin-api
Advanced tools
+5
-3
@@ -0,4 +1,4 @@ | ||
| import type { DefaultLabelsConfig, EnvironmentsConfig, ReportVariables } from "@allurereport/core-api"; | ||
| import type { PluginDescriptor } from "./plugin.js"; | ||
| import type { QualityGateConfig } from "./qualityGate.js"; | ||
| export type DefaultLabelsConfig = Record<string, string | string[]>; | ||
| export interface Config { | ||
@@ -9,6 +9,8 @@ name?: string; | ||
| knownIssuesPath?: string; | ||
| defaultLabels?: DefaultLabelsConfig; | ||
| environments?: EnvironmentsConfig; | ||
| variables?: ReportVariables; | ||
| plugins?: Record<string, PluginDescriptor>; | ||
| qualityGate?: QualityGateConfig; | ||
| plugins?: Record<string, PluginDescriptor>; | ||
| defaultLabels?: DefaultLabelsConfig; | ||
| } | ||
| export declare const defineConfig: (allureConfig: Config) => Config; |
+2
-0
@@ -30,2 +30,4 @@ import type { AttachmentLink, HistoryDataPoint, HistoryTestResult, KnownTestFailure, Statistic, TestCase, TestFixtureResult, TestResult } from "@allurereport/core-api"; | ||
| testsStatistic: (filter?: (testResult: TestResult) => boolean) => Promise<Statistic>; | ||
| allEnvironments: () => Promise<string[]>; | ||
| testResultsByEnvironment: (env: string) => Promise<TestResult[]>; | ||
| } |
+2
-2
| { | ||
| "name": "@allurereport/plugin-api", | ||
| "version": "3.0.0-beta.9", | ||
| "version": "3.0.0-beta.10", | ||
| "description": "Allure Plugin API", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
| "dependencies": { | ||
| "@allurereport/core-api": "3.0.0-beta.9" | ||
| "@allurereport/core-api": "3.0.0-beta.10" | ||
| }, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
17681
1.29%368
1.1%+ Added
- Removed