@intlayer/core 8.0.1-canary.1 → 8.0.2-canary.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NodeProps, Plugins } from "../interpreter/getContent/plugins.js";
|
|
2
2
|
import "../interpreter/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _intlayer_types0 from "@intlayer/types";
|
|
4
4
|
import { ContentNode, DeclaredLocales, Dictionary, LocalesValues } from "@intlayer/types";
|
|
5
5
|
|
|
6
6
|
//#region src/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts
|
|
@@ -24,12 +24,12 @@ declare const getFilterMissingTranslationsContent: <T extends ContentNode, L ext
|
|
|
24
24
|
declare const getFilterMissingTranslationsDictionary: (dictionary: Dictionary, localeToCheck: LocalesValues) => {
|
|
25
25
|
content: any;
|
|
26
26
|
$schema?: "https://intlayer.org/schema.json";
|
|
27
|
-
id?:
|
|
27
|
+
id?: _intlayer_types0.DictionaryId;
|
|
28
28
|
projectIds?: string[];
|
|
29
|
-
localId?:
|
|
30
|
-
localIds?:
|
|
31
|
-
format?:
|
|
32
|
-
key:
|
|
29
|
+
localId?: _intlayer_types0.LocalDictionaryId;
|
|
30
|
+
localIds?: _intlayer_types0.LocalDictionaryId[];
|
|
31
|
+
format?: _intlayer_types0.DictionaryFormat;
|
|
32
|
+
key: _intlayer_types0.DictionaryKey;
|
|
33
33
|
title?: string;
|
|
34
34
|
description?: string;
|
|
35
35
|
versions?: string[];
|
|
@@ -37,12 +37,12 @@ declare const getFilterMissingTranslationsDictionary: (dictionary: Dictionary, l
|
|
|
37
37
|
filePath?: string;
|
|
38
38
|
tags?: string[];
|
|
39
39
|
locale?: LocalesValues;
|
|
40
|
-
contentAutoTransformation?:
|
|
41
|
-
fill?:
|
|
40
|
+
contentAutoTransformation?: _intlayer_types0.ContentAutoTransformation;
|
|
41
|
+
fill?: _intlayer_types0.Fill;
|
|
42
42
|
filled?: true;
|
|
43
43
|
priority?: number;
|
|
44
|
-
importMode?:
|
|
45
|
-
location?:
|
|
44
|
+
importMode?: _intlayer_types0.ImportMode;
|
|
45
|
+
location?: _intlayer_types0.DictionaryLocation;
|
|
46
46
|
schema: undefined;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DeepTransformContent, NodeProps, Plugins } from "../interpreter/getContent/plugins.js";
|
|
2
2
|
import "../interpreter/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _intlayer_types8 from "@intlayer/types";
|
|
4
4
|
import { ContentNode, DeclaredLocales, Dictionary, LocalesValues } from "@intlayer/types";
|
|
5
5
|
|
|
6
6
|
//#region src/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts
|
|
@@ -16,12 +16,12 @@ declare const getFilterTranslationsOnlyContent: <T extends ContentNode, L extend
|
|
|
16
16
|
declare const getFilterTranslationsOnlyDictionary: (dictionary: Dictionary, locale?: LocalesValues, fallback?: LocalesValues) => {
|
|
17
17
|
content: any;
|
|
18
18
|
$schema?: "https://intlayer.org/schema.json";
|
|
19
|
-
id?:
|
|
19
|
+
id?: _intlayer_types8.DictionaryId;
|
|
20
20
|
projectIds?: string[];
|
|
21
|
-
localId?:
|
|
22
|
-
localIds?:
|
|
23
|
-
format?:
|
|
24
|
-
key:
|
|
21
|
+
localId?: _intlayer_types8.LocalDictionaryId;
|
|
22
|
+
localIds?: _intlayer_types8.LocalDictionaryId[];
|
|
23
|
+
format?: _intlayer_types8.DictionaryFormat;
|
|
24
|
+
key: _intlayer_types8.DictionaryKey;
|
|
25
25
|
title?: string;
|
|
26
26
|
description?: string;
|
|
27
27
|
versions?: string[];
|
|
@@ -29,12 +29,12 @@ declare const getFilterTranslationsOnlyDictionary: (dictionary: Dictionary, loca
|
|
|
29
29
|
filePath?: string;
|
|
30
30
|
tags?: string[];
|
|
31
31
|
locale?: LocalesValues;
|
|
32
|
-
contentAutoTransformation?:
|
|
33
|
-
fill?:
|
|
32
|
+
contentAutoTransformation?: _intlayer_types8.ContentAutoTransformation;
|
|
33
|
+
fill?: _intlayer_types8.Fill;
|
|
34
34
|
filled?: true;
|
|
35
35
|
priority?: number;
|
|
36
|
-
importMode?:
|
|
37
|
-
location?:
|
|
36
|
+
importMode?: _intlayer_types8.ImportMode;
|
|
37
|
+
location?: _intlayer_types8.DictionaryLocation;
|
|
38
38
|
schema: undefined;
|
|
39
39
|
};
|
|
40
40
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/core",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.2-canary.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.",
|
|
6
6
|
"keywords": [
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@intlayer/api": "8.0.
|
|
119
|
-
"@intlayer/config": "8.0.
|
|
120
|
-
"@intlayer/dictionaries-entry": "8.0.
|
|
121
|
-
"@intlayer/types": "8.0.
|
|
122
|
-
"@intlayer/unmerged-dictionaries-entry": "8.0.
|
|
118
|
+
"@intlayer/api": "8.0.2-canary.0",
|
|
119
|
+
"@intlayer/config": "8.0.2-canary.0",
|
|
120
|
+
"@intlayer/dictionaries-entry": "8.0.2-canary.0",
|
|
121
|
+
"@intlayer/types": "8.0.2-canary.0",
|
|
122
|
+
"@intlayer/unmerged-dictionaries-entry": "8.0.2-canary.0",
|
|
123
123
|
"defu": "6.1.4"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|