UNPKG

keystone-seeder

Version:
13 lines (12 loc) 433 B
/** * Get a list of all available models that can be seeded */ export declare function getAvailableModels(context: any): Promise<string[]>; /** * Get the Prisma model configuration for a specific model */ export declare function getModelConfig(modelName: string): Promise<any>; /** * Get field metadata for a specific model from Keystone */ export declare function getFieldsMeta(context: any, modelName: string): Promise<any>;