TypeScript API / contentia/server/decap / EmbeddedContentiaOptions
Interface: EmbeddedContentiaOptions
Properties
auth?
ts
auth?: EmbeddedAuth;Authentication mode. Defaults to { mode: 'dev' }.
basePath?
ts
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.