nl_tokens: / * function messageBuilder create a message from constraints and event type
pl_tokens: function messageBuilder ( data , event , store = false , index = false ) { let message = { 'type' : store ? 'store' : index ? 'indexation' : 'request' , 'value' : <mask> , 'data' : data } ; logger_1 . logger . log ( 'debug' , ` \n ${ JSON . stringify ( message ) } ` ) ; return message ; }