generate schema
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import gql from "graphql-tag";
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
export const homePageDocument = gql`
|
||||
query HomePage {
|
||||
query HomePageQuery {
|
||||
homePage {
|
||||
sections {
|
||||
... on ComponentSectionsHomeHero {
|
||||
id
|
||||
title
|
||||
description
|
||||
badge
|
||||
@@ -15,8 +16,66 @@ export const homePageDocument = gql`
|
||||
}
|
||||
}
|
||||
... on ComponentSectionsServices {
|
||||
id
|
||||
title
|
||||
description
|
||||
cards {
|
||||
id
|
||||
title
|
||||
description
|
||||
icon {
|
||||
value
|
||||
}
|
||||
color {
|
||||
value
|
||||
}
|
||||
category {
|
||||
slug
|
||||
}
|
||||
}
|
||||
}
|
||||
... on ComponentSectionsSolutions {
|
||||
id
|
||||
title
|
||||
description
|
||||
cards {
|
||||
id
|
||||
title
|
||||
description
|
||||
icon {
|
||||
value
|
||||
}
|
||||
category {
|
||||
slug
|
||||
}
|
||||
}
|
||||
}
|
||||
... on ComponentSectionsCases {
|
||||
id
|
||||
title
|
||||
description
|
||||
cards {
|
||||
id
|
||||
title
|
||||
description
|
||||
pretitle
|
||||
badge
|
||||
color {
|
||||
value
|
||||
}
|
||||
icon {
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
... on ComponentSectionsAbout {
|
||||
id
|
||||
title
|
||||
description
|
||||
partners(pagination: { pageSize: 100 }) {
|
||||
id
|
||||
value
|
||||
}
|
||||
cards {
|
||||
id
|
||||
title
|
||||
@@ -27,12 +86,9 @@ export const homePageDocument = gql`
|
||||
icon {
|
||||
value
|
||||
}
|
||||
category {
|
||||
slug
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user