Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update graphQL queries and references #902

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions graphql/queries/benefitsNavigatorArticlesQuery.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
query getBenefitsNavigatorArticles {
scLabsPagev1List(
sclabsPageV1List(
filter: {
scContentType: {
_expressions: [
Expand Down Expand Up @@ -29,7 +29,7 @@ query getBenefitsNavigatorArticles {
scShortTitleEn
scShortTitleFr
scBreadcrumbParentPages {
... on SCLabsPagev1Model {
... on SclabsPageV1Model {
scTitleEn
scTitleFr
scPageNameEn
Expand Down Expand Up @@ -65,7 +65,7 @@ query getBenefitsNavigatorArticles {
scNoIndex
scNoFollow
scFragments {
... on SCLabsContentv1Model {
... on SclabsContentV1Model {
_path
scId
scContentEn {
Expand All @@ -75,7 +75,7 @@ query getBenefitsNavigatorArticles {
json
}
}
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on ImageRef {
Expand Down Expand Up @@ -126,15 +126,15 @@ query getBenefitsNavigatorArticles {
json
}
}
... on SCLabsButtonv1Model {
... on SclabsButtonV1Model {
scId
scTitleEn
scTitleFr
scDestinationURLEn
scDestinationURLFr
scButtonType
}
... on SCLabsFeaturev1Model {
... on SclabsFeatureV1Model {
scId
scTitleEn
scTitleFr
Expand Down Expand Up @@ -165,7 +165,7 @@ query getBenefitsNavigatorArticles {
}
}
scFragments {
... on SCLabsAlertv1Model {
... on SclabsAlertV1Model {
_path
scId
scTitleEn
Expand All @@ -190,7 +190,7 @@ query getBenefitsNavigatorArticles {
scButtonType
}
}
... on Tooltipv1Model {
... on TooltipV1Model {
_path
scId
scTitleEn
Expand All @@ -205,4 +205,4 @@ query getBenefitsNavigatorArticles {
}
}
}
}
}
38 changes: 19 additions & 19 deletions graphql/queries/benefitsNavigatorQuery.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
query getBenefitsNavigatorPage {
scLabsPagev1ByPath(
sclabsPageV1ByPath(
_path: "/content/dam/decd-endc/content-fragments/sclabs/pages/projects/benefits-navigator/overview"
) {
item {
Expand All @@ -24,7 +24,7 @@ query getBenefitsNavigatorPage {
json
}
scLabProjectUpdates {
... on SCLabsPagev1Model {
... on SclabsPageV1Model {
_path
scId
scPageNameEn
Expand All @@ -34,7 +34,7 @@ query getBenefitsNavigatorPage {
scShortTitleEn
scShortTitleFr
scBreadcrumbParentPages {
... on SCLabsPagev1Model {
... on SclabsPageV1Model {
scTitleEn
scTitleFr
scPageNameEn
Expand Down Expand Up @@ -70,7 +70,7 @@ query getBenefitsNavigatorPage {
scNoIndex
scNoFollow
scFragments {
... on SCLabsContentv1Model {
... on SclabsContentV1Model {
_path
scId
scContentEn {
Expand All @@ -80,7 +80,7 @@ query getBenefitsNavigatorPage {
json
}
}
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on ImageRef {
Expand Down Expand Up @@ -131,15 +131,15 @@ query getBenefitsNavigatorPage {
json
}
}
... on SCLabsButtonv1Model {
... on SclabsButtonV1Model {
scId
scTitleEn
scTitleFr
scDestinationURLEn
scDestinationURLFr
scButtonType
}
... on SCLabsFeaturev1Model {
... on SclabsFeatureV1Model {
scId
scTitleEn
scTitleFr
Expand Down Expand Up @@ -170,7 +170,7 @@ query getBenefitsNavigatorPage {
}
}
scFragments {
... on SCLabsAlertv1Model {
... on SclabsAlertV1Model {
_path
scId
scTitleEn
Expand All @@ -195,7 +195,7 @@ query getBenefitsNavigatorPage {
scButtonType
}
}
... on Tooltipv1Model {
... on TooltipV1Model {
_path
scId
scTitleEn
Expand All @@ -211,7 +211,7 @@ query getBenefitsNavigatorPage {
}
}
scBreadcrumbParentPages {
... on SCLabsPagev1Model {
... on SclabsPageV1Model {
scTitleEn
scTitleFr
scPageNameEn
Expand Down Expand Up @@ -247,7 +247,7 @@ query getBenefitsNavigatorPage {
scNoIndex
scNoFollow
scFragments {
... on SCLabsContentv1Model {
... on SclabsContentV1Model {
_path
scId
scContentEn {
Expand All @@ -257,7 +257,7 @@ query getBenefitsNavigatorPage {
json
}
scFragments {
... on SCLabsContentv1Model {
... on SclabsContentV1Model {
_path
scId
scContentEn {
Expand All @@ -267,7 +267,7 @@ query getBenefitsNavigatorPage {
json
}
scFragments {
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on ImageRef {
Expand Down Expand Up @@ -330,7 +330,7 @@ query getBenefitsNavigatorPage {
}
}
}
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on ImageRef {
Expand Down Expand Up @@ -381,15 +381,15 @@ query getBenefitsNavigatorPage {
json
}
}
... on SCLabsButtonv1Model {
... on SclabsButtonV1Model {
scId
scTitleEn
scTitleFr
scDestinationURLEn
scDestinationURLFr
scButtonType
}
... on SCLabsFeaturev1Model {
... on SclabsFeatureV1Model {
scId
scTitleEn
scTitleFr
Expand Down Expand Up @@ -420,7 +420,7 @@ query getBenefitsNavigatorPage {
}
}
scFragments {
... on SCLabsAlertv1Model {
... on SclabsAlertV1Model {
_path
scId
scTitleEn
Expand All @@ -445,7 +445,7 @@ query getBenefitsNavigatorPage {
scButtonType
}
}
... on Tooltipv1Model {
... on TooltipV1Model {
_path
scId
scTitleEn
Expand All @@ -460,4 +460,4 @@ query getBenefitsNavigatorPage {
}
}
}
}
}
8 changes: 4 additions & 4 deletions graphql/queries/customErrorQuery.graphql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
query getCustomErrorPage {
scLabsErrorPagev1ByPath(
sclabsErrorpageV1ByPath(
_path: "/content/dam/decd-endc/content-fragments/sclabs/pages/custom-error-page"
) {
item {
scGcImages {
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on DocumentRef {
Expand All @@ -21,7 +21,7 @@ query getCustomErrorPage {
}
}
scImageList {
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on DocumentRef {
Expand Down Expand Up @@ -49,4 +49,4 @@ query getCustomErrorPage {
}
}
}
}
}
6 changes: 3 additions & 3 deletions graphql/queries/error404Query.graphql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
query get404Page {
scLabsErrorPagev1ByPath(
sclabsErrorpageV1ByPath(
_path: "/content/dam/decd-endc/content-fragments/sclabs/pages/404-error-page"
) {
item {
scGcImages {
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on DocumentRef {
Expand All @@ -21,7 +21,7 @@ query get404Page {
}
}
scImageList {
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on DocumentRef {
Expand Down
8 changes: 4 additions & 4 deletions graphql/queries/error500Query.graphql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
query get500Page {
scLabsErrorPagev1ByPath(
sclabsErrorpageV1ByPath (
_path: "/content/dam/decd-endc/content-fragments/sclabs/pages/500-error-page"
) {
item {
scGcImages {
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on DocumentRef {
Expand All @@ -21,7 +21,7 @@ query get500Page {
}
}
scImageList {
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on DocumentRef {
Expand Down Expand Up @@ -49,4 +49,4 @@ query get500Page {
}
}
}
}
}
16 changes: 8 additions & 8 deletions graphql/queries/homePageQuery.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
query getHomePage {
scLabsPagev1ByPath(
sclabsPageV1ByPath(
_path: "/content/dam/decd-endc/content-fragments/sclabs/pages/home-page"
) {
item {
Expand All @@ -17,7 +17,7 @@ query getHomePage {
json
}
scBreadcrumbParentPages {
... on SCLabsPagev1Model {
... on SclabsPageV1Model {
scTitleEn
scTitleFr
scPageNameEn
Expand Down Expand Up @@ -57,7 +57,7 @@ query getHomePage {
scNoIndex
scNoFollow
scFragments {
... on SCLabsContentv1Model {
... on SclabsContentV1Model {
_path
scId
scContentEn {
Expand All @@ -67,7 +67,7 @@ query getHomePage {
json
}
}
... on SCLabsImagev1Model {
... on SclabsImageV1Model {
scId
scImageEn {
... on ImageRef {
Expand Down Expand Up @@ -118,15 +118,15 @@ query getHomePage {
json
}
}
... on SCLabsButtonv1Model {
... on SclabsButtonV1Model {
scId
scTitleEn
scTitleFr
scDestinationURLEn
scDestinationURLFr
scButtonType
}
... on SCLabsFeaturev1Model {
... on SclabsFeatureV1Model {
scId
scTitleEn
scTitleFr
Expand Down Expand Up @@ -167,7 +167,7 @@ query getHomePage {
scButtonType
}
}
... on SCLabsAlertv1Model {
... on SclabsAlertV1Model {
scId
scTitleEn
scTitleFr
Expand All @@ -181,4 +181,4 @@ query getHomePage {
}
}
}
}
}
Loading
Loading