qfai 1.0.2 → 1.0.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/README.md +11 -1
- package/assets/init/.qfai/contracts/README.md +20 -0
- package/assets/init/.qfai/contracts/ui/assets/thema-001-facebook-like/assets.yaml +6 -0
- package/assets/init/.qfai/contracts/ui/assets/thema-001-facebook-like/palette.png +0 -0
- package/assets/init/.qfai/contracts/ui/assets/ui-0001-sample/assets.yaml +6 -0
- package/assets/init/.qfai/contracts/ui/assets/ui-0001-sample/snapshots/login__desktop__light__default.png +0 -0
- package/assets/init/.qfai/contracts/ui/thema-001-facebook-like.yml +13 -0
- package/assets/init/.qfai/contracts/ui/ui-0001-sample.yaml +9 -0
- package/assets/init/.qfai/specs/README.md +1 -1
- package/assets/init/.qfai/specs/spec-0001/scenario.feature +1 -1
- package/assets/init/.qfai/specs/spec-0001/spec.md +1 -1
- package/dist/cli/index.cjs +585 -109
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +587 -111
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +538 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +540 -64
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -99,7 +99,7 @@ declare function findConfigRoot(startDir: string): Promise<ConfigSearchResult>;
|
|
|
99
99
|
declare function loadConfig(root: string): Promise<ConfigLoadResult>;
|
|
100
100
|
declare function resolvePath(root: string, config: QfaiConfig, key: ConfigPathKey): string;
|
|
101
101
|
|
|
102
|
-
type IdPrefix = "SPEC" | "BR" | "SC" | "UI" | "API" | "DB";
|
|
102
|
+
type IdPrefix = "SPEC" | "BR" | "SC" | "UI" | "API" | "DB" | "THEMA";
|
|
103
103
|
type IdFormatPrefix = IdPrefix | "ADR";
|
|
104
104
|
declare function extractIds(text: string, prefix: IdPrefix): string[];
|
|
105
105
|
declare function extractAllIds(text: string): string[];
|
|
@@ -112,6 +112,7 @@ type ReportSummary = {
|
|
|
112
112
|
api: number;
|
|
113
113
|
ui: number;
|
|
114
114
|
db: number;
|
|
115
|
+
thema: number;
|
|
115
116
|
};
|
|
116
117
|
counts: ValidationCounts;
|
|
117
118
|
};
|
|
@@ -122,6 +123,7 @@ type ReportIds = {
|
|
|
122
123
|
ui: string[];
|
|
123
124
|
api: string[];
|
|
124
125
|
db: string[];
|
|
126
|
+
thema: string[];
|
|
125
127
|
};
|
|
126
128
|
type ReportContractCoverage = {
|
|
127
129
|
total: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ declare function findConfigRoot(startDir: string): Promise<ConfigSearchResult>;
|
|
|
99
99
|
declare function loadConfig(root: string): Promise<ConfigLoadResult>;
|
|
100
100
|
declare function resolvePath(root: string, config: QfaiConfig, key: ConfigPathKey): string;
|
|
101
101
|
|
|
102
|
-
type IdPrefix = "SPEC" | "BR" | "SC" | "UI" | "API" | "DB";
|
|
102
|
+
type IdPrefix = "SPEC" | "BR" | "SC" | "UI" | "API" | "DB" | "THEMA";
|
|
103
103
|
type IdFormatPrefix = IdPrefix | "ADR";
|
|
104
104
|
declare function extractIds(text: string, prefix: IdPrefix): string[];
|
|
105
105
|
declare function extractAllIds(text: string): string[];
|
|
@@ -112,6 +112,7 @@ type ReportSummary = {
|
|
|
112
112
|
api: number;
|
|
113
113
|
ui: number;
|
|
114
114
|
db: number;
|
|
115
|
+
thema: number;
|
|
115
116
|
};
|
|
116
117
|
counts: ValidationCounts;
|
|
117
118
|
};
|
|
@@ -122,6 +123,7 @@ type ReportIds = {
|
|
|
122
123
|
ui: string[];
|
|
123
124
|
api: string[];
|
|
124
125
|
db: string[];
|
|
126
|
+
thema: string[];
|
|
125
127
|
};
|
|
126
128
|
type ReportContractCoverage = {
|
|
127
129
|
total: number;
|