hunk.code_window:             {
                 "label": "Host Address",
                 "configProperty": "datasourceConfiguration.endpoints[*].host",
                 "controlType": "KEYVALUE_ARRAY"
               },
               {
                 "label": "Port",
                 "configProperty": "datasourceConfiguration.endpoints[*].port",
                 "dataType": "NUMBER",
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:               "controlType": "KEYVALUE_ARRAY",
                 "validationMessage": "Please enter a valid host",
                 "validationRegex": "^((?![/:]).)*$"
  
hunk.file_path: app/server/appsmith-plugins/mongoPlugin/src/main/resources/form.json
hunk.type: replace
file: import { CommonComponentProps } from "./common";
  
  type ToggleProps = CommonComponentProps & {
    onToggle: (value: boolean) => void;
    value: boolean;
  };
  
  export default function Toggle(props: ToggleProps) {
    return null;
  }
  