Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 20404ec..49fe612 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x64f5=['select','parse','values','isArray','BOOLEAN','ENUM','voice','sequelize','alias','STRING','setDataValue','getDataValue','name','long','type'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0x64f5,0x17e));var _0x564f=function(_0x5670a9,_0x1fb382){_0x5670a9=_0x5670a9-0x0;var _0x296679=_0x64f5[_0x5670a9];return _0x296679;};'use strict';var Sequelize=require(_0x564f('0x0'));var _=require('lodash');module['exports']={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x39903b){return this['getDataValue'](_0x564f('0x1'));}},'alias':{'type':Sequelize[_0x564f('0x2')],'allowNull':![],'set':function(_0x59c424){this[_0x564f('0x3')](_0x564f('0x1'),_0x59c424?_0x59c424:this[_0x564f('0x4')](_0x564f('0x5')));}},'type':{'type':Sequelize[_0x564f('0x2')],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0x564f('0x6')),'get':function(){if(this[_0x564f('0x4')](_0x564f('0x7'))===_0x564f('0x8')){return JSON[_0x564f('0x9')](this[_0x564f('0x4')](_0x564f('0xa')));}else{return this[_0x564f('0x4')](_0x564f('0xa'));}},'set':function(_0x3aa86a){if(Array[_0x564f('0xb')](_0x3aa86a)){this[_0x564f('0x3')](_0x564f('0xa'),JSON['stringify'](_0x3aa86a));}else{this['setDataValue'](_0x564f('0xa'),_0x3aa86a);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x564f('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x564f('0xd')](_0x564f('0xe'))}};
\ No newline at end of file
+var _0x8c08=['alias','STRING','name','TEXT','long','type','parse','values','isArray','setDataValue','BOOLEAN','ENUM','voice','sequelize','lodash','exports','VIRTUAL','getDataValue'];(function(_0x203aff,_0x151444){var _0xa1817b=function(_0x1247b9){while(--_0x1247b9){_0x203aff['push'](_0x203aff['shift']());}};_0xa1817b(++_0x151444);}(_0x8c08,0xaf));var _0x88c0=function(_0x170772,_0x1f1ee7){_0x170772=_0x170772-0x0;var _0x3ef69c=_0x8c08[_0x170772];return _0x3ef69c;};'use strict';var Sequelize=require(_0x88c0('0x0'));var _=require(_0x88c0('0x1'));module[_0x88c0('0x2')]={'name':{'type':Sequelize[_0x88c0('0x3')],'get':function(_0x1261aa){return this[_0x88c0('0x4')](_0x88c0('0x5'));}},'alias':{'type':Sequelize[_0x88c0('0x6')],'allowNull':![],'set':function(_0x4228d6){this['setDataValue'](_0x88c0('0x5'),_0x4228d6?_0x4228d6:this[_0x88c0('0x4')](_0x88c0('0x7')));}},'type':{'type':Sequelize[_0x88c0('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0x88c0('0x8')](_0x88c0('0x9')),'get':function(){if(this[_0x88c0('0x4')](_0x88c0('0xa'))==='select'){return JSON[_0x88c0('0xb')](this[_0x88c0('0x4')]('values'));}else{return this[_0x88c0('0x4')](_0x88c0('0xc'));}},'set':function(_0x355fed){if(Array[_0x88c0('0xd')](_0x355fed)){this[_0x88c0('0xe')]('values',JSON['stringify'](_0x355fed));}else{this['setDataValue'](_0x88c0('0xc'),_0x355fed);}}},'required':{'type':Sequelize[_0x88c0('0xf')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0x88c0('0x10')](_0x88c0('0x11'))}};
\ No newline at end of file