@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1 lines • 789 B
Source Map (JSON)
{"version":3,"file":"documents.routes.mjs","names":["getSingle","getMultiple"],"sources":["../../../../../../../src/libs/http/routes/api/v1/client/documents.routes.ts"],"sourcesContent":["import { Hono } from \"hono\";\nimport type { LucidHonoGeneric } from \"../../../../../../types/hono.js\";\nimport getMultiple from \"../../../../controllers/documents/client/get-multiple.js\";\nimport getSingle from \"../../../../controllers/documents/client/get-single.js\";\n\nconst clientDocumentsRoutes = new Hono<LucidHonoGeneric>()\n\t.get(\"/document/:collectionKey\", ...getSingle)\n\t.get(\"/documents/:collectionKey\", ...getMultiple);\n\nexport default clientDocumentsRoutes;\n"],"mappings":"4KAKA,MAAM,EAAwB,IAAI,EAAuB,CAAC,CACxD,IAAI,2BAA4B,GAAGA,CAAS,CAAC,CAC7C,IAAI,4BAA6B,GAAGC,CAAW"}