Skip to content

Commit

Permalink
CMS-611: Add parkOperationDates graphql type
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumi-oxd committed Jan 9, 2025
1 parent 5a748f1 commit ac00e57
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/gatsby/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,12 @@ exports.createSchemaCustomization = ({ actions }) => {
customReservationLinks: [STRAPI__COMPONENT_PARKS_RTE_LIST] @link(by: "id", from: "customReservationLinks___NODE")
}
type STRAPI_PARK_OPERATION_DATE implements Node {
operatingYear: Int
gateOpenDate: Date
gateCloseDate: Date
}
type STRAPI_PARK_OPERATION_SUB_AREA implements Node {
nonReservableSites: String
vehicleSitesReservable: String
Expand Down Expand Up @@ -323,6 +329,7 @@ exports.createSchemaCustomization = ({ actions }) => {
type STRAPI_SITE implements Node {
safetyInfo: STRAPI_SITE_SAFETYINFO
parkOperation: STRAPI_PARK_OPERATION @link(by: "id", from: "parkOperation___NODE")
parkOperationDates: [STRAPI_PARK_OPERATION_DATE] @link(by: "id", from: "parkOperationDates___NODE")
parkActivities: [STRAPI_PARK_ACTIVITY] @link(by: "id", from: "parkActivities___NODE")
parkFacilities: [STRAPI_PARK_FACILITY] @link(by: "id", from: "parkFacilities___NODE")
parkCampingTypes: [STRAPI_PARK_CAMPING_TYPE] @link(by: "id", from: "parkCampingTypes___NODE")
Expand Down

0 comments on commit ac00e57

Please sign in to comment.