import type { OhbugMetaData } from '@ohbug/types' ; export function addMetaData ( map , section , data ) { if ( ! section ) return ; map [ section ] = data ; } export function getMetaData ( map , section ) { if ( map [ section ] ) { return map [ section ] ; } return undefined ; } export function deleteMetaData ( map , section ) { if ( map [ section ] ) { return delete map [ section ] ; } return undefined ; }