import { setResponseValueAndErrors as i } from "../errorMessages.js";
import { parseDef as a } from "../parseDef.js";
function u(e, m) {
  const t = {
    type: "array",
    uniqueItems: !0,
    items: a(e.valueType._def, {
      ...m,
      currentPath: [...m.currentPath, "items"]
    })
  };
  return e.minSize && i(t, "minItems", e.minSize.value, e.minSize.message, m), e.maxSize && i(t, "maxItems", e.maxSize.value, e.maxSize.message, m), t;
}
export {
  u as parseSetDef
};
//# sourceMappingURL=set.js.map
