Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
728 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * Creates a new, generic interface definition in the given or default project.
|
---|
| 3 | */
|
---|
| 4 | export interface Schema {
|
---|
| 5 | /**
|
---|
| 6 | * Apply lint fixes after generating the interface.
|
---|
| 7 | * @deprecated Use "ng lint --fix" directly instead.
|
---|
| 8 | */
|
---|
| 9 | lintFix?: boolean;
|
---|
| 10 | /**
|
---|
| 11 | * The name of the interface.
|
---|
| 12 | */
|
---|
| 13 | name: string;
|
---|
| 14 | /**
|
---|
| 15 | * The path at which to create the interface, relative to the workspace root.
|
---|
| 16 | */
|
---|
| 17 | path?: string;
|
---|
| 18 | /**
|
---|
| 19 | * A prefix to apply to generated selectors.
|
---|
| 20 | */
|
---|
| 21 | prefix?: string;
|
---|
| 22 | /**
|
---|
| 23 | * The name of the project.
|
---|
| 24 | */
|
---|
| 25 | project?: string;
|
---|
| 26 | /**
|
---|
| 27 | * Adds a developer-defined type to the filename, in the format "name.type.ts".
|
---|
| 28 | */
|
---|
| 29 | type?: string;
|
---|
| 30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.