generaltranslation 7.6.5 → 7.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ export type SubmitUserEditDiff = {
2
+ fileName: string;
3
+ locale: string;
4
+ diff: string;
5
+ versionId?: string;
6
+ fileId?: string;
7
+ localContent?: string;
8
+ };
9
+ export type SubmitUserEditDiffsPayload = {
10
+ projectId?: string;
11
+ diffs: SubmitUserEditDiff[];
12
+ };
@@ -1,3 +1,4 @@
1
+ import { FileFormat } from './file';
1
2
  export type DownloadFileBatchOptions = {
2
3
  timeout?: number;
3
4
  };
@@ -14,6 +15,7 @@ type File = {
14
15
  fileName: string;
15
16
  data: string;
16
17
  metadata: any;
18
+ fileFormat: FileFormat;
17
19
  };
18
20
  export type DownloadFileBatchResult = {
19
21
  files: File[];
package/dist/types.d.ts CHANGED
@@ -162,6 +162,7 @@ type File = {
162
162
  fileName: string;
163
163
  data: string;
164
164
  metadata: any;
165
+ fileFormat: FileFormat;
165
166
  };
166
167
  type DownloadFileBatchResult = {
167
168
  files: File[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "7.6.5",
3
+ "version": "7.7.1",
4
4
  "description": "A language toolkit for AI developers",
5
5
  "main": "dist/index.cjs.min.cjs",
6
6
  "module": "dist/index.esm.min.mjs",