@vendure/cli
Version:
A modern, headless ecommerce framework
22 lines (21 loc) • 1.07 kB
TypeScript
import { Project } from 'ts-morph';
import { EntityRef } from './entity-ref';
import { ServiceRef } from './service-ref';
import { VendurePluginRef } from './vendure-plugin-ref';
export declare function analyzeProject(options: {
providedVendurePlugin?: VendurePluginRef;
cancelledMessage?: string;
config?: string;
}): Promise<{
project: Project;
tsConfigPath: string | undefined;
vendureTsConfig: string | undefined;
rootTsConfig: string | undefined;
isMonorepo: boolean | undefined;
config: string | undefined;
}>;
export declare function selectPlugin(project: Project, cancelledMessage: string): Promise<VendurePluginRef>;
export declare function selectEntity(plugin: VendurePluginRef): Promise<EntityRef>;
export declare function selectMultiplePluginClasses(project: Project, cancelledMessage: string): Promise<VendurePluginRef[]>;
export declare function selectServiceRef(project: Project, plugin: VendurePluginRef, canCreateNew?: boolean): Promise<ServiceRef>;
export declare function getServices(project: Project): ServiceRef[];