import { getSolidIconClasses } from '@cityssm/font-awesome-v5-iconclasses'; import { getLotOccupantTypes, getLotStatuses, getWorkOrderMilestoneTypes, getWorkOrderTypes } from '../../helpers/functions.cache.js'; export default async function handler(_request, response) { const workOrderTypes = await getWorkOrderTypes(); const workOrderMilestoneTypes = await getWorkOrderMilestoneTypes(); const lotStatuses = await getLotStatuses(); const lotOccupantTypes = await getLotOccupantTypes(); const fontAwesomeIconClasses = await getSolidIconClasses(); response.render('admin-tables', { headTitle: 'Config Table Management', workOrderTypes, workOrderMilestoneTypes, lotStatuses, lotOccupantTypes, fontAwesomeIconClasses }); }