Skip to content

Commit

Permalink
Indigenous EI on BDM Project Page and Articles Templates (#1092)
Browse files Browse the repository at this point in the history
* add queries and pages for indigenous ei and articles

* set projects sort order on homepage

* add missing json.slice
  • Loading branch information
will0684 authored Sep 24, 2024
1 parent 45995e1 commit ebba884
Show file tree
Hide file tree
Showing 6 changed files with 1,395 additions and 0 deletions.
342 changes: 342 additions & 0 deletions graphql/queries/indigenousEiArticlesQuery.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,342 @@
query getIndigenousEiArticles {
sclabsPageV1List(
filter: {
scContentType: {
_expressions: [
{
value: "gc:content-types/promotional-material-featured-articles"
_operator: EQUALS
}
]
}
_path: {
_expressions: [
{
value: "/content/dam/decd-endc/content-fragments/sclabs/pages/projects/ei-indigenous/updates/"
_operator: STARTS_WITH
}
]
}
}
) {
items {
_path
scId
scPageNameEn
scPageNameFr
scTitleEn
scTitleFr
scShortTitleEn
scShortTitleFr
scBreadcrumbParentPages {
... on SclabsPageV1Model {
scTitleEn
scTitleFr
scPageNameEn
scPageNameFr
}
}
scSubject
scKeywordsEn
scKeywordsFr
scContentType
scOwner
scDateModifiedOverwrite
scAudience
scRegion
scSocialMediaImageEn {
... on ImageRef {
_path
_publishUrl
width
height
}
... on DocumentRef {
_path
_publishUrl
}
}
scSocialMediaImageFr {
... on ImageRef {
_path
_publishUrl
width
height
}
... on DocumentRef {
_path
_publishUrl
}
}
scSocialMediaImageAltTextEn
scSocialMediaImageAltTextFr
scNoIndex
scNoFollow
scFragments {
... on SclabsCompContentV1Model {
_model {
... on ModelInfo {
title
}
}
scId
scLabContent {
... on SclabsContentV1Model {
scContentEn {
json
}
scContentFr {
json
}
}
}
scLabLayout
}
... on SclabsCompContentImageV1Model {
_model {
... on ModelInfo {
title
}
}
scId
scLabContent {
scId
scContentEn {
json
}
scContentFr {
json
}
}
scLabImage {
... on SclabsImageV1Model {
scId
scImageEn {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageFr {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageMobileEn {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageMobileFr {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageAltTextEn
scImageAltTextFr
scImageCaptionEn {
json
}
scImageCaptionFr {
json
}
}
}
scLabLayout
}
... on SclabsContentV1Model {
_model {
... on ModelInfo {
title
}
}
_path
scId
scContentEn {
json
}
scContentFr {
json
}
}
... on SclabsImageV1Model {
_model {
... on ModelInfo {
title
}
}
_path
scId
scImageEn {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageFr {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageMobileEn {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageMobileFr {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageAltTextEn
scImageAltTextFr
scImageCaptionEn {
json
}
scImageCaptionFr {
json
}
scLongDescHeadingEn
scLongDescHeadingFr
scLongDescEn {
json
}
scLongDescFr {
json
}
}
... on SclabsButtonV1Model {
_model {
... on ModelInfo {
title
}
}
scId
scTitleEn
scTitleFr
scDestinationURLEn
scDestinationURLFr
scButtonType
}
... on SclabsFeatureV1Model {
_model {
... on ModelInfo {
title
}
}
scId
scTitleEn
scTitleFr
scContentEn {
json
}
scContentFr {
json
}
scImageEn {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageAltTextEn
scImageFr {
... on ImageRef {
_publishUrl
width
height
}
... on DocumentRef {
_publishUrl
}
}
scImageAltTextFr
scFragments {
... on SclabsAlertV1Model {
_path
scId
scTitleEn
scTitleFr
scContentEn {
json
}
scContentFr {
json
}
scAlertType
}
}
scImageAltTextEn
scImageAltTextFr
scLabsButton {
scId
scTitleEn
scTitleFr
scDestinationURLEn
scDestinationURLFr
scButtonType
}
}
... on TooltipV1Model {
_model {
... on ModelInfo {
title
}
}
_path
scId
scTitleEn
scTitleFr
scContentEn {
json
}
scContentFr {
json
}
}
}
}
}
}
Loading

0 comments on commit ebba884

Please sign in to comment.