@schematics/angular
Version:
Schematics specific to Angular
23 lines (22 loc) • 575 B
TypeScript
/**
* Generates a new, generic enum definition in the given project.
*/
export interface Schema {
/**
* The name of the enum.
*/
name: string;
/**
* The path at which to create the enum definition, relative to the current workspace.
*/
path?: string;
/**
* The name of the project in which to create the enum. Default is the configured default
* project for the workspace.
*/
project: string;
/**
* Adds a developer-defined type to the filename, in the format "name.type.ts".
*/
type?: string;
}