export const patchBlock = (meta: Record) => { const { blockLabel, ...rest } = meta; return { ...rest, blockType: blockLabel }; };