UNPKG

@strapi/generators

Version:

Interactive API generator.

16 lines (14 loc) 369 B
var getFilePath = ((destination)=>{ if (destination === 'api') { return `api/{{ api }}`; } if (destination === 'plugin') { return `plugins/{{ plugin }}/server/src`; } if (destination === 'root') { return '.'; } return `api/{{ id }}`; }); export { getFilePath as default }; //# sourceMappingURL=get-file-path.mjs.map