Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/memory / / resolveLocalePack
Function: resolveLocalePack()
ts
function resolveLocalePack(input, options?): ContextLocalePack;Defined in: packages/memory/src/context-engine/locale-packs/resolver.ts:86
Materialize a locale pack from a partial input + the English fallback. Pure: no I/O outside the bounded WARN registry.
Parameters
| Parameter | Type |
|---|---|
input | | ContextLocalePack | PartialContextLocalePack | undefined |
options | { logger?: LocaleResolverLogger; silent?: boolean; } |
options.logger? | LocaleResolverLogger |
options.silent? | boolean |