@@ -49,6 +49,7 @@ _Object containing the following properties:_
4949| ` displayValue ` | Formatted value (e.g. '0.9 s', '2.1 MB') | ` string ` |
5050| ** ` value ` ** (\* ) | Raw numeric value | ` number ` (_ ≥0_ ) |
5151| ** ` score ` ** (\* ) | Value between 0 and 1 | ` number ` (_ ≥0, ≤1_ ) |
52+ | ` scoreTarget ` | Pass/fail score threshold (0-1) | ` number ` (_ ≥0, ≤1_ ) |
5253| ` details ` | Detailed information | [ AuditDetails] ( #auditdetails ) |
5354
5455_ (\* ) Required._
@@ -73,6 +74,7 @@ _Object containing the following properties:_
7374| ` displayValue ` | Formatted value (e.g. '0.9 s', '2.1 MB') | ` string ` |
7475| ** ` value ` ** (\* ) | Raw numeric value | ` number ` (_ ≥0_ ) |
7576| ** ` score ` ** (\* ) | Value between 0 and 1 | ` number ` (_ ≥0, ≤1_ ) |
77+ | ` scoreTarget ` | Pass/fail score threshold (0-1) | ` number ` (_ ≥0, ≤1_ ) |
7678| ` details ` | Detailed information | [ AuditDetails] ( #auditdetails ) |
7779
7880_ (\* ) Required._
@@ -1282,20 +1284,21 @@ _(\*) Required._
12821284
12831285_ Object containing the following properties:_
12841286
1285- | Property | Description | Type |
1286- | :---------------- | :---------------------------------------- | :------------------------------------------------------------------- |
1287- | ` packageName ` | NPM package name | ` string ` |
1288- | ` version ` | NPM version of the package | ` string ` |
1289- | ** ` title ` ** (\* ) | Descriptive name | ` string ` (_ max length: 256_ ) |
1290- | ` description ` | Description (markdown) | ` string ` (_ max length: 65536_ ) |
1291- | ` docsUrl ` | Plugin documentation site | ` string ` (_ url_ ) (_ optional_ ) _ or_ ` '' ` |
1292- | ` isSkipped ` | | ` boolean ` |
1293- | ** ` slug ` ** (\* ) | Unique plugin slug within core config | ` string ` (_ regex: ` /^[a-z\d]+(?:-[a-z\d]+)*$/ ` , max length: 128_ ) |
1294- | ** ` icon ` ** (\* ) | Icon from VSCode Material Icons extension | [ MaterialIcon] ( #materialicon ) |
1295- | ** ` runner ` ** (\* ) | | [ RunnerConfig] ( #runnerconfig ) _ or_ [ RunnerFunction] ( #runnerfunction ) |
1296- | ** ` audits ` ** (\* ) | List of audits maintained in a plugin | _ Array of at least 1 [ Audit] ( #audit ) items_ |
1297- | ` groups ` | List of groups | _ Array of [ Group] ( #group ) items_ |
1298- | ` context ` | Plugin-specific context data for helpers | [ PluginContext] ( #plugincontext ) |
1287+ | Property | Description | Type |
1288+ | :---------------- | :--------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------- |
1289+ | ` packageName ` | NPM package name | ` string ` |
1290+ | ` version ` | NPM version of the package | ` string ` |
1291+ | ** ` title ` ** (\* ) | Descriptive name | ` string ` (_ max length: 256_ ) |
1292+ | ` description ` | Description (markdown) | ` string ` (_ max length: 65536_ ) |
1293+ | ` docsUrl ` | Plugin documentation site | ` string ` (_ url_ ) (_ optional_ ) _ or_ ` '' ` |
1294+ | ` isSkipped ` | | ` boolean ` |
1295+ | ** ` slug ` ** (\* ) | Unique plugin slug within core config | ` string ` (_ regex: ` /^[a-z\d]+(?:-[a-z\d]+)*$/ ` , max length: 128_ ) |
1296+ | ** ` icon ` ** (\* ) | Icon from VSCode Material Icons extension | [ MaterialIcon] ( #materialicon ) |
1297+ | ** ` runner ` ** (\* ) | | [ RunnerConfig] ( #runnerconfig ) _ or_ [ RunnerFunction] ( #runnerfunction ) |
1298+ | ** ` audits ` ** (\* ) | List of audits maintained in a plugin | _ Array of at least 1 [ Audit] ( #audit ) items_ |
1299+ | ` groups ` | List of groups | _ Array of [ Group] ( #group ) items_ |
1300+ | ` scoreTargets ` | Score targets that trigger a perfect score. Number for all audits or record { slug: target } for specific audits | ` number ` (_ ≥0, ≤1_ ) (_ optional_ ) _ or_ _ Object with dynamic keys of type_ ` string ` _ and values of type_ ` number ` (_ ≥0, ≤1_ ) |
1301+ | ` context ` | Plugin-specific context data for helpers | [ PluginContext] ( #plugincontext ) |
12991302
13001303_ (\* ) Required._
13011304
0 commit comments