use generic apiloader property

This commit is contained in:
Jacob Overgaard
2024-02-29 15:05:04 +01:00
parent b942febbdb
commit 7a72bd08c8

View File

@@ -1,10 +1,12 @@
import type { UmbHealthCheckContext } from '../../../health-check/health-check.context.js';
import type { ApiLoaderProperty, ManifestElementAndApi } from '@umbraco-cms/backoffice/extension-api';
import type { ApiLoaderProperty, ManifestBase } from '@umbraco-cms/backoffice/extension-api';
export interface ManifestHealthCheck extends ManifestElementAndApi {
export interface ManifestHealthCheck extends ManifestBase {
type: 'healthCheck';
meta: MetaHealthCheck;
api: ApiLoaderProperty<UmbHealthCheckContext>;
/**
* The API to load for this health check. This should implement or extend the `UmbHealthCheckContext` interface.
*/
api: ApiLoaderProperty;
}
export interface MetaHealthCheck {