generaltranslation 8.0.4 → 8.0.5
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.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/types-dir/api/file.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# generaltranslation
|
|
2
2
|
|
|
3
|
+
## 8.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#833](https://github.com/generaltranslation/gt/pull/833) [`30a04f9`](https://github.com/generaltranslation/gt/commit/30a04f955c64013daf2a32480fb33b3d4e08d678) Thanks [@brian-lou](https://github.com/brian-lou)! - Add txt file translation support
|
|
8
|
+
|
|
3
9
|
## 8.0.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ type FileQueryResult = {
|
|
|
155
155
|
}[];
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
type FileFormat = 'GTJSON' | 'JSON' | 'YAML' | 'MDX' | 'MD' | 'TS' | 'JS' | 'HTML';
|
|
158
|
+
type FileFormat = 'GTJSON' | 'JSON' | 'YAML' | 'MDX' | 'MD' | 'TS' | 'JS' | 'HTML' | 'TXT';
|
|
159
159
|
/**
|
|
160
160
|
* File object structure for referencing files
|
|
161
161
|
* @param fileId - The ID of the file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataFormat } from 'src/types';
|
|
2
2
|
import { Entry } from './entry';
|
|
3
|
-
export type FileFormat = 'GTJSON' | 'JSON' | 'YAML' | 'MDX' | 'MD' | 'TS' | 'JS' | 'HTML';
|
|
3
|
+
export type FileFormat = 'GTJSON' | 'JSON' | 'YAML' | 'MDX' | 'MD' | 'TS' | 'JS' | 'HTML' | 'TXT';
|
|
4
4
|
export type FileMetadata = {
|
|
5
5
|
filePath: string;
|
|
6
6
|
fileFormat: FileFormat;
|
package/dist/types.d.ts
CHANGED
|
@@ -141,7 +141,7 @@ type CheckFileTranslationsOptions = {
|
|
|
141
141
|
timeout?: number;
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
type FileFormat = 'GTJSON' | 'JSON' | 'YAML' | 'MDX' | 'MD' | 'TS' | 'JS' | 'HTML';
|
|
144
|
+
type FileFormat = 'GTJSON' | 'JSON' | 'YAML' | 'MDX' | 'MD' | 'TS' | 'JS' | 'HTML' | 'TXT';
|
|
145
145
|
/**
|
|
146
146
|
* File object structure for uploading files
|
|
147
147
|
* @param content - Content of the file
|