diff options
| author | Valentin Popov <valentin@popov.link> | 2026-02-05 14:53:17 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-02-05 14:53:17 +0300 |
| commit | 7fe5502dc173cfee7c3b3178fb233264ad7c6dc3 (patch) | |
| tree | e8d82ba993ae0a044c3ce322114851aa9683b51c /server/src/routes/content-api | |
| parent | efa89313fa4152252b477aafd88f7cf4a66747d8 (diff) | |
| download | strapi-plugin-checkbox-list-7fe5502dc173cfee7c3b3178fb233264ad7c6dc3.tar.xz strapi-plugin-checkbox-list-7fe5502dc173cfee7c3b3178fb233264ad7c6dc3.zip | |
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.
Diffstat (limited to 'server/src/routes/content-api')
| -rw-r--r-- | server/src/routes/content-api/index.js | 16 |
1 files changed, 16 insertions, 0 deletions
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: [], + }, + }, + ], +}); |
