Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / interval / interval.model.js
index 31f83cb..c6662d8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1e78=['define','Interval','tools_intervals','rewrite','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./interval.attributes','../../components/extensions/rewrite','exports'];(function(_0x4c12ec,_0x2e9103){var _0x3ae42c=function(_0x5a728f){while(--_0x5a728f){_0x4c12ec['push'](_0x4c12ec['shift']());}};_0x3ae42c(++_0x2e9103);}(_0x1e78,0x74));var _0x81e7=function(_0x415e40,_0x29184a){_0x415e40=_0x415e40-0x0;var _0x23f173=_0x1e78[_0x415e40];return _0x23f173;};'use strict';var _=require('lodash');var util=require(_0x81e7('0x0'));var logger=require(_0x81e7('0x1'))('api');var moment=require('moment');var BPromise=require(_0x81e7('0x2'));var rp=require(_0x81e7('0x3'));var fs=require('fs');var path=require(_0x81e7('0x4'));var rimraf=require(_0x81e7('0x5'));var config=require(_0x81e7('0x6'));var attributes=require(_0x81e7('0x7'));var extensions=require(_0x81e7('0x8'));module[_0x81e7('0x9')]=function(_0x4eb373,_0x38fb03){return _0x4eb373[_0x81e7('0xa')](_0x81e7('0xb'),attributes,{'tableName':_0x81e7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterCreate':function(_0x2cb001,_0x7f2846){extensions[_0x81e7('0xd')](_0x4eb373,_0x2cb001);},'afterBulkCreate':function(_0x131dda,_0xc82590,_0x56b28e){_0x56b28e();extensions[_0x81e7('0xd')](_0x4eb373,_0x131dda[0x0]);},'afterUpdate':function(_0x32bf7e,_0x33811d){extensions[_0x81e7('0xd')](_0x4eb373,_0x32bf7e);},'afterDestroy':function(_0x361d65,_0x16986a){extensions[_0x81e7('0xd')](_0x4eb373,_0x361d65);}}});};
\ No newline at end of file
+var _0xa343=['bluebird','request-promise','path','rimraf','../../config/environment','./interval.attributes','../../components/extensions/rewrite','exports','define','Interval','tools_intervals','rewrite','lodash','util','../../config/logger'];(function(_0x480bc8,_0x1fac40){var _0x28c245=function(_0x22a049){while(--_0x22a049){_0x480bc8['push'](_0x480bc8['shift']());}};_0x28c245(++_0x1fac40);}(_0xa343,0x1a1));var _0x3a34=function(_0x15af0f,_0x5454ce){_0x15af0f=_0x15af0f-0x0;var _0x2bd1cb=_0xa343[_0x15af0f];return _0x2bd1cb;};'use strict';var _=require(_0x3a34('0x0'));var util=require(_0x3a34('0x1'));var logger=require(_0x3a34('0x2'))('api');var moment=require('moment');var BPromise=require(_0x3a34('0x3'));var rp=require(_0x3a34('0x4'));var fs=require('fs');var path=require(_0x3a34('0x5'));var rimraf=require(_0x3a34('0x6'));var config=require(_0x3a34('0x7'));var attributes=require(_0x3a34('0x8'));var extensions=require(_0x3a34('0x9'));module[_0x3a34('0xa')]=function(_0xbb8daf,_0x1f9885){return _0xbb8daf[_0x3a34('0xb')](_0x3a34('0xc'),attributes,{'tableName':_0x3a34('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterCreate':function(_0x272245,_0x29d0eb){extensions[_0x3a34('0xe')](_0xbb8daf,_0x272245);},'afterBulkCreate':function(_0x244b2a,_0x8a453,_0x5c6e29){_0x5c6e29();extensions[_0x3a34('0xe')](_0xbb8daf,_0x244b2a[0x0]);},'afterUpdate':function(_0x334906,_0x392bb1){extensions['rewrite'](_0xbb8daf,_0x334906);},'afterDestroy':function(_0x3b63f0,_0x4a6880){extensions[_0x3a34('0xe')](_0xbb8daf,_0x3b63f0);}}});};
\ No newline at end of file