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.

34 lines (33 loc) 925 B
import type { Core } from '@strapi/strapi'; /** * @typedef {object} SettingsController * @property {(ctx: any) => Promise<void>} getSettings - Gets the settings. * @property {(ctx: any) => Promise<void>} setSettings - Sets the settings. */ /** * Settings controller. * @param {object} params - The parameters object. * @param {Core.Strapi} params.strapi - The Strapi instance. * @returns {SettingsController} */ declare const _default: ({ strapi }: { strapi: Core.Strapi; }) => { /** * Gets the settings. * @async * @param {object} ctx - The context object. * @returns {Promise<void>} * @throws {Error} */ getSettings(ctx: any): Promise<void>; /** * Sets the settings. * @async * @param {object} ctx - The context object. * @returns {Promise<void>} * @throws {Error} */ setSettings(ctx: any): Promise<void>; }; export default _default;