UNPKG

683 BTypeScriptView Raw
1/**
2 * Creates a new generic interface definition in the given or default project.
3 */
4export interface Schema {
5 /**
6 * When true, applies lint fixes after generating the interface.
7 */
8 lintFix?: boolean;
9 /**
10 * The name of the interface.
11 */
12 name: string;
13 /**
14 * The path at which to create the interface, relative to the workspace root.
15 */
16 path?: string;
17 /**
18 * A prefix to apply to generated selectors.
19 */
20 prefix?: string;
21 /**
22 * The name of the project.
23 */
24 project?: string;
25 /**
26 * Adds a developer-defined type to the filename, in the format "name.type.ts".
27 */
28 type?: string;
29}