/** GET /api/materials/warehouse-layouts/meta/capabilities?fresh=1 — is the dictionary ready (table + M_Locator columns)? */ import { withIdempiere } from '../../../../utils/withIdempiere' import { probeCapabilities } from '../../../../utils/warehouseLayout' export default withIdempiere(async (event, token) => { const fresh = String(getQuery(event).fresh || '') === '1' return { status: 200, ...(await probeCapabilities(event, token, fresh)) } })