@intlayer/core 8.0.0-canary.7 → 8.0.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 _intlayer_types8 from "@intlayer/types";
3
+ import * as _intlayer_types9 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?: _intlayer_types8.DictionaryId;
27
+ id?: _intlayer_types9.DictionaryId;
28
28
  projectIds?: string[];
29
- localId?: _intlayer_types8.LocalDictionaryId;
30
- localIds?: _intlayer_types8.LocalDictionaryId[];
31
- format?: _intlayer_types8.DictionaryFormat;
32
- key: _intlayer_types8.DictionaryKey;
29
+ localId?: _intlayer_types9.LocalDictionaryId;
30
+ localIds?: _intlayer_types9.LocalDictionaryId[];
31
+ format?: _intlayer_types9.DictionaryFormat;
32
+ key: _intlayer_types9.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?: _intlayer_types8.ContentAutoTransformation;
41
- fill?: _intlayer_types8.Fill;
40
+ contentAutoTransformation?: _intlayer_types9.ContentAutoTransformation;
41
+ fill?: _intlayer_types9.Fill;
42
42
  filled?: true;
43
43
  priority?: number;
44
- importMode?: _intlayer_types8.ImportMode;
45
- location?: _intlayer_types8.DictionaryLocation;
44
+ importMode?: _intlayer_types9.ImportMode;
45
+ location?: _intlayer_types9.DictionaryLocation;
46
46
  schema: undefined;
47
47
  };
48
48
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { NodeProps } from "../interpreter/getContent/plugins.js";
2
2
  import "../interpreter/index.js";
3
- import * as _intlayer_types17 from "@intlayer/types";
3
+ import * as _intlayer_types18 from "@intlayer/types";
4
4
  import { ContentNode, Dictionary, LocalesValues } from "@intlayer/types";
5
5
 
6
6
  //#region src/deepTransformPlugins/getFilteredLocalesContent.d.ts
@@ -8,12 +8,12 @@ declare const getFilteredLocalesContent: (node: ContentNode, locales: LocalesVal
8
8
  declare const getFilteredLocalesDictionary: (dictionary: Dictionary, locale: LocalesValues | LocalesValues[]) => {
9
9
  content: any;
10
10
  $schema?: "https://intlayer.org/schema.json";
11
- id?: _intlayer_types17.DictionaryId;
11
+ id?: _intlayer_types18.DictionaryId;
12
12
  projectIds?: string[];
13
- localId?: _intlayer_types17.LocalDictionaryId;
14
- localIds?: _intlayer_types17.LocalDictionaryId[];
15
- format?: _intlayer_types17.DictionaryFormat;
16
- key: _intlayer_types17.DictionaryKey;
13
+ localId?: _intlayer_types18.LocalDictionaryId;
14
+ localIds?: _intlayer_types18.LocalDictionaryId[];
15
+ format?: _intlayer_types18.DictionaryFormat;
16
+ key: _intlayer_types18.DictionaryKey;
17
17
  title?: string;
18
18
  description?: string;
19
19
  versions?: string[];
@@ -21,12 +21,12 @@ declare const getFilteredLocalesDictionary: (dictionary: Dictionary, locale: Loc
21
21
  filePath?: string;
22
22
  tags?: string[];
23
23
  locale?: LocalesValues;
24
- contentAutoTransformation?: _intlayer_types17.ContentAutoTransformation;
25
- fill?: _intlayer_types17.Fill;
24
+ contentAutoTransformation?: _intlayer_types18.ContentAutoTransformation;
25
+ fill?: _intlayer_types18.Fill;
26
26
  filled?: true;
27
27
  priority?: number;
28
- importMode?: _intlayer_types17.ImportMode;
29
- location?: _intlayer_types17.DictionaryLocation;
28
+ importMode?: _intlayer_types18.ImportMode;
29
+ location?: _intlayer_types18.DictionaryLocation;
30
30
  schema: undefined;
31
31
  };
32
32
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as _intlayer_types26 from "@intlayer/types";
1
+ import * as _intlayer_types0 from "@intlayer/types";
2
2
  import { Dictionary } from "@intlayer/types";
3
3
 
4
4
  //#region src/dictionaryManipulator/orderDictionaries.d.ts
@@ -9,7 +9,7 @@ import { Dictionary } from "@intlayer/types";
9
9
  * @param priorityStrategy - The priority strategy ('local_first' or 'distant_first')
10
10
  * @returns Ordered array of dictionaries
11
11
  */
12
- declare const orderDictionaries: (dictionaries: Dictionary[], configuration?: _intlayer_types26.IntlayerConfig) => Dictionary[];
12
+ declare const orderDictionaries: (dictionaries: Dictionary[], configuration?: _intlayer_types0.IntlayerConfig) => Dictionary[];
13
13
  //#endregion
14
14
  export { orderDictionaries };
15
15
  //# sourceMappingURL=orderDictionaries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"orderDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/orderDictionaries.ts"],"mappings":";;;;;;;AAUA;;;;cAAa,iBAAA,GACX,YAAA,EAAc,UAAA,IACd,aAAA,GADwB,iBAAA,CACxB,cAAA,KACC,UAAA"}
1
+ {"version":3,"file":"orderDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/orderDictionaries.ts"],"mappings":";;;;;;;AAUA;;;;cAAa,iBAAA,GACX,YAAA,EAAc,UAAA,IACd,aAAA,GADwB,gBAAA,CACxB,cAAA,KACC,UAAA"}
@@ -23,7 +23,7 @@ type TranslationContent<Content = unknown, RecordContent extends StrictModeLocal
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: "translation" | NodeType.Translation;
26
+ nodeType: NodeType.Translation | "translation";
27
27
  } & {
28
28
  translation: ContentRecord;
29
29
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/core",
3
- "version": "8.0.0-canary.7",
3
+ "version": "8.0.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.0-canary.7",
119
- "@intlayer/config": "8.0.0-canary.7",
120
- "@intlayer/dictionaries-entry": "8.0.0-canary.7",
121
- "@intlayer/types": "8.0.0-canary.7",
122
- "@intlayer/unmerged-dictionaries-entry": "8.0.0-canary.7",
118
+ "@intlayer/api": "8.0.0",
119
+ "@intlayer/config": "8.0.0",
120
+ "@intlayer/dictionaries-entry": "8.0.0",
121
+ "@intlayer/types": "8.0.0",
122
+ "@intlayer/unmerged-dictionaries-entry": "8.0.0",
123
123
  "defu": "6.1.4"
124
124
  },
125
125
  "devDependencies": {