Skip to content

Variable: MarketplaceIndexSchema ​

const MarketplaceIndexSchema: TObject<{ expires: TString; extensions: TArray<TObject<{ author: TObject<{ name: TString; url: TOptional<TString>; }>; homepage: TString; id: TString; license: TString; name: TString; review: TUnion<[TLiteral<"official">, TLiteral<"reviewed">]>; screenshots: TOptional<TArray<TObject<{ caption: TString; url: TString; }>>>; signer: TString; summary: TString; versions: TArray<TObject<{ capabilities: TArray<TString>; hosts: TArray<TString>; minYapYap: TString; notes: TOptional<TString>; published: TString; sha256: TString; size: TInteger; version: TString; }>>; }>>; format: TLiteral<1>; generated: TString; revoked: TArray<TObject<{ id: TString; reason: TString; signer: TString; versions: TUnion<[TLiteral<"*">, TArray<TString>]>; }>>; serial: TInteger; }>

The extension marketplace's index (ADR 0014): the official and reviewed extensions, each version's archive hash, and the versions pulled since. YapYap trusts it only with a valid signature from a first-party key, a serial no lower than the last one it accepted, and an unexpired expires.

Released under the MIT License. Development supported by Ensita. YapYap is unofficial and not affiliated with WhatsApp or Meta.