UNPKG

575 BTypeScriptView Raw
1/**
2 * Generates a new, generic enum definition in the given project.
3 */
4export interface Schema {
5 /**
6 * The name of the enum.
7 */
8 name: string;
9 /**
10 * The path at which to create the enum definition, relative to the current workspace.
11 */
12 path?: string;
13 /**
14 * The name of the project in which to create the enum. Default is the configured default
15 * project for the workspace.
16 */
17 project: string;
18 /**
19 * Adds a developer-defined type to the filename, in the format "name.type.ts".
20 */
21 type?: string;
22}