@tsed/cli-mcp 7.5.0 → 7.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/lib/esm/utils/toZod.js +1 -1
  2. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  3. package/lib/types/fn/defineTool.d.ts +2 -2
  4. package/package.json +4 -10
  5. package/lib/esm/utils/json-schema-to-zod/Types.js +0 -1
  6. package/lib/esm/utils/json-schema-to-zod/cli.js +0 -74
  7. package/lib/esm/utils/json-schema-to-zod/index.js +0 -25
  8. package/lib/esm/utils/json-schema-to-zod/jsonSchemaToZod.js +0 -43
  9. package/lib/esm/utils/json-schema-to-zod/parsers/parseAllOf.js +0 -37
  10. package/lib/esm/utils/json-schema-to-zod/parsers/parseAnyOf.js +0 -11
  11. package/lib/esm/utils/json-schema-to-zod/parsers/parseArray.js +0 -16
  12. package/lib/esm/utils/json-schema-to-zod/parsers/parseBoolean.js +0 -3
  13. package/lib/esm/utils/json-schema-to-zod/parsers/parseConst.js +0 -3
  14. package/lib/esm/utils/json-schema-to-zod/parsers/parseDefault.js +0 -3
  15. package/lib/esm/utils/json-schema-to-zod/parsers/parseEnum.js +0 -15
  16. package/lib/esm/utils/json-schema-to-zod/parsers/parseIfThenElse.js +0 -20
  17. package/lib/esm/utils/json-schema-to-zod/parsers/parseMultipleType.js +0 -4
  18. package/lib/esm/utils/json-schema-to-zod/parsers/parseNot.js +0 -7
  19. package/lib/esm/utils/json-schema-to-zod/parsers/parseNull.js +0 -3
  20. package/lib/esm/utils/json-schema-to-zod/parsers/parseNullable.js +0 -8
  21. package/lib/esm/utils/json-schema-to-zod/parsers/parseNumber.js +0 -46
  22. package/lib/esm/utils/json-schema-to-zod/parsers/parseObject.js +0 -171
  23. package/lib/esm/utils/json-schema-to-zod/parsers/parseOneOf.js +0 -34
  24. package/lib/esm/utils/json-schema-to-zod/parsers/parseSchema.js +0 -138
  25. package/lib/esm/utils/json-schema-to-zod/parsers/parseString.js +0 -57
  26. package/lib/esm/utils/json-schema-to-zod/utils/cliTools.js +0 -99
  27. package/lib/esm/utils/json-schema-to-zod/utils/half.js +0 -3
  28. package/lib/esm/utils/json-schema-to-zod/utils/jsdocs.js +0 -12
  29. package/lib/esm/utils/json-schema-to-zod/utils/omit.js +0 -6
  30. package/lib/esm/utils/json-schema-to-zod/utils/withMessage.js +0 -19
  31. package/lib/types/utils/json-schema-to-zod/Types.d.ts +0 -68
  32. package/lib/types/utils/json-schema-to-zod/cli.d.ts +0 -2
  33. package/lib/types/utils/json-schema-to-zod/index.d.ts +0 -25
  34. package/lib/types/utils/json-schema-to-zod/jsonSchemaToZod.d.ts +0 -2
  35. package/lib/types/utils/json-schema-to-zod/parsers/parseAllOf.d.ts +0 -4
  36. package/lib/types/utils/json-schema-to-zod/parsers/parseAnyOf.d.ts +0 -4
  37. package/lib/types/utils/json-schema-to-zod/parsers/parseArray.d.ts +0 -4
  38. package/lib/types/utils/json-schema-to-zod/parsers/parseBoolean.d.ts +0 -4
  39. package/lib/types/utils/json-schema-to-zod/parsers/parseConst.d.ts +0 -4
  40. package/lib/types/utils/json-schema-to-zod/parsers/parseDefault.d.ts +0 -2
  41. package/lib/types/utils/json-schema-to-zod/parsers/parseEnum.d.ts +0 -4
  42. package/lib/types/utils/json-schema-to-zod/parsers/parseIfThenElse.d.ts +0 -6
  43. package/lib/types/utils/json-schema-to-zod/parsers/parseMultipleType.d.ts +0 -4
  44. package/lib/types/utils/json-schema-to-zod/parsers/parseNot.d.ts +0 -4
  45. package/lib/types/utils/json-schema-to-zod/parsers/parseNull.d.ts +0 -4
  46. package/lib/types/utils/json-schema-to-zod/parsers/parseNullable.d.ts +0 -7
  47. package/lib/types/utils/json-schema-to-zod/parsers/parseNumber.d.ts +0 -4
  48. package/lib/types/utils/json-schema-to-zod/parsers/parseObject.d.ts +0 -4
  49. package/lib/types/utils/json-schema-to-zod/parsers/parseOneOf.d.ts +0 -4
  50. package/lib/types/utils/json-schema-to-zod/parsers/parseSchema.d.ts +0 -46
  51. package/lib/types/utils/json-schema-to-zod/parsers/parseString.d.ts +0 -4
  52. package/lib/types/utils/json-schema-to-zod/utils/cliTools.d.ts +0 -28
  53. package/lib/types/utils/json-schema-to-zod/utils/half.d.ts +0 -1
  54. package/lib/types/utils/json-schema-to-zod/utils/jsdocs.d.ts +0 -3
  55. package/lib/types/utils/json-schema-to-zod/utils/omit.d.ts +0 -1
  56. package/lib/types/utils/json-schema-to-zod/utils/withMessage.d.ts +0 -10
@@ -1,6 +1,6 @@
1
1
  import { JsonSchema } from "@tsed/schema";
2
+ import { jsonSchemaToZod } from "json-schema-to-zod";
2
3
  import { z } from "zod";
3
- import { jsonSchemaToZod } from "./json-schema-to-zod/index.js";
4
4
  function transform(schema) {
5
5
  return eval(`(z) => ${jsonSchemaToZod(schema.toJSON(), { zodVersion: 4 })}`)(z);
6
6
  }