UNPKG

mongoose-management

Version:
16 lines (15 loc) 825 B
import Prompts from '../../prompts'; import GroupDataset from '../dataset/group'; import GroupsDataset from '../dataset/groups'; export declare type answersType = { name: string; path: string; }; export declare const call: (prompts: Prompts, groups: GroupsDataset) => Promise<answersType>; export declare const getQuestions: (groups: GroupsDataset) => readonly any[]; export declare const evaluation: (answers: answersType, groups: GroupsDataset) => (group?: GroupDataset | undefined) => GroupDataset; export declare const validateName: (nameValues: string[], pathProject: string) => (value: string, { path }: { path: string; }) => string | true; export declare const pathRelative: (name: string, pathDocuments: string, pathProject: string) => string; export declare const excludePath: (path: string) => boolean;