| 8 | } |
| 9 | |
| 10 | interface ShittyCodeConfig { |
| 11 | shitty_code_settings: { |
| 12 | transformation_level: string; |
| 13 | transformation_techniques: string[]; |
| 14 | language_specific_techniques: boolean; |
| 15 | framework?: string; |
| 16 | preserve_functionality: boolean; |
| 17 | add_easter_eggs: boolean; |
| 18 | add_comments: boolean; |
| 19 | comment_style: string; |
| 20 | variable_naming_style: string; |
| 21 | code_structure_style: string; |
| 22 | error_handling_style: string; |
| 23 | performance_style: string; |
| 24 | readability_style: string; |
| 25 | code_only_output: boolean; |
| 26 | }; |
| 27 | } |
| 28 | |
| 29 | // 导入模板文件 |
| 30 | import promptTemplate from '../prompt/promptTemplate.md?raw'; |
nothing calls this directly
no outgoing calls
no test coverage detected