Skip to content

UiResource

type UiResource = Readonly<{
format: 1; name: string; version: string; apiOrigins: readonly string[];
files: readonly Readonly<{ path: string; size: number; sha256: string }>[];
}>;
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.