Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added schemas for upload requests #252

Merged
merged 2 commits into from
Apr 17, 2024
Merged

feat: added schemas for upload requests #252

merged 2 commits into from
Apr 17, 2024

Conversation

slaveeks
Copy link
Member

Added validation schemas for uploading file requests

Copy link

github-actions bot commented Apr 17, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 86.19% (🎯 80%)
⬇️ -0.10%
7436 / 8627
🟢 Statements 86.19% (🎯 80%)
⬇️ -0.10%
7436 / 8627
🔴 Functions 79.27% (🎯 80%)
⬇️ -0.20%
241 / 304
🟢 Branches 85.68% (🎯 80%)
⬇️ -0.16%
365 / 426
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/presentation/http/http-api.ts 96.07% 90.32% 93.75% 96.07% 104-112, 124-125, 323-324, 348-349
src/presentation/http/middlewares/note/useNoteResolver.ts 97.43% 85.71% 100% 97.43% 65-66
src/presentation/http/router/upload.ts 76.71% 100% 100% 76.71% 86-112, 134-140
src/presentation/http/schema/Upload.ts 100% 100% 100% 100%
Generated in workflow #694

@slaveeks slaveeks requested a review from neSpecc April 17, 2024 18:59
@slaveeks slaveeks merged commit ab61c3c into main Apr 17, 2024
6 checks passed
@slaveeks slaveeks mentioned this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants