X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FjscriptyProject%2FjscriptyProject.attributes.js;h=26e44eb8e6bc25d0cc6d3f417856f852370ae7e1;hb=ef4e758b3a8a542ed14842116a07db29f3cf2e7c;hp=60cd7276a9f11d07e569664b08907d12db6f8706;hpb=6b8dca8de1a6b807be7e36077511bb032e7382e5;p=motion2.git diff --git a/server/api/jscriptyProject/jscriptyProject.attributes.js b/server/api/jscriptyProject/jscriptyProject.attributes.js index 60cd727..26e44eb 100644 --- a/server/api/jscriptyProject/jscriptyProject.attributes.js +++ b/server/api/jscriptyProject/jscriptyProject.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfadf=['setDataValue','formData','stringify','isString','format','getDataValue','BOOLEAN','util','exports','STRING','name','long','isObjectLike'];(function(_0x562071,_0x57a342){var _0x45db81=function(_0x3be628){while(--_0x3be628){_0x562071['push'](_0x562071['shift']());}};_0x45db81(++_0x57a342);}(_0xfadf,0x89));var _0xffad=function(_0x267ce2,_0x16d394){_0x267ce2=_0x267ce2-0x0;var _0xcefe7=_0xfadf[_0x267ce2];return _0xcefe7;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');var util=require(_0xffad('0x0'));module[_0xffad('0x1')]={'name':{'type':Sequelize[_0xffad('0x2')],'unique':_0xffad('0x3')},'description':{'type':Sequelize[_0xffad('0x2')]},'formData':{'type':Sequelize['TEXT'](_0xffad('0x4')),'set':function(_0x2dd05b){if(_[_0xffad('0x5')](_0x2dd05b)){this[_0xffad('0x6')](_0xffad('0x7'),JSON[_0xffad('0x8')](_0x2dd05b));}else if(_[_0xffad('0x9')](_0x2dd05b)){this[_0xffad('0x6')](_0xffad('0x7'),_0x2dd05b);}else{this['setDataValue'](_0xffad('0x7'),util[_0xffad('0xa')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0xffad('0xb')]('name')||'',this[_0xffad('0xb')]('description')||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xffad('0xc')],'defaultValue':![]}}; \ No newline at end of file +var _0xee9c=['stringify','isString','formData','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','lodash','util','name','TEXT','isObjectLike','setDataValue'];(function(_0x2d8a6b,_0x1331f0){var _0x299f0a=function(_0x5cf9fb){while(--_0x5cf9fb){_0x2d8a6b['push'](_0x2d8a6b['shift']());}};_0x299f0a(++_0x1331f0);}(_0xee9c,0x1c8));var _0xcee9=function(_0x1694f5,_0x49b7c3){_0x1694f5=_0x1694f5-0x0;var _0x5b4321=_0xee9c[_0x1694f5];return _0x5b4321;};'use strict';var Sequelize=require('sequelize');var _=require(_0xcee9('0x0'));var util=require(_0xcee9('0x1'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xcee9('0x2')},'description':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xcee9('0x3')]('long'),'set':function(_0x21708c){if(_[_0xcee9('0x4')](_0x21708c)){this[_0xcee9('0x5')]('formData',JSON[_0xcee9('0x6')](_0x21708c));}else if(_[_0xcee9('0x7')](_0x21708c)){this['setDataValue'](_0xcee9('0x8'),_0x21708c);}else{this[_0xcee9('0x5')](_0xcee9('0x8'),util[_0xcee9('0x9')](_0xcee9('0xa'),this['getDataValue'](_0xcee9('0x2'))||'',this[_0xcee9('0xb')](_0xcee9('0xc'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xcee9('0xd')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xcee9('0xd')],'defaultValue':![]}}; \ No newline at end of file