solid-intlayer 9.0.0-canary.6 → 9.0.0-canary.8

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.
@@ -6,7 +6,7 @@ import { DeepTransformContent } from '../plugins';
6
6
  * dictionary group) and returns its reactive content.
7
7
  *
8
8
  * The second argument is either a locale or a selector object
9
- * (`{ item }`, `{ variant }`, `{ id, ...meta }`, optionally with `locale`).
9
+ * (`{ item }`, `{ variant }`, optionally with `locale`).
10
10
  *
11
11
  * If the locale is not provided (directly or through the selector), it will
12
12
  * use the locale from the client context.
@@ -7,7 +7,7 @@ import { DeepTransformContent } from '../plugins';
7
7
  * reactive content.
8
8
  *
9
9
  * The dictionary entry is either a plain dynamic loader map
10
- * (`locale → loader`) or a qualified one (collection / variant / meta record,
10
+ * (`locale → loader`) or a qualified one (collection / variant,
11
11
  * possibly combined). For a qualified map, only the chunk(s) the selector
12
12
  * targets are loaded; the resolution mirrors static mode.
13
13
  *
@@ -6,7 +6,6 @@ import { DeepTransformContent } from '../plugins';
6
6
  * The second argument is either a locale or a selector object:
7
7
  * - `{ item: 2 }` — collection item (omit `item` to get every item as array)
8
8
  * - `{ variant: 'black-friday' }` — named variant (omit for the `default` one)
9
- * - `{ id: 'prod_abc', ...metaFields }` — meta record
10
9
  * - `locale` composes with any selector and overrides the context locale
11
10
  *
12
11
  * Supports both direct property access and the accessor call form:
@@ -4,6 +4,6 @@ import { DeepTransformContent } from './plugins';
4
4
  /**
5
5
  * Transforms a dictionary (or qualified dictionary group) and returns its
6
6
  * content for the given locale or selector (`{ item }`, `{ variant }`,
7
- * `{ id, ...meta }`, optionally combined with `locale`).
7
+ * optionally combined with `locale`).
8
8
  */
9
9
  export declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, ExtractSelectorLocale<A>>;
@@ -2,7 +2,7 @@ import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySe
2
2
  import { DeepTransformContent } from './plugins';
3
3
  /**
4
4
  * Picks one dictionary by its key and returns its content for the given
5
- * locale or selector (`{ item }`, `{ variant }`, `{ id, ...meta }`,
5
+ * locale or selector (`{ item }`, `{ variant }`,
6
6
  * optionally combined with `locale`).
7
7
  */
8
8
  export declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>;
@@ -6,7 +6,7 @@ import { DeclaredLocales, LocalesValues } from '@intlayer/types/module_augmentat
6
6
  * synchronously from static JSON.
7
7
  *
8
8
  * The second argument is either a locale or a selector object
9
- * (`{ item }`, `{ variant }`, `{ id, ...meta }`, optionally with `locale`),
9
+ * (`{ item }`, `{ variant }`, optionally with `locale`),
10
10
  * forwarded to the client `useDictionary`.
11
11
  *
12
12
  * The discarded `createResource` is load-bearing: Solid assigns hydration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-intlayer",
3
- "version": "9.0.0-canary.6",
3
+ "version": "9.0.0-canary.8",
4
4
  "private": false,
5
5
  "description": "Easily internationalize i18n your Solid applications with type-safe multilingual content management.",
6
6
  "keywords": [
@@ -113,11 +113,11 @@
113
113
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
114
114
  },
115
115
  "dependencies": {
116
- "@intlayer/api": "9.0.0-canary.6",
117
- "@intlayer/config": "9.0.0-canary.6",
118
- "@intlayer/core": "9.0.0-canary.6",
119
- "@intlayer/editor": "9.0.0-canary.6",
120
- "@intlayer/types": "9.0.0-canary.6"
116
+ "@intlayer/api": "9.0.0-canary.8",
117
+ "@intlayer/config": "9.0.0-canary.8",
118
+ "@intlayer/core": "9.0.0-canary.8",
119
+ "@intlayer/editor": "9.0.0-canary.8",
120
+ "@intlayer/types": "9.0.0-canary.8"
121
121
  },
122
122
  "devDependencies": {
123
123
  "@solidjs/testing-library": "0.8.10",