Skip to content

@jsvision/i18n / JsonFileSourceOptions

Interface: JsonFileSourceOptions ​

Defined in: json-file-source.ts:31

Options for a rooted Node-only JSON catalog source.

Properties ​

limits? ​

readonly optional limits?: JsonFileSourceLimits

Defined in: json-file-source.ts:39

Optional resource limits that may only lower the hard maxima.


paths ​

readonly paths: readonly string[]

Defined in: json-file-source.ts:35

Ordered portable literals/globs; one source expands at most 10,000 files and 16 MiB total.


required? ​

readonly optional required?: boolean

Defined in: json-file-source.ts:37

Whether a source failure aborts import('../source.js').loadI18n; defaults to true.


root ​

readonly root: string

Defined in: json-file-source.ts:33

Mandatory filesystem boundary; every candidate must canonicalize below it.