Built motion from commit f67b3b02.|2.6.31
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 6a9ebe5..648433b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcc19=['values','isArray','stringify','BOOLEAN','ENUM','voice','lodash','VIRTUAL','alias','setDataValue','getDataValue','name','TEXT','long','parse'];(function(_0x9c2eae,_0x190f43){var _0x6eac88=function(_0xf02ce1){while(--_0xf02ce1){_0x9c2eae['push'](_0x9c2eae['shift']());}};_0x6eac88(++_0x190f43);}(_0xcc19,0x6f));var _0x9cc1=function(_0x4d07cc,_0x587613){_0x4d07cc=_0x4d07cc-0x0;var _0x42de3b=_0xcc19[_0x4d07cc];return _0x42de3b;};'use strict';var Sequelize=require('sequelize');var _=require(_0x9cc1('0x0'));module['exports']={'name':{'type':Sequelize[_0x9cc1('0x1')],'get':function(_0x3739df){return this['getDataValue'](_0x9cc1('0x2'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x34dafc){this[_0x9cc1('0x3')](_0x9cc1('0x2'),_0x34dafc?_0x34dafc:this[_0x9cc1('0x4')](_0x9cc1('0x5')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x9cc1('0x6')](_0x9cc1('0x7')),'get':function(){if(this[_0x9cc1('0x4')]('type')==='select'){return JSON[_0x9cc1('0x8')](this[_0x9cc1('0x4')]('values'));}else{return this[_0x9cc1('0x4')](_0x9cc1('0x9'));}},'set':function(_0x40dc85){if(Array[_0x9cc1('0xa')](_0x40dc85)){this[_0x9cc1('0x3')](_0x9cc1('0x9'),JSON[_0x9cc1('0xb')](_0x40dc85));}else{this['setDataValue']('values',_0x40dc85);}}},'required':{'type':Sequelize[_0x9cc1('0xc')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x9cc1('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x9cc1('0xd')](_0x9cc1('0xe'))}};
\ No newline at end of file
+var _0xe775=['sequelize','VIRTUAL','getDataValue','alias','STRING','TEXT','long','type','select','values','isArray','setDataValue','stringify','BOOLEAN','ENUM'];(function(_0x324f7d,_0x3a0184){var _0x158d1e=function(_0x460f99){while(--_0x460f99){_0x324f7d['push'](_0x324f7d['shift']());}};_0x158d1e(++_0x3a0184);}(_0xe775,0x13b));var _0x5e77=function(_0x25fa5c,_0x421141){_0x25fa5c=_0x25fa5c-0x0;var _0x1bade2=_0xe775[_0x25fa5c];return _0x1bade2;};'use strict';var Sequelize=require(_0x5e77('0x0'));var _=require('lodash');module['exports']={'name':{'type':Sequelize[_0x5e77('0x1')],'get':function(_0x3a0174){return this[_0x5e77('0x2')](_0x5e77('0x3'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x1b74be){this['setDataValue'](_0x5e77('0x3'),_0x1b74be?_0x1b74be:this[_0x5e77('0x2')]('name'));}},'type':{'type':Sequelize[_0x5e77('0x4')],'allowNull':![]},'values':{'type':Sequelize[_0x5e77('0x5')](_0x5e77('0x6')),'get':function(){if(this[_0x5e77('0x2')](_0x5e77('0x7'))===_0x5e77('0x8')){return JSON['parse'](this[_0x5e77('0x2')](_0x5e77('0x9')));}else{return this[_0x5e77('0x2')](_0x5e77('0x9'));}},'set':function(_0x4e089d){if(Array[_0x5e77('0xa')](_0x4e089d)){this[_0x5e77('0xb')](_0x5e77('0x9'),JSON[_0x5e77('0xc')](_0x4e089d));}else{this[_0x5e77('0xb')]('values',_0x4e089d);}}},'required':{'type':Sequelize[_0x5e77('0xd')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x5e77('0xd')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x5e77('0xe')]('voice')}};
\ No newline at end of file