Variable _Schema_statusConst
Internal
_Schema_status: ZodObject<{
servers: ZodArray<ZodObject<{
cpu: ZodOptional<ZodNumber>;
hdd_total: ZodOptional<ZodNumber>;
hdd_used: ZodOptional<ZodNumber>;
host: ZodString;
load: ZodOptional<ZodNumber>;
location: ZodString;
memory_total: ZodOptional<ZodNumber>;
memory_used: ZodOptional<ZodNumber>;
name: ZodString;
network_rx: ZodOptional<ZodNumber>;
network_tx: ZodOptional<ZodNumber>;
online4: ZodBoolean;
online6: ZodBoolean;
packets_rx: ZodOptional<ZodNumber>;
packets_tx: ZodOptional<ZodNumber>;
swap_total: ZodOptional<ZodNumber>;
swap_used: ZodOptional<ZodNumber>;
type: ZodString;
uptime: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
cpu?: number;
hdd_total?: number;
hdd_used?: number;
host: string;
load?: number;
location: string;
memory_total?: number;
memory_used?: number;
name: string;
network_rx?: number;
network_tx?: number;
online4: boolean;
online6: boolean;
packets_rx?: number;
packets_tx?: number;
swap_total?: number;
swap_used?: number;
type: string;
uptime?: string;
}, {
cpu?: number;
hdd_total?: number;
hdd_used?: number;
host: string;
load?: number;
location: string;
memory_total?: number;
memory_used?: number;
name: string;
network_rx?: number;
network_tx?: number;
online4: boolean;
online6: boolean;
packets_rx?: number;
packets_tx?: number;
swap_total?: number;
swap_used?: number;
type: string;
uptime?: string;
}>, "many">;
updated: ZodString;
}, "strip", ZodTypeAny, {
servers: {
cpu?: number;
hdd_total?: number;
hdd_used?: number;
host: string;
load?: number;
location: string;
memory_total?: number;
memory_used?: number;
name: string;
network_rx?: number;
network_tx?: number;
online4: boolean;
online6: boolean;
packets_rx?: number;
packets_tx?: number;
swap_total?: number;
swap_used?: number;
type: string;
uptime?: string;
}[];
updated: string;
}, {
servers: {
cpu?: number;
hdd_total?: number;
hdd_used?: number;
host: string;
load?: number;
location: string;
memory_total?: number;
memory_used?: number;
name: string;
network_rx?: number;
network_tx?: number;
online4: boolean;
online6: boolean;
packets_rx?: number;
packets_tx?: number;
swap_total?: number;
swap_used?: number;
type: string;
uptime?: string;
}[];
updated: string;
}> = ...
The zod schema for server status data.