generaltranslation 7.1.0 → 7.1.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.
- package/CHANGELOG.md +6 -0
- package/dist/types-dir/entry.d.ts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# generaltranslation
|
2
2
|
|
3
|
+
## 7.1.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#487](https://github.com/generaltranslation/gt/pull/487) [`984cf09`](https://github.com/generaltranslation/gt/commit/984cf098fea9d42f5619e95b78ad289c32e3b4d2) Thanks [@ErnestM1234](https://github.com/ErnestM1234)! - fix: metadata field
|
8
|
+
|
3
9
|
## 7.1.0
|
4
10
|
|
5
11
|
### Minor Changes
|
@@ -28,10 +28,10 @@ export type EntryMetadata = {
|
|
28
28
|
*
|
29
29
|
* @param source - The source content to translate.
|
30
30
|
* @param targetLocale - The target locale to translate to.
|
31
|
-
* @param
|
31
|
+
* @param metadata - The metadata for the request.
|
32
32
|
*/
|
33
33
|
export type Entry = {
|
34
34
|
source: Content;
|
35
35
|
targetLocale?: string;
|
36
|
-
|
36
|
+
metadata?: EntryMetadata;
|
37
37
|
};
|
package/dist/types.d.ts
CHANGED
@@ -110,12 +110,12 @@ type EntryMetadata = {
|
|
110
110
|
*
|
111
111
|
* @param source - The source content to translate.
|
112
112
|
* @param targetLocale - The target locale to translate to.
|
113
|
-
* @param
|
113
|
+
* @param metadata - The metadata for the request.
|
114
114
|
*/
|
115
115
|
type Entry = {
|
116
116
|
source: Content;
|
117
117
|
targetLocale?: string;
|
118
|
-
|
118
|
+
metadata?: EntryMetadata;
|
119
119
|
};
|
120
120
|
|
121
121
|
type TranslationStatusResult = {
|