Skip to content

Commit

Permalink
file context (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
yevheniyJ authored Oct 20, 2023
1 parent 1d6db99 commit 7354f0e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/sourceFiles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ export namespace SourceFilesModel {
directoryId: number;
name: string;
title: string;
context: string;
type: string;
path: string;
status: string;
Expand All @@ -554,7 +555,9 @@ export namespace SourceFilesModel {
branchId?: number;
directoryId?: number;
title?: string;
context?: string;
type?: FileType;
parserVersion?: number;
importOptions?: ImportOptions;
exportOptions?: GeneralExportOptions | PropertyExportOptions;
attachLabelIds?: number[];
Expand Down Expand Up @@ -644,13 +647,21 @@ export namespace SourceFilesModel {

export interface SpreadsheetImportOptions {
firstLineContainsHeader: boolean;
contentSegmentation: boolean;
srxStorageId: number;
importTranslations: boolean;
scheme: Scheme;
}

export interface Scheme {
none: number;
identifier: number;
sourcePhrase: number;
sourceOrTranslation: number;
translation: number;
context: number;
maxLength: number;
labels: number;
[key: string]: number;
}

Expand Down Expand Up @@ -702,6 +713,7 @@ export namespace SourceFilesModel {
export interface PropertyExportOptions {
escapeQuotes: EscapeQuotes;
exportPattern: string;
escapeSpecialCharacters?: 0 | 1;
}

export interface JavaScriptExportOptions {
Expand Down

0 comments on commit 7354f0e

Please sign in to comment.