AbstractProtectedbuildOptionaldeleteOptionalformatOptional hook to format validation errors.
The array of errors from TypeBox/Value.
A formatted string or undefined to use default formatting.
AbstractloadLoads the configuration from the source.
The schema definition.
The loaded configuration object.
ProtectedmergeAbstractsaveOptionaltransactionOptional transactional read-modify-write. When implemented, Kfg.mutate()
uses it to make the whole load→modify→save cycle atomic across processes
(preventing lost updates). fn receives the freshly-read raw config and
returns the raw config to persist.
OptionalupdateOptional hook for updates. Use this ONLY if the driver handles atomic updates and doesn't need the full object every time. If implemented, Kfg.set() will call this INSTEAD of save().
The key updated (dot notation).
The new value.
Optionaldescription: string
Optional hook for deletion. Use this ONLY if the driver handles atomic deletion. If implemented, Kfg.del() will call this INSTEAD of save().