Skip to content

Variable: ManifestSchema ​

const ManifestSchema: TObject<{ apiVersion: TString; author: TObject<{ name: TString; url: TOptional<TString>; }>; capabilities: TArray<TUnion<[TLiteral<"chat:read-active">, TLiteral<"chat:read-unread-summary">, TLiteral<"composer:insert-draft">, TLiteral<"composer:read-draft">, TLiteral<"notifications:show">, TLiteral<"storage:local">]>>; contributes: TOptional<TObject<{ commands: TOptional<TArray<TObject<{ id: TString; shortcut: TOptional<TString>; title: TString; }>>>; composerActions: TOptional<TArray<TObject<{ command: TString; title: TString; }>>>; contextMenu: TOptional<TArray<TObject<{ command: TString; on: TUnion<[..., ...]>; title: TString; }>>>; panel: TOptional<TObject<{ entry: TString; title: TString; }>>; settings: TOptional<TRecord<"^.*$", TUnknown>>; }>>; description: TOptional<TString>; entry: TString; id: TString; name: TString; network: TOptional<TObject<{ hosts: TArray<TString>; }>>; signature: TOptional<TObject<{ algorithm: TLiteral<"ed25519">; publicKey: TString; value: TString; }>>; version: TString; }>

The manifest schema, as TypeBox; the published JSON Schema is generated from it.

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