@inspirer-dev/hero-widget-selector
Version:
A custom field plugin for Strapi v5 that provides a widget selector with size filtering capabilities. Perfect for selecting hero widgets from a filtered collection based on size (S, M, L, XL).
11 lines (10 loc) • 318 B
TypeScript
import type { Core } from '@strapi/strapi';
declare const controller: ({ strapi }: {
strapi: Core.Strapi;
}) => {
index(ctx: any): void;
getFilteredWidgets(ctx: any): Promise<void>;
getHeroLayouts(ctx: any): Promise<void>;
getPopulatedLayout(ctx: any): Promise<void>;
};
export default controller;