Variable windowSchemaConst
windowSchema: ZodDiscriminatedUnion<
[
ZodObject<
{
after: ZodDiscriminatedUnion<
[
ZodObject<{ from: ZodLiteral<"admission"> }, $strip>,
ZodObject<{ from: ZodLiteral<"discharge"> }, $strip>,
ZodObject<{ from: ZodLiteral<"projected_discharge"> }, $strip>,
ZodObject<{ from: ZodLiteral<"program_start"> }, $strip>,
],
"from",
>;
kind: ZodLiteral<"deadline">;
withinHours: ZodNumber;
},
$strip,
>,
ZodObject<{ kind: ZodLiteral<"whole_episode"> }, $strip>,
ZodObject<
{
every: ZodDiscriminatedUnion<
[
ZodObject<{ periods: ZodNumber; unit: ZodLiteral<"day"> }, $strip>,
ZodObject<
{
periods: ZodNumber;
subset: ZodEnum<
{ full: "full"; mon_fri: "mon_fri"; weekend: "weekend" },
>;
unit: ZodLiteral<"week">;
weekStartsOn: ZodEnum<{ monday: "monday"; sunday: "sunday" }>;
},
$strip,
>,
ZodObject<{ periods: ZodNumber; unit: ZodLiteral<"month"> }, $strip>,
],
"unit",
>;
kind: ZodLiteral<"calendar">;
since: ZodOptional<
ZodDiscriminatedUnion<
[
ZodObject<{ from: ZodLiteral<"admission"> }, $strip>,
ZodObject<{ from: ZodLiteral<"discharge"> }, $strip>,
ZodObject<{ from: ZodLiteral<"projected_discharge"> }, $strip>,
ZodObject<{ from: ZodLiteral<"program_start"> }, $strip>,
],
"from",
>,
>;
},
$strip,
>,
ZodObject<
{
anchor: ZodDiscriminatedUnion<
[
ZodObject<{ from: ZodLiteral<"admission"> }, $strip>,
ZodObject<{ from: ZodLiteral<"discharge"> }, $strip>,
ZodObject<{ from: ZodLiteral<"projected_discharge"> }, $strip>,
ZodObject<{ from: ZodLiteral<"program_start"> }, $strip>,
],
"from",
>;
days: ZodNumber;
kind: ZodLiteral<"recurring_from_anchor">;
},
$strip,
>,
ZodObject<{ days: ZodNumber; kind: ZodLiteral<"rolling"> }, $strip>,
],
"kind",
> = ...
WHAT MAY EXIST. Every arm the vocabulary reserves, which is what stored rows are parsed with.