Built motion from commit d6d69adf.|2.6.33
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 66adf8d..a24e8aa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf128=['sequelize','lodash','exports','VIRTUAL','getDataValue','alias','setDataValue','name','STRING','TEXT','type','select','parse','values','isArray','BOOLEAN','ENUM'];(function(_0x4364eb,_0x53842f){var _0x43725e=function(_0x1714af){while(--_0x1714af){_0x4364eb['push'](_0x4364eb['shift']());}};_0x43725e(++_0x53842f);}(_0xf128,0x198));var _0x8f12=function(_0x4ff120,_0x30ee0b){_0x4ff120=_0x4ff120-0x0;var _0x1a8437=_0xf128[_0x4ff120];return _0x1a8437;};'use strict';var Sequelize=require(_0x8f12('0x0'));var _=require(_0x8f12('0x1'));module[_0x8f12('0x2')]={'name':{'type':Sequelize[_0x8f12('0x3')],'get':function(_0x5ac201){return this[_0x8f12('0x4')](_0x8f12('0x5'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x21e5c0){this[_0x8f12('0x6')](_0x8f12('0x5'),_0x21e5c0?_0x21e5c0:this[_0x8f12('0x4')](_0x8f12('0x7')));}},'type':{'type':Sequelize[_0x8f12('0x8')],'allowNull':![]},'values':{'type':Sequelize[_0x8f12('0x9')]('long'),'get':function(){if(this[_0x8f12('0x4')](_0x8f12('0xa'))===_0x8f12('0xb')){return JSON[_0x8f12('0xc')](this[_0x8f12('0x4')](_0x8f12('0xd')));}else{return this[_0x8f12('0x4')](_0x8f12('0xd'));}},'set':function(_0x2d6377){if(Array[_0x8f12('0xe')](_0x2d6377)){this[_0x8f12('0x6')]('values',JSON['stringify'](_0x2d6377));}else{this['setDataValue'](_0x8f12('0xd'),_0x2d6377);}}},'required':{'type':Sequelize[_0x8f12('0xf')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0x8f12('0x10')]('voice')}};
\ No newline at end of file
+var _0xa808=['isArray','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','exports','VIRTUAL','alias','setDataValue','getDataValue','STRING','long','select','parse','values'];(function(_0x30f07a,_0x98341){var _0xb38461=function(_0x7b287a){while(--_0x7b287a){_0x30f07a['push'](_0x30f07a['shift']());}};_0xb38461(++_0x98341);}(_0xa808,0x8d));var _0x8a80=function(_0x41e1a7,_0xfd63ec){_0x41e1a7=_0x41e1a7-0x0;var _0x466ca1=_0xa808[_0x41e1a7];return _0x466ca1;};'use strict';var Sequelize=require(_0x8a80('0x0'));var _=require(_0x8a80('0x1'));module[_0x8a80('0x2')]={'name':{'type':Sequelize[_0x8a80('0x3')],'get':function(_0x47298c){return this['getDataValue'](_0x8a80('0x4'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x5a5362){this[_0x8a80('0x5')](_0x8a80('0x4'),_0x5a5362?_0x5a5362:this[_0x8a80('0x6')]('name'));}},'type':{'type':Sequelize[_0x8a80('0x7')],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0x8a80('0x8')),'get':function(){if(this['getDataValue']('type')===_0x8a80('0x9')){return JSON[_0x8a80('0xa')](this['getDataValue'](_0x8a80('0xb')));}else{return this[_0x8a80('0x6')](_0x8a80('0xb'));}},'set':function(_0x24cd44){if(Array[_0x8a80('0xc')](_0x24cd44)){this[_0x8a80('0x5')](_0x8a80('0xb'),JSON[_0x8a80('0xd')](_0x24cd44));}else{this[_0x8a80('0x5')](_0x8a80('0xb'),_0x24cd44);}}},'required':{'type':Sequelize[_0x8a80('0xe')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x8a80('0xe')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x8a80('0xf')](_0x8a80('0x10'))}};
\ No newline at end of file