A Directus extension bundle (v1.11.0) that adds a button interface and an API endpoint for issuing downloadable reports (XLSX, CSV, JSON) from PostgreSQL functions. It is designed for teams that already have report logic in SQL and want to avoid custom API code. The extension automatically generates report endpoints based on Directus collection names, passes form fields as PostgreSQL function arguments, and supports header translation with accent replacement. Being a Directus bundle, it must be placed in the `extensions` directory and cannot be installed via npm for use in other projects.
npm install directus-extension-bundle-postgres-function-reportNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installation and basic usage of the Directus extension bundle for PostgreSQL function reports.
Place the bundle folder in <directus-root>/extensions/directus-extension-bundle-postgres-function-report.
Avoid naming any collection field with a `meta_` prefix; use `meta_type`, `meta_collection`, etc. only for endpoint control.
Explicitly set `Report Function Name` on the button interface settings.
Disable 'Auto translation' or provide explicit translations in Directus field settings.
Directus extension bundles are not importable via npm. Place the bundle folder in the extensions directory.
Verify the bundle folder is in extensions/ and restart Directus. Check Directus docs for enabling extensions.
Ensure the function exists in the public schema and the name matches exactly.