hunk.code_window: export const TABLE_SIZES: { [key: string]: TableSizes } = {
     [CompactModeTypes.DEFAULT]: {
       COLUMN_HEADER_HEIGHT: 38,
       TABLE_HEADER_HEIGHT: 45,
       ROW_HEIGHT: 40,
  
hunk.labels: keep keep keep keep replace keep
hunk.after_edit:     TABLE_HEADER_HEIGHT: 42,
  
hunk.file_path: app/client/src/widgets/TableWidget.tsx
hunk.type: replace
file: import { getFormValues, isValid, getFormInitialValues } from "redux-form";
  import { AppState } from "reducers";
  import { RestAction } from "entities/Action";
  import { ActionData } from "reducers/entityReducers/actionsReducer";
  
  type GetFormData = (
    state: AppState,
    formName: string,
  ) => { values: object; valid: boolean };
  
  export const getFormData: GetFormData = (state, formName) => {
    const initialValues = getFormInitialValues(formName)(state) as RestAction;
    const values = getFormValues(formName)(state) as RestAction;
    const valid = isValid(formName)(state);
    return { initialValues, values, valid };
  };
  
  export const getApiName = (state: AppState, id: string) => {
    return state.entities.actions.find(
      (action: ActionData) => action.config.id === id,
    )?.config.name;
  };
  