mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 21:00:06 +01:00
feat: complete node pool api, sdk and ui
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
@@ -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 />
|
||||
|
||||
1065
ui/src/pages/nodepools/node-pools-page.tsx
Normal file
1065
ui/src/pages/nodepools/node-pools-page.tsx
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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"),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user