type for condition arguments

This commit is contained in:
Niels Lyngsø
2023-07-28 11:28:06 +02:00
parent be06258a13
commit 608c9a84e6
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import type { UmbConditionConfigBase } from '../types.js';
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
export type UmbConditionControllerArguments<
ConditionConfigType extends UmbConditionConfigBase = UmbConditionConfigBase
> = { host: UmbControllerHost; config: ConditionConfigType; onChange: () => void };

View File

@@ -1 +1,2 @@
export * from './extension-condition.interface';
export * from './condition-controller-arguments.type';