Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / api / openchannelAccount / openchannelAccount.events.js
index a6b7d69..93494c6 100644 (file)
@@ -1 +1 @@
-const a469_0x3857=['addHook','setMaxListeners','../../mysqldb','update','OpenchannelAccount','events','undefined'];(function(_0x2c5e5e,_0x3857ff){const _0x40d181=function(_0x3806a7){while(--_0x3806a7){_0x2c5e5e['push'](_0x2c5e5e['shift']());}};_0x40d181(++_0x3857ff);}(a469_0x3857,0xeb));const a469_0x40d1=function(_0x2c5e5e,_0x3857ff){_0x2c5e5e=_0x2c5e5e-0x0;let _0x40d181=a469_0x3857[_0x2c5e5e];return _0x40d181;};const _0x51d7d1=a469_0x40d1;'use strict';const EventEmitter=require(_0x51d7d1('0x1')),OpenchannelAccount=require(_0x51d7d1('0x5'))['db'][_0x51d7d1('0x0')],OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x51d7d1('0x4')](0x0);const events={'afterCreate':'save','afterUpdate':_0x51d7d1('0x6'),'afterDestroy':'remove'};function emitEvent(_0x3806a7){return function(_0x285ea9){OpenchannelAccountEvents['emit'](_0x3806a7+':'+_0x285ea9['id'],_0x285ea9),OpenchannelAccountEvents['emit'](_0x3806a7,_0x285ea9);};}for(const e in events){if(typeof events[e]!==_0x51d7d1('0x2')){const event=events[e];OpenchannelAccount[_0x51d7d1('0x3')](e,emitEvent(event));}}module['exports']=OpenchannelAccountEvents;
\ No newline at end of file
+const a469_0x1279=['undefined','exports','OpenchannelAccount','save','update','addHook','setMaxListeners','events','emit','remove','../../mysqldb'];(function(_0x263429,_0x127975){const _0x328bae=function(_0x560eaa){while(--_0x560eaa){_0x263429['push'](_0x263429['shift']());}};_0x328bae(++_0x127975);}(a469_0x1279,0x186));const a469_0x328b=function(_0x263429,_0x127975){_0x263429=_0x263429-0x0;let _0x328bae=a469_0x1279[_0x263429];return _0x328bae;};const _0x2d12a7=a469_0x328b;'use strict';const EventEmitter=require(_0x2d12a7('0x2')),OpenchannelAccount=require(_0x2d12a7('0x5'))['db'][_0x2d12a7('0x8')],OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x2d12a7('0x1')](0x0);const events={'afterCreate':_0x2d12a7('0x9'),'afterUpdate':_0x2d12a7('0xa'),'afterDestroy':_0x2d12a7('0x4')};function emitEvent(_0x560eaa){return function(_0x51ba34){const _0x5bc179=a469_0x328b;OpenchannelAccountEvents['emit'](_0x560eaa+':'+_0x51ba34['id'],_0x51ba34),OpenchannelAccountEvents[_0x5bc179('0x3')](_0x560eaa,_0x51ba34);};}for(const e in events){if(typeof events[e]!==_0x2d12a7('0x6')){const event=events[e];OpenchannelAccount[_0x2d12a7('0x0')](e,emitEvent(event));}}module[_0x2d12a7('0x7')]=OpenchannelAccountEvents;
\ No newline at end of file