Actualizar Metabase Debug: usar config centralizado y agregar tab de Informe Ingresos
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 46s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 46s
This commit is contained in:
12
nuxt4-app/server/api/metabase/query-config.get.ts
Normal file
12
nuxt4-app/server/api/metabase/query-config.get.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { METABASE_QUERIES } from '../../config/metabase-queries'
|
||||
|
||||
/**
|
||||
* Expose query configuration to the frontend
|
||||
* Returns the expected query names for panorama and informe
|
||||
*/
|
||||
export default defineEventHandler(() => {
|
||||
return {
|
||||
panorama: Object.values(METABASE_QUERIES.panorama),
|
||||
informe: Object.values(METABASE_QUERIES.informe)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user