UNPKG

@botonic/plugin-contentful

Version:

## What Does This Plugin Do?

15 lines (14 loc) 697 B
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; }