Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
yevheniyJ committed Jul 7, 2024
1 parent 25ff36d commit bca7f21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/languages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ export namespace LanguagesModel {

export interface AddLanguageRequest {
name: string;
dialectOf?: string;
code: string;
localeCode: string;
twoLettersCode?: string;
threeLettersCode: string;
textDirection: TextDirection;
pluralCategoryNames: string[];
threeLettersCode: string;
twoLettersCode?: string;
dialectOf?: string;
}

export type TextDirection = 'ltr' | 'rtl';
Expand Down
3 changes: 2 additions & 1 deletion src/machineTranslation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,16 @@ export namespace MachineTranslationModel {
| { apiKey: string }
| { credentials: string }
| { model: string; apiKey: string }
| { isSystemCredentials: boolean; apiKey: string }
| { endpoint: string; apiKey: string }
| { url: string }
| { accessKey: string; secretKey: string };

export interface CreateMachineTranslationRequest {
name: string;
groupId?: number;
type: string;
credentials: Credentials;
groupId?: number;
enabledLanguageIds?: string[];
enabledProjectIds?: number[];
isEnabled?: boolean;
Expand Down

0 comments on commit bca7f21

Please sign in to comment.