@intlayer/core 8.0.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 _intlayer_types17 from "@intlayer/types";
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?: _intlayer_types17.DictionaryId;
27
+ id?: _intlayer_types0.DictionaryId;
28
28
  projectIds?: string[];
29
- localId?: _intlayer_types17.LocalDictionaryId;
30
- localIds?: _intlayer_types17.LocalDictionaryId[];
31
- format?: _intlayer_types17.DictionaryFormat;
32
- key: _intlayer_types17.DictionaryKey;
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?: _intlayer_types17.ContentAutoTransformation;
41
- fill?: _intlayer_types17.Fill;
40
+ contentAutoTransformation?: _intlayer_types0.ContentAutoTransformation;
41
+ fill?: _intlayer_types0.Fill;
42
42
  filled?: true;
43
43
  priority?: number;
44
- importMode?: _intlayer_types17.ImportMode;
45
- location?: _intlayer_types17.DictionaryLocation;
44
+ importMode?: _intlayer_types0.ImportMode;
45
+ location?: _intlayer_types0.DictionaryLocation;
46
46
  schema: undefined;
47
47
  };
48
48
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getFilterMissingTranslationsContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilterMissingTranslationsContent.ts"],"mappings":";;;;;;;cAmMa,mCAAA,GACX,aAAA,EAAe,aAAA,KACd,OAAA;;AAFH;;;;;;;;;AA8LA;;;;cAAa,mCAAA,aACD,WAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,IAAA,EAAM,CAAA,EACN,aAAA,EAAe,CAAA,EACf,SAAA,EAAW,SAAA;AAAA,cAoBA,sCAAA,GACX,UAAA,EAAY,UAAA,EACZ,aAAA,EAAe,aAAA;;;OAAa,iBAAA,CAAA,YAAA"}
1
+ {"version":3,"file":"getFilterMissingTranslationsContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilterMissingTranslationsContent.ts"],"mappings":";;;;;;;cAmMa,mCAAA,GACX,aAAA,EAAe,aAAA,KACd,OAAA;;AAFH;;;;;;;;;AA8LA;;;;cAAa,mCAAA,aACD,WAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,IAAA,EAAM,CAAA,EACN,aAAA,EAAe,CAAA,EACf,SAAA,EAAW,SAAA;AAAA,cAoBA,sCAAA,GACX,UAAA,EAAY,UAAA,EACZ,aAAA,EAAe,aAAA;;;OAAa,gBAAA,CAAA,YAAA"}
@@ -1,6 +1,6 @@
1
1
  import { NodeProps } from "../interpreter/getContent/plugins.js";
2
2
  import "../interpreter/index.js";
3
- import * as _intlayer_types0 from "@intlayer/types";
3
+ import * as _intlayer_types17 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_types0.DictionaryId;
11
+ id?: _intlayer_types17.DictionaryId;
12
12
  projectIds?: string[];
13
- localId?: _intlayer_types0.LocalDictionaryId;
14
- localIds?: _intlayer_types0.LocalDictionaryId[];
15
- format?: _intlayer_types0.DictionaryFormat;
16
- key: _intlayer_types0.DictionaryKey;
13
+ localId?: _intlayer_types17.LocalDictionaryId;
14
+ localIds?: _intlayer_types17.LocalDictionaryId[];
15
+ format?: _intlayer_types17.DictionaryFormat;
16
+ key: _intlayer_types17.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_types0.ContentAutoTransformation;
25
- fill?: _intlayer_types0.Fill;
24
+ contentAutoTransformation?: _intlayer_types17.ContentAutoTransformation;
25
+ fill?: _intlayer_types17.Fill;
26
26
  filled?: true;
27
27
  priority?: number;
28
- importMode?: _intlayer_types0.ImportMode;
29
- location?: _intlayer_types0.DictionaryLocation;
28
+ importMode?: _intlayer_types17.ImportMode;
29
+ location?: _intlayer_types17.DictionaryLocation;
30
30
  schema: undefined;
31
31
  };
32
32
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getFilteredLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilteredLocalesContent.ts"],"mappings":";;;;;;cAsCa,yBAAA,GACX,IAAA,EAAM,WAAA,EACN,OAAA,EAAS,aAAA,GAAgB,aAAA,IACzB,SAAA,EAAW,SAAA;AAAA,cAwBA,4BAAA,GACX,UAAA,EAAY,UAAA,EACZ,MAAA,EAAQ,aAAA,GAAgB,aAAA;;;OAAa,gBAAA,CAAA,YAAA"}
1
+ {"version":3,"file":"getFilteredLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilteredLocalesContent.ts"],"mappings":";;;;;;cAsCa,yBAAA,GACX,IAAA,EAAM,WAAA,EACN,OAAA,EAAS,aAAA,GAAgB,aAAA,IACzB,SAAA,EAAW,SAAA;AAAA,cAwBA,4BAAA,GACX,UAAA,EAAY,UAAA,EACZ,MAAA,EAAQ,aAAA,GAAgB,aAAA;;;OAAa,iBAAA,CAAA,YAAA"}
@@ -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: NodeType.Translation | "translation";
26
+ nodeType: "translation" | NodeType.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.1",
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.1",
119
- "@intlayer/config": "8.0.1",
120
- "@intlayer/dictionaries-entry": "8.0.1",
121
- "@intlayer/types": "8.0.1",
122
- "@intlayer/unmerged-dictionaries-entry": "8.0.1",
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": {