-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
Codecov Report
@@ 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
|
@@ -548,6 +611,24 @@ export namespace ProjectsGroupsModel { | |||
updatedAt: string; | |||
} | |||
|
|||
export interface AddProjectStringsExporterSettings { | |||
format: string; | |||
settings: Settings; |
There was a problem hiding this comment.
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.
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 { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
@nelvson do you need any assistance with resolving the discussions? |
What's in this PR?
listProjectStringsExporterSettings()
addProjectStringsExporterSettings()
getProjectStringsExporterSettings()
deleteProjectStringsExporterSettings()
editProjectStringsExporterSettings()
Related Issue