export function convertDomainToFormValues(item) {
  var _a;
  if (!item) {
    return {};
  }
  return {
    domain: item.domain,
    loadBalancer: (_a = item.loadBalancer) === null || _a === void 0 ? void 0 : _a._id,
  };
}
export function convertFormValuesToDomain(values) {
  return {
    domain: values.domain,
    loadBalancer: { _id: values.loadBalancer },
  };
}
