import { Context } from 'moleculer' ; import { IAttack } from '@Interfaces' ; export namespace AttackHelper { const prefix = 'attack' ; export const Fire = async ( ctx , params ) : Promise < IAttack . FireOutDto > => await ctx . call ( `${ prefix }.Fire` , params ) ; }