import type { ManifestElement, ManifestWithDynamicConditions } from '../../../../libs/extension-api/index.js'; /** * Header apps are displayed in the top right corner of the backoffice * The two provided header apps are the search and the user menu */ export interface ManifestHeaderApp extends ManifestElement, ManifestWithDynamicConditions { type: 'headerApp'; } export interface ManifestHeaderAppButtonKind extends ManifestHeaderApp { type: 'headerApp'; kind: 'button'; meta: MetaHeaderAppButtonKind; } export interface MetaHeaderAppButtonKind { href: string; label: string; icon: string; } declare global { interface UmbExtensionManifestMap { UmbHeaderAppExtension: ManifestHeaderApp | ManifestHeaderAppButtonKind; } }