var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });

// src/utils/convertColumnTypeToPrimitive.ts
var convertColumnTypeToPrimitive = /* @__PURE__ */ __name((type) => {
  let primitiveType;
  switch (type) {
    case "date":
      primitiveType = "date";
      break;
    case "boolean":
      primitiveType = "boolean";
      break;
    case "json":
    case "longText":
    case "string":
    case "enum":
    case "password":
    case "slug":
      primitiveType = "string";
      break;
    case "number":
    case "relationship":
    case "file":
      primitiveType = "number";
      break;
  }
  return primitiveType;
}, "convertColumnTypeToPrimitive");
export {
  convertColumnTypeToPrimitive
};
//# sourceMappingURL=convertColumnTypeToPrimitive.js.map