@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.
@@ -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 };