@jsvision/i18n / validateCatalogs
Function: validateCatalogs()
validateCatalogs(
inputs,options?): readonlyCatalogIssue[]
Defined in: validation.ts:620
Validate an ordered catalog collection with one shared policy.
Parameters
inputs
readonly unknown[]
Candidate schema-1 catalogs.
options?
Completeness, accelerator, and value-free source metadata.
Returns
readonly CatalogIssue[]
Immutable, stably sorted issues from every catalog.
Example
ts
validateCatalogs([{ schema: 1, locale: 'en', messages: {} }]);