♻️ refactor: Clean up NodeForm and ServerForm components by removing unused functions and optimizing state management

This commit is contained in:
web
2025-09-03 08:58:18 -07:00
parent 6a3bb7016e
commit 10250d9e34
4 changed files with 618 additions and 597 deletions
@@ -190,6 +190,8 @@ export const formSchema = z.object({
protocols: z.array(protocolApiScheme),
});
export type ServerFormValues = z.infer<typeof formSchema>;
export type ProtocolType = (typeof protocols)[number];
export function getProtocolDefaultConfig(proto: ProtocolType) {
File diff suppressed because it is too large Load Diff