File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,12 @@ export class Response {
8080 }
8181 }
8282
83+ public imageQualityChecksPerPage ( ) : Array < ImageQualityCheckList > | undefined {
84+ return < Array < ImageQualityCheckList > > (
85+ this . lowLvlResponse . resultsByType ( Result . IMAGE_QUALITY )
86+ ) ;
87+ }
88+
8389 public decodedLog ( ) : string | undefined {
8490 const log = this . lowLvlResponse . log ;
8591 if ( log ) {
@@ -179,7 +185,9 @@ export class LowLvlResponse implements ProcessResponse {
179185 return undefined ;
180186 }
181187
182- public resultsByType ( type : Result ) : Array < ResultItem | AuthenticityResult > {
188+ public resultsByType (
189+ type : Result
190+ ) : Array < ResultItem | AuthenticityResult | ImageQualityCheckList > {
183191 return this . ContainerList . List . filter (
184192 ( container ) => container . result_type === type
185193 ) ;
You can’t perform that action at this time.
0 commit comments