Skip to main content

Type Alias: DefaultsPatch

DefaultsPatch = { [K in keyof BaleybotDefaults]?: Partial<BaleybotDefaults[K]> }

Defined in: packages/core/src/core/defaults.ts:58

A partial patch over BaleybotDefaults.

One level of optionality per group, not a recursive DeepPartial: the groups are the only objects that merge, and every field inside one is a leaf (a model, a function, a number). Spelling that out keeps the merge total and the types readable, and it is why a model instance is never walked into.