BrandAsset.
One file a page loads, held whole in bronze
Figure 1BrandAssetspecified
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- market
Fields#
| field | type | required | note |
|---|---|---|---|
address | address | yes | |
artefact | hash | yes | |
kind | text | yes | png, jpeg, gif, webp, svg, ico, woff, woff2, ttf, otf, mp4, webm or other, read from the bytes |
role | one of image | animated image | icon | font | media | yes | |
bytes | count | yes | |
width | number | no | read from the file’s header, in px |
height | number | no | |
basis | Basis | yes | |
from | [hash] | yes | the documents and stylesheets that load it |
Routes that use it#
No route takes or returns BrandAsset directly. The record holds it, and the objects that point at it reach it.