Variable _Schema_infoConst
Internal
_Schema_info: ZodObject<
{
communities: ZodArray<
ZodObject<
{
contact_urls: ZodArray<ZodString, "many">;
has_finishes: ZodBoolean;
icon: ZodObject<
{
servers: ZodOptional<
ZodArray<
ZodObject<
{ flagId: ...; name: ...; servers: ... },
"strip",
ZodTypeAny,
{ flagId: ...; name: ...; servers: ... },
{ flagId: ...; name: ...; servers: ... },
>,
"many",
>,
>;
sha256: ZodString;
url: ZodString;
},
"strip",
ZodTypeAny,
{
servers?: {
flagId: number;
name: string;
servers: Record<(...), (...)>;
}[];
sha256: string;
url: string;
},
{
servers?: {
flagId: number;
name: string;
servers: Record<(...), (...)>;
}[];
sha256: string;
url: string;
},
>;
id: ZodString;
name: ZodString;
},
"strip",
ZodTypeAny,
{
contact_urls: string[];
has_finishes: boolean;
icon: {
servers?: {
flagId: number;
name: string;
servers: Record<string, (...)[]>;
}[];
sha256: string;
url: string;
};
id: string;
name: string;
},
{
contact_urls: string[];
has_finishes: boolean;
icon: {
servers?: {
flagId: number;
name: string;
servers: Record<string, (...)[]>;
}[];
sha256: string;
url: string;
};
id: string;
name: string;
},
>,
"many",
>;
"community-icons-download-url": ZodString;
location: ZodString;
"map-download-url": ZodString;
news: ZodString;
servers: ZodArray<
ZodObject<
{
flagId: ZodNumber;
name: ZodString;
servers: ZodRecord<ZodString, ZodArray<ZodString, "many">>;
},
"strip",
ZodTypeAny,
{ flagId: number; name: string; servers: Record<string, string[]> },
{ flagId: number; name: string; servers: Record<string, string[]> },
>,
"many",
>;
"servers-kog": ZodArray<
ZodObject<
{
flagId: ZodNumber;
name: ZodString;
servers: ZodRecord<ZodString, ZodArray<ZodString, "many">>;
},
"strip",
ZodTypeAny,
{ flagId: number; name: string; servers: Record<string, string[]> },
{ flagId: number; name: string; servers: Record<string, string[]> },
>,
"many",
>;
"stun-servers-ipv4": ZodArray<ZodString, "many">;
"stun-servers-ipv6": ZodArray<ZodString, "many">;
version: ZodString;
"warn-pnglite-incompatible-images": ZodBoolean;
},
"strip",
ZodTypeAny,
{
communities: {
contact_urls: string[];
has_finishes: boolean;
icon: {
servers?: {
flagId: number;
name: string;
servers: Record<string, string[]>;
}[];
sha256: string;
url: string;
};
id: string;
name: string;
}[];
"community-icons-download-url": string;
location: string;
"map-download-url": string;
news: string;
servers: {
flagId: number;
name: string;
servers: Record<string, string[]>;
}[];
"servers-kog": {
flagId: number;
name: string;
servers: Record<string, string[]>;
}[];
"stun-servers-ipv4": string[];
"stun-servers-ipv6": string[];
version: string;
"warn-pnglite-incompatible-images": boolean;
},
{
communities: {
contact_urls: string[];
has_finishes: boolean;
icon: {
servers?: {
flagId: number;
name: string;
servers: Record<string, string[]>;
}[];
sha256: string;
url: string;
};
id: string;
name: string;
}[];
"community-icons-download-url": string;
location: string;
"map-download-url": string;
news: string;
servers: {
flagId: number;
name: string;
servers: Record<string, string[]>;
}[];
"servers-kog": {
flagId: number;
name: string;
servers: Record<string, string[]>;
}[];
"stun-servers-ipv4": string[];
"stun-servers-ipv6": string[];
version: string;
"warn-pnglite-incompatible-images": boolean;
},
> = ...
The zod schema for info data.