hunk.code_window:   ): ValidationResponse => {
       const invalidResponse = {
         isValid: false,
         parsed: config.params?.default || moment().toISOString(true),
         messages: [`Value does not match: ${getExpectedType(config)}`],
       };
       if (value === undefined || value === null || !isString(value)) {
         if (!config.params?.required) {
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:       parsed: config.params?.default,
  
hunk.file_path: app/client/src/workers/validations.ts
hunk.type: replace
file: import * as Factory from "factory.ts";
  import { generateReactKey } from "utils/generators";
  import { WidgetProps } from "widgets/BaseWidget";
  
  export const FilepickerFactory = Factory.Sync.makeFactory<WidgetProps>({
    rightColumn: 8,
    isDefaultClickDisabled: true,
    topRow: 1,
    bottomRow: 2,
    isValid: "{{ FilePicker1.isRequired ? FilePicker1.files.length > 0 : true }}",
    parentRowSpace: 38,
    isVisible: true,
    label: "Upload Files",
    maxFileSize: "",
    type: "FILE_PICKER_WIDGET",
    dynamicBindingPathList: [],
    isLoading: false,
    parentColumnSpace: 34.6875,
    leftColumn: 4,
    files: [],
    widgetName: Factory.each((i) => `FilePicker${i + 1}`),
    widgetId: generateReactKey(),
    renderMode: "CANVAS",
    version: 1,
  });
  