import { EventTopics } from '@centsideas/enums' ; export const serializableMessageMap = new Map ( ) ; export const SerializableMessage = ( topic ) => { return function SerializableMessageDecorator ( target ) { serializableMessageMap . set ( topic , new target ( ) ) ; } ; } ;