@@ -6,10 +6,11 @@ Detailed information
66
77_ Object containing the following properties:_
88
9- | Property | Description | Type |
10- | :------- | :------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11- | ` issues ` | List of findings | _ Array of [ Issue] ( #issue ) items_ |
12- | ` table ` | Table of related findings | _ Object with properties:_ <ul ><li >` title ` : ` string ` - Display title for table</li ><li >` columns ` : _ Array of [ TableAlignment] ( #tablealignment ) items_ </li ><li >` rows ` : _ Array of [ TableRowPrimitive] ( #tablerowprimitive ) items_ </li ></ul > _ or_ _ Object with properties:_ <ul ><li >` title ` : ` string ` - Display title for table</li ><li >` columns ` : _ Array of [ TableAlignment] ( #tablealignment ) items_ _ or_ _ Array of [ TableColumnObject] ( #tablecolumnobject ) items_ </li ><li >` rows ` : _ Array of [ TableRowObject] ( #tablerowobject ) items_ </li ></ul > |
9+ | Property | Description | Type |
10+ | :------- | :------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11+ | ` issues ` | List of findings | _ Array of [ Issue] ( #issue ) items_ |
12+ | ` table ` | Table of related findings | _ Object with properties:_ <ul ><li >` title ` : ` string ` - Display title for table</li ><li >` columns ` : _ Array of [ TableAlignment] ( #tablealignment ) items_ </li ><li >` rows ` : _ Array of [ TableRowPrimitive] ( #tablerowprimitive ) items_ </li ></ul > _ or_ _ Object with properties:_ <ul ><li >` title ` : ` string ` - Display title for table</li ><li >` columns ` : _ Array of [ TableAlignment] ( #tablealignment ) items_ _ or_ _ Array of [ TableColumnObject] ( #tablecolumnobject ) items_ </li ><li >` rows ` : _ Array of [ TableRowObject] ( #tablerowobject ) items_ </li ></ul > |
13+ | ` trees ` | Findings in tree structure | _ Array of [ Tree] ( #tree ) items_ |
1314
1415_ All properties are optional._
1516
@@ -97,6 +98,32 @@ _Object containing the following properties:_
9798
9899_ (\* ) Required._
99100
101+ ## BasicTreeNode
102+
103+ _ Object containing the following properties:_
104+
105+ | Property | Description | Type |
106+ | :-------------- | :--------------------------------------------- | :----------------------------------------------- |
107+ | ** ` name ` ** (\* ) | Text label for node | ` string ` (_ min length: 1_ ) |
108+ | ` values ` | Additional values for node | ` Record<string, number \| string> ` |
109+ | ` children ` | Direct descendants of this node (omit if leaf) | _ Array of [ BasicTreeNode] ( #basictreenode ) items_ |
110+
111+ _ (\* ) Required._
112+
113+ ## BasicTree
114+
115+ Generic tree
116+
117+ _ Object containing the following properties:_
118+
119+ | Property | Description | Type |
120+ | :-------------- | :----------- | :------------------------------ |
121+ | ` title ` | Heading | ` string ` |
122+ | ` type ` | Discriminant | ` 'basic' ` |
123+ | ** ` root ` ** (\* ) | Root node | [ BasicTreeNode] ( #basictreenode ) |
124+
125+ _ (\* ) Required._
126+
100127## CategoryConfig
101128
102129_ Object containing the following properties:_
@@ -180,6 +207,57 @@ _Object containing the following properties:_
180207
181208_ (\* ) Required._
182209
210+ ## CoverageTreeMissingLOC
211+
212+ Uncovered line of code, optionally referring to a named function/class/etc.
213+
214+ _ Object containing the following properties:_
215+
216+ | Property | Description | Type |
217+ | :------------------- | :-------------------------------- | :------------------- |
218+ | ** ` startLine ` ** (\* ) | Start line | ` number ` (_ int, >0_ ) |
219+ | ` startColumn ` | Start column | ` number ` (_ int, >0_ ) |
220+ | ` endLine ` | End line | ` number ` (_ int, >0_ ) |
221+ | ` endColumn ` | End column | ` number ` (_ int, >0_ ) |
222+ | ` name ` | Identifier of function/class/etc. | ` string ` |
223+ | ` kind ` | E.g. "function", "class" | ` string ` |
224+
225+ _ (\* ) Required._
226+
227+ ## CoverageTreeNode
228+
229+ _ Object containing the following properties:_
230+
231+ | Property | Description | Type |
232+ | :---------------- | :-------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
233+ | ** ` name ` ** (\* ) | File or folder name | ` string ` (_ min length: 1_ ) |
234+ | ** ` values ` ** (\* ) | Coverage metrics for file/folder | _ Object with properties:_ <ul ><li >` coverage ` : ` number ` (_ ≥0, ≤1_ ) - Coverage ratio</li ><li >` missing ` : _ Array of [ CoverageTreeMissingLOC] ( #coveragetreemissingloc ) items_ - Uncovered lines of code</li ></ul > |
235+ | ` children ` | Files and folders contained in this folder (omit if file) | _ Array of [ CoverageTreeNode] ( #coveragetreenode ) items_ |
236+
237+ _ (\* ) Required._
238+
239+ ## CoverageTree
240+
241+ Coverage for files and folders
242+
243+ _ Object containing the following properties:_
244+
245+ | Property | Description | Type |
246+ | :-------------- | :----------- | :------------------------------------ |
247+ | ` title ` | Heading | ` string ` |
248+ | ** ` type ` ** (\* ) | Discriminant | ` 'coverage' ` |
249+ | ** ` root ` ** (\* ) | Root folder | [ CoverageTreeNode] ( #coveragetreenode ) |
250+
251+ _ (\* ) Required._
252+
253+ ## FileName
254+
255+ _ String which matches the regular expression ` /^(?!.*[ \\/:*?"<>|]).+$/ ` and has a minimum length of 1._
256+
257+ ## FilePath
258+
259+ _ String which has a minimum length of 1._
260+
183261## Format
184262
185263_ Enum string, one of the following possible values:_
@@ -1137,27 +1215,15 @@ _Enum string, one of the following possible values:_
11371215
11381216</details >
11391217
1140- ## OnProgress
1141-
1142- _ Function._
1143-
1144- _ Parameters:_
1145-
1146- 1 . ` unknown ` (_ optional & nullable_ )
1147-
1148- _ Returns:_
1149-
1150- - ` void ` (_ optional_ )
1151-
11521218## PersistConfig
11531219
11541220_ Object containing the following properties:_
11551221
1156- | Property | Description | Type |
1157- | :---------- | :-------------------------------------- | :-------------------------------------------------------------- |
1158- | ` outputDir ` | Artifacts folder | ` string ` ( _ min length: 1 _ ) |
1159- | ` filename ` | Artifacts file name (without extension) | ` string ` ( _ regex: ` /^(?!.*[ \\/:*?"<>\|]).+$/ ` , min length: 1 _ ) |
1160- | ` format ` | | _ Array of [ Format] ( #format ) items_ |
1222+ | Property | Description | Type |
1223+ | :---------- | :-------------------------------------- | :--------------------------------- |
1224+ | ` outputDir ` | Artifacts folder | [ FilePath ] ( #filepath ) |
1225+ | ` filename ` | Artifacts file name (without extension) | [ FileName ] ( #filename ) |
1226+ | ` format ` | | _ Array of [ Format] ( #format ) items_ |
11611227
11621228_ All properties are optional._
11631229
@@ -1264,8 +1330,20 @@ _Object containing the following properties:_
12641330| :-------------------- | :----------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
12651331| ** ` command ` ** (\* ) | Shell command to execute | ` string ` |
12661332| ` args ` | | ` Array<string> ` |
1267- | ** ` outputFile ` ** (\* ) | Output path | ` string ` ( _ min length: 1 _ ) |
1333+ | ** ` outputFile ` ** (\* ) | Runner output path | [ FilePath ] ( #filepath ) |
12681334| ` outputTransform ` | | _ Function:_ <br /><ul ><li >_ parameters:_ <ol ><li >` unknown ` (_ optional & nullable_ )</li ></ol ></li ><li >_ returns:_ [ AuditOutputs] ( #auditoutputs ) _ or_ _ Promise of_ [ AuditOutputs] ( #auditoutputs ) </li ></ul > |
1335+ | ` configFile ` | Runner config path | [ FilePath] ( #filepath ) |
1336+
1337+ _ (\* ) Required._
1338+
1339+ ## RunnerFilesPaths
1340+
1341+ _ Object containing the following properties:_
1342+
1343+ | Property | Description | Type |
1344+ | :-------------------------- | :----------------- | :-------------------- |
1345+ | ** ` runnerConfigPath ` ** (\* ) | Runner config path | [ FilePath] ( #filepath ) |
1346+ | ** ` runnerOutputPath ` ** (\* ) | Runner output path | [ FilePath] ( #filepath ) |
12691347
12701348_ (\* ) Required._
12711349
@@ -1275,7 +1353,7 @@ _Function._
12751353
12761354_ Parameters:_
12771355
1278- 1 . [ OnProgress ] ( #onprogress ) ( _ optional _ )
1356+ - _ none _
12791357
12801358_ Returns:_
12811359
@@ -1289,7 +1367,7 @@ _Object containing the following properties:_
12891367
12901368| Property | Description | Type |
12911369| :-------------- | :--------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1292- | ** ` file ` ** (\* ) | Relative path to source file in Git repo | ` string ` ( _ min length: 1 _ ) |
1370+ | ** ` file ` ** (\* ) | Relative path to source file in Git repo | [ FilePath ] ( #filepath ) |
12931371| ` position ` | Location in file | _ Object with properties:_ <ul ><li >` startLine ` : ` number ` (_ int, >0_ ) - Start line</li ><li >` startColumn ` : ` number ` (_ int, >0_ ) - Start column</li ><li >` endLine ` : ` number ` (_ int, >0_ ) - End line</li ><li >` endColumn ` : ` number ` (_ int, >0_ ) - End column</li ></ul > |
12941372
12951373_ (\* ) Required._
@@ -1353,6 +1431,13 @@ Primitive row
13531431
13541432_ Array of [ TableCellValue] ( #tablecellvalue ) (\_ optional & nullable_ ) items.\_
13551433
1434+ ## Tree
1435+
1436+ _ Union of the following possible types:_
1437+
1438+ - [ BasicTree] ( #basictree )
1439+ - [ CoverageTree] ( #coveragetree )
1440+
13561441## UploadConfig
13571442
13581443_ Object containing the following properties:_
0 commit comments