Built motion from commit cafec4f3.|2.6.31
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 55c4ce0..e0c2052 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf652=['name','STRING','long','type','parse','values','setDataValue','stringify','BOOLEAN','ENUM','voice','sequelize','VIRTUAL','getDataValue','alias'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf652,0x83));var _0x2f65=function(_0x2f8a44,_0x4e81cd){_0x2f8a44=_0x2f8a44-0x0;var _0x4703d6=_0xf652[_0x2f8a44];return _0x4703d6;};'use strict';var Sequelize=require(_0x2f65('0x0'));var _=require('lodash');module['exports']={'name':{'type':Sequelize[_0x2f65('0x1')],'get':function(_0x19cfea){return this[_0x2f65('0x2')](_0x2f65('0x3'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x385da2){this['setDataValue']('alias',_0x385da2?_0x385da2:this['getDataValue'](_0x2f65('0x4')));}},'type':{'type':Sequelize[_0x2f65('0x5')],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0x2f65('0x6')),'get':function(){if(this[_0x2f65('0x2')](_0x2f65('0x7'))==='select'){return JSON[_0x2f65('0x8')](this['getDataValue'](_0x2f65('0x9')));}else{return this['getDataValue'](_0x2f65('0x9'));}},'set':function(_0x2739c0){if(Array['isArray'](_0x2739c0)){this[_0x2f65('0xa')](_0x2f65('0x9'),JSON[_0x2f65('0xb')](_0x2739c0));}else{this[_0x2f65('0xa')](_0x2f65('0x9'),_0x2739c0);}}},'required':{'type':Sequelize[_0x2f65('0xc')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x2f65('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x2f65('0xd')](_0x2f65('0xe'))}};
\ No newline at end of file
+var _0xe963=['TEXT','long','type','select','parse','values','isArray','stringify','BOOLEAN','sequelize','lodash','exports','getDataValue','alias','setDataValue','STRING'];(function(_0x2be63a,_0x44d8b5){var _0x2bd7c2=function(_0x130e8a){while(--_0x130e8a){_0x2be63a['push'](_0x2be63a['shift']());}};_0x2bd7c2(++_0x44d8b5);}(_0xe963,0x179));var _0x3e96=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe963[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x3e96('0x0'));var _=require(_0x3e96('0x1'));module[_0x3e96('0x2')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0xd22268){return this[_0x3e96('0x3')](_0x3e96('0x4'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x3c020d){this[_0x3e96('0x5')](_0x3e96('0x4'),_0x3c020d?_0x3c020d:this[_0x3e96('0x3')]('name'));}},'type':{'type':Sequelize[_0x3e96('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0x3e96('0x7')](_0x3e96('0x8')),'get':function(){if(this[_0x3e96('0x3')](_0x3e96('0x9'))===_0x3e96('0xa')){return JSON[_0x3e96('0xb')](this['getDataValue'](_0x3e96('0xc')));}else{return this[_0x3e96('0x3')](_0x3e96('0xc'));}},'set':function(_0x69f4ac){if(Array[_0x3e96('0xd')](_0x69f4ac)){this[_0x3e96('0x5')](_0x3e96('0xc'),JSON[_0x3e96('0xe')](_0x69f4ac));}else{this[_0x3e96('0x5')](_0x3e96('0xc'),_0x69f4ac);}}},'required':{'type':Sequelize[_0x3e96('0xf')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x3e96('0xf')],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM']('voice')}};
\ No newline at end of file