@botonic/plugin-contentful
Version:
Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet
15 lines (14 loc) • 697 B
TypeScript
import * as cms from '../../cms';
import { Context, PagingOptions } from '../../cms';
import { SearchCandidate } from '../../search';
import { DeliveryApi } from '../delivery-api';
export declare class KeywordsDelivery {
private readonly delivery;
constructor(delivery: DeliveryApi);
contentsWithKeywords(context: Context, paging: PagingOptions, modelsWithKeywords?: cms.TopContentType[], modelsWithSearchableByKeywords?: cms.NonMessageTopContentType[]): Promise<SearchCandidate[]>;
private static candidateFromEntry;
private entriesWithSearchableByKeywords;
private static candidatesFromQueue;
private entriesWithKeywords;
private static flatMapEntryCollection;
}