Interface: ApiSbomComponent
Defined in: core/query/siteinfo.ts:778
One component of the CycloneDX SBOM (siprop=sbom). Components nest: the
platform entries carry their PHP extensions, MediaWiki core carries its
composer packages and foreign resources, each extension carries its own
composer packages.
Properties
authors?
optionalauthors?:object[]
Defined in: core/query/siteinfo.ts:793
Authors; extensions report { name }, composer packages carry the raw
installed.json entries (name, email, homepage, role).
email?
optionalemail?:string
Contact address, when the author declares one.
homepage?
optionalhomepage?:string
Author home page.
name?
optionalname?:string
Author name.
role?
optionalrole?:string
Contribution role as declared, e.g. Developer.
components?
optionalcomponents?:ApiSbomComponent[]
Defined in: core/query/siteinfo.ts:842
Nested components (e.g. PHP extensions, composer packages).
description?
optionaldescription?:string
Defined in: core/query/siteinfo.ts:839
Localized description (from descriptionmsg/description).
externalReferences?
optionalexternalReferences?:object[]
Defined in: core/query/siteinfo.ts:827
External references of a foreign-resource component (e.g. upstream site).
type
type:
string&object|"website"
Relationship kind; core emits website. Open union.
url
url:
string
Referenced resource; core emits the component's homepage.
licences?
optionallicences?:string[]
Defined in: core/query/siteinfo.ts:808
License name declared by the extension (license-name).
licenses?
optionallicenses?:object[]
Defined in: core/query/siteinfo.ts:812
SPDX license expressions of foreign-resource components (CycloneDX spelling, distinct from licences).
expression?
optionalexpression?:string
Compound SPDX license, i.e. one using AND/OR/WITH; given instead of a license object.
license?
optionallicense?:object
A single SPDX license; given instead of an expression.
license.id
id:
string
SPDX license id, e.g. MIT.
name
name:
string
Defined in: core/query/siteinfo.ts:783
Component name, e.g. PHP, MediaWiki, an extension/skin or package name.
purl?
optionalpurl?:string
Defined in: core/query/siteinfo.ts:824
Package URL of a foreign-resource component.
type
type:
string&object|"platform"|"library"|"application"
Defined in: core/query/siteinfo.ts:780
CycloneDX component type, e.g. platform, library, application.
url?
optionalurl?:string
Defined in: core/query/siteinfo.ts:836
Home URL declared by the extension.
version?
optionalversion?:string|null
Defined in: core/query/siteinfo.ts:789
Version string; null when a foreign resource declares none, absent when
the source does not report one.