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.
This commit is contained in:
33
server/src/index.js
Normal file
33
server/src/index.js
Normal file
@@ -0,0 +1,33 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
/**
|
||||
* Application methods
|
||||
*/
|
||||
const bootstrap_1 = __importDefault(require("./bootstrap"));
|
||||
const destroy_1 = __importDefault(require("./destroy"));
|
||||
const register_1 = __importDefault(require("./register"));
|
||||
/**
|
||||
* Plugin server methods
|
||||
*/
|
||||
const config_1 = __importDefault(require("./config"));
|
||||
const content_types_1 = __importDefault(require("./content-types"));
|
||||
const controllers_1 = __importDefault(require("./controllers"));
|
||||
const middlewares_1 = __importDefault(require("./middlewares"));
|
||||
const policies_1 = __importDefault(require("./policies"));
|
||||
const routes_1 = __importDefault(require("./routes"));
|
||||
const services_1 = __importDefault(require("./services"));
|
||||
exports.default = {
|
||||
register: register_1.default,
|
||||
bootstrap: bootstrap_1.default,
|
||||
destroy: destroy_1.default,
|
||||
config: config_1.default,
|
||||
controllers: controllers_1.default,
|
||||
routes: routes_1.default,
|
||||
services: services_1.default,
|
||||
contentTypes: content_types_1.default,
|
||||
policies: policies_1.default,
|
||||
middlewares: middlewares_1.default,
|
||||
};
|
||||
Reference in New Issue
Block a user