Skip to content

Commit

Permalink
VA-14940: Add VBA Facility to larger build processes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxx1128 committed Oct 31, 2023
1 parent 076a082 commit e636165
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/site/constants/content-modeling.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const ENTITY_BUNDLES = {
SUPPORT_SERVICE: 'support_service',
VA_FORM: 'va_form',
VAMC_OPERATING_STATUS_AND_ALERTS: 'vamc_operating_status_and_alerts',
VBA_FACILITY: 'vba_facility',
};

module.exports = {
Expand Down
3 changes: 3 additions & 0 deletions src/site/stages/build/drupal/graphql/GetAllPages.graphql.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const landingPage = require('./landingPage.graphql');
const page = require('./page.graphql');
const healthCareRegionPage = require('./healthCareRegionPage.graphql');
const vbaFacility = require('./vbaFacility.graphql');

const alertsQuery = require('./alerts.graphql');
const allSideNavMachineNamesQuery = require('./navigation-fragments/allSideNavMachineNames.nav.graphql');
Expand Down Expand Up @@ -66,6 +67,7 @@ const buildQuery = () => {
${landingPage.fragment}
${page.fragment}
${healthCareRegionPage.fragment}
${vbaFacility.fragment}
${healthCareLocalFacilityPage.fragment}
${healthCareRegionDetailPage.fragment}
${pressReleasePage.fragment}
Expand Down Expand Up @@ -131,6 +133,7 @@ const buildQuery = () => {
... nodeBasicLandingPage
... nodeCampaignLandingPage
... policiesPageFragment
... vbaFacilityFragment
}
}`;

Expand Down
1 change: 1 addition & 0 deletions src/site/stages/build/drupal/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ function compilePage(page, contentData) {
break;
case 'health_care_region_page':
case 'press_release':
case 'vba_facility':
pageCompiled = Object.assign(
page,
facilitySidebarNavItems,
Expand Down

0 comments on commit e636165

Please sign in to comment.