UNPKG

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.

20 lines (19 loc) 480 B
import * as yup from 'yup'; declare const pluginConfigSchema: yup.ObjectSchema<{ contentTypes: { uid?: string; transliterate?: boolean; fuzzysortOptions?: { keys?: { name?: string; weight?: number; }[]; threshold?: number; limit?: number; }; modelName?: string; }[]; }, yup.AnyObject, { contentTypes: ""; }, "">; export default pluginConfigSchema;