FillSpec
A section's whole authored fill spec: the fact paths it `reads` (defaults to `[]` when omitted) plus its ordered `decisions`.
A section’s whole authored fill spec: the fact paths it reads (defaults
to [] when omitted) plus its ordered decisions. The serialized form
lands in the section’s published fill spec.
Import from @homepages/template-kit.
Signature
Section titled “Signature”const FillSpec: z.ZodObject<{ reads: z.ZodDefault<z.ZodArray<z.ZodString>>; decisions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"list-fill">; mode: z.ZodEnum<{ choose: "choose"; extract: "extract"; facts: "facts"; pool: "pool"; curate: "curate"; }>; count: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{ min: z.ZodOptional<z.ZodNumber>; max: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>]>>; order: z.ZodOptional<z.ZodLiteral<"walkthrough">>; cap: z.ZodOptional<z.ZodNumber>; pick: z.ZodOptional<z.ZodString>; structureHint: z.ZodOptional<z.ZodString>; voice: z.ZodOptional<z.ZodString>; content: z.ZodOptional<z.ZodString>; iterate: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{ [x: string]: any; }, z.core.$strip>, z.ZodObject<{ [x: string]: any; }, z.core.$strip>, z.ZodObject<{ [x: string]: any; }, z.core.$strip>, z.ZodObject<{ [x: string]: any; }, z.core.$strip>, z.ZodObject<{ [x: string]: any; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list-fill">; count: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{ min: z.ZodOptional<z.ZodNumber>; max: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>]>>; cap: z.ZodOptional<z.ZodNumber>; pick: z.ZodOptional<z.ZodString>; structureHint: z.ZodOptional<z.ZodString>; voice: z.ZodOptional<z.ZodString>; content: z.ZodOptional<z.ZodString>; }, z.core.$strict>], "type">>>; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"image-assign">; pick: z.ZodString; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"video-assign">; pick: z.ZodString; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"tour-assign">; pick: z.ZodString; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"document-assign">; pick: z.ZodString; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"contact-assign">; pick: z.ZodString; field: z.ZodEnum<{ name: "name"; title: "title"; org_name: "org_name"; email: "email"; phone: "phone"; website: "website"; instagram: "instagram"; linkedin: "linkedin"; x: "x"; facebook: "facebook"; headshot: "headshot"; logo_dark: "logo_dark"; logo_light: "logo_light"; }>; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"text-block">; cap: z.ZodOptional<z.ZodNumber>; structure: z.ZodEnum<{ single_sentence: "single_sentence"; paragraph: "paragraph"; bullet_list: "bullet_list"; }>; perspective: z.ZodOptional<z.ZodEnum<{ first: "first"; second: "second"; third: "third"; }>>; voice: z.ZodString; content: z.ZodOptional<z.ZodString>; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"display-select">; entries: z.ZodArray<z.ZodEnum<{ visibility: "visibility"; variant: "variant"; }>>; produces: z.ZodArray<z.ZodString>; }, z.core.$strict>], "type">>; }, z.core.$strict>