@_linked/translation 0.7.0 → 0.8.1

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.
Files changed (68) hide show
  1. package/README.md +15 -16
  2. package/lib/esm/archive.d.ts +2 -2
  3. package/lib/esm/archive.js +2 -2
  4. package/lib/esm/archive.js.map +1 -1
  5. package/lib/esm/authorization.d.ts +1 -1
  6. package/lib/esm/authorization.js +1 -1
  7. package/lib/esm/authorization.js.map +1 -1
  8. package/lib/esm/cdn-loader.d.ts +1 -1
  9. package/lib/esm/cdn-loader.js.map +1 -1
  10. package/lib/esm/core/messages.d.ts +14 -1
  11. package/lib/esm/core/messages.js +33 -2
  12. package/lib/esm/core/messages.js.map +1 -1
  13. package/lib/esm/exchange.d.ts +1 -1
  14. package/lib/esm/exchange.js +1 -1
  15. package/lib/esm/exchange.js.map +1 -1
  16. package/lib/esm/export.js +4 -1
  17. package/lib/esm/export.js.map +1 -1
  18. package/lib/esm/formats/xliff.js +1 -1
  19. package/lib/esm/formats/xliff.js.map +1 -1
  20. package/lib/esm/key-sync.d.ts +12 -0
  21. package/lib/esm/key-sync.js +32 -7
  22. package/lib/esm/key-sync.js.map +1 -1
  23. package/lib/esm/mt.js +1 -1
  24. package/lib/esm/mt.js.map +1 -1
  25. package/lib/esm/ontologies/translation.d.ts +193 -191
  26. package/lib/esm/ontologies/translation.js +4 -2
  27. package/lib/esm/ontologies/translation.js.map +1 -1
  28. package/lib/esm/package.d.ts +3 -3
  29. package/lib/esm/react.d.ts +38 -2
  30. package/lib/esm/react.js +98 -15
  31. package/lib/esm/react.js.map +1 -1
  32. package/lib/esm/records.d.ts +2 -1
  33. package/lib/esm/records.js.map +1 -1
  34. package/lib/esm/release.d.ts +3 -1
  35. package/lib/esm/release.js +21 -4
  36. package/lib/esm/release.js.map +1 -1
  37. package/lib/esm/shape-catalog.d.ts +1 -1
  38. package/lib/esm/shape-catalog.js.map +1 -1
  39. package/lib/esm/shapes/GlossaryTerm.d.ts +1 -1
  40. package/lib/esm/shapes/TranslationInventoryOrigin.d.ts +1 -1
  41. package/lib/esm/shapes/TranslationKey.d.ts +11 -6
  42. package/lib/esm/shapes/TranslationKey.js +16 -5
  43. package/lib/esm/shapes/TranslationKey.js.map +1 -1
  44. package/lib/esm/shapes/TranslationKeyVersion.d.ts +1 -1
  45. package/lib/esm/shapes/TranslationLanguage.d.ts +1 -1
  46. package/lib/esm/shapes/TranslationProvider.d.ts +25 -8
  47. package/lib/esm/shapes/TranslationProvider.js +69 -38
  48. package/lib/esm/shapes/TranslationProvider.js.map +1 -1
  49. package/lib/esm/shapes/TranslationRelease.d.ts +1 -1
  50. package/lib/esm/shapes/TranslationRevision.d.ts +1 -1
  51. package/lib/esm/shapes/TranslationUnit.d.ts +1 -1
  52. package/package.json +7 -7
  53. package/src/archive.ts +2 -2
  54. package/src/authorization.ts +1 -1
  55. package/src/cdn-loader.ts +1 -1
  56. package/src/core/messages.ts +35 -2
  57. package/src/exchange.ts +1 -1
  58. package/src/export.ts +4 -1
  59. package/src/formats/xliff.ts +1 -1
  60. package/src/key-sync.ts +46 -6
  61. package/src/mt.ts +1 -1
  62. package/src/ontologies/translation.ts +4 -2
  63. package/src/react.tsx +158 -35
  64. package/src/records.ts +2 -1
  65. package/src/release.ts +31 -3
  66. package/src/shape-catalog.ts +1 -1
  67. package/src/shapes/TranslationKey.ts +14 -5
  68. package/src/shapes/TranslationProvider.ts +92 -32
package/lib/esm/mt.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"mt.js","sourceRoot":"","sources":["../../src/mt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,cAAc,EACd,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AA6D7B,MAAM,SAAS,GAAG,IAAI,GAAG,EAAiC,CAAC;AAE3D,MAAM,UAAU,kBAAkB,CAAC,QAA+B;IAChE,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,QA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AM,CAAC;IACvE,OAAO,QAAQ;SACZ,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;SAC/E,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC;SACb,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,GAAG,CAAC,IAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;AACjF,CAAC","sourcesContent":["/**\n * Machine-translation provider registry (Plan 014 AD-L / Plan 017 Slice B).\n * Providers implement one method — translate a batch of UI strings — and\n * register by key ('claude', 'deepl', …). Resolution is PER TARGET LANGUAGE\n * with a fallback chain: not every provider covers every language (DeepL has\n * no Swahili or Urdu), so the preferred provider is used where it supports\n * the target and the chain falls through otherwise. Pure module: no I/O, no\n * SDK imports — concrete providers live with the host (Create Now) and are\n * registered at boot.\n */\nimport {\n analyzeMessage,\n compareMessageArguments,\n} from './message-format.js';\nimport type { MessageFormat } from './core/messages.js';\n\nexport interface MtItem {\n key: string;\n sourceText: string;\n /** Authoring context shown to the translator/model. */\n description?: string;\n format?: 'simple' | 'icu';\n}\n\nexport interface MtGlossaryEntry {\n term: string;\n /** prefer (default) = translate as `translation`; keep = do-not-translate; forbid = never use. */\n termType?: 'prefer' | 'require' | 'keep' | 'forbid';\n /** Preferred translation (prefer entries); empty/undefined = keep the term as-is. */\n translation?: string;\n /** Replacement wording (forbid entries). */\n useInstead?: string;\n /** Target language this applies to; empty = all languages. */\n language?: string;\n /** Exact-casing matching (proper nouns / brand styling). */\n caseSensitive?: boolean;\n description?: string;\n}\n\n/** Register/tone controls (Plan 017 §7.4b) — NOT sampling temperature. */\nexport interface MtStyle {\n formality?: 'formal' | 'informal';\n /** Free-text tone guidance, e.g. \"friendly, energetic, no bureaucratese\". */\n note?: string;\n}\n\n/** An established translation the provider should stay consistent with. */\nexport interface MtReference {\n sourceText: string;\n text: string;\n}\n\nexport interface MtBatchRequest {\n sourceLanguage: string;\n targetLanguage: string;\n items: MtItem[];\n glossary: MtGlossaryEntry[];\n style?: MtStyle;\n /** Translation-memory context: reviewed units for consistency (Plan 017 §7.4c). */\n references?: MtReference[];\n}\n\nexport interface MtBatchResult {\n key: string;\n text: string;\n}\n\nexport interface TranslationMtProvider {\n readonly key: string;\n /** Absent ⇒ the provider claims every language. */\n supportsLanguage?(language: string): boolean;\n translateBatch(request: MtBatchRequest): Promise<MtBatchResult[]>;\n}\n\nconst providers = new Map<string, TranslationMtProvider>();\n\nexport function registerMtProvider(provider: TranslationMtProvider): void {\n providers.set(provider.key, provider);\n}\n\nexport function getMtProvider(key: string): TranslationMtProvider | undefined {\n return providers.get(key);\n}\n\nexport function listMtProviders(): TranslationMtProvider[] {\n return [...providers.values()];\n}\n\n/** Test seam. */\nexport function clearMtProviders(): void {\n providers.clear();\n}\n\n/**\n * Ordered provider chain for one target language: the preferred provider\n * first when it exists AND supports the language, then every other provider\n * that supports it, registration order.\n */\nexport function resolveMtProviders(\n targetLanguage: string,\n preferred?: string,\n): TranslationMtProvider[] {\n const supports = (p: TranslationMtProvider) =>\n !p.supportsLanguage || p.supportsLanguage(targetLanguage);\n const chain = listMtProviders().filter(supports);\n if (!preferred) return chain;\n const first = chain.find((p) => p.key === preferred);\n if (!first) return chain;\n return [first, ...chain.filter((p) => p !== first)];\n}\n\n/** Unique `{placeholder}` tokens in a message, sorted for set comparison. */\nexport function extractPlaceholders(\n text: string,\n format: MessageFormat = 'simple',\n): string[] {\n return analyzeMessage(text, format).arguments.map(({ name }) => name);\n}\n\n/**\n * A translation is only usable if it preserves the source's placeholder SET\n * exactly — a dropped or renamed `{param}` breaks interpolation at runtime.\n */\nexport function placeholdersIntact(\n source: string,\n translated: string,\n format: MessageFormat = 'simple',\n): boolean {\n return compareMessageArguments(source, translated, format).valid;\n}\n\n/** Glossary entries applying to one target language (global + language-specific). */\nexport function glossaryForLanguage(\n glossary: MtGlossaryEntry[],\n language: string,\n): MtGlossaryEntry[] {\n return glossary.filter((g) => !g.language || g.language === language);\n}\n\nexport function chunkItems<T>(items: T[], size: number): T[][] {\n if (size < 1) throw new Error('chunk size must be >= 1');\n const chunks: T[][] = [];\n for (let i = 0; i < items.length; i += size) chunks.push(items.slice(i, i + size));\n return chunks;\n}\n\n/**\n * Resolve the formality for one language from the encoded config entries\n * (\"formal\" = app default; \"de:informal\" = per-language override; override wins).\n */\nexport function formalityForLanguage(\n entries: string[],\n language: string,\n): 'formal' | 'informal' | undefined {\n let result: 'formal' | 'informal' | undefined;\n for (const entry of entries ?? []) {\n const i = entry.indexOf(':');\n const value = i === -1 ? entry : entry.slice(i + 1);\n if (value !== 'formal' && value !== 'informal') continue;\n if (i === -1) {\n if (!result) result = value;\n } else if (entry.slice(0, i) === language) {\n return value;\n }\n }\n return result;\n}\n\n// ── Consistency (Plan 017 §7.4c) ────────────────────────────────────────\n\n/** Minimal entry view the consistency helpers need (client-safe). */\nexport interface ConsistencyEntry {\n key: string;\n namespace?: string;\n sourceText: string;\n format?: 'simple' | 'icu';\n units: Record<string, { text: string; state: string } | undefined>;\n}\n\n/** Identical English source translated DIFFERENTLY within one language. */\nexport interface ConsistencyConflict {\n sourceText: string;\n language: string;\n /** One entry per distinct translation: the text + the keys carrying it. */\n variants: Array<{ text: string; keys: string[] }>;\n}\n\n/**\n * Find keys whose IDENTICAL source text has diverging translations in a\n * language — the core \"same words, same translation\" consistency check.\n * Empty/untranslated units are ignored; whitespace-trimmed comparison.\n */\nexport function findInconsistentTranslations(\n entries: ConsistencyEntry[],\n language: string,\n): ConsistencyConflict[] {\n const bySource = new Map<string, Map<string, string[]>>();\n for (const entry of entries) {\n const source = entry.sourceText.trim();\n const text = entry.units[language]?.text?.trim();\n if (!source || !text) continue;\n const variants = bySource.get(source) ?? new Map<string, string[]>();\n variants.set(text, [...(variants.get(text) ?? []), entry.key]);\n bySource.set(source, variants);\n }\n const conflicts: ConsistencyConflict[] = [];\n for (const [sourceText, variants] of bySource) {\n if (variants.size < 2) continue;\n conflicts.push({\n sourceText,\n language,\n variants: [...variants].map(([text, keys]) => ({ text, keys: keys.sort() })),\n });\n }\n return conflicts.sort((a, b) => a.sourceText.localeCompare(b.sourceText));\n}\n\n/**\n * Pick reviewed units as translation-memory REFERENCES for an MT batch:\n * same-namespace reviewed translations first (shared vocabulary), then the\n * shortest reviewed units overall (vocabulary-dense). Deterministic.\n */\nexport function pickReferenceUnits(\n entries: ConsistencyEntry[],\n language: string,\n batchNamespaces: string[],\n max = 20,\n): MtReference[] {\n const namespaces = new Set(batchNamespaces);\n const reviewed = entries\n .map((entry) => ({\n namespace: entry.namespace ?? '',\n sourceText: entry.sourceText.trim(),\n unit: entry.units[language],\n }))\n .filter(\n (row) =>\n row.sourceText &&\n row.unit?.state === 'reviewed' &&\n row.unit.text.trim(),\n );\n const score = (row: (typeof reviewed)[number]) =>\n (namespaces.has(row.namespace) ? 0 : 100000) + row.sourceText.length;\n return reviewed\n .sort((a, b) => score(a) - score(b) || a.sourceText.localeCompare(b.sourceText))\n .slice(0, max)\n .map((row) => ({ sourceText: row.sourceText, text: row.unit!.text.trim() }));\n}\n"]}
1
+ {"version":3,"file":"mt.js","sourceRoot":"","sources":["../../src/mt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,cAAc,EACd,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AA6D7B,MAAM,SAAS,GAAG,IAAI,GAAG,EAAiC,CAAC;AAE3D,MAAM,UAAU,kBAAkB,CAAC,QAA+B;IAChE,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AACxC,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,GAAW;IACvC,OAAO,SAA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AE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;SAC/E,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC;SACb,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,GAAG,CAAC,IAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;AACjF,CAAC","sourcesContent":["/**\n * Machine-translation provider registry (Plan 014 AD-L / Plan 017 Slice B).\n * Providers implement one method — translate a batch of UI strings — and\n * register by key ('claude', 'deepl', …). Resolution is PER TARGET LANGUAGE\n * with a fallback chain: not every provider covers every language (DeepL has\n * no Swahili or Urdu), so the preferred provider is used where it supports\n * the target and the chain falls through otherwise. Pure module: no I/O, no\n * SDK imports — concrete providers live with the host application and are\n * registered at boot.\n */\nimport {\n analyzeMessage,\n compareMessageArguments,\n} from './message-format.js';\nimport type { MessageFormat } from './core/messages.js';\n\nexport interface MtItem {\n key: string;\n sourceText: string;\n /** Authoring context shown to the translator/model. */\n description?: string;\n format?: 'simple' | 'icu';\n}\n\nexport interface MtGlossaryEntry {\n term: string;\n /** prefer (default) = translate as `translation`; keep = do-not-translate; forbid = never use. */\n termType?: 'prefer' | 'require' | 'keep' | 'forbid';\n /** Preferred translation (prefer entries); empty/undefined = keep the term as-is. */\n translation?: string;\n /** Replacement wording (forbid entries). */\n useInstead?: string;\n /** Target language this applies to; empty = all languages. */\n language?: string;\n /** Exact-casing matching (proper nouns / brand styling). */\n caseSensitive?: boolean;\n description?: string;\n}\n\n/** Register/tone controls (Plan 017 §7.4b) — NOT sampling temperature. */\nexport interface MtStyle {\n formality?: 'formal' | 'informal';\n /** Free-text tone guidance, e.g. \"friendly, energetic, no bureaucratese\". */\n note?: string;\n}\n\n/** An established translation the provider should stay consistent with. */\nexport interface MtReference {\n sourceText: string;\n text: string;\n}\n\nexport interface MtBatchRequest {\n sourceLanguage: string;\n targetLanguage: string;\n items: MtItem[];\n glossary: MtGlossaryEntry[];\n style?: MtStyle;\n /** Translation-memory context: reviewed units for consistency (Plan 017 §7.4c). */\n references?: MtReference[];\n}\n\nexport interface MtBatchResult {\n key: string;\n text: string;\n}\n\nexport interface TranslationMtProvider {\n readonly key: string;\n /** Absent ⇒ the provider claims every language. */\n supportsLanguage?(language: string): boolean;\n translateBatch(request: MtBatchRequest): Promise<MtBatchResult[]>;\n}\n\nconst providers = new Map<string, TranslationMtProvider>();\n\nexport function registerMtProvider(provider: TranslationMtProvider): void {\n providers.set(provider.key, provider);\n}\n\nexport function getMtProvider(key: string): TranslationMtProvider | undefined {\n return providers.get(key);\n}\n\nexport function listMtProviders(): TranslationMtProvider[] {\n return [...providers.values()];\n}\n\n/** Test seam. */\nexport function clearMtProviders(): void {\n providers.clear();\n}\n\n/**\n * Ordered provider chain for one target language: the preferred provider\n * first when it exists AND supports the language, then every other provider\n * that supports it, registration order.\n */\nexport function resolveMtProviders(\n targetLanguage: string,\n preferred?: string,\n): TranslationMtProvider[] {\n const supports = (p: TranslationMtProvider) =>\n !p.supportsLanguage || p.supportsLanguage(targetLanguage);\n const chain = listMtProviders().filter(supports);\n if (!preferred) return chain;\n const first = chain.find((p) => p.key === preferred);\n if (!first) return chain;\n return [first, ...chain.filter((p) => p !== first)];\n}\n\n/** Unique `{placeholder}` tokens in a message, sorted for set comparison. */\nexport function extractPlaceholders(\n text: string,\n format: MessageFormat = 'simple',\n): string[] {\n return analyzeMessage(text, format).arguments.map(({ name }) => name);\n}\n\n/**\n * A translation is only usable if it preserves the source's placeholder SET\n * exactly — a dropped or renamed `{param}` breaks interpolation at runtime.\n */\nexport function placeholdersIntact(\n source: string,\n translated: string,\n format: MessageFormat = 'simple',\n): boolean {\n return compareMessageArguments(source, translated, format).valid;\n}\n\n/** Glossary entries applying to one target language (global + language-specific). */\nexport function glossaryForLanguage(\n glossary: MtGlossaryEntry[],\n language: string,\n): MtGlossaryEntry[] {\n return glossary.filter((g) => !g.language || g.language === language);\n}\n\nexport function chunkItems<T>(items: T[], size: number): T[][] {\n if (size < 1) throw new Error('chunk size must be >= 1');\n const chunks: T[][] = [];\n for (let i = 0; i < items.length; i += size) chunks.push(items.slice(i, i + size));\n return chunks;\n}\n\n/**\n * Resolve the formality for one language from the encoded config entries\n * (\"formal\" = app default; \"de:informal\" = per-language override; override wins).\n */\nexport function formalityForLanguage(\n entries: string[],\n language: string,\n): 'formal' | 'informal' | undefined {\n let result: 'formal' | 'informal' | undefined;\n for (const entry of entries ?? []) {\n const i = entry.indexOf(':');\n const value = i === -1 ? entry : entry.slice(i + 1);\n if (value !== 'formal' && value !== 'informal') continue;\n if (i === -1) {\n if (!result) result = value;\n } else if (entry.slice(0, i) === language) {\n return value;\n }\n }\n return result;\n}\n\n// ── Consistency (Plan 017 §7.4c) ────────────────────────────────────────\n\n/** Minimal entry view the consistency helpers need (client-safe). */\nexport interface ConsistencyEntry {\n key: string;\n namespace?: string;\n sourceText: string;\n format?: 'simple' | 'icu';\n units: Record<string, { text: string; state: string } | undefined>;\n}\n\n/** Identical English source translated DIFFERENTLY within one language. */\nexport interface ConsistencyConflict {\n sourceText: string;\n language: string;\n /** One entry per distinct translation: the text + the keys carrying it. */\n variants: Array<{ text: string; keys: string[] }>;\n}\n\n/**\n * Find keys whose IDENTICAL source text has diverging translations in a\n * language — the core \"same words, same translation\" consistency check.\n * Empty/untranslated units are ignored; whitespace-trimmed comparison.\n */\nexport function findInconsistentTranslations(\n entries: ConsistencyEntry[],\n language: string,\n): ConsistencyConflict[] {\n const bySource = new Map<string, Map<string, string[]>>();\n for (const entry of entries) {\n const source = entry.sourceText.trim();\n const text = entry.units[language]?.text?.trim();\n if (!source || !text) continue;\n const variants = bySource.get(source) ?? new Map<string, string[]>();\n variants.set(text, [...(variants.get(text) ?? []), entry.key]);\n bySource.set(source, variants);\n }\n const conflicts: ConsistencyConflict[] = [];\n for (const [sourceText, variants] of bySource) {\n if (variants.size < 2) continue;\n conflicts.push({\n sourceText,\n language,\n variants: [...variants].map(([text, keys]) => ({ text, keys: keys.sort() })),\n });\n }\n return conflicts.sort((a, b) => a.sourceText.localeCompare(b.sourceText));\n}\n\n/**\n * Pick reviewed units as translation-memory REFERENCES for an MT batch:\n * same-namespace reviewed translations first (shared vocabulary), then the\n * shortest reviewed units overall (vocabulary-dense). Deterministic.\n */\nexport function pickReferenceUnits(\n entries: ConsistencyEntry[],\n language: string,\n batchNamespaces: string[],\n max = 20,\n): MtReference[] {\n const namespaces = new Set(batchNamespaces);\n const reviewed = entries\n .map((entry) => ({\n namespace: entry.namespace ?? '',\n sourceText: entry.sourceText.trim(),\n unit: entry.units[language],\n }))\n .filter(\n (row) =>\n row.sourceText &&\n row.unit?.state === 'reviewed' &&\n row.unit.text.trim(),\n );\n const score = (row: (typeof reviewed)[number]) =>\n (namespaces.has(row.namespace) ? 0 : 100000) + row.sourceText.length;\n return reviewed\n .sort((a, b) => score(a) - score(b) || a.sourceText.localeCompare(b.sourceText))\n .slice(0, max)\n .map((row) => ({ sourceText: row.sourceText, text: row.unit!.text.trim() }));\n}\n"]}
@@ -11,200 +11,202 @@ export declare var loadData: () => Promise<{
11
11
  * Public ontology namespace for the translation package. First-party Linked
12
12
  * ontologies live at `https://linked.cm/ont/{ontologySlug}/{localName}`, where
13
13
  * the ontology slug — and the prefix label — is the package's public slug
14
- * (Create Now arch-02, "Public ontology namespace"). So terms are
14
+ * (the LINKED first-party ontology namespace rule). So terms are
15
15
  * `https://linked.cm/ont/translation/TranslationKey` and the prefix is
16
16
  * `translation:`. Before 0.5.0 this was `https://id.linked.cm/translation/vocab#`.
17
17
  */
18
- export declare var ns: (term: string) => import("@_linked/core/utils/NodeReference").NodeReferenceValue;
19
- export declare var _self: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
20
- export declare var TranslationKey: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
21
- export declare var TranslationKeyVersion: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
22
- export declare var TranslationRelease: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
23
- export declare var TranslationUnit: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
24
- export declare var TranslationRevision: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
25
- export declare var GlossaryTerm: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
26
- export declare var TranslationInventoryOrigin: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
27
- export declare var TranslationLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
28
- export declare var languageIdentifier: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
29
- export declare var languageCode: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
30
- export declare var nativeName: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
31
- export declare var englishName: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
32
- export declare var textDirection: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
33
- export declare var parentLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
34
- export declare var fallbackLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
35
- export declare var languageEnabled: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
36
- export declare var languageSupported: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
37
- export declare var namespace: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
38
- export declare var key: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
39
- export declare var sourceText: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
40
- export declare var description: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
41
- export declare var kind: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
42
- export declare var ofApplication: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
43
- export declare var ofNode: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
44
- export declare var ofField: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
45
- export declare var ofShape: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
46
- export declare var ofProperty: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
47
- export declare var fromPackage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
48
- export declare var overridden: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
49
- export declare var shapeSource: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
50
- export declare var format: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
51
- export declare var currentVersion: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
52
- export declare var versionId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
53
- export declare var sourceLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
54
- export declare var argumentSignature: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
55
- export declare var contractHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
56
- export declare var sourceHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
57
- export declare var supersedes: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
58
- export declare var createdBy: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
59
- export declare var branch: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
60
- export declare var releaseId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
61
- export declare var buildId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
62
- export declare var channel: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
63
- export declare var contractSetHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
64
- export declare var manifestHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
65
- export declare var hotfixSequence: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
66
- export declare var publishedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
67
- export declare var supportedUntil: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
68
- export declare var qualitySummary: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
69
- export declare var languages: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
70
- export declare var defaultLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
71
- export declare var cdnTarget: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
72
- export declare var autoPublish: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
73
- export declare var reviewedOnlyLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
74
- export declare var mtDefault: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
75
- export declare var mtFormality: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
76
- export declare var mtStyleNote: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
77
- export declare var ofKey: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
78
- export declare var ofKeyVersion: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
79
- export declare var language: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
80
- export declare var text: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
81
- export declare var state: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
82
- export declare var updatedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
83
- export declare var updatedBy: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
84
- export declare var origin: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
85
- export declare var status: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
86
- export declare var author: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
87
- export declare var authorKind: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
88
- export declare var mtProvider: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
89
- export declare var basedOnText: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
90
- export declare var note: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
91
- export declare var createdAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
92
- export declare var decidedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
93
- export declare var decidedBy: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
94
- export declare var term: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
95
- export declare var glossaryTranslation: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
96
- export declare var glossaryLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
97
- export declare var termType: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
98
- export declare var useInstead: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
99
- export declare var caseSensitive: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
100
- export declare var inventoryBranch: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
101
- export declare var inventoryIdentity: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
102
- export declare var inventoryStatus: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
103
- export declare var inventorySource: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
104
- export declare var inventorySourceId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
105
- export declare var inventoryAuthoritative: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
106
- export declare var inventoryFile: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
107
- export declare var inventoryLine: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
108
- export declare var inventoryOwner: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
109
- export declare var inventoryShape: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
110
- export declare var inventoryProperty: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
111
- export declare var inventoryNode: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
112
- export declare var inventoryTargetClass: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
113
- export declare var inventoryObservedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
18
+ export declare var ns: (term: string) => import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
19
+ export declare var _self: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
20
+ export declare var TranslationKey: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
21
+ export declare var TranslationKeyVersion: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
22
+ export declare var TranslationRelease: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
23
+ export declare var TranslationUnit: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
24
+ export declare var TranslationRevision: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
25
+ export declare var GlossaryTerm: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
26
+ export declare var TranslationInventoryOrigin: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
27
+ export declare var TranslationLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
28
+ export declare var languageIdentifier: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
29
+ export declare var languageCode: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
30
+ export declare var nativeName: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
31
+ export declare var englishName: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
32
+ export declare var textDirection: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
33
+ export declare var parentLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
34
+ export declare var fallbackLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
35
+ export declare var languageEnabled: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
36
+ export declare var languageSupported: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
37
+ export declare var namespace: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
38
+ export declare var key: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
39
+ export declare var sourceText: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
40
+ export declare var description: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
41
+ export declare var kind: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
42
+ export declare var ofApplication: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
43
+ export declare var ofNode: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
44
+ export declare var ofField: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
45
+ export declare var ofShape: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
46
+ export declare var ofProperty: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
47
+ export declare var ofResource: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
48
+ export declare var fromPackage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
49
+ export declare var overridden: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
50
+ export declare var shapeSource: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
51
+ export declare var format: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
52
+ export declare var currentVersion: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
53
+ export declare var versionId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
54
+ export declare var sourceLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
55
+ export declare var argumentSignature: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
56
+ export declare var contractHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
57
+ export declare var sourceHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
58
+ export declare var supersedes: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
59
+ export declare var createdBy: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
60
+ export declare var branch: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
61
+ export declare var releaseId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
62
+ export declare var buildId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
63
+ export declare var channel: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
64
+ export declare var contractSetHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
65
+ export declare var manifestHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
66
+ export declare var hotfixSequence: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
67
+ export declare var publishedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
68
+ export declare var supportedUntil: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
69
+ export declare var qualitySummary: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
70
+ export declare var languages: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
71
+ export declare var defaultLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
72
+ export declare var cdnTarget: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
73
+ export declare var autoPublish: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
74
+ export declare var reviewedOnlyLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
75
+ export declare var mtDefault: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
76
+ export declare var mtFormality: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
77
+ export declare var mtStyleNote: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
78
+ export declare var ofKey: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
79
+ export declare var ofKeyVersion: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
80
+ export declare var language: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
81
+ export declare var text: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
82
+ export declare var state: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
83
+ export declare var updatedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
84
+ export declare var updatedBy: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
85
+ export declare var origin: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
86
+ export declare var status: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
87
+ export declare var author: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
88
+ export declare var authorKind: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
89
+ export declare var mtProvider: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
90
+ export declare var basedOnText: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
91
+ export declare var note: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
92
+ export declare var createdAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
93
+ export declare var decidedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
94
+ export declare var decidedBy: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
95
+ export declare var term: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
96
+ export declare var glossaryTranslation: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
97
+ export declare var glossaryLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
98
+ export declare var termType: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
99
+ export declare var useInstead: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
100
+ export declare var caseSensitive: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
101
+ export declare var inventoryBranch: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
102
+ export declare var inventoryIdentity: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
103
+ export declare var inventoryStatus: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
104
+ export declare var inventorySource: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
105
+ export declare var inventorySourceId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
106
+ export declare var inventoryAuthoritative: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
107
+ export declare var inventoryFile: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
108
+ export declare var inventoryLine: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
109
+ export declare var inventoryOwner: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
110
+ export declare var inventoryShape: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
111
+ export declare var inventoryProperty: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
112
+ export declare var inventoryNode: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
113
+ export declare var inventoryTargetClass: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
114
+ export declare var inventoryObservedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
114
115
  /** Grouped export for prefix/name access. */
115
116
  export declare const tr: {
116
- TranslationLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
117
- languageIdentifier: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
118
- languageCode: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
119
- nativeName: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
120
- englishName: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
121
- textDirection: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
122
- parentLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
123
- fallbackLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
124
- languageEnabled: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
125
- languageSupported: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
126
- TranslationKey: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
127
- TranslationKeyVersion: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
128
- TranslationRelease: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
129
- TranslationUnit: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
130
- TranslationRevision: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
131
- GlossaryTerm: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
132
- TranslationInventoryOrigin: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
133
- namespace: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
134
- key: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
135
- sourceText: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
136
- description: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
137
- kind: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
138
- ofApplication: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
139
- ofNode: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
140
- ofField: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
141
- ofShape: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
142
- ofProperty: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
143
- fromPackage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
144
- overridden: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
145
- shapeSource: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
146
- format: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
147
- currentVersion: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
148
- versionId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
149
- sourceLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
150
- argumentSignature: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
151
- contractHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
152
- sourceHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
153
- supersedes: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
154
- createdBy: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
155
- branch: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
156
- releaseId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
157
- buildId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
158
- channel: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
159
- contractSetHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
160
- manifestHash: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
161
- hotfixSequence: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
162
- publishedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
163
- supportedUntil: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
164
- qualitySummary: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
165
- languages: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
166
- defaultLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
167
- cdnTarget: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
168
- autoPublish: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
169
- reviewedOnlyLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
170
- mtDefault: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
171
- mtFormality: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
172
- mtStyleNote: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
173
- ofKey: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
174
- ofKeyVersion: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
175
- language: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
176
- text: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
177
- state: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
178
- updatedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
179
- updatedBy: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
180
- origin: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
181
- status: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
182
- author: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
183
- authorKind: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
184
- mtProvider: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
185
- basedOnText: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
186
- note: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
187
- createdAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
188
- decidedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
189
- decidedBy: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
190
- term: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
191
- glossaryTranslation: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
192
- glossaryLanguage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
193
- termType: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
194
- useInstead: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
195
- caseSensitive: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
196
- inventoryBranch: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
197
- inventoryIdentity: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
198
- inventoryStatus: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
199
- inventorySource: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
200
- inventorySourceId: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
201
- inventoryAuthoritative: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
202
- inventoryFile: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
203
- inventoryLine: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
204
- inventoryOwner: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
205
- inventoryShape: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
206
- inventoryProperty: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
207
- inventoryNode: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
208
- inventoryTargetClass: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
209
- inventoryObservedAt: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
117
+ TranslationLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
118
+ languageIdentifier: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
119
+ languageCode: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
120
+ nativeName: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
121
+ englishName: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
122
+ textDirection: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
123
+ parentLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
124
+ fallbackLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
125
+ languageEnabled: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
126
+ languageSupported: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
127
+ TranslationKey: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
128
+ TranslationKeyVersion: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
129
+ TranslationRelease: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
130
+ TranslationUnit: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
131
+ TranslationRevision: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
132
+ GlossaryTerm: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
133
+ TranslationInventoryOrigin: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
134
+ namespace: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
135
+ key: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
136
+ sourceText: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
137
+ description: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
138
+ kind: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
139
+ ofApplication: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
140
+ ofNode: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
141
+ ofField: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
142
+ ofShape: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
143
+ ofProperty: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
144
+ ofResource: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
145
+ fromPackage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
146
+ overridden: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
147
+ shapeSource: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
148
+ format: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
149
+ currentVersion: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
150
+ versionId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
151
+ sourceLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
152
+ argumentSignature: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
153
+ contractHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
154
+ sourceHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
155
+ supersedes: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
156
+ createdBy: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
157
+ branch: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
158
+ releaseId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
159
+ buildId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
160
+ channel: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
161
+ contractSetHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
162
+ manifestHash: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
163
+ hotfixSequence: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
164
+ publishedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
165
+ supportedUntil: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
166
+ qualitySummary: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
167
+ languages: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
168
+ defaultLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
169
+ cdnTarget: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
170
+ autoPublish: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
171
+ reviewedOnlyLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
172
+ mtDefault: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
173
+ mtFormality: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
174
+ mtStyleNote: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
175
+ ofKey: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
176
+ ofKeyVersion: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
177
+ language: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
178
+ text: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
179
+ state: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
180
+ updatedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
181
+ updatedBy: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
182
+ origin: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
183
+ status: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
184
+ author: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
185
+ authorKind: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
186
+ mtProvider: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
187
+ basedOnText: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
188
+ note: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
189
+ createdAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
190
+ decidedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
191
+ decidedBy: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
192
+ term: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
193
+ glossaryTranslation: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
194
+ glossaryLanguage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
195
+ termType: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
196
+ useInstead: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
197
+ caseSensitive: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
198
+ inventoryBranch: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
199
+ inventoryIdentity: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
200
+ inventoryStatus: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
201
+ inventorySource: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
202
+ inventorySourceId: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
203
+ inventoryAuthoritative: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
204
+ inventoryFile: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
205
+ inventoryLine: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
206
+ inventoryOwner: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
207
+ inventoryShape: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
208
+ inventoryProperty: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
209
+ inventoryNode: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
210
+ inventoryTargetClass: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
211
+ inventoryObservedAt: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
210
212
  };
@@ -8,7 +8,7 @@ export var loadData = () => {
8
8
  * Public ontology namespace for the translation package. First-party Linked
9
9
  * ontologies live at `https://linked.cm/ont/{ontologySlug}/{localName}`, where
10
10
  * the ontology slug — and the prefix label — is the package's public slug
11
- * (Create Now arch-02, "Public ontology namespace"). So terms are
11
+ * (the LINKED first-party ontology namespace rule). So terms are
12
12
  * `https://linked.cm/ont/translation/TranslationKey` and the prefix is
13
13
  * `translation:`. Before 0.5.0 this was `https://id.linked.cm/translation/vocab#`.
14
14
  */
@@ -44,6 +44,7 @@ export var ofNode = ns('ofNode'); // content-translation subject (kind:'content'
44
44
  export var ofField = ns('ofField');
45
45
  export var ofShape = ns('ofShape'); // semantic SHACL shape context for package keys
46
46
  export var ofProperty = ns('ofProperty'); // semantic predicate context for package keys
47
+ export var ofResource = ns('ofResource'); // arbitrary semantic resource (action, group, condition, port)
47
48
  export var fromPackage = ns('fromPackage'); // package that supplied a seed catalog
48
49
  export var overridden = ns('overridden'); // app diverged this shape key from canonical → excluded from shape propagation (AD-N)
49
50
  export var shapeSource = ns('shapeSource'); // canonical source snapshot at override time → the value "clear override" reverts to (AD-N)
@@ -68,7 +69,7 @@ export var hotfixSequence = ns('hotfixSequence');
68
69
  export var publishedAt = ns('publishedAt');
69
70
  export var supportedUntil = ns('supportedUntil');
70
71
  export var qualitySummary = ns('qualitySummary');
71
- // ── CapabilityAppConfig properties (stored in Create Now's cn-main) ────
72
+ // ── CapabilityAppConfig properties (stored in the host's app configuration) ────
72
73
  export var languages = ns('languages'); // active BCP-47 tags, including source
73
74
  export var defaultLanguage = ns('defaultLanguage'); // authored/source language
74
75
  export var cdnTarget = ns('cdnTarget'); // delivery base URL / bucket prefix — the "repoint" knob (AD-K, P2)
@@ -152,6 +153,7 @@ export const tr = {
152
153
  ofField,
153
154
  ofShape,
154
155
  ofProperty,
156
+ ofResource,
155
157
  fromPackage,
156
158
  overridden,
157
159
  shapeSource,