mirror of
https://github.com/biersoeckli/QuickStack.git
synced 2026-01-04 18:53:00 -06:00
15 lines
396 B
TypeScript
15 lines
396 B
TypeScript
import { stringToNumber, stringToOptionalNumber } from "@/lib/zod.utils";
|
|
import { z } from "zod";
|
|
|
|
export const nodeInfoZodModel = z.object({
|
|
name: z.string(),
|
|
status: z.string(),
|
|
os: z.string(),
|
|
architecture: z.string(),
|
|
cpuCapacity: z.string(),
|
|
ramCapacity: z.string(),
|
|
ip: z.string(),
|
|
diskCapacity: z.string(),
|
|
})
|
|
|
|
export type NodeInfoModel = z.infer<typeof nodeInfoZodModel>; |