UNPKG

@strapi/generators

Version:

Interactive API generator.

28 lines 694 B
/// <reference types="node" /> import fs from 'fs-extra'; declare const _default: (action: string, basePath: string, { rootFolder }?: { rootFolder?: boolean | undefined; }) => ({ type: string; name: string; message: string; choices: { name: string; value: string; }[]; when?: undefined; } | { when: (answers: any) => boolean; type: string; message: string; name: string; choices(): Promise<fs.Dirent<string>[]>; } | { when: (answers: any) => boolean; type: string; message: string; name: string; choices(): Promise<string[]>; })[]; export default _default; //# sourceMappingURL=get-destination-prompts.d.ts.map