strapi-plugin-fuzzy-search-young
Version:
Register a weighted fuzzy search endpoint for Strapi Headless CMS you can add your content types to in no time.
8 lines (7 loc) • 438 B
TypeScript
import { PopulationSchema, SearchQuery } from '../config/querySchema';
import { ContentType } from '../interfaces/interfaces';
export declare const validateQueryParams: (query: SearchQuery, contentTypes: ContentType[], pagination: Record<string, {
pageSize?: string;
page?: string;
withCount?: string;
}> | null, populate: Record<string, PopulationSchema> | undefined, filteredContentTypes: string[] | null) => Promise<void>;