UNPKG

@yunusemrejs/drag-drop-content-types-strapi5

Version:

A powerful Strapi plugin that enables intuitive drag-and-drop sorting of content types with real-time updates, optimized performance, and a seamless user experience.

30 lines (29 loc) 812 B
/** * @typedef {object} RouteConfig * @property {string} method - The HTTP method for the route. * @property {string} path - The path for the route. * @property {string} handler - The handler function for the route. * @property {object} config - The configuration for the route. * @property {string[]} config.policies - The policies for the route. */ /** * @typedef {object} SettingsRoute * @property {string} type - The type of route. * @property {RouteConfig[]} routes - The array of route configurations. */ /** * Settings route configuration. * @type {SettingsRoute} */ declare const _default: { type: string; routes: { method: string; path: string; handler: string; config: { policies: any[]; }; }[]; }; export default _default;