VirtusLab-Open-Source / strapi-plugin-comments

A plugin for Strapi Headless CMS that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and more.
MIT License
405 stars 63 forks source link

Feat/typescript #123

Closed cyp3rius closed 2 years ago

cyp3rius commented 2 years ago

Summary

What does this PR do/solve?

Full migration to TypeScript 🔥

Test Plan

How are you testing the work you're submitting?

codecov-commenter commented 2 years ago

Codecov Report

Merging #123 (047cd73) into master (7736616) will decrease coverage by 3.91%. The diff coverage is 38.60%.

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   42.52%   38.60%   -3.92%     
==========================================
  Files          12        9       -3     
  Lines         428      487      +59     
  Branches      141      192      +51     
==========================================
+ Hits          182      188       +6     
- Misses        200      297      +97     
+ Partials       46        2      -44     
Flag Coverage Δ
unittest 38.60% <38.60%> (-3.92%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
server/services/client.ts 5.08% <5.08%> (ø)
server/services/admin.ts 5.71% <5.71%> (ø)
server/utils/functions.ts 34.78% <34.78%> (ø)
server/utils/error.ts 53.33% <53.33%> (ø)
server/services/utils/functions.ts 62.68% <62.68%> (ø)
server/services/common.ts 73.37% <73.37%> (ø)
content-types/comment.ts 100.00% <100.00%> (ø)
content-types/report.ts 100.00% <100.00%> (ø)
server/utils/constants.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7736616...047cd73. Read the comment docs.