Skip to content

TypeScript API / laikacms/catalog-decap / DecapCatalogProviderOptions

Interface: DecapCatalogProviderOptions ​

Properties ​

configKey ​

ts
configKey: string;

Logical key (with or without extension) of the Decap config file inside the storage repository. The storage's serializer registry must include a deserializer for the file's actual extension (typically yaml / yml / json).

Example: 'config' resolves to config.yaml, config.yml, or config.json depending on which file the storage probe finds first.


storage ​

ts
storage: StorageRepository;

Released under the MIT License.