export interface ResponseDataForm {
  error: boolean;
  msg: string;
  response: DataForm;
}

export interface DataForm {
  TITULO_REGISTRO: string;
  TITULO_MODIFICACION: string;
  FIELDS: Array<DataFields>;
}


export interface DataFields {
  step: string;
  multi_data: boolean;
  form: Array<FormItems>;
  num_cols: number;
}

export interface FormItems{
  id: string;
  max: string;
  tag: string;
  icon: string;
  name: string;
  type: string;
  label: string;
  value: string | Array<any> | boolean | Date;
  height: string;
  column: string;
  deleted: string;
  num_col: number;
  num_row: number;
  pattern: string;
  msgerror: string;
  disabled_reg: boolean;
  disabled_mod: boolean;
  readonly_reg: boolean;
  readonly_mod: boolean;
  required_reg: boolean;
  required_mod: boolean;
  data_file: string;
  data_table: {
    table: string;
    column: string;
  };
  accept_file: string;
  placeholder: string;
  group_select: boolean;
  multi_select: boolean;
  multi_radio: Array<any>;
  data_check: Array<any>;
  multi_check: boolean;
  data_select: Array<any>

}

export interface ResponseInformation {
  value: string | Array<any> | boolean | Date;
  column: string;
  required: boolean;
  data_table: {
    table: string;
    column: string;
  };
  pattern: string;
}
