/** * Feature flags โ€” read from environment variables. * NEXT_PUBLIC_ prefix makes them available in both server and client components. * * NEXT_PUBLIC_INVENTORY_ENABLED=false โ†’ hides inventory tracking (site qty/consumption) * Vendor list, product catalogue, and cart remain available for PO creation regardless. * * NEXT_PUBLIC_CREWING_ENABLED=true โ†’ exposes the Crewing module (crew/ranks/requisitions * etc.). Opt-in (off unless explicitly "true") because the feature is built incrementally; * keeping it dark by default leaves production unchanged. See lib/permissions.ts (ยง6 matrix) * and wiki Crewing-Implementation-Spec. */ export const INVENTORY_ENABLED = process.env.NEXT_PUBLIC_INVENTORY_ENABLED !== "false"; export const CREWING_ENABLED = process.env.NEXT_PUBLIC_CREWING_ENABLED === "true";