Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / user-setting / user-setting.model.js
index 860ab3b..abccc68 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8b29=['clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','define'];(function(_0x214d8e,_0x16a312){var _0x575266=function(_0x5480f9){while(--_0x5480f9){_0x214d8e['push'](_0x214d8e['shift']());}};_0x575266(++_0x16a312);}(_0x8b29,0xbe));var _0x98b2=function(_0x2b2597,_0x33a65c){_0x2b2597=_0x2b2597-0x0;var _0x406aa3=_0x8b29[_0x2b2597];return _0x406aa3;};'use strict';var attributes=require(_0x98b2('0x0'));module['exports']=function(_0xc35914){return _0xc35914[_0x98b2('0x1')]('UserSetting',attributes,{'tableName':'user_settings','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x2363fe){if(!_0x2363fe[_0x98b2('0x2')])_0x2363fe['clientSideLoggingEnabledSince']=null;else if(_0x2363fe[_0x98b2('0x3')]===null)_0x2363fe['clientSideLoggingEnabledSince']=new Date();}}});};
\ No newline at end of file
+var _0x8868=['user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','exports','define','UserSetting'];(function(_0x108c27,_0x241271){var _0x38fef9=function(_0x9592c){while(--_0x9592c){_0x108c27['push'](_0x108c27['shift']());}};_0x38fef9(++_0x241271);}(_0x8868,0x1ca));var _0x8886=function(_0x3373d3,_0x1d3abc){_0x3373d3=_0x3373d3-0x0;var _0x8b0a4d=_0x8868[_0x3373d3];return _0x8b0a4d;};'use strict';var attributes=require(_0x8886('0x0'));module[_0x8886('0x1')]=function(_0xb1c240){return _0xb1c240[_0x8886('0x2')](_0x8886('0x3'),attributes,{'tableName':_0x8886('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x34cd50){if(!_0x34cd50[_0x8886('0x5')])_0x34cd50[_0x8886('0x6')]=null;else if(_0x34cd50[_0x8886('0x6')]===null)_0x34cd50[_0x8886('0x6')]=new Date();}}});};
\ No newline at end of file