generaltranslation 8.0.3 → 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.
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "8.0.3",
3
+ "version": "8.0.5",
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",