Skip to content

TypeScript API / @contentia/decap / createContentiaBackend

Function: createContentiaBackend() ​

ts
function createContentiaBackend(options?): new (config, opts?) => BackendImplementation;

Creates a Contentia backend implementation with dependency injection for storage and documents repositories.

Parameters ​

ParameterTypeDescription
options?CreateContentiaBackendOptionsConfiguration options including repository factories

Returns ​

A class that implements the Decap CMS Implementation interface

new (config, opts?) => BackendImplementation