@almadar/core 10.87.0 → 10.88.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.
- package/dist/builders.d.ts +2 -2
- package/dist/builders.js +2 -0
- package/dist/builders.js.map +1 -1
- package/dist/{entityAccess-DNDEF75i.d.ts → entityAccess-B5_Y9zF5.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/factory-runtime/index.d.ts +2 -2
- package/dist/factory-runtime/index.js +2 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/i18n/index.d.ts +14 -2
- package/dist/i18n/index.js +192 -375
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-xZP_Ajx3.d.ts → index-CYE40P_7.d.ts} +3 -3
- package/dist/index.d.ts +9 -9
- package/dist/index.js +194 -375
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +3 -3
- package/dist/{schema-_SPrm5Ic.d.ts → schema-ex9koAoK.d.ts} +465 -1
- package/dist/{trait-9tfq2tQb.d.ts → trait-BJAX5TJK.d.ts} +129 -0
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CjRjhiaO.d.ts → types-kHQhEEXQ.d.ts} +1 -1
- package/package.json +3 -2
package/dist/i18n/index.d.ts
CHANGED
|
@@ -134,6 +134,18 @@ interface OperatorTables {
|
|
|
134
134
|
/** Validating loader — the one owner of the table shape; every reader (core, pattern-sync) goes through it. */
|
|
135
135
|
declare function parseI18nTables(raw: unknown, source: string): I18nTables;
|
|
136
136
|
declare function parseOperatorTables(raw: unknown, source: string): OperatorTables;
|
|
137
|
+
/**
|
|
138
|
+
* `.orb` schema keys that are DESIGN-SYSTEM notation, not language vocabulary,
|
|
139
|
+
* and so are deliberately absent from the `orb` section: the colour palette,
|
|
140
|
+
* the spacing and type scales, density, elevation, geometry, motion,
|
|
141
|
+
* iconography and illustration token names.
|
|
142
|
+
*
|
|
143
|
+
* Derived, not curated — a key whose every path through `OrbitalSchema` lies
|
|
144
|
+
* under a theme `tokens` node. Regenerate with
|
|
145
|
+
* `pnpm --filter @almadar/core run gen:orb-notation`; the universe test
|
|
146
|
+
* re-derives it and fails if this file drifts.
|
|
147
|
+
*/
|
|
148
|
+
declare const ORB_NOTATION_KEYS: ReadonlySet<string>;
|
|
137
149
|
declare const coreTables: Record<LanguageCode, I18nTables>;
|
|
138
150
|
declare function getVocabulary(lang: LanguageCode): I18nTables;
|
|
139
151
|
/** Native → English map for one section family; operators come from the caller (std). */
|
|
@@ -145,7 +157,7 @@ declare const LOLO_FIRST_TOKEN_KEYWORDS: readonly ["app", "uses", "expects", "ty
|
|
|
145
157
|
declare function languageOfLoloFirstToken(token: string): LanguageCode | undefined;
|
|
146
158
|
/** A top-level `.orb` key equals exactly one language's `orb.orbitals` value. */
|
|
147
159
|
declare function languageOfOrbTopLevelKeys(keys: readonly string[]): LanguageCode | undefined;
|
|
148
|
-
type I18nProblemKind = 'missing' | 'orphan' | 'empty' | 'inconsistent' | 'collision' | 'selector-not-unique' | 'operators-mismatch' | 'identical-to-english';
|
|
160
|
+
type I18nProblemKind = 'missing' | 'orphan' | 'empty' | 'inconsistent' | 'collision' | 'selector-not-unique' | 'operators-mismatch' | 'identical-to-english' | 'notation-in-vocabulary';
|
|
149
161
|
interface I18nProblem {
|
|
150
162
|
lang: LanguageCode;
|
|
151
163
|
section: string;
|
|
@@ -176,4 +188,4 @@ declare function checkI18nCoverage(input: I18nCoverageInput): {
|
|
|
176
188
|
*/
|
|
177
189
|
declare function reportIdenticalToEnglish(input: I18nCoverageInput): I18nProblem[];
|
|
178
190
|
|
|
179
|
-
export { I18N_SECTIONS, type I18nCoverageInput, type I18nMeta, type I18nProblem, type I18nProblemKind, type I18nSection, type I18nTables, LANGUAGE_CODES, LOLO_FIRST_TOKEN_KEYWORDS, type LanguageCode, type LocalizeLoloOptions, type LoloToken, type LoloTokenKind, type OperatorTables, aliasMap, checkI18nCoverage, coreTables, getVocabulary, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, lexLolo, localizeLoloSource, localizeMap, localizeOrbValue, parseI18nTables, parseOperatorTables, reportIdenticalToEnglish };
|
|
191
|
+
export { I18N_SECTIONS, type I18nCoverageInput, type I18nMeta, type I18nProblem, type I18nProblemKind, type I18nSection, type I18nTables, LANGUAGE_CODES, LOLO_FIRST_TOKEN_KEYWORDS, type LanguageCode, type LocalizeLoloOptions, type LoloToken, type LoloTokenKind, ORB_NOTATION_KEYS, type OperatorTables, aliasMap, checkI18nCoverage, coreTables, getVocabulary, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, lexLolo, localizeLoloSource, localizeMap, localizeOrbValue, parseI18nTables, parseOperatorTables, reportIdenticalToEnglish };
|