From 7fe5502dc173cfee7c3b3178fb233264ad7c6dc3 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 5 Feb 2026 11:53:17 +0000 Subject: Add checkbox-list custom field plugin to Strapi - Introduced a new custom field type 'checkbox-list' with associated input component. - Updated package.json to reflect the new plugin name. - Added necessary server-side files for plugin registration, including bootstrap, destroy, and service methods. - Updated package-lock.json to include new dependencies and versions. - Enhanced admin interface with custom field registration and input handling. --- server/src/routes/content-api/index.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 server/src/routes/content-api/index.js (limited to 'server/src/routes/content-api') diff --git a/server/src/routes/content-api/index.js b/server/src/routes/content-api/index.js new file mode 100644 index 0000000..5b4fd7c --- /dev/null +++ b/server/src/routes/content-api/index.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = () => ({ + type: 'content-api', + routes: [ + { + method: 'GET', + path: '/', + // name of the controller file & the method. + handler: 'controller.index', + config: { + policies: [], + }, + }, + ], +}); -- cgit v1.2.3