Appearance
apps/api/src/features/config/config.controller.ts ​
Auto-generated by
scripts/generate-file-docs.ts. Do not edit — overwritten on every run.
Purpose ​
Config feature controller. GET /api/v1/config/features — returns the platform feature registry filtered to features the requesting user can access, based on their DB role. The feature registry (FEATURE_REGISTRY in @hch/shared-config) is the authoritative build-time manifest: enabled=true means the feature is built and onboarded across web/iOS/Android (ADR 0030, AB#3692). The server adds RBAC filtering so requiredRole constraints are enforced server-side. AB#3906 /
Exports ​
export async function getFeatures
Imports ​
../../lib/response@hch/shared-configfastify