import * as e from "yup";
import { BASE_SCHEMA_STRATEGIES as a } from "./baseSchemaStrategies.js";
function o(r) {
  if (!r.fieldType)
    return e.string();
  const t = a.find((n) => n.applies(r));
  return t ? t.create(r) : e.string();
}
export {
  o as createBaseSchema
};
