refactor: simplify server options

This commit is contained in:
ReaJason
2025-07-22 01:07:17 +08:00
parent eaedbc5204
commit aaaf2dd5c2
31 changed files with 171 additions and 508 deletions
+1
View File
@@ -4,6 +4,7 @@ import { InjectorConfig, ShellConfig, ShellToolConfig } from "@/types/shell.ts";
export function transformToPostData(formValue: FormSchema) {
const shellConfig: ShellConfig = {
server: formValue.server,
serverVersion: formValue.serverVersion,
shellTool: formValue.shellTool,
shellType: formValue.shellType,
debug: formValue.debug,