Skip to main content

Interface: CatalogExtensionEntry

Defined in: Extensions/ExtensionCatalog.ts:44

One extension offered by a catalog.

downloadUrl and sha256 are what turn a listing into an install. The hash is checked against the downloaded bytes before anything is unpacked, so a catalog that lies about a bundle fails closed rather than shipping unexpected code into the extraction path.

Properties

description?

optional description?: string

Defined in: Extensions/ExtensionCatalog.ts:52

One-line description for the listing.


downloadUrl

downloadUrl: string

Defined in: Extensions/ExtensionCatalog.ts:56

Absolute https URL of the .zip bundle.


engines?

optional engines?: string

Defined in: Extensions/ExtensionCatalog.ts:64

Host app version range this build supports (engines.bibleApp).


homepage?

optional homepage?: string

Defined in: Extensions/ExtensionCatalog.ts:66

Publisher homepage for the listing.


id

id: string

Defined in: Extensions/ExtensionCatalog.ts:46

Extension id, matching the id in the bundle's manifest.


name

name: string

Defined in: Extensions/ExtensionCatalog.ts:50

Display name for the listing.


permissions?

optional permissions?: string[]

Defined in: Extensions/ExtensionCatalog.ts:62

Permissions the bundle declares, shown before download.


publisher?

optional publisher?: string

Defined in: Extensions/ExtensionCatalog.ts:54

Publisher display name as claimed by the catalog.


publisherKey?

optional publisherKey?: string

Defined in: Extensions/ExtensionCatalog.ts:74

Hex-encoded Ed25519 public key the catalog claims signs this extension.

Advisory only. The key that decides the trust tier is the one inside the downloaded package, checked against the app's own trusted-publisher set — a catalog cannot promote itself by naming a key here.


sha256

sha256: string

Defined in: Extensions/ExtensionCatalog.ts:58

Lowercase hex SHA-256 of the bundle bytes.


sizeBytes?

optional sizeBytes?: number

Defined in: Extensions/ExtensionCatalog.ts:60

Bundle size in bytes, used for the download progress UI and a sanity cap.


version

version: string

Defined in: Extensions/ExtensionCatalog.ts:48

Semantic version of the offered build.