@intlayer/core 7.0.3-canary.0 → 7.0.3-canary.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/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +4 -4
- package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +4 -4
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +4 -4
- package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +2 -2
- package/dist/types/getStorageAttributes.d.ts.map +1 -1
- package/dist/types/transpiler/translation/translation.d.ts +1 -1
- package/dist/types/transpiler/translation/translation.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeProps, Plugins } from "../interpreter/getContent/plugins.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _intlayer_types2 from "@intlayer/types";
|
|
3
3
|
import { ContentNode, DeclaredLocales, Dictionary, LocalesValues } from "@intlayer/types";
|
|
4
4
|
|
|
5
5
|
//#region src/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts
|
|
@@ -25,8 +25,8 @@ declare const getFilterMissingTranslationsDictionary: (dictionary: Dictionary, l
|
|
|
25
25
|
$schema?: string;
|
|
26
26
|
id?: string;
|
|
27
27
|
projectIds?: string[];
|
|
28
|
-
localId?:
|
|
29
|
-
localIds?:
|
|
28
|
+
localId?: _intlayer_types2.LocalDictionaryId;
|
|
29
|
+
localIds?: _intlayer_types2.LocalDictionaryId[];
|
|
30
30
|
key: string;
|
|
31
31
|
title?: string;
|
|
32
32
|
description?: string;
|
|
@@ -35,7 +35,7 @@ declare const getFilterMissingTranslationsDictionary: (dictionary: Dictionary, l
|
|
|
35
35
|
filePath?: string;
|
|
36
36
|
tags?: string[];
|
|
37
37
|
locale?: LocalesValues;
|
|
38
|
-
fill?:
|
|
38
|
+
fill?: _intlayer_types2.Fill;
|
|
39
39
|
filled?: true;
|
|
40
40
|
priority?: number;
|
|
41
41
|
live?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeepTransformContent, NodeProps, Plugins } from "../interpreter/getContent/plugins.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _intlayer_types0 from "@intlayer/types";
|
|
3
3
|
import { ContentNode, DeclaredLocales, Dictionary, LocalesValues } from "@intlayer/types";
|
|
4
4
|
|
|
5
5
|
//#region src/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts
|
|
@@ -17,8 +17,8 @@ declare const getFilterTranslationsOnlyDictionary: (dictionary: Dictionary, loca
|
|
|
17
17
|
$schema?: string;
|
|
18
18
|
id?: string;
|
|
19
19
|
projectIds?: string[];
|
|
20
|
-
localId?:
|
|
21
|
-
localIds?:
|
|
20
|
+
localId?: _intlayer_types0.LocalDictionaryId;
|
|
21
|
+
localIds?: _intlayer_types0.LocalDictionaryId[];
|
|
22
22
|
key: string;
|
|
23
23
|
title?: string;
|
|
24
24
|
description?: string;
|
|
@@ -27,7 +27,7 @@ declare const getFilterTranslationsOnlyDictionary: (dictionary: Dictionary, loca
|
|
|
27
27
|
filePath?: string;
|
|
28
28
|
tags?: string[];
|
|
29
29
|
locale?: LocalesValues;
|
|
30
|
-
fill?:
|
|
30
|
+
fill?: _intlayer_types0.Fill;
|
|
31
31
|
filled?: true;
|
|
32
32
|
priority?: number;
|
|
33
33
|
live?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeProps } from "../interpreter/getContent/plugins.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _intlayer_types5 from "@intlayer/types";
|
|
3
3
|
import { ContentNode, Dictionary, LocalesValues } from "@intlayer/types";
|
|
4
4
|
|
|
5
5
|
//#region src/deepTransformPlugins/getFilteredLocalesContent.d.ts
|
|
@@ -9,8 +9,8 @@ declare const getFilteredLocalesDictionary: (dictionary: Dictionary, locale: Loc
|
|
|
9
9
|
$schema?: string;
|
|
10
10
|
id?: string;
|
|
11
11
|
projectIds?: string[];
|
|
12
|
-
localId?:
|
|
13
|
-
localIds?:
|
|
12
|
+
localId?: _intlayer_types5.LocalDictionaryId;
|
|
13
|
+
localIds?: _intlayer_types5.LocalDictionaryId[];
|
|
14
14
|
key: string;
|
|
15
15
|
title?: string;
|
|
16
16
|
description?: string;
|
|
@@ -19,7 +19,7 @@ declare const getFilteredLocalesDictionary: (dictionary: Dictionary, locale: Loc
|
|
|
19
19
|
filePath?: string;
|
|
20
20
|
tags?: string[];
|
|
21
21
|
locale?: LocalesValues;
|
|
22
|
-
fill?:
|
|
22
|
+
fill?: _intlayer_types5.Fill;
|
|
23
23
|
filled?: true;
|
|
24
24
|
priority?: number;
|
|
25
25
|
live?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types8 from "@intlayer/types";
|
|
2
2
|
import { Dictionary } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/dictionaryManipulator/orderDictionaries.d.ts
|
|
@@ -10,7 +10,7 @@ import { Dictionary } from "@intlayer/types";
|
|
|
10
10
|
* @param priorityStrategy - The priority strategy ('local_first' or 'distant_first')
|
|
11
11
|
* @returns Ordered array of dictionaries
|
|
12
12
|
*/
|
|
13
|
-
declare const orderDictionaries: (dictionaries: Dictionary[], configuration?:
|
|
13
|
+
declare const orderDictionaries: (dictionaries: Dictionary[], configuration?: _intlayer_types8.IntlayerConfig) => Dictionary[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { orderDictionaries };
|
|
16
16
|
//# sourceMappingURL=orderDictionaries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStorageAttributes.d.ts","names":[],"sources":["../../src/getStorageAttributes.ts"],"sourcesContent":[],"mappings":";;;KAWK,WAAA;;EAAA,UAAA,EAES,IAFE,CAEG,iBAAA,EAAA,MAAA,
|
|
1
|
+
{"version":3,"file":"getStorageAttributes.d.ts","names":[],"sources":["../../src/getStorageAttributes.ts"],"sourcesContent":[],"mappings":";;;KAWK,WAAA;;EAAA,UAAA,EAES,IAFE,CAEG,iBAAA,EAAA,MAAA,GAAL,MAAI,CAAA;AAAA,CAAA;AAGE,KAAf,eAAA,GAIW;EAIJ,IAAA,EAAA,MAAA;CACD;KALN,WAAA,GAMW;EACE,IAAA,EAAA,MAAA;CACP;AAAW,KAJV,0BAAA,GAIU;EAuLT,OAAA,EA1LF,WA0LE,EAAA;gBAzLG;kBACE;WACP;;;;;;;;cAuLE,gCACF,yCACR"}
|
|
@@ -23,7 +23,7 @@ type TranslationContent<Content$1 = unknown, RecordContent extends StrictModeLoc
|
|
|
23
23
|
* - If a locale is missing, it will make each existing locale optional and raise an error if the locale is not found.
|
|
24
24
|
*/
|
|
25
25
|
declare const translation: <Content = unknown, ContentRecord extends StrictModeLocaleMap<Content> = StrictModeLocaleMap<Content>>(content: ContentRecord) => TypedNodeModel<NodeType.Translation, ContentRecord, {
|
|
26
|
-
nodeType: NodeType.Translation
|
|
26
|
+
nodeType: "translation" | NodeType.Translation;
|
|
27
27
|
} & {
|
|
28
28
|
translation: ContentRecord;
|
|
29
29
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.d.ts","names":[],"sources":["../../../../src/transpiler/translation/translation.ts"],"sourcesContent":[],"mappings":";;;KAOY,8DAGR,oBAAoB,aAAW,oBAAoB,cACnD,eAAe,QAAA,CAAS,aAAa;;AAJzC;;;;;;;;;AAIwD;;;;;;;;;;cAsBlD,WAKkB,EAAA,CAAA,UAAA,OAAA,EAAA,sBAFpB,mBAEoB,CAFA,OAEA,CAAA,GAFW,mBAEX,CAF+B,OAE/B,CAAA,CAAA,CAAA,OAAA,EAAb,aAAa,EAAA,GAAA,cAAA,CAAA,QAAA,CAAA,WAAA,EAAA,aAAA,EAAA;EAAA,QAAA,
|
|
1
|
+
{"version":3,"file":"translation.d.ts","names":[],"sources":["../../../../src/transpiler/translation/translation.ts"],"sourcesContent":[],"mappings":";;;KAOY,8DAGR,oBAAoB,aAAW,oBAAoB,cACnD,eAAe,QAAA,CAAS,aAAa;;AAJzC;;;;;;;;;AAIwD;;;;;;;;;;cAsBlD,WAKkB,EAAA,CAAA,UAAA,OAAA,EAAA,sBAFpB,mBAEoB,CAFA,OAEA,CAAA,GAFW,mBAEX,CAF+B,OAE/B,CAAA,CAAA,CAAA,OAAA,EAAb,aAAa,EAAA,GAAA,cAAA,CAAA,QAAA,CAAA,WAAA,EAAA,aAAA,EAAA;EAAA,QAAA,EAAA,aAAA,uBAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/core",
|
|
3
|
-
"version": "7.0.3-canary.
|
|
3
|
+
"version": "7.0.3-canary.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.",
|
|
6
6
|
"keywords": [
|
|
@@ -98,29 +98,29 @@
|
|
|
98
98
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@intlayer/api": "7.0.3-canary.
|
|
102
|
-
"@intlayer/config": "7.0.3-canary.
|
|
103
|
-
"@intlayer/dictionaries-entry": "7.0.3-canary.
|
|
104
|
-
"@intlayer/types": "7.0.3-canary.
|
|
105
|
-
"@intlayer/unmerged-dictionaries-entry": "7.0.3-canary.
|
|
101
|
+
"@intlayer/api": "7.0.3-canary.1",
|
|
102
|
+
"@intlayer/config": "7.0.3-canary.1",
|
|
103
|
+
"@intlayer/dictionaries-entry": "7.0.3-canary.1",
|
|
104
|
+
"@intlayer/types": "7.0.3-canary.1",
|
|
105
|
+
"@intlayer/unmerged-dictionaries-entry": "7.0.3-canary.1",
|
|
106
106
|
"deepmerge": "4.3.1"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@types/node": "24.9.1",
|
|
110
|
-
"@utils/ts-config": "7.0.3-canary.
|
|
111
|
-
"@utils/ts-config-types": "7.0.3-canary.
|
|
112
|
-
"@utils/tsdown-config": "7.0.3-canary.
|
|
110
|
+
"@utils/ts-config": "7.0.3-canary.1",
|
|
111
|
+
"@utils/ts-config-types": "7.0.3-canary.1",
|
|
112
|
+
"@utils/tsdown-config": "7.0.3-canary.1",
|
|
113
113
|
"rimraf": "6.0.1",
|
|
114
114
|
"tsdown": "0.15.9",
|
|
115
115
|
"typescript": "5.9.3",
|
|
116
116
|
"vitest": "4.0.3"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
|
-
"@intlayer/api": "7.0.3-canary.
|
|
120
|
-
"@intlayer/config": "7.0.3-canary.
|
|
121
|
-
"@intlayer/dictionaries-entry": "7.0.3-canary.
|
|
122
|
-
"@intlayer/types": "7.0.3-canary.
|
|
123
|
-
"@intlayer/unmerged-dictionaries-entry": "7.0.3-canary.
|
|
119
|
+
"@intlayer/api": "7.0.3-canary.1",
|
|
120
|
+
"@intlayer/config": "7.0.3-canary.1",
|
|
121
|
+
"@intlayer/dictionaries-entry": "7.0.3-canary.1",
|
|
122
|
+
"@intlayer/types": "7.0.3-canary.1",
|
|
123
|
+
"@intlayer/unmerged-dictionaries-entry": "7.0.3-canary.1"
|
|
124
124
|
},
|
|
125
125
|
"engines": {
|
|
126
126
|
"node": ">=14.18"
|