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: Strings Exporter Settings methods #304

Closed
wants to merge 2 commits into from

Conversation

nelvson
Copy link

@nelvson nelvson commented Oct 4, 2023

What's in this PR?

Related Issue

@nelvson nelvson changed the title Projects/strings exporter Strings Exporter Settings methods Oct 4, 2023
@nelvson nelvson changed the title Strings Exporter Settings methods feat: Strings Exporter Settings methods Oct 4, 2023
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #304 (3204a40) into master (f5fbeb4) will increase coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
+ Coverage   92.08%   92.17%   +0.09%     
==========================================
  Files          34       34              
  Lines        1376     1391      +15     
  Branches      117      117              
==========================================
+ Hits         1267     1282      +15     
  Misses         75       75              
  Partials       34       34              
Files Coverage Δ
src/projectsGroups/index.ts 98.91% <100.00%> (+0.22%) ⬆️

@@ -548,6 +611,24 @@ export namespace ProjectsGroupsModel {
updatedAt: string;
}

export interface AddProjectStringsExporterSettings {
format: string;
settings: Settings;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Settings type is not suitable here. The new type should be created instead.


image

https://developer.crowdin.com/api/v2/#operation/api.projects.strings-exporter-settings.post

@@ -579,4 +660,8 @@ export namespace ProjectsGroupsModel {
importNotes?: boolean;
importHiddenSlides?: boolean;
}

export interface StringsExporterSettings extends CommonFileFormatSettings {
Copy link
Member

@andrii-bodnar andrii-bodnar Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also not related to the CommonFileFormatSettings and shouldn't extend it

Copy link
Member

@andrii-bodnar andrii-bodnar Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file shouldn't be here

@andrii-bodnar andrii-bodnar added the hacktoberfest This issue welcomes contributions for Hacktoberfest label Oct 4, 2023
@andrii-bodnar andrii-bodnar linked an issue Oct 4, 2023 that may be closed by this pull request
@andrii-bodnar
Copy link
Member

@nelvson do you need any assistance with resolving the discussions?

@andrii-bodnar andrii-bodnar added the invalid This doesn't seem right label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest This issue welcomes contributions for Hacktoberfest invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strings Exporter Settings API
2 participants