@inox-tools/content-utils
Version:
Utilities to work with content collections on an Astro project from an integration or library.
13 lines (9 loc) • 413 B
TypeScript
/// <reference path="../virtual.d.ts" />
import { CollectionConfig } from '@it-astro:content/injector';
/**
* Extend the given collection map with collections defined by integrations.
*
* @throws AstroError when conflicts are detected between collections.
*/
declare function injectCollections(collections: Record<string, CollectionConfig>): Record<string, CollectionConfig>;
export { injectCollections };