mrjono1 / joi-to-typescript

Convert Joi Schemas to TypeScript interfaces
MIT License
125 stars 39 forks source link

Add support for simple object pattern in schema #356

Open danilvalov opened 1 year ago

danilvalov commented 1 year ago

Related issues: https://github.com/mrjono1/joi-to-typescript/issues/351 https://github.com/mrjono1/joi-to-typescript/issues/352

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 90.00% and project coverage change: -0.22% :warning:

Comparison is base (94fb293) 98.67% compared to head (ffbe3cb) 98.45%.

:exclamation: Current head ffbe3cb differs from pull request most recent head 78b4d8d. Consider uploading reports for the commit 78b4d8d to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #356 +/- ## ========================================== - Coverage 98.67% 98.45% -0.22% ========================================== Files 9 9 Lines 529 519 -10 Branches 203 199 -4 ========================================== - Hits 522 511 -11 - Misses 7 8 +1 ``` | [Files Changed](https://app.codecov.io/gh/mrjono1/joi-to-typescript/pull/356?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jono) | Coverage Δ | | |---|---|---| | [src/parse.ts](https://app.codecov.io/gh/mrjono1/joi-to-typescript/pull/356?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jono#diff-c3JjL3BhcnNlLnRz) | `96.92% <90.00%> (-0.49%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mrjono1 commented 1 year ago

Looks good, a few people are going to be happy with this