@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1 lines • 891 B
Source Map (JSON)
{"version":3,"file":"config.mjs","names":[],"sources":["../../../src/libs/toolkit/config.ts"],"sourcesContent":["import type { EnvironmentVariables } from \"../../libs/runtime/types.js\";\nimport type { Config } from \"../../types/config.js\";\nimport createServiceContext from \"../../utils/services/create-service-context.js\";\nimport type { ServiceContext } from \"../../utils/services/types.js\";\nimport type { TranslationStore } from \"../i18n/types.js\";\nimport type { CreateToolkitServiceContextOptions } from \"./types.js\";\n\n/**\n * Builds a toolkit-ready service context from resolved Lucid runtime values.\n */\nexport const createToolkitServiceContext = (\n\toptions: CreateToolkitServiceContextOptions,\n): ServiceContext => createServiceContext(options);\n\nexport type { Config, EnvironmentVariables, TranslationStore };\n"],"mappings":"+DAUA,MAAa,EACZ,GACoB,EAAqB,CAAO"}