qfai 0.8.0 → 0.8.1
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/cli/index.cjs +523 -192
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +511 -180
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +346 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.mjs +346 -72
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -12,6 +12,7 @@ type TestFileScan = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
type IssueSeverity = "info" | "warning" | "error";
|
|
15
|
+
type IssueCategory = "compatibility" | "change";
|
|
15
16
|
type IssueLocation = {
|
|
16
17
|
line: number;
|
|
17
18
|
column?: number;
|
|
@@ -19,7 +20,9 @@ type IssueLocation = {
|
|
|
19
20
|
type Issue = {
|
|
20
21
|
code: string;
|
|
21
22
|
severity: IssueSeverity;
|
|
23
|
+
category: IssueCategory;
|
|
22
24
|
message: string;
|
|
25
|
+
suggested_action?: string;
|
|
23
26
|
file?: string;
|
|
24
27
|
refs?: string[];
|
|
25
28
|
rule?: string;
|
|
@@ -176,4 +179,4 @@ declare function validateSpecContent(text: string, file: string, requiredSection
|
|
|
176
179
|
|
|
177
180
|
declare function validateTraceability(root: string, config: QfaiConfig): Promise<Issue[]>;
|
|
178
181
|
|
|
179
|
-
export { type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, type FailOn, type IdFormatPrefix, type IdPrefix, type Issue, type IssueLocation, type IssueSeverity, type OrphanContractsPolicy, type OutputFormat, type QfaiConfig, type QfaiOutputConfig, type QfaiPaths, type QfaiValidationConfig, type ReportContractCoverage, type ReportData, type ReportIds, type ReportSpecContractRefs, type ReportSpecCoverage, type ReportSummary, type ReportTraceability, type TraceabilitySeverity, type ValidationCounts, type ValidationResult, type ValidationTraceability, createReportData, defaultConfig, extractAllIds, extractIds, extractInvalidIds, findConfigRoot, formatReportJson, formatReportMarkdown, getConfigPath, lintSql, loadConfig, resolvePath, resolveToolVersion, validateContracts, validateDefinedIds, validateDeltas, validateProject, validateScenarioContent, validateScenarios, validateSpecContent, validateSpecs, validateTraceability };
|
|
182
|
+
export { type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, type FailOn, type IdFormatPrefix, type IdPrefix, type Issue, type IssueCategory, type IssueLocation, type IssueSeverity, type OrphanContractsPolicy, type OutputFormat, type QfaiConfig, type QfaiOutputConfig, type QfaiPaths, type QfaiValidationConfig, type ReportContractCoverage, type ReportData, type ReportIds, type ReportSpecContractRefs, type ReportSpecCoverage, type ReportSummary, type ReportTraceability, type TraceabilitySeverity, type ValidationCounts, type ValidationResult, type ValidationTraceability, createReportData, defaultConfig, extractAllIds, extractIds, extractInvalidIds, findConfigRoot, formatReportJson, formatReportMarkdown, getConfigPath, lintSql, loadConfig, resolvePath, resolveToolVersion, validateContracts, validateDefinedIds, validateDeltas, validateProject, validateScenarioContent, validateScenarios, validateSpecContent, validateSpecs, validateTraceability };
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ type TestFileScan = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
type IssueSeverity = "info" | "warning" | "error";
|
|
15
|
+
type IssueCategory = "compatibility" | "change";
|
|
15
16
|
type IssueLocation = {
|
|
16
17
|
line: number;
|
|
17
18
|
column?: number;
|
|
@@ -19,7 +20,9 @@ type IssueLocation = {
|
|
|
19
20
|
type Issue = {
|
|
20
21
|
code: string;
|
|
21
22
|
severity: IssueSeverity;
|
|
23
|
+
category: IssueCategory;
|
|
22
24
|
message: string;
|
|
25
|
+
suggested_action?: string;
|
|
23
26
|
file?: string;
|
|
24
27
|
refs?: string[];
|
|
25
28
|
rule?: string;
|
|
@@ -176,4 +179,4 @@ declare function validateSpecContent(text: string, file: string, requiredSection
|
|
|
176
179
|
|
|
177
180
|
declare function validateTraceability(root: string, config: QfaiConfig): Promise<Issue[]>;
|
|
178
181
|
|
|
179
|
-
export { type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, type FailOn, type IdFormatPrefix, type IdPrefix, type Issue, type IssueLocation, type IssueSeverity, type OrphanContractsPolicy, type OutputFormat, type QfaiConfig, type QfaiOutputConfig, type QfaiPaths, type QfaiValidationConfig, type ReportContractCoverage, type ReportData, type ReportIds, type ReportSpecContractRefs, type ReportSpecCoverage, type ReportSummary, type ReportTraceability, type TraceabilitySeverity, type ValidationCounts, type ValidationResult, type ValidationTraceability, createReportData, defaultConfig, extractAllIds, extractIds, extractInvalidIds, findConfigRoot, formatReportJson, formatReportMarkdown, getConfigPath, lintSql, loadConfig, resolvePath, resolveToolVersion, validateContracts, validateDefinedIds, validateDeltas, validateProject, validateScenarioContent, validateScenarios, validateSpecContent, validateSpecs, validateTraceability };
|
|
182
|
+
export { type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, type FailOn, type IdFormatPrefix, type IdPrefix, type Issue, type IssueCategory, type IssueLocation, type IssueSeverity, type OrphanContractsPolicy, type OutputFormat, type QfaiConfig, type QfaiOutputConfig, type QfaiPaths, type QfaiValidationConfig, type ReportContractCoverage, type ReportData, type ReportIds, type ReportSpecContractRefs, type ReportSpecCoverage, type ReportSummary, type ReportTraceability, type TraceabilitySeverity, type ValidationCounts, type ValidationResult, type ValidationTraceability, createReportData, defaultConfig, extractAllIds, extractIds, extractInvalidIds, findConfigRoot, formatReportJson, formatReportMarkdown, getConfigPath, lintSql, loadConfig, resolvePath, resolveToolVersion, validateContracts, validateDefinedIds, validateDeltas, validateProject, validateScenarioContent, validateScenarios, validateSpecContent, validateSpecs, validateTraceability };
|