UiResource
Definition
Section titled “Definition”type UiResource = Readonly<{ format: 1; name: string; version: string; apiOrigins: readonly string[]; files: readonly Readonly<{ path: string; size: number; sha256: string }>[];}>;Fields
Section titled “Fields”| Field | Meaning |
|---|---|
name |
The name supplied at registration. |
version |
SHA-256 of the directory manifest, including file names, contents and declared API origins. |
apiOrigins |
Exact normalized API origins. |
files |
Packaged relative paths, byte lengths and SHA-256 hashes. |
format |
Manifest format, currently 1. |