@vendure/cli
Version:
A modern, headless ecommerce framework
23 lines (22 loc) • 829 B
TypeScript
import { CliCommand, CliCommandReturnVal } from '../../../shared/cli-command';
import { EntityRef } from '../../../shared/entity-ref';
import { ServiceRef } from '../../../shared/service-ref';
import { VendurePluginRef } from '../../../shared/vendure-plugin-ref';
interface AddServiceOptions {
plugin?: VendurePluginRef;
type: 'basic' | 'entity';
serviceName: string;
entityRef?: EntityRef;
config?: string;
isNonInteractive?: boolean;
pluginName?: string;
serviceType?: string;
selectedEntityName?: string;
}
export declare const addServiceCommand: CliCommand<Record<string, any>, CliCommandReturnVal<{
serviceRef: ServiceRef;
}>>;
export declare function addService(providedOptions?: Partial<AddServiceOptions>): Promise<CliCommandReturnVal<{
serviceRef: ServiceRef;
}>>;
export {};