UNPKG

@lucidcms/core

Version:

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

1 lines 652 B
{"version":3,"file":"i18n.routes.mjs","names":["getAdminTranslations"],"sources":["../../../../../../src/libs/http/routes/api/v1/i18n.routes.ts"],"sourcesContent":["import { Hono } from \"hono\";\nimport type { LucidHonoGeneric } from \"../../../../../types/hono.js\";\nimport getAdminTranslations from \"../../../controllers/i18n/get-admin-translations.js\";\n\nconst i18nRoutes = new Hono<LucidHonoGeneric>()\n\t.get(\"/admin\", ...getAdminTranslations)\n\t.get(\"/admin/:locale\", ...getAdminTranslations);\n\nexport default i18nRoutes;\n"],"mappings":"gGAIA,MAAM,EAAa,IAAI,EAAuB,CAAC,CAC7C,IAAI,SAAU,GAAGA,CAAoB,CAAC,CACtC,IAAI,iBAAkB,GAAGA,CAAoB"}