UNPKG

strapi-plugin-import-export-entries

Version:

Import/Export data from and to your database in just few clicks.

19 lines (18 loc) 404 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const pluginId = require('./pluginId'); /** * ServiceName. * @typedef {("export"|"import")} ServiceName */ /** * Get a plugin service. * @param {ServiceName} serviceName * @returns */ const getService = (serviceName) => { return strapi.plugin(pluginId).service(serviceName); }; module.exports = { getService, };