X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.attributes.js;h=fdfa1e4ea8e92ef631786506cf92eb7b8f3d85b8;hb=784ff39bf52a5b7c5ee0b7b10d0e51f0257b5940;hp=db44d90e2f648b1650238c95611d415c7b1c337f;hpb=17b36376d3b7411763084143a03a7c6d2fc5e7b1;p=motion2.git diff --git a/server/api/userProfile/userProfile.attributes.js b/server/api/userProfile/userProfile.attributes.js index db44d90..fdfa1e4 100644 --- a/server/api/userProfile/userProfile.attributes.js +++ b/server/api/userProfile/userProfile.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x52b8=['split','exports','name','STRING','setDataValue','join','getDataValue'];(function(_0x9df060,_0x253d33){var _0x338dfe=function(_0x17d9a5){while(--_0x17d9a5){_0x9df060['push'](_0x9df060['shift']());}};_0x338dfe(++_0x253d33);}(_0x52b8,0xd3));var _0x852b=function(_0x1be80e,_0x3f24a4){_0x1be80e=_0x1be80e-0x0;var _0x2bef05=_0x52b8[_0x1be80e];return _0x2bef05;};'use strict';var Sequelize=require('sequelize');module[_0x852b('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x852b('0x1')},'crudPermissions':{'type':Sequelize[_0x852b('0x2')],'set':function(_0x53cd1f){this[_0x852b('0x3')]('crudPermissions',_0x53cd1f?_0x53cd1f[_0x852b('0x4')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this[_0x852b('0x5')]('crudPermissions')[_0x852b('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x852b('0x2')],'allowNull':!![]}}; \ No newline at end of file +var _0x5a69=['join','getDataValue','split','exports','STRING','name','crudPermissions'];(function(_0x24853c,_0xe9f269){var _0x41fade=function(_0x42fd19){while(--_0x42fd19){_0x24853c['push'](_0x24853c['shift']());}};_0x41fade(++_0xe9f269);}(_0x5a69,0x88));var _0x95a6=function(_0x42ec08,_0xa74af2){_0x42ec08=_0x42ec08-0x0;var _0x488aa8=_0x5a69[_0x42ec08];return _0x488aa8;};'use strict';var Sequelize=require('sequelize');module[_0x95a6('0x0')]={'name':{'type':Sequelize[_0x95a6('0x1')],'allowNull':![],'unique':_0x95a6('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x29222c){this['setDataValue'](_0x95a6('0x3'),_0x29222c?_0x29222c[_0x95a6('0x4')](''):[]);},'get':function(){return this[_0x95a6('0x5')](_0x95a6('0x3'))?this['getDataValue'](_0x95a6('0x3'))[_0x95a6('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x95a6('0x1')],'allowNull':!![]}}; \ No newline at end of file