Skip to content

ChapterLayersSchema

const ChapterLayersSchema: ZodObject<{ hide: ZodDefault<ZodArray<ZodString, "many">>; show: ZodDefault<ZodArray<ZodString, "many">>; }, "strip", ZodTypeAny, { hide: string[]; show: string[]; }, { hide?: string[]; show?: string[]; }>

Defined in: packages/core/src/schemas/scrollytelling.schema.ts:112

Chapter layer visibility configuration.

Controls which layers are visible during this chapter.

layers:
show:
- earthquakes
- fault-lines
hide:
- buildings