@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1 lines • 544 B
Source Map (JSON)
{"version":3,"file":"create-route.mjs","names":[],"sources":["../../../src/libs/http/create-route.ts"],"sourcesContent":["import type { RouteSchema } from \"../../types/schema.js\";\nimport type {\n\tLucidRouteDefinition,\n\tLucidRouteDefinitionInput,\n} from \"./types.js\";\n\nconst createRoute = <\n\tTSchema extends RouteSchema | undefined = RouteSchema | undefined,\n>(\n\tdefinition: LucidRouteDefinitionInput<TSchema>,\n): LucidRouteDefinition<TSchema> => definition;\n\nexport default createRoute;\n"],"mappings":"AAMA,MAAM,EAGL,GACmC"}