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
| Parameter | Type | Description |
|---|---|---|
options? | CreateContentiaBackendOptions | Configuration options including repository factories |
Returns
A class that implements the Decap CMS Implementation interface
new (config, opts?) => BackendImplementation