@diegovelasquezweb/a11y-engine 0.6.3 → 0.6.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.mts +26 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegovelasquezweb/a11y-engine",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "WCAG 2.2 AA accessibility audit engine — scanner, analyzer, and report builders",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/index.d.mts CHANGED
@@ -263,6 +263,32 @@ export interface SeverityLevel {
263
263
  order: number;
264
264
  }
265
265
 
266
+ export interface DocArticle {
267
+ id: string;
268
+ title: string;
269
+ icon?: string;
270
+ badge?: string;
271
+ summary: string;
272
+ body: string;
273
+ }
274
+
275
+ export interface DocGroup {
276
+ id: string;
277
+ label: string;
278
+ articles: DocArticle[];
279
+ }
280
+
281
+ export interface DocSection {
282
+ id: string;
283
+ heading: string;
284
+ articles?: DocArticle[];
285
+ groups?: DocGroup[];
286
+ }
287
+
288
+ export interface KnowledgeDocs {
289
+ sections: DocSection[];
290
+ }
291
+
266
292
  export interface ConformanceLevelsResult {
267
293
  locale: string;
268
294
  version: string;