Custom Extension types
Manifest Type Declaration
import type { ManifestBase } from '@umbraco-cms/backoffice/extension-api';
export interface ManifestPreviewAppProvider extends ManifestBase {
type: 'myPrefixedExtensionType';
}
// Declare the Manifest Type in the global UmbExtensionManifestMap interface:
declare global {
interface UmbExtensionManifestMap {
MyPrefixedExtensionManifest: MyExtensionManifestType;
}
}Last updated
Was this helpful?