mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 23:04:45 +00:00
32 lines
931 B
TypeScript
32 lines
931 B
TypeScript
// Narrow primitive coercion helpers for plugins that do not need the full text-runtime barrel.
|
|
|
|
export {
|
|
hasNonEmptyString,
|
|
localeLowercasePreservingWhitespace,
|
|
lowercasePreservingWhitespace,
|
|
normalizeFastMode,
|
|
normalizeLowercaseStringOrEmpty,
|
|
normalizeNullableString,
|
|
normalizeOptionalLowercaseString,
|
|
normalizeOptionalString,
|
|
normalizeOptionalStringifiedId,
|
|
normalizeStringifiedOptionalString,
|
|
readStringValue,
|
|
} from "../shared/string-coerce.js";
|
|
export {
|
|
asRecord,
|
|
asNullableRecord,
|
|
asOptionalRecord,
|
|
readStringField,
|
|
} from "../shared/record-coerce.js";
|
|
export { isRecord } from "../utils.js";
|
|
export {
|
|
normalizeAtHashSlug,
|
|
normalizeHyphenSlug,
|
|
normalizeOptionalTrimmedStringList,
|
|
normalizeSingleOrTrimmedStringList,
|
|
normalizeStringEntries,
|
|
normalizeStringEntriesLower,
|
|
} from "../shared/string-normalization.js";
|
|
export { summarizeStringEntries } from "../shared/string-sample.js";
|