🌳
pt0/deployF/mutateAppCfgF.mts
2import { appCfgCtx, type AppCfg } from './k8sF/ctxF/appCfgCtxF.mts'
5export const mutateAppCfg = (appCfg: AppCfg, ...partials: object[]) => {
6 throwIf(() => Object.isFrozen(appCfg), {appCfg})
7 Object.assign(appCfg, mergeConcatA(appCfg, ...partials))
8 appCfgCtx.enterWith(appCfg)
9 return appCfg