diff --git a/samples/musicfestival-frontend-react/src/generated.ts b/samples/musicfestival-frontend-react/src/generated.ts index 081d8b0..bc3de46 100644 --- a/samples/musicfestival-frontend-react/src/generated.ts +++ b/samples/musicfestival-frontend-react/src/generated.ts @@ -33,6 +33,7 @@ export type Scalars = { Float: number; Bool: any; Date: any; + JSON: any; }; export type ArtistContainerPage = IContent & IData & { @@ -58,6 +59,7 @@ export type ArtistContainerPage = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -385,6 +387,7 @@ export type ArtistDetailsPage = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -891,6 +894,7 @@ export type BuyTicketBlock = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -1247,6 +1251,7 @@ export type BuyTicketPage = IContent & IData & { StopPublish?: Maybe; Title?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -1593,6 +1598,7 @@ export type CaptchaElementBlock = IContent & IData & { TextLength?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -2071,6 +2077,7 @@ export type ChoiceElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -2491,6 +2498,7 @@ export type Content = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -2739,6 +2747,7 @@ export type ContentBlock = IContent & IData & { StopPublish?: Maybe; Title?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -3706,6 +3715,7 @@ export type ContentWhereInput = { export type Data = IData & { __typename?: 'Data'; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -3771,6 +3781,8 @@ export type DateFilterInput = { boost?: InputMaybe; /** `eq` matches on an exact value, but the value is case-insensitive. */ eq?: InputMaybe; + /** `exist` matches results that have this field. */ + exist?: InputMaybe; /** `gt` retrieves results with matches that have a value which is `greater than` it. */ gt?: InputMaybe; /** `gte` retrieves results with matches that have a value which is `greater than or equal to` it. */ @@ -3814,6 +3826,7 @@ export type FileUploadElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -4224,6 +4237,52 @@ export type FileUploadElementBlockWhereInput = { _or?: InputMaybe>>; }; +export type FormContainer = IData & { + __typename?: 'FormContainer'; + FormElements?: Maybe>>; + Key?: Maybe; + Locale?: Maybe; + Localizations?: Maybe; + Properties?: Maybe; + /** @deprecated Use `_link` field instead */ + _children?: Maybe; + _deleted?: Maybe; + _fulltext?: Maybe>>; + _id?: Maybe; + _link?: Maybe; + _modified?: Maybe; + _score?: Maybe; +}; + + +export type FormContainer_FulltextArgs = { + highlight?: InputMaybe; +}; + + +export type FormContainer_LinkArgs = { + type?: InputMaybe; +}; + +export type FormContainerAutocomplete = { + __typename?: 'FormContainerAutocomplete'; + FormElements?: Maybe; + Key?: Maybe>>; + Locale?: Maybe>>; +}; + + +export type FormContainerAutocompleteKeyArgs = { + limit?: Scalars['Int']; + value: Scalars['String']; +}; + + +export type FormContainerAutocompleteLocaleArgs = { + limit?: Scalars['Int']; + value: Scalars['String']; +}; + export type FormContainerBlock = IContent & IData & { __typename?: 'FormContainerBlock'; AllowAnonymousSubmission?: Maybe; @@ -4242,7 +4301,6 @@ export type FormContainerBlock = IContent & IData & { ExistingLanguages?: Maybe>>; FinalizedSubmissionRetentionPeriod?: Maybe; FocusOnForm?: Maybe; - FormRenderTemplate?: Maybe; IsCommonDraft?: Maybe; Language?: Maybe; MasterLanguage?: Maybe; @@ -4265,6 +4323,7 @@ export type FormContainerBlock = IContent & IData & { SubmitSuccessMessage?: Maybe; Title?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -4341,7 +4400,6 @@ export type FormContainerBlockAutocomplete = { ContentLink?: Maybe; ContentType?: Maybe>>; ExistingLanguages?: Maybe; - FormRenderTemplate?: Maybe>>; Language?: Maybe; MasterLanguage?: Maybe; ParentLink?: Maybe; @@ -4367,12 +4425,6 @@ export type FormContainerBlockAutocompleteContentTypeArgs = { }; -export type FormContainerBlockAutocompleteFormRenderTemplateArgs = { - limit?: Scalars['Int']; - value: Scalars['String']; -}; - - export type FormContainerBlockAutocompleteRedirectToPageArgs = { limit?: Scalars['Int']; value: Scalars['String']; @@ -4432,7 +4484,6 @@ export type FormContainerBlockFacet = { ExistingLanguages?: Maybe; FinalizedSubmissionRetentionPeriod?: Maybe>>; FocusOnForm?: Maybe>>; - FormRenderTemplate?: Maybe>>; IsCommonDraft?: Maybe>>; Language?: Maybe; MasterLanguage?: Maybe; @@ -4550,14 +4601,6 @@ export type FormContainerBlockFacetFocusOnFormArgs = { }; -export type FormContainerBlockFacetFormRenderTemplateArgs = { - filters?: InputMaybe>; - limit?: Scalars['Int']; - orderBy?: InputMaybe; - orderType?: InputMaybe; -}; - - export type FormContainerBlockFacetIsCommonDraftArgs = { filters?: InputMaybe>; limit?: Scalars['Int']; @@ -4720,7 +4763,6 @@ export type FormContainerBlockOrderByInput = { ExistingLanguages?: InputMaybe; FinalizedSubmissionRetentionPeriod?: InputMaybe; FocusOnForm?: InputMaybe; - FormRenderTemplate?: InputMaybe; IsCommonDraft?: InputMaybe; Language?: InputMaybe; MasterLanguage?: InputMaybe; @@ -4779,7 +4821,6 @@ export type FormContainerBlockWhereInput = { ExistingLanguages?: InputMaybe; FinalizedSubmissionRetentionPeriod?: InputMaybe; FocusOnForm?: InputMaybe; - FormRenderTemplate?: InputMaybe; IsCommonDraft?: InputMaybe; Language?: InputMaybe; MasterLanguage?: InputMaybe; @@ -4809,6 +4850,159 @@ export type FormContainerBlockWhereInput = { _or?: InputMaybe>>; }; +export type FormContainerFacet = { + __typename?: 'FormContainerFacet'; + FormElements?: Maybe; + Key?: Maybe>>; + Locale?: Maybe>>; +}; + + +export type FormContainerFacetKeyArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + + +export type FormContainerFacetLocaleArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + +export type FormContainerOrderByInput = { + FormElements?: InputMaybe; + Key?: InputMaybe; + Locale?: InputMaybe; + _minimumScore?: InputMaybe; + _modified?: InputMaybe; + _ranking?: InputMaybe; +}; + +export type FormContainerOutput = { + __typename?: 'FormContainerOutput'; + autocomplete?: Maybe; + cursor?: Maybe; + facets?: Maybe; + items?: Maybe>>; + total?: Maybe; +}; + + +export type FormContainerOutputTotalArgs = { + all?: InputMaybe; +}; + +export type FormContainerWhereInput = { + FormElements?: InputMaybe; + Key?: InputMaybe; + Locale?: InputMaybe; + _and?: InputMaybe>>; + _fulltext?: InputMaybe; + _modified?: InputMaybe; + _not?: InputMaybe>>; + _or?: InputMaybe>>; +}; + +export type FormElement = { + __typename?: 'FormElement'; + ContentType?: Maybe; + DisplayName?: Maybe; + Key?: Maybe; + Locale?: Maybe; + Localizations?: Maybe; + Properties?: Maybe; +}; + +export type FormElementAutocomplete = { + __typename?: 'FormElementAutocomplete'; + ContentType?: Maybe>>; + DisplayName?: Maybe>>; + Key?: Maybe>>; + Locale?: Maybe>>; +}; + + +export type FormElementAutocompleteContentTypeArgs = { + limit?: Scalars['Int']; + value: Scalars['String']; +}; + + +export type FormElementAutocompleteDisplayNameArgs = { + limit?: Scalars['Int']; + value: Scalars['String']; +}; + + +export type FormElementAutocompleteKeyArgs = { + limit?: Scalars['Int']; + value: Scalars['String']; +}; + + +export type FormElementAutocompleteLocaleArgs = { + limit?: Scalars['Int']; + value: Scalars['String']; +}; + +export type FormElementFacet = { + __typename?: 'FormElementFacet'; + ContentType?: Maybe>>; + DisplayName?: Maybe>>; + Key?: Maybe>>; + Locale?: Maybe>>; +}; + + +export type FormElementFacetContentTypeArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + + +export type FormElementFacetDisplayNameArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + + +export type FormElementFacetKeyArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + + +export type FormElementFacetLocaleArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + +export type FormElementOrderByInput = { + ContentType?: InputMaybe; + DisplayName?: InputMaybe; + Key?: InputMaybe; + Locale?: InputMaybe; +}; + +export type FormElementWhereInput = { + ContentType?: InputMaybe; + DisplayName?: InputMaybe; + Key?: InputMaybe; + Locale?: InputMaybe; +}; + export type FormStepBlock = IContent & IData & { __typename?: 'FormStepBlock'; Ancestors?: Maybe>>; @@ -4838,6 +5032,7 @@ export type FormStepBlock = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -5304,6 +5499,7 @@ export type IContent = { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -5329,6 +5525,7 @@ export type IContent_LinkArgs = { }; export type IData = { + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -5379,6 +5576,7 @@ export type ImageChoiceElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -5802,6 +6000,7 @@ export type ImageFile = IContent & IData & { StopPublish?: Maybe; Thumbnail?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -6162,6 +6361,7 @@ export type ImagePage = IContent & IData & { StopPublish?: Maybe; Thumbnail?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -6606,7 +6806,7 @@ export type LandingPage = IContent & IData & { __typename?: 'LandingPage'; Ancestors?: Maybe>>; ArtistsLink?: Maybe; - BuyTicketBlock?: Maybe; + BuyTicketBlock?: Maybe; Category?: Maybe>>; Changed?: Maybe; ContentLink?: Maybe; @@ -6632,6 +6832,7 @@ export type LandingPage = IContent & IData & { Subtitle?: Maybe; Title?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -6660,7 +6861,7 @@ export type LandingPageAutocomplete = { __typename?: 'LandingPageAutocomplete'; Ancestors?: Maybe>>; ArtistsLink?: Maybe; - BuyTicketBlock?: Maybe; + BuyTicketBlock?: Maybe; Category?: Maybe; ContentLink?: Maybe; ContentType?: Maybe>>; @@ -6747,38 +6948,38 @@ export type LandingPageAutocompleteUrlArgs = { value: Scalars['String']; }; -export type LandingPageBlockData = { - __typename?: 'LandingPageBlockData'; +export type LandingPageBuyTicketBlock = { + __typename?: 'LandingPageBuyTicketBlock'; Heading?: Maybe; Message?: Maybe; }; -export type LandingPageBlockDataAutocomplete = { - __typename?: 'LandingPageBlockDataAutocomplete'; +export type LandingPageBuyTicketBlockAutocomplete = { + __typename?: 'LandingPageBuyTicketBlockAutocomplete'; Heading?: Maybe>>; Message?: Maybe>>; }; -export type LandingPageBlockDataAutocompleteHeadingArgs = { +export type LandingPageBuyTicketBlockAutocompleteHeadingArgs = { limit?: Scalars['Int']; value: Scalars['String']; }; -export type LandingPageBlockDataAutocompleteMessageArgs = { +export type LandingPageBuyTicketBlockAutocompleteMessageArgs = { limit?: Scalars['Int']; value: Scalars['String']; }; -export type LandingPageBlockDataFacet = { - __typename?: 'LandingPageBlockDataFacet'; +export type LandingPageBuyTicketBlockFacet = { + __typename?: 'LandingPageBuyTicketBlockFacet'; Heading?: Maybe>>; Message?: Maybe>>; }; -export type LandingPageBlockDataFacetHeadingArgs = { +export type LandingPageBuyTicketBlockFacetHeadingArgs = { filters?: InputMaybe>; limit?: Scalars['Int']; orderBy?: InputMaybe; @@ -6786,19 +6987,19 @@ export type LandingPageBlockDataFacetHeadingArgs = { }; -export type LandingPageBlockDataFacetMessageArgs = { +export type LandingPageBuyTicketBlockFacetMessageArgs = { filters?: InputMaybe>; limit?: Scalars['Int']; orderBy?: InputMaybe; orderType?: InputMaybe; }; -export type LandingPageBlockDataOrderByInput = { +export type LandingPageBuyTicketBlockOrderByInput = { Heading?: InputMaybe; Message?: InputMaybe; }; -export type LandingPageBlockDataWhereInput = { +export type LandingPageBuyTicketBlockWhereInput = { Heading?: InputMaybe; Message?: InputMaybe; }; @@ -6807,7 +7008,7 @@ export type LandingPageFacet = { __typename?: 'LandingPageFacet'; Ancestors?: Maybe>>; ArtistsLink?: Maybe; - BuyTicketBlock?: Maybe; + BuyTicketBlock?: Maybe; Category?: Maybe; Changed?: Maybe>>; ContentLink?: Maybe; @@ -6972,7 +7173,7 @@ export type LandingPageFacetUrlArgs = { export type LandingPageOrderByInput = { Ancestors?: InputMaybe; ArtistsLink?: InputMaybe; - BuyTicketBlock?: InputMaybe; + BuyTicketBlock?: InputMaybe; Category?: InputMaybe; Changed?: InputMaybe; ContentLink?: InputMaybe; @@ -7020,7 +7221,7 @@ export type LandingPageOutputTotalArgs = { export type LandingPageWhereInput = { Ancestors?: InputMaybe; ArtistsLink?: InputMaybe; - BuyTicketBlock?: InputMaybe; + BuyTicketBlock?: InputMaybe; Category?: InputMaybe; Changed?: InputMaybe; ContentLink?: InputMaybe; @@ -7158,6 +7359,8 @@ export type LinkItemNodeWhereInput = { }; export enum LinkTypes { + Ancestors = 'ANCESTORS', + Children = 'CHILDREN', Default = 'DEFAULT' } @@ -7198,6 +7401,7 @@ export type NumberElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -7641,6 +7845,7 @@ export type ParagraphTextElementBlock = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -8031,6 +8236,7 @@ export type PredefinedHiddenElementBlock = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -8354,6 +8560,7 @@ export type Query = { ContentBlock?: Maybe; Data?: Maybe; FileUploadElementBlock?: Maybe; + FormContainer?: Maybe; FormContainerBlock?: Maybe; FormStepBlock?: Maybe; ImageChoiceElementBlock?: Maybe; @@ -8485,6 +8692,17 @@ export type QueryFileUploadElementBlockArgs = { }; +export type QueryFormContainerArgs = { + cursor?: InputMaybe; + ids?: InputMaybe>>; + limit?: Scalars['Int']; + locale?: InputMaybe>>; + orderBy?: InputMaybe; + skip?: Scalars['Int']; + where?: InputMaybe; +}; + + export type QueryFormContainerBlockArgs = { cursor?: InputMaybe; ids?: InputMaybe>>; @@ -8694,6 +8912,7 @@ export type QueryRef = { ContentBlock?: Maybe; Data?: Maybe; FileUploadElementBlock?: Maybe; + FormContainer?: Maybe; FormContainerBlock?: Maybe; FormStepBlock?: Maybe; ImageChoiceElementBlock?: Maybe; @@ -8825,6 +9044,17 @@ export type QueryRefFileUploadElementBlockArgs = { }; +export type QueryRefFormContainerArgs = { + cursor?: InputMaybe; + ids?: InputMaybe>>; + limit?: Scalars['Int']; + locale?: InputMaybe>>; + orderBy?: InputMaybe; + skip?: Scalars['Int']; + where?: InputMaybe; +}; + + export type QueryRefFormContainerBlockArgs = { cursor?: InputMaybe; ids?: InputMaybe>>; @@ -9053,6 +9283,7 @@ export type RangeElementBlock = IContent & IData & { Step?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -9497,6 +9728,7 @@ export type ResetButtonElementBlock = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -9883,6 +10115,7 @@ export type SelectionElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -10320,6 +10553,7 @@ export type SiteDefinition = IData & { Languages?: Maybe>>; Name?: Maybe; Status?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -10646,6 +10880,7 @@ export type SubmitButtonElementBlock = IContent & IData & { Status?: Maybe; StopPublish?: Maybe; Url?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -11085,6 +11320,7 @@ export type TextareaElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -11515,6 +11751,7 @@ export type TextboxElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -11960,6 +12197,7 @@ export type UrlElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; Validators?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -12387,6 +12625,7 @@ export type VisitorDataHiddenElementBlock = IContent & IData & { StopPublish?: Maybe; Url?: Maybe; VisitorDataSources?: Maybe; + /** @deprecated Use `_link` field instead */ _children?: Maybe; _deleted?: Maybe; _fulltext?: Maybe>>; @@ -12741,11 +12980,11 @@ export type StartQueryVariables = Exact<{ }>; -export type StartQuery = { __typename?: 'Query', Content?: { __typename?: 'ContentOutput', items?: Array<{ __typename: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null, Url?: string | null, artists?: { __typename?: 'QueryRef', ArtistDetailsPage?: { __typename?: 'ArtistDetailsPageOutput', items?: Array<{ __typename?: 'ArtistDetailsPage', PerformanceStartTime?: any | null, PerformanceEndTime?: any | null, StageName?: string | null, ArtistName?: string | null, ArtistPhoto?: string | null, ArtistGenre?: string | null, ArtistDescription?: string | null, ArtistIsHeadliner?: any | null, Name?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | null> | null, facets?: { __typename?: 'ArtistDetailsPageFacet', ArtistGenre?: Array<{ __typename?: 'StringFacet', name?: string | null, count?: number | null } | null> | null, StageName?: Array<{ __typename?: 'StringFacet', name?: string | null, count?: number | null } | null> | null } | null } | null } | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ArtistDetailsPage', Name?: string | null, Url?: string | null, RelativePath?: string | null, PerformanceStartTime?: any | null, PerformanceEndTime?: any | null, StageName?: string | null, ArtistName?: string | null, ArtistPhoto?: string | null, ArtistGenre?: string | null, ArtistDescription?: string | null, ArtistIsHeadliner?: any | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'BuyTicketBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'BuyTicketPage', Name?: string | null, Url?: string | null, RelativePath?: string | null, MainContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename?: 'ArtistContainerPage' } | { __typename?: 'ArtistDetailsPage' } | { __typename?: 'BuyTicketBlock' } | { __typename?: 'BuyTicketPage' } | { __typename?: 'CaptchaElementBlock' } | { __typename?: 'ChoiceElementBlock' } | { __typename?: 'Content' } | { __typename?: 'ContentBlock' } | { __typename?: 'FileUploadElementBlock' } | { __typename?: 'FormContainerBlock', FormRenderTemplate?: string | null, ContentLink?: { __typename?: 'ContentModelReference', GuidValue?: string | null } | null } | { __typename?: 'FormStepBlock' } | { __typename?: 'ImageChoiceElementBlock' } | { __typename?: 'ImageFile' } | { __typename?: 'ImagePage' } | { __typename?: 'LandingPage' } | { __typename?: 'NumberElementBlock' } | { __typename?: 'ParagraphTextElementBlock' } | { __typename?: 'PredefinedHiddenElementBlock' } | { __typename?: 'RangeElementBlock' } | { __typename?: 'ResetButtonElementBlock' } | { __typename?: 'SelectionElementBlock' } | { __typename?: 'SubmitButtonElementBlock' } | { __typename?: 'TextareaElementBlock' } | { __typename?: 'TextboxElementBlock' } | { __typename?: 'UrlElementBlock' } | { __typename?: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'CaptchaElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ChoiceElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'Content', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null, Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'FileUploadElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'FormContainerBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'FormStepBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ImageChoiceElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ImageFile', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ImagePage', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'LandingPage', Name?: string | null, Url?: string | null, RelativePath?: string | null, Title?: string | null, Subtitle?: string | null, HeroImage?: string | null, _children?: { __typename?: 'QueryRef', ArtistContainerPage?: { __typename?: 'ArtistContainerPageOutput', items?: Array<{ __typename?: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null, headlines?: { __typename?: 'QueryRef', ArtistDetailsPage?: { __typename?: 'ArtistDetailsPageOutput', items?: Array<{ __typename?: 'ArtistDetailsPage', PerformanceStartTime?: any | null, PerformanceEndTime?: any | null, StageName?: string | null, ArtistName?: string | null, ArtistPhoto?: string | null, ArtistGenre?: string | null, ArtistDescription?: string | null, ArtistIsHeadliner?: any | null, Name?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | null> | null } | null } | null } | null> | null } | null } | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null, BuyTicketBlock?: { __typename?: 'LandingPageBlockData', Heading?: string | null, Message?: string | null } | null, ArtistsLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename?: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ArtistDetailsPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'CaptchaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'Content', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ContentBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FileUploadElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormContainerBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormStepBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageFile', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImagePage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'LandingPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'NumberElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ParagraphTextElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'PredefinedHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'RangeElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ResetButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SelectionElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SubmitButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextareaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextboxElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'UrlElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'VisitorDataHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | null } | null, MainContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null, FooterContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null } | { __typename: 'NumberElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ParagraphTextElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'PredefinedHiddenElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'RangeElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ResetButtonElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'SelectionElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'SubmitButtonElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'TextareaElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'TextboxElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'UrlElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'VisitorDataHiddenElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | null> | null } | null }; +export type StartQuery = { __typename?: 'Query', Content?: { __typename?: 'ContentOutput', items?: Array<{ __typename: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null, Url?: string | null, artists?: { __typename?: 'QueryRef', ArtistDetailsPage?: { __typename?: 'ArtistDetailsPageOutput', items?: Array<{ __typename?: 'ArtistDetailsPage', PerformanceStartTime?: any | null, PerformanceEndTime?: any | null, StageName?: string | null, ArtistName?: string | null, ArtistPhoto?: string | null, ArtistGenre?: string | null, ArtistDescription?: string | null, ArtistIsHeadliner?: any | null, Name?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | null> | null, facets?: { __typename?: 'ArtistDetailsPageFacet', ArtistGenre?: Array<{ __typename?: 'StringFacet', name?: string | null, count?: number | null } | null> | null, StageName?: Array<{ __typename?: 'StringFacet', name?: string | null, count?: number | null } | null> | null } | null } | null } | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ArtistDetailsPage', Name?: string | null, Url?: string | null, RelativePath?: string | null, PerformanceStartTime?: any | null, PerformanceEndTime?: any | null, StageName?: string | null, ArtistName?: string | null, ArtistPhoto?: string | null, ArtistGenre?: string | null, ArtistDescription?: string | null, ArtistIsHeadliner?: any | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'BuyTicketBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'BuyTicketPage', Name?: string | null, Url?: string | null, RelativePath?: string | null, MainContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename?: 'ArtistContainerPage' } | { __typename?: 'ArtistDetailsPage' } | { __typename?: 'BuyTicketBlock' } | { __typename?: 'BuyTicketPage' } | { __typename?: 'CaptchaElementBlock' } | { __typename?: 'ChoiceElementBlock' } | { __typename?: 'Content' } | { __typename?: 'ContentBlock' } | { __typename?: 'FileUploadElementBlock' } | { __typename?: 'FormContainerBlock', Language?: { __typename?: 'ContentLanguageModel', Name?: string | null } | null, ContentLink?: { __typename?: 'ContentModelReference', GuidValue?: string | null } | null } | { __typename?: 'FormStepBlock' } | { __typename?: 'ImageChoiceElementBlock' } | { __typename?: 'ImageFile' } | { __typename?: 'ImagePage' } | { __typename?: 'LandingPage' } | { __typename?: 'NumberElementBlock' } | { __typename?: 'ParagraphTextElementBlock' } | { __typename?: 'PredefinedHiddenElementBlock' } | { __typename?: 'RangeElementBlock' } | { __typename?: 'ResetButtonElementBlock' } | { __typename?: 'SelectionElementBlock' } | { __typename?: 'SubmitButtonElementBlock' } | { __typename?: 'TextareaElementBlock' } | { __typename?: 'TextboxElementBlock' } | { __typename?: 'UrlElementBlock' } | { __typename?: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'CaptchaElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ChoiceElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'Content', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null, Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'FileUploadElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'FormContainerBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'FormStepBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ImageChoiceElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ImageFile', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ImagePage', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'LandingPage', Name?: string | null, Url?: string | null, RelativePath?: string | null, Title?: string | null, Subtitle?: string | null, HeroImage?: string | null, _children?: { __typename?: 'QueryRef', ArtistContainerPage?: { __typename?: 'ArtistContainerPageOutput', items?: Array<{ __typename?: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null, headlines?: { __typename?: 'QueryRef', ArtistDetailsPage?: { __typename?: 'ArtistDetailsPageOutput', items?: Array<{ __typename?: 'ArtistDetailsPage', PerformanceStartTime?: any | null, PerformanceEndTime?: any | null, StageName?: string | null, ArtistName?: string | null, ArtistPhoto?: string | null, ArtistGenre?: string | null, ArtistDescription?: string | null, ArtistIsHeadliner?: any | null, Name?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | null> | null } | null } | null } | null> | null } | null } | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null, BuyTicketBlock?: { __typename?: 'LandingPageBuyTicketBlock', Heading?: string | null, Message?: string | null } | null, ArtistsLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename?: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ArtistDetailsPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'CaptchaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'Content', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ContentBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FileUploadElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormContainerBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormStepBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageFile', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImagePage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'LandingPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'NumberElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ParagraphTextElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'PredefinedHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'RangeElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ResetButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SelectionElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SubmitButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextareaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextboxElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'UrlElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'VisitorDataHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | null } | null, MainContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null, FooterContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null } | { __typename: 'NumberElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ParagraphTextElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'PredefinedHiddenElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'RangeElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'ResetButtonElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'SelectionElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'SubmitButtonElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'TextareaElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'TextboxElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'UrlElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | { __typename: 'VisitorDataHiddenElementBlock', Name?: string | null, Url?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null } | null> | null } | null }; export type ArtistDetailsPageFragment = { __typename?: 'ArtistDetailsPage', PerformanceStartTime?: any | null, PerformanceEndTime?: any | null, StageName?: string | null, ArtistName?: string | null, ArtistPhoto?: string | null, ArtistGenre?: string | null, ArtistDescription?: string | null, ArtistIsHeadliner?: any | null, Name?: string | null, RelativePath?: string | null, ParentLink?: { __typename?: 'ContentModelReference', Url?: string | null } | null }; -export type LandingPageFragment = { __typename?: 'LandingPage', Title?: string | null, Subtitle?: string | null, HeroImage?: string | null, BuyTicketBlock?: { __typename?: 'LandingPageBlockData', Heading?: string | null, Message?: string | null } | null, ArtistsLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename?: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ArtistDetailsPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'CaptchaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'Content', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ContentBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FileUploadElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormContainerBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormStepBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageFile', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImagePage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'LandingPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'NumberElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ParagraphTextElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'PredefinedHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'RangeElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ResetButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SelectionElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SubmitButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextareaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextboxElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'UrlElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'VisitorDataHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | null } | null, MainContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null, FooterContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null }; +export type LandingPageFragment = { __typename?: 'LandingPage', Title?: string | null, Subtitle?: string | null, HeroImage?: string | null, BuyTicketBlock?: { __typename?: 'LandingPageBuyTicketBlock', Heading?: string | null, Message?: string | null } | null, ArtistsLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename?: 'ArtistContainerPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ArtistDetailsPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'BuyTicketPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'CaptchaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'Content', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ContentBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FileUploadElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormContainerBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'FormStepBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageChoiceElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImageFile', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ImagePage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'LandingPage', Name?: string | null, RelativePath?: string | null } | { __typename?: 'NumberElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ParagraphTextElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'PredefinedHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'RangeElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'ResetButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SelectionElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'SubmitButtonElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextareaElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'TextboxElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'UrlElementBlock', Name?: string | null, RelativePath?: string | null } | { __typename?: 'VisitorDataHiddenElementBlock', Name?: string | null, RelativePath?: string | null } | null } | null, MainContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null, FooterContentArea?: Array<{ __typename?: 'ContentAreaItemModel', ContentLink?: { __typename?: 'ContentModelReference', Expanded?: { __typename: 'ArtistContainerPage' } | { __typename: 'ArtistDetailsPage' } | { __typename: 'BuyTicketBlock' } | { __typename: 'BuyTicketPage' } | { __typename: 'CaptchaElementBlock' } | { __typename: 'ChoiceElementBlock' } | { __typename: 'Content' } | { __typename: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null } | { __typename: 'FileUploadElementBlock' } | { __typename: 'FormContainerBlock' } | { __typename: 'FormStepBlock' } | { __typename: 'ImageChoiceElementBlock' } | { __typename: 'ImageFile', Content?: string | null, Url?: string | null, Thumbnail?: { __typename?: 'BlobModel', Url?: string | null } | null } | { __typename: 'ImagePage' } | { __typename: 'LandingPage' } | { __typename: 'NumberElementBlock' } | { __typename: 'ParagraphTextElementBlock' } | { __typename: 'PredefinedHiddenElementBlock' } | { __typename: 'RangeElementBlock' } | { __typename: 'ResetButtonElementBlock' } | { __typename: 'SelectionElementBlock' } | { __typename: 'SubmitButtonElementBlock' } | { __typename: 'TextareaElementBlock' } | { __typename: 'TextboxElementBlock' } | { __typename: 'UrlElementBlock' } | { __typename: 'VisitorDataHiddenElementBlock' } | null } | null } | null> | null }; export type ContentBlockFragment = { __typename?: 'ContentBlock', Title?: string | null, Image?: string | null, ImageAlignment?: string | null, Content?: string | null }; @@ -12805,8 +13044,6 @@ type ItemsInContentArea_VisitorDataHiddenElementBlock_Fragment = { __typename: ' export type ItemsInContentAreaFragment = ItemsInContentArea_ArtistContainerPage_Fragment | ItemsInContentArea_ArtistDetailsPage_Fragment | ItemsInContentArea_BuyTicketBlock_Fragment | ItemsInContentArea_BuyTicketPage_Fragment | ItemsInContentArea_CaptchaElementBlock_Fragment | ItemsInContentArea_ChoiceElementBlock_Fragment | ItemsInContentArea_Content_Fragment | ItemsInContentArea_ContentBlock_Fragment | ItemsInContentArea_FileUploadElementBlock_Fragment | ItemsInContentArea_FormContainerBlock_Fragment | ItemsInContentArea_FormStepBlock_Fragment | ItemsInContentArea_ImageChoiceElementBlock_Fragment | ItemsInContentArea_ImageFile_Fragment | ItemsInContentArea_ImagePage_Fragment | ItemsInContentArea_LandingPage_Fragment | ItemsInContentArea_NumberElementBlock_Fragment | ItemsInContentArea_ParagraphTextElementBlock_Fragment | ItemsInContentArea_PredefinedHiddenElementBlock_Fragment | ItemsInContentArea_RangeElementBlock_Fragment | ItemsInContentArea_ResetButtonElementBlock_Fragment | ItemsInContentArea_SelectionElementBlock_Fragment | ItemsInContentArea_SubmitButtonElementBlock_Fragment | ItemsInContentArea_TextareaElementBlock_Fragment | ItemsInContentArea_TextboxElementBlock_Fragment | ItemsInContentArea_UrlElementBlock_Fragment | ItemsInContentArea_VisitorDataHiddenElementBlock_Fragment; -export type LandingPageBlockDataFragment = { __typename?: 'LandingPageBlockData', Heading?: string | null, Message?: string | null }; - export const ArtistDetailsPageFragmentDoc = ` fragment ArtistDetailsPage on ArtistDetailsPage { PerformanceStartTime @@ -12824,12 +13061,6 @@ export const ArtistDetailsPageFragmentDoc = ` } } `; -export const LandingPageBlockDataFragmentDoc = ` - fragment LandingPageBlockData on LandingPageBlockData { - Heading - Message -} - `; export const ContentBlockFragmentDoc = ` fragment ContentBlock on ContentBlock { Title @@ -12864,7 +13095,8 @@ export const LandingPageFragmentDoc = ` Title Subtitle BuyTicketBlock { - ...LandingPageBlockData + Heading + Message } HeroImage ArtistsLink { @@ -12888,8 +13120,7 @@ export const LandingPageFragmentDoc = ` } } } - ${LandingPageBlockDataFragmentDoc} -${ItemsInContentAreaFragmentDoc}`; + ${ItemsInContentAreaFragmentDoc}`; export const ArtistAutocompleteDocument = ` query ArtistAutocomplete($searchParam: String!) { ArtistDetailsPage { @@ -13075,7 +13306,9 @@ export const StartDocument = ` ContentLink { Expanded { ... on FormContainerBlock { - FormRenderTemplate + Language { + Name + } ContentLink { GuidValue } diff --git a/samples/musicfestival-frontend-react/src/graphql/Start.graphql b/samples/musicfestival-frontend-react/src/graphql/Start.graphql index 6e0d51e..b5e2c16 100644 --- a/samples/musicfestival-frontend-react/src/graphql/Start.graphql +++ b/samples/musicfestival-frontend-react/src/graphql/Start.graphql @@ -123,7 +123,9 @@ query Start( ContentLink { Expanded { ... on FormContainerBlock { - FormRenderTemplate + Language { + Name + } ContentLink { GuidValue } diff --git a/samples/musicfestival-frontend-react/src/graphql/fragments/BuyTicket.graphql b/samples/musicfestival-frontend-react/src/graphql/fragments/BuyTicket.graphql index ca83ceb..f1b1692 100644 --- a/samples/musicfestival-frontend-react/src/graphql/fragments/BuyTicket.graphql +++ b/samples/musicfestival-frontend-react/src/graphql/fragments/BuyTicket.graphql @@ -2,7 +2,8 @@ fragment LandingPage on LandingPage { Title Subtitle BuyTicketBlock { - ...LandingPageBlockData + Heading + Message } HeroImage ArtistsLink { diff --git a/samples/musicfestival-frontend-react/src/graphql/fragments/LandingPage.graphql b/samples/musicfestival-frontend-react/src/graphql/fragments/LandingPage.graphql index ca83ceb..f1b1692 100644 --- a/samples/musicfestival-frontend-react/src/graphql/fragments/LandingPage.graphql +++ b/samples/musicfestival-frontend-react/src/graphql/fragments/LandingPage.graphql @@ -2,7 +2,8 @@ fragment LandingPage on LandingPage { Title Subtitle BuyTicketBlock { - ...LandingPageBlockData + Heading + Message } HeroImage ArtistsLink { diff --git a/samples/musicfestival-frontend-react/src/graphql/fragments/LandingPageBlockData.graphql b/samples/musicfestival-frontend-react/src/graphql/fragments/LandingPageBlockData.graphql deleted file mode 100644 index 0cbd7ca..0000000 --- a/samples/musicfestival-frontend-react/src/graphql/fragments/LandingPageBlockData.graphql +++ /dev/null @@ -1,4 +0,0 @@ -fragment LandingPageBlockData on LandingPageBlockData { - Heading - Message -} \ No newline at end of file diff --git a/samples/musicfestival-frontend-react/src/pages/BuyTicketPage.tsx b/samples/musicfestival-frontend-react/src/pages/BuyTicketPage.tsx index 9ef3776..c5f0249 100644 --- a/samples/musicfestival-frontend-react/src/pages/BuyTicketPage.tsx +++ b/samples/musicfestival-frontend-react/src/pages/BuyTicketPage.tsx @@ -53,15 +53,20 @@ function BuyTicketPage({ content }: BuyTicketPageProps) {
- {content.MainContentArea.map((c: any) => ( - - ))} + {content.MainContentArea.map((c: any) => { + const key = (c.ContentLink.Expanded.ContentLink.GuidValue as string).replace(/-/g,"") + return ( +
+ ) + })}
}