From f30413bea2d6aebba7777e3badcc3e495d79d5d1 Mon Sep 17 00:00:00 2001 From: angad-sethi <58194895+angad-sethi@users.noreply.github.com> Date: Wed, 22 May 2024 04:16:13 +1000 Subject: [PATCH] core(types): add missing fields to `Result.Category` and `NodeDetails` (#16006) --- types/artifacts.d.ts | 1 + types/lhr/lhr.d.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/types/artifacts.d.ts b/types/artifacts.d.ts index 9126d5928b8e..ecfd7786fca4 100644 --- a/types/artifacts.d.ts +++ b/types/artifacts.d.ts @@ -191,6 +191,7 @@ declare module Artifacts { boundingRect: Rect, snippet: string, nodeLabel: string, + explanation?: string, } interface RuleExecutionError { diff --git a/types/lhr/lhr.d.ts b/types/lhr/lhr.d.ts index b2a4aae91e7d..0b1ce1d9406e 100644 --- a/types/lhr/lhr.d.ts +++ b/types/lhr/lhr.d.ts @@ -103,6 +103,8 @@ declare module Result { score: number|null; /** An array of references to all the audit members of this category. */ auditRefs: AuditRef[]; + /** An array of all the modes supported by the category. */ + supportedModes?: Result.GatherMode[]; } interface AuditRef {