Created
January 27, 2022 05:00
-
-
Save ndreckshage/2f4a8ad7f60264951c63b3ab7af7ceb6 to your computer and use it in GitHub Desktop.
homepage query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fragment MarkdownComponentFragment on MarkdownComponent { | |
id | |
text | |
backgroundColor | |
} | |
fragment LayoutComponentFragment on LayoutComponent { | |
id | |
layoutCreatedBy: createdBy | |
flexDirection | |
title | |
} | |
fragment CarouselComponentFragment on CarouselComponent { | |
id | |
title | |
link { | |
href | |
title | |
variant | |
} | |
pageSize | |
cards { | |
id | |
href | |
image | |
} | |
createdBy | |
} | |
fragment ListComponentFragment on ListComponent { | |
id | |
title | |
# other fields | |
} | |
fragment ComponentFragment on Component { | |
__typename | |
...LayoutComponentFragment | |
...CarouselComponentFragment | |
...ListComponentFragment | |
...MarkdownComponentFragment | |
} | |
query GetLayout { | |
layout( | |
id: "319284825818136644" | |
contextType: NONE | |
contextKey: "" | |
) { | |
...ComponentFragment | |
components { | |
...ComponentFragment | |
... on LayoutComponent { | |
components { | |
...ComponentFragment | |
... on LayoutComponent { | |
components { | |
...ComponentFragment | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment