Skip to content

TypeScript API / @laikacms/server/embedded / EmbeddedLaikaOptions

Interface: EmbeddedLaikaOptions ​

Properties ​

auth? ​

ts
optional auth?: EmbeddedAuth;

Authentication mode. Defaults to { mode: 'dev' }.


basePath? ​

ts
optional basePath?: string;

URL prefix for all Decap JSON:API endpoints. Defaults to '/api/decap'.


contentDir ​

ts
contentDir: string;

Absolute path to the content directory (roots FileSystemStorageRepository).


decapConfig ​

ts
decapConfig: Record<string, unknown>;

Decap CMS config object — written to config.yml in contentDir on first request if not already present, and served to the admin UI.

Released under the MIT License.