UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

13 lines (12 loc) • 406 B
import { l as normalizeOptionalString } from "./string-coerce-CCIiB4H7.mjs"; //#region src/shared/collection-input.ts function normalizeOptionalTrimmedStringRecord(e) { const t = {}; for (const [n, r] of Object.entries(e)) { const e = normalizeOptionalString(r); if (e) t[n] = e; } return Object.keys(t).length > 0 ? t : void 0; } //#endregion export { normalizeOptionalTrimmedStringRecord as t };