Interface: Asset
Defined in: types.ts:19
Represents a single discovered, downloaded, or embedded asset. This includes JS, CSS, images, fonts, etc.
Properties
content?
optional
content:string
Defined in: types.ts:26
Inlined or fetched content
fontMeta?
optional
fontMeta:object
Defined in: types.ts:29
Font-specific metadata for font-face usage
familyName
familyName:
string
format?
optional
format:string
style?
optional
style:"normal"
|"italic"
|"oblique"
weight?
optional
weight:number
type
type:
"css"
|"js"
|"image"
|"font"
|"video"
|"audio"
|"other"
Defined in: types.ts:20
url
url:
string
Defined in: types.ts:23
The resolved or original URL of the asset