crowdin / crowdin-api-client-dotnet

.NET client library for Crowdin API
https://www.nuget.org/packages/Crowdin.Api/
MIT License
53 stars 26 forks source link

feat: Handle includePreTranslatedStringsOnly parameter for AddTaskRequest #165

Closed Riju-bak closed 1 year ago

Riju-bak commented 1 year ago

Related issue: https://github.com/crowdin/crowdin-api-client-dotnet/issues/163

Description: Crowdin-API's Add Task API now requires an includePreTranslatedStringsOnly parameter. crowdin-api-client-dotnet should thus be able to handle requests that contain this parameter within the body.

codecov[bot] commented 1 year ago

Codecov Report

Merging #165 (9806186) into main (f45d418) will increase coverage by 4.05%. The diff coverage is 86.44%.

@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
+ Coverage   50.38%   54.43%   +4.05%     
==========================================
  Files         277      308      +31     
  Lines        3688     4790    +1102     
==========================================
+ Hits         1858     2607     +749     
- Misses       1830     2183     +353     
Impacted Files Coverage Δ
src/Crowdin.Api/CrowdinApiClient.cs 14.56% <ø> (+8.08%) :arrow_up:
src/Crowdin.Api/Glossaries/GlossaryExportStatus.cs 0.00% <0.00%> (ø)
src/Crowdin.Api/Glossaries/GlossaryImportStatus.cs 0.00% <0.00%> (ø)
...rowdin.Api/ProjectsGroups/EnterpriseProjectForm.cs 0.00% <0.00%> (ø)
...c/Crowdin.Api/ProjectsGroups/FileFormatSettings.cs 5.27% <0.00%> (-2.63%) :arrow_down:
.../Crowdin.Api/ProjectsGroups/ProjectSettingPatch.cs 78.27% <ø> (+3.27%) :arrow_up:
...wdin.Api/ProjectsGroups/StringsBasedProjectForm.cs 0.00% <0.00%> (ø)
...Crowdin.Api/Tasks/LanguageServiceTaskCreateForm.cs 0.00% <0.00%> (ø)
src/Crowdin.Api/Tasks/TaskCreateForm.cs 0.00% <0.00%> (ø)
src/Crowdin.Api/Tasks/VendorOhtTaskCreateForm.cs 0.00% <0.00%> (ø)
... and 49 more

... and 61 files with indirect coverage changes

Riju-bak commented 1 year ago

Glad I could help :)