import { EVENTS } from '@common/events' ; export function IpcInvoke ( event ) { return ( target , propertyName ) => { Reflect . defineMetadata ( 'ipc-invoke' , event . toString ( ) , target , propertyName ) ; } ; } export function IpcOn ( event ) { return ( target , propertyName ) => { Reflect . defineMetadata ( 'ipc-on' , event . toString ( ) , target , propertyName ) ; } ; } export function Controller ( ) { return ( target ) => { } ; } export function Injectable ( name ) { return ( target ) => { Reflect . defineMetadata ( 'name' , name , target ) ; } ; }