Built motion from commit d9028345.|2.5.43
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 8bcede4..92af35a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x650f=['type','select','values','isArray','stringify','setDataValue','BOOLEAN','ENUM','voice','sequelize','lodash','getDataValue','STRING','alias','long'];(function(_0x525c7b,_0x488fcc){var _0x27b33e=function(_0x56d43b){while(--_0x56d43b){_0x525c7b['push'](_0x525c7b['shift']());}};_0x27b33e(++_0x488fcc);}(_0x650f,0x81));var _0xf650=function(_0x244a0c,_0x126dde){_0x244a0c=_0x244a0c-0x0;var _0x1d64a0=_0x650f[_0x244a0c];return _0x1d64a0;};'use strict';var Sequelize=require(_0xf650('0x0'));var _=require(_0xf650('0x1'));module['exports']={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x110522){return this[_0xf650('0x2')]('alias');}},'alias':{'type':Sequelize[_0xf650('0x3')],'allowNull':![],'set':function(_0x3bdfea){this['setDataValue'](_0xf650('0x4'),_0x3bdfea?_0x3bdfea:this['getDataValue']('name'));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0xf650('0x5')),'get':function(){if(this[_0xf650('0x2')](_0xf650('0x6'))===_0xf650('0x7')){return JSON['parse'](this['getDataValue'](_0xf650('0x8')));}else{return this[_0xf650('0x2')]('values');}},'set':function(_0x4aad58){if(Array[_0xf650('0x9')](_0x4aad58)){this['setDataValue'](_0xf650('0x8'),JSON[_0xf650('0xa')](_0x4aad58));}else{this[_0xf650('0xb')](_0xf650('0x8'),_0x4aad58);}}},'required':{'type':Sequelize[_0xf650('0xc')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xf650('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xf650('0xd')](_0xf650('0xe'))}};
\ No newline at end of file
+var _0xecf4=['parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','exports','getDataValue','alias','STRING','setDataValue','TEXT','long','type','select'];(function(_0x297a0c,_0x2a10e3){var _0x47e2c4=function(_0x4fcfd1){while(--_0x4fcfd1){_0x297a0c['push'](_0x297a0c['shift']());}};_0x47e2c4(++_0x2a10e3);}(_0xecf4,0x97));var _0x4ecf=function(_0x11e03f,_0x20b967){_0x11e03f=_0x11e03f-0x0;var _0x5666fe=_0xecf4[_0x11e03f];return _0x5666fe;};'use strict';var Sequelize=require(_0x4ecf('0x0'));var _=require(_0x4ecf('0x1'));module[_0x4ecf('0x2')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x2ca043){return this[_0x4ecf('0x3')](_0x4ecf('0x4'));}},'alias':{'type':Sequelize[_0x4ecf('0x5')],'allowNull':![],'set':function(_0x3be469){this[_0x4ecf('0x6')](_0x4ecf('0x4'),_0x3be469?_0x3be469:this[_0x4ecf('0x3')]('name'));}},'type':{'type':Sequelize[_0x4ecf('0x5')],'allowNull':![]},'values':{'type':Sequelize[_0x4ecf('0x7')](_0x4ecf('0x8')),'get':function(){if(this[_0x4ecf('0x3')](_0x4ecf('0x9'))===_0x4ecf('0xa')){return JSON[_0x4ecf('0xb')](this[_0x4ecf('0x3')](_0x4ecf('0xc')));}else{return this[_0x4ecf('0x3')](_0x4ecf('0xc'));}},'set':function(_0x58e5e9){if(Array[_0x4ecf('0xd')](_0x58e5e9)){this[_0x4ecf('0x6')](_0x4ecf('0xc'),JSON[_0x4ecf('0xe')](_0x58e5e9));}else{this[_0x4ecf('0x6')](_0x4ecf('0xc'),_0x58e5e9);}}},'required':{'type':Sequelize[_0x4ecf('0xf')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0x4ecf('0x10')](_0x4ecf('0x11'))}};
\ No newline at end of file