Built motion from commit e781dc3c.|2.5.42
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 4cc8d9d..8bcede4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa7f0=['select','values','isArray','BOOLEAN','ENUM','sequelize','lodash','exports','VIRTUAL','getDataValue','STRING','setDataValue','alias','name','TEXT','long','type'];(function(_0x2c297b,_0x34e09f){var _0x1c0bf7=function(_0x18b4f5){while(--_0x18b4f5){_0x2c297b['push'](_0x2c297b['shift']());}};_0x1c0bf7(++_0x34e09f);}(_0xa7f0,0x1ae));var _0x0a7f=function(_0x1f379b,_0x5e3e67){_0x1f379b=_0x1f379b-0x0;var _0x5e7dcb=_0xa7f0[_0x1f379b];return _0x5e7dcb;};'use strict';var Sequelize=require(_0x0a7f('0x0'));var _=require(_0x0a7f('0x1'));module[_0x0a7f('0x2')]={'name':{'type':Sequelize[_0x0a7f('0x3')],'get':function(_0x21a77d){return this[_0x0a7f('0x4')]('alias');}},'alias':{'type':Sequelize[_0x0a7f('0x5')],'allowNull':![],'set':function(_0x4aaf0b){this[_0x0a7f('0x6')](_0x0a7f('0x7'),_0x4aaf0b?_0x4aaf0b:this[_0x0a7f('0x4')](_0x0a7f('0x8')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x0a7f('0x9')](_0x0a7f('0xa')),'get':function(){if(this[_0x0a7f('0x4')](_0x0a7f('0xb'))===_0x0a7f('0xc')){return JSON['parse'](this[_0x0a7f('0x4')]('values'));}else{return this[_0x0a7f('0x4')](_0x0a7f('0xd'));}},'set':function(_0x3ee9fc){if(Array[_0x0a7f('0xe')](_0x3ee9fc)){this[_0x0a7f('0x6')](_0x0a7f('0xd'),JSON['stringify'](_0x3ee9fc));}else{this[_0x0a7f('0x6')](_0x0a7f('0xd'),_0x3ee9fc);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x0a7f('0xf')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x0a7f('0x10')]('voice')}};
\ No newline at end of file
+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