Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / api / openchannelAccount / openchannelAccount.events.js
index b05c30d..0e476a5 100644 (file)
@@ -1 +1 @@
-const a469_0x3313=['events','../../mysqldb','addHook','emit','save','setMaxListeners','remove','update'];(function(_0x319f5b,_0x33139a){const _0x17de57=function(_0x294aa9){while(--_0x294aa9){_0x319f5b['push'](_0x319f5b['shift']());}};_0x17de57(++_0x33139a);}(a469_0x3313,0x12a));const a469_0x17de=function(_0x319f5b,_0x33139a){_0x319f5b=_0x319f5b-0x0;let _0x17de57=a469_0x3313[_0x319f5b];return _0x17de57;};const _0x313d39=a469_0x17de;'use strict';const EventEmitter=require(_0x313d39('0x6')),OpenchannelAccount=require(_0x313d39('0x7'))['db']['OpenchannelAccount'],OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x313d39('0x3')](0x0);const events={'afterCreate':_0x313d39('0x2'),'afterUpdate':_0x313d39('0x5'),'afterDestroy':_0x313d39('0x4')};function emitEvent(_0x294aa9){return function(_0x180242){const _0x52a06c=a469_0x17de;OpenchannelAccountEvents[_0x52a06c('0x1')](_0x294aa9+':'+_0x180242['id'],_0x180242),OpenchannelAccountEvents[_0x52a06c('0x1')](_0x294aa9,_0x180242);};}for(const e in events){if(typeof events[e]!=='undefined'){const event=events[e];OpenchannelAccount[_0x313d39('0x0')](e,emitEvent(event));}}module['exports']=OpenchannelAccountEvents;
\ No newline at end of file
+const a469_0x38a7=['../../mysqldb','update','OpenchannelAccount','exports','emit','events','undefined','remove','save'];(function(_0x2a62a5,_0x38a7cc){const _0x33bee0=function(_0x4da4a2){while(--_0x4da4a2){_0x2a62a5['push'](_0x2a62a5['shift']());}};_0x33bee0(++_0x38a7cc);}(a469_0x38a7,0x81));const a469_0x33be=function(_0x2a62a5,_0x38a7cc){_0x2a62a5=_0x2a62a5-0x0;let _0x33bee0=a469_0x38a7[_0x2a62a5];return _0x33bee0;};const _0x2cbf4c=a469_0x33be;'use strict';const EventEmitter=require(_0x2cbf4c('0x2')),OpenchannelAccount=require(_0x2cbf4c('0x6'))['db'][_0x2cbf4c('0x8')],OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents['setMaxListeners'](0x0);const events={'afterCreate':_0x2cbf4c('0x5'),'afterUpdate':_0x2cbf4c('0x7'),'afterDestroy':_0x2cbf4c('0x4')};function emitEvent(_0x4da4a2){return function(_0x13cbb7){const _0x43f9c3=a469_0x33be;OpenchannelAccountEvents[_0x43f9c3('0x1')](_0x4da4a2+':'+_0x13cbb7['id'],_0x13cbb7),OpenchannelAccountEvents['emit'](_0x4da4a2,_0x13cbb7);};}for(const e in events){if(typeof events[e]!==_0x2cbf4c('0x3')){const event=events[e];OpenchannelAccount['addHook'](e,emitEvent(event));}}module[_0x2cbf4c('0x0')]=OpenchannelAccountEvents;
\ No newline at end of file