f0a1552
ZhenYi
feat(chat): add chat module with room management, message handling, and session revocation
f0a1552
/**
* Value helpers for {@link FormModal}'s field kinds. Kept out of form-modal.tsx
* so that file exports components only (react-refresh requirement).
*/
/** Read a `multiselect` value back out of the flat form value record. */
export const parseList = (value: unknown): string[] =>
String(value ?? '')
.split(',')
.map(item => item.trim())
.filter(Boolean)