Add 'ManifestWithDynamicConditions' to ManifestHeaderApp so Header Apps can be conditionally shown/loaded (#19124)

This commit is contained in:
Warren Buckley
2025-04-24 11:25:58 +01:00
committed by Mads Rasmussen
parent b48d989659
commit 97ded97fc7

View File

@@ -1,10 +1,10 @@
import type { ManifestElement } from '@umbraco-cms/backoffice/extension-api';
import type { ManifestElement, ManifestWithDynamicConditions } from '@umbraco-cms/backoffice/extension-api';
/**
* 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 {
export interface ManifestHeaderApp extends ManifestElement, ManifestWithDynamicConditions<UmbExtensionConditionConfig> {
type: 'headerApp';
//meta: MetaHeaderApp;
}