UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

1 lines 663 B
{"version":3,"file":"locales.routes.mjs","names":["getAll","getSingle"],"sources":["../../../../../../src/libs/http/routes/api/v1/locales.routes.ts"],"sourcesContent":["import { Hono } from \"hono\";\nimport type { LucidHonoGeneric } from \"../../../../../types/hono.js\";\nimport getAll from \"../../../controllers/locales/get-all.js\";\nimport getSingle from \"../../../controllers/locales/get-single.js\";\n\nconst localeRoutes = new Hono<LucidHonoGeneric>()\n\t.get(\"/\", ...getAll)\n\t.get(\"/:code\", ...getSingle);\n\nexport default localeRoutes;\n"],"mappings":"+IAKA,MAAM,EAAe,IAAI,EAAuB,CAAC,CAC/C,IAAI,IAAK,GAAGA,CAAM,CAAC,CACnB,IAAI,SAAU,GAAGC,CAAS"}