Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 2af028c..c04ad6c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x89c3=['select','parse','values','BOOLEAN','ENUM','voice','sequelize','lodash','VIRTUAL','getDataValue','alias','STRING','setDataValue','TEXT','type'];(function(_0x80414,_0x1e3d2f){var _0xeec72a=function(_0x4f82ef){while(--_0x4f82ef){_0x80414['push'](_0x80414['shift']());}};_0xeec72a(++_0x1e3d2f);}(_0x89c3,0x8d));var _0x389c=function(_0x172575,_0x46cd6a){_0x172575=_0x172575-0x0;var _0x18e1b6=_0x89c3[_0x172575];return _0x18e1b6;};'use strict';var Sequelize=require(_0x389c('0x0'));var _=require(_0x389c('0x1'));module['exports']={'name':{'type':Sequelize[_0x389c('0x2')],'get':function(_0x1d578c){return this[_0x389c('0x3')](_0x389c('0x4'));}},'alias':{'type':Sequelize[_0x389c('0x5')],'allowNull':![],'set':function(_0x1eccc6){this[_0x389c('0x6')](_0x389c('0x4'),_0x1eccc6?_0x1eccc6:this['getDataValue']('name'));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x389c('0x7')]('long'),'get':function(){if(this[_0x389c('0x3')](_0x389c('0x8'))===_0x389c('0x9')){return JSON[_0x389c('0xa')](this['getDataValue']('values'));}else{return this[_0x389c('0x3')](_0x389c('0xb'));}},'set':function(_0x4dc89c){if(Array['isArray'](_0x4dc89c)){this[_0x389c('0x6')]('values',JSON['stringify'](_0x4dc89c));}else{this[_0x389c('0x6')](_0x389c('0xb'),_0x4dc89c);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x389c('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x389c('0xd')](_0x389c('0xe'))}};
\ No newline at end of file
+var _0xdea0=['long','type','select','parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','exports','VIRTUAL','getDataValue','STRING','setDataValue','alias','name','TEXT'];(function(_0x39096d,_0x51f8a0){var _0x13da4f=function(_0x11e6b2){while(--_0x11e6b2){_0x39096d['push'](_0x39096d['shift']());}};_0x13da4f(++_0x51f8a0);}(_0xdea0,0xe6));var _0x0dea=function(_0x150f6e,_0x48ae9b){_0x150f6e=_0x150f6e-0x0;var _0x5cd20e=_0xdea0[_0x150f6e];return _0x5cd20e;};'use strict';var Sequelize=require(_0x0dea('0x0'));var _=require(_0x0dea('0x1'));module[_0x0dea('0x2')]={'name':{'type':Sequelize[_0x0dea('0x3')],'get':function(_0x59aad8){return this[_0x0dea('0x4')]('alias');}},'alias':{'type':Sequelize[_0x0dea('0x5')],'allowNull':![],'set':function(_0xad2eee){this[_0x0dea('0x6')](_0x0dea('0x7'),_0xad2eee?_0xad2eee:this[_0x0dea('0x4')](_0x0dea('0x8')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x0dea('0x9')](_0x0dea('0xa')),'get':function(){if(this[_0x0dea('0x4')](_0x0dea('0xb'))===_0x0dea('0xc')){return JSON[_0x0dea('0xd')](this[_0x0dea('0x4')](_0x0dea('0xe')));}else{return this['getDataValue'](_0x0dea('0xe'));}},'set':function(_0x17137f){if(Array[_0x0dea('0xf')](_0x17137f)){this[_0x0dea('0x6')](_0x0dea('0xe'),JSON[_0x0dea('0x10')](_0x17137f));}else{this[_0x0dea('0x6')]('values',_0x17137f);}}},'required':{'type':Sequelize[_0x0dea('0x11')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x0dea('0x11')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x0dea('0x12')](_0x0dea('0x13'))}};
\ No newline at end of file