diff --git a/README.md b/README.md index da36424..6774a00 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,16 @@ If you have an empty CMS instance, and you want to see how it all works go to your CMS (SaaS) instance and: 1. Go to **Settings** > **Content Types**. -2. Click **Create New** and select **Element Type** from the drop-down list. +2. Click **Create New** and select **Block Type** from the drop-down list. 3. Enter _ParagraphElement_ for the **Name** and **Display name** fields. 4. Click **Create**. 5. Click **Add Property** and select **Text** from the drop-down list. 6. Enter _Text_ for the **Name** in the **Configure Property** page. 7. Click on the **Text Type** drop-down menu and select **XHTML string (>255)**. 8. Click **Save**. +8. Go to **Setting** +9. Tick checkboxes **Available for composition in Visual Builder** and **Display as Element** +10. Click **Save**. Then in order to run the sample you need to do the following: @@ -110,21 +113,24 @@ We now need to add a new script to package.json This script will generate types based your graphql schema. -### Adding element type +### Adding element -Before we run the codegen let's add a simple Element type to our SaaS CMS instance. +Before we run the codegen let's add a simple Element to our SaaS CMS instance. Please open `Settings` and `Content types` screen. -Click on `Create New...` menu item and choose `Element type` option. -![clicking add element type](docs/contenttype_add_elementtype.png) +Click on `Create New...` menu item and choose `Block type` option. +![clicking add element type](docs/contenttype_add_block.png) Fill in the name and display name and hit the `Create` button. -![adding element name](docs/contenttype_add_elementtype_dialog.png) +![adding element name](docs/contenttype_add_block_dialog.png) You will see an empty list of properties, hit the `Add property` button and add a single `Text` `XHTML string` property: ![adding property](docs/contenttype_add_property.png) -After that you should see the newly created element type in the list. +After that click on `Settings`and tick `Available for composition in Visual Builder` and `Display as Element` checkboxes +![display as element](docs/block_settings_display_as.png) + +You should see the newly created element type in the list. ![added element type](docs/contenttype_list.png) ### Graphql generation @@ -201,7 +207,7 @@ query VisualBuilder($key: String, $version: String) { ... on CompositionStructureNode { key elements: nodes { - ...compositionElementNode + ...compositionComponentNode } } } @@ -265,7 +271,7 @@ const VisualBuilderComponent: FC = ({ key, version }) => {
{column.elements?.map((element: any) =>
- +
)}
@@ -292,10 +298,10 @@ import { FragmentType, useFragment } from '../../graphql/fragment-masking' import { graphql } from '@/graphql' import ParagraphElementComponent from '../elements/ParagraphElementComponent' -export const CompositionElementNodeFragment = graphql(/* GraphQL */ ` - fragment compositionElementNode on CompositionElementNode { +export const CompositionComponentNodeFragment = graphql(/* GraphQL */ ` + fragment compositionComponentNode on CompositionComponentNode { key - element { + component { _metadata { types } @@ -304,23 +310,23 @@ export const CompositionElementNodeFragment = graphql(/* GraphQL */ ` } `) -const CompositionElementNodeComponent = (props: { - compositionElementNode: FragmentType +const CompositionComponentNodeComponent = (props: { + compositionComponentNode: FragmentType }) => { - const compositionElementNode = useFragment(CompositionElementNodeFragment, props.compositionElementNode) - const element = compositionElementNode.element - switch (element?.__typename) { + const compositionComponentNode = useFragment(CompositionComponentNodeFragment, props.compositionComponentNode) + const component = compositionComponentNode.component + switch (component?.__typename) { case "ParagraphElement": - return + return default: return <>NotImplementedException } } -export default CompositionElementNodeComponent +export default CompositionComponentNodeComponent ``` -As you can see based on `element.__typename` we can use different components - in our +As you can see based on `component.__typename` we can use different components - in our example we will use `ParagraphElementComponent`. ### Subscribing to content changes diff --git a/docs/block_settings_display_as.png b/docs/block_settings_display_as.png new file mode 100644 index 0000000..b536927 Binary files /dev/null and b/docs/block_settings_display_as.png differ diff --git a/docs/contenttype_add_block.png b/docs/contenttype_add_block.png new file mode 100644 index 0000000..f8b1761 Binary files /dev/null and b/docs/contenttype_add_block.png differ diff --git a/docs/contenttype_add_block_dialog.png b/docs/contenttype_add_block_dialog.png new file mode 100644 index 0000000..c0c053d Binary files /dev/null and b/docs/contenttype_add_block_dialog.png differ diff --git a/docs/contenttype_add_elementtype.png b/docs/contenttype_add_elementtype.png deleted file mode 100644 index 2c918b9..0000000 Binary files a/docs/contenttype_add_elementtype.png and /dev/null differ diff --git a/docs/contenttype_add_elementtype_dialog.png b/docs/contenttype_add_elementtype_dialog.png deleted file mode 100644 index 00cc8fc..0000000 Binary files a/docs/contenttype_add_elementtype_dialog.png and /dev/null differ diff --git a/docs/contenttype_add_property.png b/docs/contenttype_add_property.png index 71ab21c..686bae5 100644 Binary files a/docs/contenttype_add_property.png and b/docs/contenttype_add_property.png differ diff --git a/docs/contenttype_list.png b/docs/contenttype_list.png index 3aa9130..859082c 100644 Binary files a/docs/contenttype_list.png and b/docs/contenttype_list.png differ diff --git a/src/components/base/CompositionNodeComponent.tsx b/src/components/base/CompositionNodeComponent.tsx index 979f29a..96c4078 100644 --- a/src/components/base/CompositionNodeComponent.tsx +++ b/src/components/base/CompositionNodeComponent.tsx @@ -2,10 +2,10 @@ import { FragmentType, useFragment } from '../../graphql/fragment-masking' import { graphql } from '@/graphql' import ParagraphElementComponent from '../elements/ParagraphElementComponent' -export const CompositionElementNodeFragment = graphql(/* GraphQL */ ` - fragment compositionElementNode on CompositionElementNode { +export const CompositionComponentNodeFragment = graphql(/* GraphQL */ ` + fragment compositionComponentNode on CompositionComponentNode { key - element { + component { _metadata { types } @@ -14,17 +14,17 @@ export const CompositionElementNodeFragment = graphql(/* GraphQL */ ` } `) -const CompositionElementNodeComponent = (props: { - compositionElementNode: FragmentType +const CompositionComponentNodeComponent = (props: { + compositionComponentNode: FragmentType }) => { - const compositionElementNode = useFragment(CompositionElementNodeFragment, props.compositionElementNode) - const element = compositionElementNode.element - switch (element?.__typename) { + const compositionComponentNode = useFragment(CompositionComponentNodeFragment, props.compositionComponentNode) + const component = compositionComponentNode.component + switch (component?.__typename) { case "ParagraphElement": - return + return default: return <>NotImplementedException } } -export default CompositionElementNodeComponent \ No newline at end of file +export default CompositionComponentNodeComponent \ No newline at end of file diff --git a/src/components/base/VisualBuilderComponent.tsx b/src/components/base/VisualBuilderComponent.tsx index d4fff16..3ed752d 100644 --- a/src/components/base/VisualBuilderComponent.tsx +++ b/src/components/base/VisualBuilderComponent.tsx @@ -23,7 +23,7 @@ query VisualBuilder($key: String, $version: String) { ... on CompositionStructureNode { key elements: nodes { - ...compositionElementNode + ...compositionComponentNode } } } @@ -94,7 +94,7 @@ const VisualBuilderComponent: FC = ({ version, contentKey })
{column.elements?.map((element: any) =>
- +
)}
diff --git a/src/graphql/gql.ts b/src/graphql/gql.ts index 792487b..303927b 100644 --- a/src/graphql/gql.ts +++ b/src/graphql/gql.ts @@ -13,8 +13,8 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/ * Therefore it is highly recommended to use the babel or swc plugin for production. */ const documents = { - "\n fragment compositionElementNode on CompositionElementNode {\n key\n element {\n _metadata {\n types\n }\n ...paragraphElement\n }\n }\n": types.CompositionElementNodeFragmentDoc, - "\nquery VisualBuilder($key: String, $version: String) {\n _Experience(where: {\n _metadata: { key: { eq: $key } }\n _or: { _metadata: { version: { eq: $version } } }\n }) {\n items { \n composition {\n grids: nodes {\n ... on CompositionStructureNode {\n key\n rows: nodes {\n ... on CompositionStructureNode {\n key\n columns: nodes {\n ... on CompositionStructureNode {\n key\n elements: nodes {\n ...compositionElementNode\n }\n }\n }\n }\n }\n }\n }\n }\n _metadata {\n key\n version, \n }\n }\n }\n}\n": types.VisualBuilderDocument, + "\n fragment compositionComponentNode on CompositionComponentNode {\n key\n component {\n _metadata {\n types\n }\n ...paragraphElement\n }\n }\n": types.CompositionComponentNodeFragmentDoc, + "\nquery VisualBuilder($key: String, $version: String) {\n _Experience(where: {\n _metadata: { key: { eq: $key } }\n _or: { _metadata: { version: { eq: $version } } }\n }) {\n items { \n composition {\n grids: nodes {\n ... on CompositionStructureNode {\n key\n rows: nodes {\n ... on CompositionStructureNode {\n key\n columns: nodes {\n ... on CompositionStructureNode {\n key\n elements: nodes {\n ...compositionComponentNode\n }\n }\n }\n }\n }\n }\n }\n }\n _metadata {\n key\n version, \n }\n }\n }\n}\n": types.VisualBuilderDocument, "\n fragment paragraphElement on ParagraphElement {\n Text {\n html\n }\n }\n": types.ParagraphElementFragmentDoc, }; @@ -35,11 +35,11 @@ export function graphql(source: string): unknown; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql(source: "\n fragment compositionElementNode on CompositionElementNode {\n key\n element {\n _metadata {\n types\n }\n ...paragraphElement\n }\n }\n"): (typeof documents)["\n fragment compositionElementNode on CompositionElementNode {\n key\n element {\n _metadata {\n types\n }\n ...paragraphElement\n }\n }\n"]; +export function graphql(source: "\n fragment compositionComponentNode on CompositionComponentNode {\n key\n component {\n _metadata {\n types\n }\n ...paragraphElement\n }\n }\n"): (typeof documents)["\n fragment compositionComponentNode on CompositionComponentNode {\n key\n component {\n _metadata {\n types\n }\n ...paragraphElement\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql(source: "\nquery VisualBuilder($key: String, $version: String) {\n _Experience(where: {\n _metadata: { key: { eq: $key } }\n _or: { _metadata: { version: { eq: $version } } }\n }) {\n items { \n composition {\n grids: nodes {\n ... on CompositionStructureNode {\n key\n rows: nodes {\n ... on CompositionStructureNode {\n key\n columns: nodes {\n ... on CompositionStructureNode {\n key\n elements: nodes {\n ...compositionElementNode\n }\n }\n }\n }\n }\n }\n }\n }\n _metadata {\n key\n version, \n }\n }\n }\n}\n"): (typeof documents)["\nquery VisualBuilder($key: String, $version: String) {\n _Experience(where: {\n _metadata: { key: { eq: $key } }\n _or: { _metadata: { version: { eq: $version } } }\n }) {\n items { \n composition {\n grids: nodes {\n ... on CompositionStructureNode {\n key\n rows: nodes {\n ... on CompositionStructureNode {\n key\n columns: nodes {\n ... on CompositionStructureNode {\n key\n elements: nodes {\n ...compositionElementNode\n }\n }\n }\n }\n }\n }\n }\n }\n _metadata {\n key\n version, \n }\n }\n }\n}\n"]; +export function graphql(source: "\nquery VisualBuilder($key: String, $version: String) {\n _Experience(where: {\n _metadata: { key: { eq: $key } }\n _or: { _metadata: { version: { eq: $version } } }\n }) {\n items { \n composition {\n grids: nodes {\n ... on CompositionStructureNode {\n key\n rows: nodes {\n ... on CompositionStructureNode {\n key\n columns: nodes {\n ... on CompositionStructureNode {\n key\n elements: nodes {\n ...compositionComponentNode\n }\n }\n }\n }\n }\n }\n }\n }\n _metadata {\n key\n version, \n }\n }\n }\n}\n"): (typeof documents)["\nquery VisualBuilder($key: String, $version: String) {\n _Experience(where: {\n _metadata: { key: { eq: $key } }\n _or: { _metadata: { version: { eq: $version } } }\n }) {\n items { \n composition {\n grids: nodes {\n ... on CompositionStructureNode {\n key\n rows: nodes {\n ... on CompositionStructureNode {\n key\n columns: nodes {\n ... on CompositionStructureNode {\n key\n elements: nodes {\n ...compositionComponentNode\n }\n }\n }\n }\n }\n }\n }\n }\n _metadata {\n key\n version, \n }\n }\n }\n}\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/src/graphql/graphql.ts b/src/graphql/graphql.ts index a3b20df..a965254 100644 --- a/src/graphql/graphql.ts +++ b/src/graphql/graphql.ts @@ -62,6 +62,7 @@ export type BlankExperienceOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; composition?: InputMaybe; }; @@ -131,6 +132,7 @@ export type BlankSectionOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; composition?: InputMaybe; }; @@ -159,6 +161,17 @@ export type BlankSectionWhereInput = { composition?: InputMaybe; }; +export type CompositionComponentNode = ICompositionComponentNode & ICompositionNode & { + __typename?: 'CompositionComponentNode'; + component?: Maybe<_IComponent>; + displayName?: Maybe; + displaySettings?: Maybe>>; + displayTemplateKey?: Maybe; + key?: Maybe; + nodeType?: Maybe; + type?: Maybe; +}; + export type CompositionDisplaySetting = { __typename?: 'CompositionDisplaySetting'; key?: Maybe; @@ -215,17 +228,6 @@ export type CompositionDisplaySettingWhereInput = { value?: InputMaybe; }; -export type CompositionElementNode = ICompositionElementNode & ICompositionNode & { - __typename?: 'CompositionElementNode'; - displayName?: Maybe; - displaySettings?: Maybe>>; - displayTemplateKey?: Maybe; - element?: Maybe<_IElement>; - key?: Maybe; - nodeType?: Maybe; - type?: Maybe; -}; - export type CompositionNode = ICompositionNode & { __typename?: 'CompositionNode'; displayName?: Maybe; @@ -361,8 +363,10 @@ export type CompositionStructureNodeWhereInput = { export type ContentMetadata = IContentMetadata & { __typename?: 'ContentMetadata'; + changeset?: Maybe; created?: Maybe; displayName?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; locale?: Maybe; @@ -517,6 +521,7 @@ export type DataOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -578,7 +583,7 @@ export type DateFilterInput = { /** Decay influences the weight of the score based on field values with a decay function */ export type Decay = { - origin?: InputMaybe; + origin?: InputMaybe; rate?: InputMaybe; scale?: InputMaybe; }; @@ -621,6 +626,7 @@ export type GenericMediaOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -654,11 +660,11 @@ export type HighlightOptions = { startToken?: InputMaybe; }; -export type ICompositionElementNode = { +export type ICompositionComponentNode = { + component?: Maybe<_IComponent>; displayName?: Maybe; displaySettings?: Maybe>>; displayTemplateKey?: Maybe; - element?: Maybe<_IElement>; key?: Maybe; nodeType?: Maybe; type?: Maybe; @@ -792,8 +798,10 @@ export type ICompositionStructureNode = { }; export type IContentMetadata = { + changeset?: Maybe; created?: Maybe; displayName?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; locale?: Maybe; @@ -811,6 +819,8 @@ export type IContentMetadataDisplayNameArgs = { export type IContentMetadataAutocomplete = { __typename?: 'IContentMetadataAutocomplete'; + changeset?: Maybe>>; + fallbackForLocale?: Maybe>>; key?: Maybe>>; locale?: Maybe>>; status?: Maybe>>; @@ -820,6 +830,18 @@ export type IContentMetadataAutocomplete = { }; +export type IContentMetadataAutocompleteChangesetArgs = { + limit?: Scalars['Int']['input']; + value: Scalars['String']['input']; +}; + + +export type IContentMetadataAutocompleteFallbackForLocaleArgs = { + limit?: Scalars['Int']['input']; + value: Scalars['String']['input']; +}; + + export type IContentMetadataAutocompleteKeyArgs = { limit?: Scalars['Int']['input']; value: Scalars['String']['input']; @@ -851,8 +873,10 @@ export type IContentMetadataAutocompleteVersionArgs = { export type IContentMetadataFacet = { __typename?: 'IContentMetadataFacet'; + changeset?: Maybe>>; created?: Maybe>>; displayName?: Maybe>>; + fallbackForLocale?: Maybe>>; key?: Maybe>>; lastModified?: Maybe>>; locale?: Maybe>>; @@ -864,6 +888,14 @@ export type IContentMetadataFacet = { }; +export type IContentMetadataFacetChangesetArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']['input']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + + export type IContentMetadataFacetCreatedArgs = { unit?: InputMaybe; value?: InputMaybe; @@ -878,6 +910,14 @@ export type IContentMetadataFacetDisplayNameArgs = { }; +export type IContentMetadataFacetFallbackForLocaleArgs = { + filters?: InputMaybe>; + limit?: Scalars['Int']['input']; + orderBy?: InputMaybe; + orderType?: InputMaybe; +}; + + export type IContentMetadataFacetKeyArgs = { filters?: InputMaybe>; limit?: Scalars['Int']['input']; @@ -930,8 +970,10 @@ export type IContentMetadataFacetVersionArgs = { }; export type IContentMetadataOrderByInput = { + changeset?: InputMaybe; created?: InputMaybe; displayName?: InputMaybe; + fallbackForLocale?: InputMaybe; key?: InputMaybe; lastModified?: InputMaybe; locale?: InputMaybe; @@ -943,8 +985,10 @@ export type IContentMetadataOrderByInput = { }; export type IContentMetadataWhereInput = { + changeset?: InputMaybe; created?: InputMaybe; displayName?: InputMaybe; + fallbackForLocale?: InputMaybe; key?: InputMaybe; lastModified?: InputMaybe; locale?: InputMaybe; @@ -977,11 +1021,13 @@ export type IData_LinkArgs = { }; export type IInstanceMetadata = { + changeset?: Maybe; container?: Maybe; created?: Maybe; createdBy?: Maybe; displayName?: Maybe; expired?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; lastModifiedBy?: Maybe; @@ -1003,9 +1049,11 @@ export type IInstanceMetadataDisplayNameArgs = { }; export type IItemMetadata = { + changeset?: Maybe; created?: Maybe; displayName?: Maybe; displayOption?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; locale?: Maybe; @@ -1022,12 +1070,14 @@ export type IItemMetadataDisplayNameArgs = { }; export type IMediaMetadata = { + changeset?: Maybe; container?: Maybe; content?: Maybe; created?: Maybe; createdBy?: Maybe; displayName?: Maybe; expired?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; lastModifiedBy?: Maybe; @@ -1093,6 +1143,7 @@ export type ImageMediaOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -1121,11 +1172,13 @@ export type ImageMediaWhereInput = { export type InstanceMetadata = IContentMetadata & IInstanceMetadata & { __typename?: 'InstanceMetadata'; + changeset?: Maybe; container?: Maybe; created?: Maybe; createdBy?: Maybe; displayName?: Maybe; expired?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; lastModifiedBy?: Maybe; @@ -1148,9 +1201,11 @@ export type InstanceMetadataDisplayNameArgs = { export type ItemMetadata = IContentMetadata & IItemMetadata & { __typename?: 'ItemMetadata'; + changeset?: Maybe; created?: Maybe; displayName?: Maybe; displayOption?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; locale?: Maybe; @@ -1172,9 +1227,37 @@ export type LinkConfig = { }; export enum LinkTypes { + /** + * + * | *Direction* |   | *Field* | + * | ----------: | ------ | :---------- | + * | *from* | | `_metadata.key` | + * | *to* | | `_metadata.owner` | + */ Assets = 'ASSETS', + /** + * + * | *Direction* |   | *Field* | + * | ----------: | ------ | :---------- | + * | *from* | | `_metadata.key` | + * | *to* | | `_metadata.container` | + */ Default = 'DEFAULT', + /** + * + * | *Direction* |   | *Field* | + * | ----------: | ------ | :---------- | + * | *from* | | `_metadata.key` | + * | *to* | | `_metadata.container` | + */ Items = 'ITEMS', + /** + * + * | *Direction* |   | *Field* | + * | ----------: | ------ | :---------- | + * | *from* | | `_metadata.path` | + * | *to* | | `_metadata.key` | + */ Path = 'PATH' } @@ -1186,12 +1269,14 @@ export enum Locales { export type MediaMetadata = IContentMetadata & IInstanceMetadata & IMediaMetadata & { __typename?: 'MediaMetadata'; + changeset?: Maybe; container?: Maybe; content?: Maybe; created?: Maybe; createdBy?: Maybe; displayName?: Maybe; expired?: Maybe; + fallbackForLocale?: Maybe; key?: Maybe; lastModified?: Maybe; lastModifiedBy?: Maybe; @@ -1229,7 +1314,7 @@ export enum OrderByFacetType { Value = 'VALUE' } -export type ParagraphElement = IData & _IComponent & _IContent & _IElement & { +export type ParagraphElement = IData & _IComponent & _IContent & { __typename?: 'ParagraphElement'; Text?: Maybe; /** @deprecated Use `_link` field instead */ @@ -1271,6 +1356,7 @@ export type ParagraphElementOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -1310,7 +1396,6 @@ export type Query = { VideoMedia?: Maybe; _Component?: Maybe<_ComponentOutput>; _Content?: Maybe<_ContentOutput>; - _Element?: Maybe<_ElementOutput>; _Experience?: Maybe<_ExperienceOutput>; _Folder?: Maybe<_FolderOutput>; _Image?: Maybe<_ImageOutput>; @@ -1431,17 +1516,6 @@ export type Query_ContentArgs = { }; -export type Query_ElementArgs = { - cursor?: InputMaybe; - ids?: InputMaybe>>; - limit?: Scalars['Int']['input']; - locale?: InputMaybe>>; - orderBy?: InputMaybe<_ElementOrderByInput>; - skip?: Scalars['Int']['input']; - where?: InputMaybe<_ElementWhereInput>; -}; - - export type Query_ExperienceArgs = { cursor?: InputMaybe; ids?: InputMaybe>>; @@ -1530,7 +1604,6 @@ export type QueryRef = { VideoMedia?: Maybe; _Component?: Maybe<_ComponentOutput>; _Content?: Maybe<_ContentOutput>; - _Element?: Maybe<_ElementOutput>; _Experience?: Maybe<_ExperienceOutput>; _Folder?: Maybe<_FolderOutput>; _Image?: Maybe<_ImageOutput>; @@ -1651,17 +1724,6 @@ export type QueryRef_ContentArgs = { }; -export type QueryRef_ElementArgs = { - cursor?: InputMaybe; - ids?: InputMaybe>>; - limit?: Scalars['Int']['input']; - locale?: InputMaybe>>; - orderBy?: InputMaybe<_ElementOrderByInput>; - skip?: Scalars['Int']['input']; - where?: InputMaybe<_ElementWhereInput>; -}; - - export type QueryRef_ExperienceArgs = { cursor?: InputMaybe; ids?: InputMaybe>>; @@ -1886,6 +1948,7 @@ export type SysContentFolderOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -1950,6 +2013,7 @@ export type VideoMediaOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2014,6 +2078,7 @@ export type _ComponentOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2078,6 +2143,7 @@ export type _ContentOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2104,70 +2170,6 @@ export type _ContentWhereInput = { _or?: InputMaybe>>; }; -export type _Element = IData & _IComponent & _IContent & _IElement & { - __typename?: '_Element'; - /** @deprecated Use `_link` field instead */ - _children?: Maybe; - _deleted?: Maybe; - _fulltext?: Maybe>>; - _id?: Maybe; - _link?: Maybe; - _metadata?: Maybe; - _modified?: Maybe; - _score?: Maybe; -}; - - -export type _Element_FulltextArgs = { - highlight?: InputMaybe; -}; - - -export type _Element_LinkArgs = { - type?: InputMaybe; -}; - -export type _ElementAutocomplete = { - __typename?: '_ElementAutocomplete'; - _metadata?: Maybe; -}; - -export type _ElementFacet = { - __typename?: '_ElementFacet'; - _metadata?: Maybe; -}; - -export type _ElementOrderByInput = { - _metadata?: InputMaybe; - _minimumScore?: InputMaybe; - _modified?: InputMaybe; - _ranking?: InputMaybe; - _semanticWeight?: InputMaybe; -}; - -export type _ElementOutput = { - __typename?: '_ElementOutput'; - autocomplete?: Maybe<_ElementAutocomplete>; - cursor?: Maybe; - facets?: Maybe<_ElementFacet>; - items?: Maybe>>; - total?: Maybe; -}; - - -export type _ElementOutputTotalArgs = { - all?: InputMaybe; -}; - -export type _ElementWhereInput = { - _and?: InputMaybe>>; - _fulltext?: InputMaybe; - _metadata?: InputMaybe; - _modified?: InputMaybe; - _not?: InputMaybe>>; - _or?: InputMaybe>>; -}; - export type _Experience = IData & _IContent & _IExperience & _IPage & { __typename?: '_Experience'; /** @deprecated Use `_link` field instead */ @@ -2209,6 +2211,7 @@ export type _ExperienceOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; composition?: InputMaybe; }; @@ -2275,6 +2278,7 @@ export type _FolderOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2345,28 +2349,6 @@ export type _IContent_LinkArgs = { type?: InputMaybe; }; -export type _IElement = { - /** @deprecated Use `_link` field instead */ - _children?: Maybe; - _deleted?: Maybe; - _fulltext?: Maybe>>; - _id?: Maybe; - _link?: Maybe; - _metadata?: Maybe; - _modified?: Maybe; - _score?: Maybe; -}; - - -export type _IElement_FulltextArgs = { - highlight?: InputMaybe; -}; - - -export type _IElement_LinkArgs = { - type?: InputMaybe; -}; - export type _IExperience = { /** @deprecated Use `_link` field instead */ _children?: Maybe; @@ -2561,6 +2543,7 @@ export type _ImageOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2625,6 +2608,7 @@ export type _MediaOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2689,6 +2673,7 @@ export type _PageOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2756,6 +2741,7 @@ export type _SectionOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; composition?: InputMaybe; }; @@ -2822,6 +2808,7 @@ export type _VideoOrderByInput = { _minimumScore?: InputMaybe; _modified?: InputMaybe; _ranking?: InputMaybe; + /** The value needs to be a positive value, but cannot exceed the maximum value of an integer. In case it is exceeded, the maximum of an integer is used. In case of a negative value, semantic search will be disabled. */ _semanticWeight?: InputMaybe; }; @@ -2853,10 +2840,10 @@ export enum System_Locales { Neutral = 'NEUTRAL' } -export type CompositionElementNodeFragment = { __typename?: 'CompositionElementNode', key?: string | null, element?: ( +export type CompositionComponentNodeFragment = { __typename?: 'CompositionComponentNode', key?: string | null, component?: { __typename?: 'BlankSection', _metadata?: { __typename?: 'ContentMetadata', types?: Array | null } | { __typename?: 'InstanceMetadata', types?: Array | null } | { __typename?: 'ItemMetadata', types?: Array | null } | { __typename?: 'MediaMetadata', types?: Array | null } | null } | ( { __typename?: 'ParagraphElement', _metadata?: { __typename?: 'ContentMetadata', types?: Array | null } | { __typename?: 'InstanceMetadata', types?: Array | null } | { __typename?: 'ItemMetadata', types?: Array | null } | { __typename?: 'MediaMetadata', types?: Array | null } | null } & { ' $fragmentRefs'?: { 'ParagraphElementFragment': ParagraphElementFragment } } - ) | { __typename?: '_Element', _metadata?: { __typename?: 'ContentMetadata', types?: Array | null } | { __typename?: 'InstanceMetadata', types?: Array | null } | { __typename?: 'ItemMetadata', types?: Array | null } | { __typename?: 'MediaMetadata', types?: Array | null } | null } | null } & { ' $fragmentName'?: 'CompositionElementNodeFragment' }; + ) | { __typename?: '_Component', _metadata?: { __typename?: 'ContentMetadata', types?: Array | null } | { __typename?: 'InstanceMetadata', types?: Array | null } | { __typename?: 'ItemMetadata', types?: Array | null } | { __typename?: 'MediaMetadata', types?: Array | null } | null } | { __typename?: '_Section', _metadata?: { __typename?: 'ContentMetadata', types?: Array | null } | { __typename?: 'InstanceMetadata', types?: Array | null } | { __typename?: 'ItemMetadata', types?: Array | null } | { __typename?: 'MediaMetadata', types?: Array | null } | null } | null } & { ' $fragmentName'?: 'CompositionComponentNodeFragment' }; export type VisualBuilderQueryVariables = Exact<{ key?: InputMaybe; @@ -2864,16 +2851,16 @@ export type VisualBuilderQueryVariables = Exact<{ }>; -export type VisualBuilderQuery = { __typename?: 'Query', _Experience?: { __typename?: '_ExperienceOutput', items?: Array<{ __typename?: 'BlankExperience', composition?: { __typename?: 'CompositionStructureNode', grids?: Array<{ __typename?: 'CompositionElementNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, rows?: Array<{ __typename?: 'CompositionElementNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, columns?: Array<{ __typename?: 'CompositionElementNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, elements?: Array<( - { __typename?: 'CompositionElementNode' } - & { ' $fragmentRefs'?: { 'CompositionElementNodeFragment': CompositionElementNodeFragment } } - ) | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode' } | null> | null } | null> | null } | null> | null } | null> | null } | null, _metadata?: { __typename?: 'ContentMetadata', key?: string | null, version?: string | null } | { __typename?: 'InstanceMetadata', key?: string | null, version?: string | null } | { __typename?: 'ItemMetadata', key?: string | null, version?: string | null } | { __typename?: 'MediaMetadata', key?: string | null, version?: string | null } | null } | { __typename?: '_Experience', composition?: { __typename?: 'CompositionStructureNode', grids?: Array<{ __typename?: 'CompositionElementNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, rows?: Array<{ __typename?: 'CompositionElementNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, columns?: Array<{ __typename?: 'CompositionElementNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, elements?: Array<( - { __typename?: 'CompositionElementNode' } - & { ' $fragmentRefs'?: { 'CompositionElementNodeFragment': CompositionElementNodeFragment } } +export type VisualBuilderQuery = { __typename?: 'Query', _Experience?: { __typename?: '_ExperienceOutput', items?: Array<{ __typename?: 'BlankExperience', composition?: { __typename?: 'CompositionStructureNode', grids?: Array<{ __typename?: 'CompositionComponentNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, rows?: Array<{ __typename?: 'CompositionComponentNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, columns?: Array<{ __typename?: 'CompositionComponentNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, elements?: Array<( + { __typename?: 'CompositionComponentNode' } + & { ' $fragmentRefs'?: { 'CompositionComponentNodeFragment': CompositionComponentNodeFragment } } + ) | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode' } | null> | null } | null> | null } | null> | null } | null> | null } | null, _metadata?: { __typename?: 'ContentMetadata', key?: string | null, version?: string | null } | { __typename?: 'InstanceMetadata', key?: string | null, version?: string | null } | { __typename?: 'ItemMetadata', key?: string | null, version?: string | null } | { __typename?: 'MediaMetadata', key?: string | null, version?: string | null } | null } | { __typename?: '_Experience', composition?: { __typename?: 'CompositionStructureNode', grids?: Array<{ __typename?: 'CompositionComponentNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, rows?: Array<{ __typename?: 'CompositionComponentNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, columns?: Array<{ __typename?: 'CompositionComponentNode' } | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode', key?: string | null, elements?: Array<( + { __typename?: 'CompositionComponentNode' } + & { ' $fragmentRefs'?: { 'CompositionComponentNodeFragment': CompositionComponentNodeFragment } } ) | { __typename?: 'CompositionNode' } | { __typename?: 'CompositionStructureNode' } | null> | null } | null> | null } | null> | null } | null> | null } | null, _metadata?: { __typename?: 'ContentMetadata', key?: string | null, version?: string | null } | { __typename?: 'InstanceMetadata', key?: string | null, version?: string | null } | { __typename?: 'ItemMetadata', key?: string | null, version?: string | null } | { __typename?: 'MediaMetadata', key?: string | null, version?: string | null } | null } | null> | null } | null }; export type ParagraphElementFragment = { __typename?: 'ParagraphElement', Text?: { __typename?: 'RichText', html?: string | null } | null } & { ' $fragmentName'?: 'ParagraphElementFragment' }; export const ParagraphElementFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"paragraphElement"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ParagraphElement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Text"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}}]} as unknown as DocumentNode; -export const CompositionElementNodeFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"compositionElementNode"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionElementNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"element"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"paragraphElement"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"paragraphElement"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ParagraphElement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Text"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}}]} as unknown as DocumentNode; -export const VisualBuilderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"VisualBuilder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"key"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_Experience"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_metadata"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"key"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"key"}}}]}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"_or"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_metadata"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"version"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}]}}]}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"composition"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"grids"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionStructureNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","alias":{"kind":"Name","value":"rows"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionStructureNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","alias":{"kind":"Name","value":"columns"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionStructureNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","alias":{"kind":"Name","value":"elements"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"compositionElementNode"}}]}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"_metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"paragraphElement"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ParagraphElement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Text"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"compositionElementNode"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionElementNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"element"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"paragraphElement"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file +export const CompositionComponentNodeFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"compositionComponentNode"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionComponentNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"component"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"paragraphElement"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"paragraphElement"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ParagraphElement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Text"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}}]} as unknown as DocumentNode; +export const VisualBuilderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"VisualBuilder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"key"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_Experience"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_metadata"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"key"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"key"}}}]}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"_or"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_metadata"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"version"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}]}}]}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"composition"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"grids"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionStructureNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","alias":{"kind":"Name","value":"rows"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionStructureNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","alias":{"kind":"Name","value":"columns"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionStructureNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","alias":{"kind":"Name","value":"elements"},"name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"compositionComponentNode"}}]}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"_metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"paragraphElement"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ParagraphElement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Text"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"compositionComponentNode"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompositionComponentNode"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"component"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"paragraphElement"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file