Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
979 B

type FenceParameterInputBuilderParameters<M extends MapToInputTestID> = {
formUtils: FormUtils<M>;
id: string;
isChecked?: boolean;
isRequired?: boolean;
isSensitive?: boolean;
label?: string;
name?: string;
selectOptions?: string[];
value?: string;
};
type FenceParameterInputBuilder<M extends MapToInputTestID> = (
args: FenceParameterInputBuilderParameters<M>,
) => ReactElement;
type MapToInputBuilder<M extends MapToInputTestID> = Partial<
Record<Exclude<FenceParameterType, 'string'>, FenceParameterInputBuilder<M>>
> & { string: FenceParameterInputBuilder<M> };
type CommonFenceInputGroupOptionalProps = {
fenceId?: string;
fenceTemplate?: APIFenceTemplate;
previousFenceName?: string;
previousFenceParameters?: FenceParameters;
fenceParameterTooltipProps?: import('@mui/material').TooltipProps;
};
type CommonFenceInputGroupProps<M extends MapToInputTestID> =
CommonFenceInputGroupOptionalProps & {
formUtils: FormUtils<M>;
};