mrjono1 / joi-to-typescript

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

Array - add support for ordered feature - tuple #359

Closed konstantinzelinsky closed 1 year ago

konstantinzelinsky commented 1 year ago

This PR adds support for ordered feature in handler of Joi.array(). I added new joinOperation for this - tuple

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.04% :tada:

Comparison is base (9f8c7ac) 98.63% compared to head (21d8899) 98.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #359 +/- ## ========================================== + Coverage 98.63% 98.67% +0.04% ========================================== Files 9 9 Lines 512 529 +17 Branches 197 203 +6 ========================================== + Hits 505 522 +17 Misses 7 7 ``` | [Files Changed](https://app.codecov.io/gh/mrjono1/joi-to-typescript/pull/359?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jono) | Coverage Δ | | |---|---|---| | [src/types.ts](https://app.codecov.io/gh/mrjono1/joi-to-typescript/pull/359?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jono#diff-c3JjL3R5cGVzLnRz) | `100.00% <ø> (ø)` | | | [src/parse.ts](https://app.codecov.io/gh/mrjono1/joi-to-typescript/pull/359?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jono#diff-c3JjL3BhcnNlLnRz) | `97.40% <100.00%> (+0.17%)` | :arrow_up: |

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

mrjono1 commented 1 year ago

thankyou for the contribution