YiAi/YiAiQuickDeploy/dist/modules/app/dto/createApp.dto.js
2024-02-05 23:18:50 +08:00

1 line
5.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';function _0x112f(){var _0x80572b=['length','des','IsDefined','object','__decorate','system','@nestjs/swagger','getOwnPropertyDescriptor','design:type','app示例数据','6NBYuDx','863opAyQx','app分类Id必传参数','997650AqiaHK','904eqRAxX','3466624WLFOwc','app名称描述是必传参数','role','套餐状态\x200禁用\x201启用','IsNumber','app分类Id','coverImg','IsIn','套餐封面图片','https://xxxx.png','42336WpAbbC','prototype','metadata','这是一句示例数据','IsOptional','defineProperty','demoData','9ezeJjr','CreateAppDto','__metadata','ApiProperty','name','2381485qQhHHi','套餐排序、数字越大越靠前','catId','1559040DREVCW','2773246KGNSZN'];_0x112f=function(){return _0x80572b;};return _0x112f();}var _0x2d95c8=_0x285e;(function(_0x17b7c2,_0x1ee623){var _0x4cf1eb=_0x285e,_0x844583=_0x17b7c2();while(!![]){try{var _0x5880fb=-parseInt(_0x4cf1eb(0xfe))/0x1*(-parseInt(_0x4cf1eb(0x101))/0x2)+parseInt(_0x4cf1eb(0xe9))/0x3*(-parseInt(_0x4cf1eb(0xe2))/0x4)+parseInt(_0x4cf1eb(0xee))/0x5+-parseInt(_0x4cf1eb(0xfd))/0x6*(parseInt(_0x4cf1eb(0xf2))/0x7)+-parseInt(_0x4cf1eb(0x102))/0x8+parseInt(_0x4cf1eb(0x100))/0x9+parseInt(_0x4cf1eb(0xf1))/0xa;if(_0x5880fb===_0x1ee623)break;else _0x844583['push'](_0x844583['shift']());}catch(_0x426218){_0x844583['push'](_0x844583['shift']());}}}(_0x112f,0x425fd));var __decorate=this&&this[_0x2d95c8(0xf7)]||function(_0x32443,_0x52d181,_0x5ce758,_0x45782b){var _0x35d8c1=_0x2d95c8,_0x319276=arguments['length'],_0x3a6be5=_0x319276<0x3?_0x52d181:_0x45782b===null?_0x45782b=Object[_0x35d8c1(0xfa)](_0x52d181,_0x5ce758):_0x45782b,_0x3a5d37;if(typeof Reflect===_0x35d8c1(0xf6)&&typeof Reflect['decorate']==='function')_0x3a6be5=Reflect['decorate'](_0x32443,_0x52d181,_0x5ce758,_0x45782b);else{for(var _0x20a329=_0x32443[_0x35d8c1(0xf3)]-0x1;_0x20a329>=0x0;_0x20a329--)if(_0x3a5d37=_0x32443[_0x20a329])_0x3a6be5=(_0x319276<0x3?_0x3a5d37(_0x3a6be5):_0x319276>0x3?_0x3a5d37(_0x52d181,_0x5ce758,_0x3a6be5):_0x3a5d37(_0x52d181,_0x5ce758))||_0x3a6be5;}return _0x319276>0x3&&_0x3a6be5&&Object[_0x35d8c1(0xe7)](_0x52d181,_0x5ce758,_0x3a6be5),_0x3a6be5;},__metadata=this&&this[_0x2d95c8(0xeb)]||function(_0xa0a1c5,_0x311a62){var _0x3ddd65=_0x2d95c8;if(typeof Reflect===_0x3ddd65(0xf6)&&typeof Reflect[_0x3ddd65(0xe4)]==='function')return Reflect['metadata'](_0xa0a1c5,_0x311a62);};Object[_0x2d95c8(0xe7)](exports,'__esModule',{'value':!![]}),exports[_0x2d95c8(0xea)]=void 0x0;const class_validator_1=require('class-validator'),swagger_1=require(_0x2d95c8(0xf9));function _0x285e(_0x1697fa,_0x9f3d78){var _0x112fb8=_0x112f();return _0x285e=function(_0x285e5a,_0xb36da1){_0x285e5a=_0x285e5a-0xdf;var _0x426059=_0x112fb8[_0x285e5a];return _0x426059;},_0x285e(_0x1697fa,_0x9f3d78);}class CreateAppDto{}__decorate([(0x0,swagger_1[_0x2d95c8(0xec)])({'example':'前端助手','description':'app名称','required':!![]}),(0x0,class_validator_1[_0x2d95c8(0xf5)])({'message':'app名称是必传参数'}),__metadata(_0x2d95c8(0xfb),String)],CreateAppDto['prototype'],_0x2d95c8(0xed),void 0x0),__decorate([(0x0,swagger_1['ApiProperty'])({'example':0x1,'description':_0x2d95c8(0x107),'required':!![]}),(0x0,class_validator_1[_0x2d95c8(0xf5)])({'message':_0x2d95c8(0xff)}),__metadata('design:type',Number)],CreateAppDto[_0x2d95c8(0xe3)],_0x2d95c8(0xf0),void 0x0),__decorate([(0x0,swagger_1[_0x2d95c8(0xec)])({'example':'适用于编程编码、期望成为您的编程助手','description':'app名称详情描述','required':![]}),(0x0,class_validator_1[_0x2d95c8(0xf5)])({'message':_0x2d95c8(0x103)}),__metadata('design:type',String)],CreateAppDto['prototype'],_0x2d95c8(0xf4),void 0x0),__decorate([(0x0,swagger_1[_0x2d95c8(0xec)])({'example':'你现在是一个翻译官。接下来我说的所有话帮我翻译成中文','description':'预设的prompt','required':!![]}),(0x0,class_validator_1[_0x2d95c8(0xe6)])(),__metadata(_0x2d95c8(0xfb),String)],CreateAppDto['prototype'],'preset',void 0x0),__decorate([(0x0,swagger_1[_0x2d95c8(0xec)])({'example':_0x2d95c8(0xe1),'description':_0x2d95c8(0xe0),'required':![]}),(0x0,class_validator_1[_0x2d95c8(0xe6)])(),__metadata(_0x2d95c8(0xfb),String)],CreateAppDto[_0x2d95c8(0xe3)],_0x2d95c8(0x108),void 0x0),__decorate([(0x0,swagger_1[_0x2d95c8(0xec)])({'example':0x64,'description':_0x2d95c8(0xef),'required':![]}),(0x0,class_validator_1[_0x2d95c8(0xe6)])(),__metadata('design:type',Number)],CreateAppDto['prototype'],'order',void 0x0),__decorate([(0x0,swagger_1['ApiProperty'])({'example':0x1,'description':_0x2d95c8(0x105),'required':!![]}),(0x0,class_validator_1[_0x2d95c8(0x106)])({},{'message':'套餐状态必须是Number'}),(0x0,class_validator_1[_0x2d95c8(0xdf)])([0x0,0x1,0x3,0x4,0x5],{'message':'套餐状态错误'}),__metadata(_0x2d95c8(0xfb),Number)],CreateAppDto[_0x2d95c8(0xe3)],'status',void 0x0),__decorate([(0x0,swagger_1[_0x2d95c8(0xec)])({'example':_0x2d95c8(0xe5),'description':_0x2d95c8(0xfc),'required':![]}),__metadata('design:type',String)],CreateAppDto[_0x2d95c8(0xe3)],_0x2d95c8(0xe8),void 0x0),__decorate([(0x0,swagger_1[_0x2d95c8(0xec)])({'example':_0x2d95c8(0xf8),'description':'创建的角色','required':![]}),__metadata(_0x2d95c8(0xfb),String)],CreateAppDto[_0x2d95c8(0xe3)],_0x2d95c8(0x104),void 0x0),exports['CreateAppDto']=CreateAppDto;