import { v4 as uuidV4 } from 'uuid'; export function generateUuid(prefix?: string) { return prefix ? `${prefix}-${uuidV4()}` : uuidV4(); }