488ed99370
* add input validation to fix fields, i.e., select agent, and dynamic fields, i.e., fence parameters (according to param type) * connect add, update, delete dialogs to respective back-end endpoints
16 lines
386 B
TypeScript
16 lines
386 B
TypeScript
type EditFenceInputGroupOptionalProps = {
|
|
fenceTemplate?: APIFenceTemplate;
|
|
loading?: boolean;
|
|
};
|
|
|
|
type EditFenceInputGroupProps<M extends MapToInputTestID> =
|
|
EditFenceInputGroupOptionalProps &
|
|
Required<
|
|
Pick<
|
|
CommonFenceInputGroupProps,
|
|
'fenceId' | 'previousFenceName' | 'previousFenceParameters'
|
|
>
|
|
> & {
|
|
formUtils: FormUtils<M>;
|
|
};
|