hunk.code_window:       });
       }
     }, [props.fields]);
     if (extraData) {
       isRequired = extraData[0].isRequired || extraData[1].isRequired;
     }
     return (
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:   const keyFieldValidate = useCallback(
       (value: string) => {
         if (value && keyFieldProps.validationRegex) {
           const regex = new RegExp(keyFieldProps.validationRegex);
           return regex.test(value) ? undefined : keyFieldProps.validationMessage;
         }
         return undefined;
       },
       [keyFieldProps.validationRegex, keyFieldProps.validationMessage],
     );
  
hunk.file_path: app/client/src/components/formControls/KeyValueArrayControl.tsx
hunk.type: add
file: package com.appsmith.server.domains;
  
  import com.appsmith.external.models.BaseDomain;
  import lombok.Getter;
  import lombok.Setter;
  import lombok.ToString;
  import org.springframework.data.mongodb.core.mapping.Document;
  
  import javax.validation.constraints.NotNull;
  
  @Getter
  @Setter
  @ToString
  @Document
  public class Permission extends BaseDomain {
  
      @NotNull
      private String name;
  
      private String description;
  }
  