import { UUID, Slug } from "../common"; import { Colour } from "../queries/colour"; import { ImageInput } from "./article-input"; import { StandardSliceInput, CommentLeadAndCartoonSliceInput, LetterThundererPodcastSliceInput, CommentTwoAndNotebookSliceInput, ContainerSliceInput, FocusSliceInput, LeadersSliceInput, LeadOneAndFourSliceInput, LeadOneAndOneSliceInput, LeadOneAndTwoSliceInput, LeadOneFullWidthSliceInput, LeadOneNoPicAndOneAndPortraitSliceInput, LeadTwoNoPicAndTwoSliceInput, ObituariesLeadAndTwoSliceInput, OpinionOneAndTwoSliceInput, SecondaryFourSliceInput, SecondaryOneSliceInput, SecondaryOneAndColumnistSliceInput, SecondaryOneAndFourSliceInput, SecondaryTwoAndTwoSliceInput, SecondaryTwoNoPicAndTwoSliceInput, TwoPicAndSixNoPicSliceInput, PuffSliceInput, InTheNewsSliceInput, SupplementLeadAndFourStackSliceInput, SupplementSecondaryOneAndFourSliceInput } from "./slice-input"; import { DailyUniversalRegisterInput } from "./daily-universal-register-input"; import { PuzzleInput } from "./puzzle-input"; export type SectionInput = { standardSection?: StandardSectionInput; puzzleSection?: PuzzleSectionInput; magazineSection?: MagazineSectionInput; }; export type StandardSectionInput = BasicSectionInput & { slices: StandardSectionSliceInput[]; }; export type PuzzleSectionInput = BasicSectionInput & { slices: PuzzleSectionSliceInput[]; }; export type MagazineSectionInput = BasicSectionInput & { slices: MagazineSectionSliceInput[]; cover: ImageInput; }; export type BasicSectionInput = { id: UUID; title: string | null; slug: Slug; colour: Colour; }; export type MagazineSectionSliceInput = { standardSlice?: StandardSliceInput | null; commentLeadAndCartoonSlice?: CommentLeadAndCartoonSliceInput | null; letterThundererPodcastSlice?: LetterThundererPodcastSliceInput | null; commentTwoAndNotebookSlice?: CommentTwoAndNotebookSliceInput | null; containerSlice?: ContainerSliceInput | null; focusSlice?: FocusSliceInput | null; leadersSlice?: LeadersSliceInput | null; leadOneAndFourSlice?: LeadOneAndFourSliceInput | null; supplementLeadAndFourStackSlice?: SupplementLeadAndFourStackSliceInput | null; leadOneAndOneSlice?: LeadOneAndOneSliceInput | null; leadOneAndTwoSlice?: LeadOneAndTwoSliceInput | null; leadOneFullWidthSlice?: LeadOneFullWidthSliceInput | null; leadOneNoPicAndOneAndPortraitSlice?: LeadOneNoPicAndOneAndPortraitSliceInput | null; leadTwoNoPicAndTwoSlice?: LeadTwoNoPicAndTwoSliceInput | null; obituariesLeadAndTwoSlice?: ObituariesLeadAndTwoSliceInput | null; opinionOneAndTwoSlice?: OpinionOneAndTwoSliceInput | null; secondaryFourSlice?: SecondaryFourSliceInput | null; secondaryOneSlice?: SecondaryOneSliceInput | null; secondaryOneAndColumnistSlice?: SecondaryOneAndColumnistSliceInput | null; secondaryOneAndFourSlice?: SecondaryOneAndFourSliceInput | null; supplementSecondaryOneAndFourSlice?: SupplementSecondaryOneAndFourSliceInput | null; secondaryTwoAndTwoSlice?: SecondaryTwoAndTwoSliceInput | null; secondaryTwoNoPicAndTwoSlice?: SecondaryTwoNoPicAndTwoSliceInput | null; twoPicAndSixNoPicSlice?: TwoPicAndSixNoPicSliceInput | null; puffSlice?: PuffSliceInput | null; }; export type StandardSectionSliceInput = MagazineSectionSliceInput & { inTheNewsSlice?: InTheNewsSliceInput | null; dailyUniversalRegister?: DailyUniversalRegisterInput | null; }; export type PuzzleSectionSliceInput = { puzzle?: PuzzleInput | null; puffSlice?: PuffSliceInput | null; };