Variable noticeSchemaConst
noticeSchema: ZodObject<
{
details: ZodString;
frequency: ZodOptional<
ZodEnum<["command", "deployment", "once", "daily"]>,
>;
id: ZodString;
link: ZodOptional<ZodString>;
predicates: ZodArray<
ZodDiscriminatedUnion<
"type",
[
ZodObject<
{
packageName: ZodString;
type: ZodLiteral<"packageVersion">;
versionRange: ZodString;
},
"strip",
ZodTypeAny,
{ packageName: string; type: "packageVersion"; versionRange: string },
{ packageName: string; type: "packageVersion"; versionRange: string },
>,
ZodObject<
{ type: ZodLiteral<"nodeVersion">; versionRange: ZodString },
"strip",
ZodTypeAny,
{ type: "nodeVersion"; versionRange: string },
{ type: "nodeVersion"; versionRange: string },
>,
ZodObject<
{
osFamily: ZodEnum<["windows", "macos", "linux"]>;
type: ZodLiteral<"osFamily">;
},
"strip",
ZodTypeAny,
{ osFamily: "linux"
| "windows"
| "macos"; type: "osFamily" },
{ osFamily: "linux" | "windows" | "macos"; type: "osFamily" },
>,
],
>,
"many",
>;
title: ZodString;
validFrom: ZodOptional<ZodNumber>;
validTo: ZodOptional<ZodNumber>;
},
"strip",
ZodTypeAny,
{
details: string;
frequency?: "once"
| "command"
| "deployment"
| "daily";
id: string;
link?: string;
predicates: (
| {
packageName: string;
type: "packageVersion";
versionRange: string;
}
| { type: "nodeVersion"; versionRange: string }
| { osFamily: "linux" | "windows" | "macos"; type: "osFamily" }
| {
backendComponent: "function" | "data" | "auth" | "storage" | "ai";
type: "backendComponent";
}
| {
command: "sandbox"
| "pipeline-deploy"
| "generate"
| "configure";
type: "command";
}
| { errorMessage: string; type: "errorMessage" }
)[];
title: string;
validFrom?: number;
validTo?: number;
},
{
details: string;
frequency?: "once"
| "command"
| "deployment"
| "daily";
id: string;
link?: string;
predicates: (
| {
packageName: string;
type: "packageVersion";
versionRange: string;
}
| { type: "nodeVersion"; versionRange: string }
| { osFamily: "linux" | "windows" | "macos"; type: "osFamily" }
| {
backendComponent: "function" | "data" | "auth" | "storage" | "ai";
type: "backendComponent";
}
| {
command: "sandbox"
| "pipeline-deploy"
| "generate"
| "configure";
type: "command";
}
| { errorMessage: string; type: "errorMessage" }
)[];
title: string;
validFrom?: number;
validTo?: number;
},
> = ...