generaltranslation 7.1.0-alpha.6 → 7.1.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # generaltranslation
2
2
 
3
+ ## 7.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#444](https://github.com/generaltranslation/gt/pull/444) [`c206a11`](https://github.com/generaltranslation/gt/commit/c206a1158516a0d815b1570d77e6dd62acdcedc4) Thanks [@ErnestM1234](https://github.com/ErnestM1234)! - feat: add translation interface for generaltranslation
8
+
3
9
  ## 7.0.1
4
10
 
5
11
  ### Patch Changes
package/dist/types.d.ts CHANGED
@@ -300,6 +300,9 @@ type Metadata = {
300
300
  [key: string]: any;
301
301
  };
302
302
  type FormatVariables = Record<string, string | number | boolean | null | undefined | Date>;
303
+ /**
304
+ * @deprecated This type is deprecated and will be removed in a future version.
305
+ */
303
306
  type Update = {
304
307
  type: 'content';
305
308
  data: {
@@ -313,6 +316,9 @@ type Update = {
313
316
  metadata: Metadata;
314
317
  };
315
318
  };
319
+ /**
320
+ * @deprecated This type is deprecated and will be removed in a future version.
321
+ */
316
322
  type Request = {
317
323
  type: 'content';
318
324
  data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "7.1.0-alpha.6",
3
+ "version": "7.1.0",
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",