feat: complete node pool api, sdk and ui

Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
allanice001
2025-11-08 10:22:45 +00:00
parent c478a8d10f
commit 334df457ce
130 changed files with 19675 additions and 187 deletions

View File

@@ -378,8 +378,13 @@ export const MePage = () => {
<Input
type="number"
inputMode="numeric"
step={1}
min={1}
placeholder="e.g. 720"
{...field}
onChange={(e) =>
field.onChange(e.target.value === "" ? "" : Number(e.target.value))
}
/>
</FormControl>
<FormMessage />

File diff suppressed because it is too large Load Diff

View File

@@ -59,7 +59,7 @@ const createServerSchema = z
public_ip_address: z.string().trim().optional().or(z.literal("")),
private_ip_address: z.string().trim().min(1, "Private IP address required"),
role: z.enum(ROLE_OPTIONS),
ssh_key_id: z.string().uuid("Pick a valid SSH key"),
ssh_key_id: z.uuid("Pick a valid SSH key"),
ssh_user: z.string().trim().min(1, "SSH user is required"),
status: z.enum(STATUS).default("pending"),
})