<script>
import { ref, computed } from 'vue';
import { columnTypes } from "@/components/forms/other/types/dataColumnsType.vue";
import { applyColumnProperties } from "@/components/forms/other/types/dataColumn.vue";
import { setDataColumns } from "@/components/forms/other/MassDataInserter.vue";

// Function to generate a new column
export const generateNewColumn = (
    id,
    type,
    properties = {}
) => {
  return {
    id: id,
    type: type,
    properties: applyColumnProperties(properties),
  };
};
</script>