♻️ refactor: Clean up NodeForm and ServerForm components by removing unused functions and optimizing state management
This commit is contained in:
@@ -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
Reference in New Issue
Block a user