use generic apiloader property
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user