Skip to content

@jsvision/i18n / JsonFileSourceLimits

Interface: JsonFileSourceLimits

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

Caller-lowerable resource limits for one rooted JSON source.

Properties

maxFileBytes?

readonly optional maxFileBytes?: number

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

Maximum bytes read from one file; hard maximum is 2 MiB.


maxKeyScalars?

readonly optional maxKeyScalars?: number

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

Maximum Unicode scalars accepted in one message key; hard maximum is 512.


maxMessageBytes?

readonly optional maxMessageBytes?: number

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

Maximum UTF-8 bytes accepted in one message string; hard maximum is 65,536.


maxMessages?

readonly optional maxMessages?: number

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

Maximum messages accepted in one catalog; hard maximum is 10,000.