import { Slug, Markup, UUID, PublicationName, DateTime, DataSource, CommentSortOrder } from "../common"; import { BylineInput, EmbeddedContentInput, ExpirableFlagInput, MediaInput, ContentFragmentInput, ArticleCategoryInput, ArticleSummarisationInput } from "./article-input"; import { ArticleContentType, ArticleStatus, SectionName, ThemeTemplate, WorkDeskName, ArticleLocale } from "../queries/article"; import { Colour } from "../queries/colour"; import { DraftArticleSliceInput } from "./draft-article-slice-input"; export type DraftArticleInput = { associatedDesks?: string[] | null; authors: Slug[]; byline?: Markup | null; bylines?: BylineInput[] | null; catchline?: string | null; categories?: ArticleCategoryInput[] | null; embeddedContent?: EmbeddedContentInput | null; escenicId?: number | null; expirableFlags: ExpirableFlagInput[]; headline?: string | null; shortHeadline?: string | null; id: UUID; label?: string | null; leadAsset?: MediaInput | null; listingAsset?: MediaInput | null; commentsEnabled: boolean; commentsPreModerated?: boolean | null; commentsSortOrder: CommentSortOrder | null; commercialTags: string[]; dataSource: DataSource; section?: SectionName | null; seoDescription?: string | null; commercialSection?: string | null; parentId?: UUID | null; publicationName: PublicationName; publishedTime?: DateTime | null; commercialSectionTags?: string[] | null; upNext?: DraftArticleSliceInput | null; relatedArticleSlice?: DraftArticleSliceInput | null; updatedTime: DateTime; slug?: Slug | null; standfirst?: string | null; strapline?: string | null; isLegacy: boolean; content: ContentFragmentInput[]; template?: ThemeTemplate | null; backgroundColour?: Colour | null; dropcapsDisabled: boolean; savingEnabled: boolean; sharingEnabled: boolean; textColour?: Colour | null; workDesk?: WorkDeskName | null; carousel?: MediaInput[] | null; contentType?: ArticleContentType | null; status?: ArticleStatus | null; scheduledTime?: DateTime | null; articleSummarisation?: ArticleSummarisationInput | null; shouldShowBylinesImages?: boolean | null; /** locale tag for hreflang / edition clusters (e.g. "en-gb"). */ locale?: ArticleLocale | null; /** UUID of the edition cluster anchor post; null when not clustered. */ editionClusterId?: UUID | null; };