Handler configuration with templates and global settings
Show properties
object
required
A map of template objects, keyed by a unique string ID
object | function
Default parameters that will be applied to all templates. Useful for brand consistency. Can be an object or a function returning a Promise. User-provided parameters take precedence over shared parameters during rendering.
OgCacheConfig
Caching configuration for fonts and icons. If not provided, defaults to in-memory caching with { type: 'memory' }
Show properties
'memory' | 'filesystem'
Cache type. Defaults to 'memory' if not specified
number
Time to live in milliseconds. Default: No expiration
number
Maximum number of items in cache. Default: 100
string
Directory for filesystem cache (required if type is 'filesystem')