This repository has been archived by the owner on Sep 30, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(model): remove redundant code, adjust code style
- Loading branch information
1 parent
bc160eb
commit 9bb6144
Showing
3 changed files
with
3 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,10 @@ | ||
export interface Schema { | ||
/** | ||
* The name of the service. | ||
*/ | ||
name: string; | ||
/** | ||
* The path to create the service. | ||
*/ | ||
path?: string; | ||
/** | ||
* The name of the project. | ||
*/ | ||
project?: string; | ||
/** | ||
* Allows specification of the declaring module. | ||
*/ | ||
module?: string; | ||
/** | ||
* Flag to indicate if a dir is created. | ||
*/ | ||
flat?: boolean; | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
/** | ||
* Specifies whether to apply lint fixes after generating the component. | ||
*/ | ||
lintFix?: boolean; | ||
/** | ||
* Flag to indicate if model is a collection of items. | ||
*/ | ||
items?: boolean; | ||
} |