Added generationOption with default value
This commit is contained in:
parent
fd6fa9f3c5
commit
60651a4727
@ -1,3 +1,5 @@
|
||||
import { EOL } from "os";
|
||||
|
||||
import path = require("path");
|
||||
|
||||
// TODO: change name
|
||||
@ -10,6 +12,7 @@ export default interface IGenerationOptions {
|
||||
convertCaseFile: "pascal" | "param" | "camel" | "none";
|
||||
convertCaseEntity: "pascal" | "camel" | "none";
|
||||
convertCaseProperty: "pascal" | "camel" | "none";
|
||||
convertEol: string;
|
||||
propertyVisibility: "public" | "protected" | "private" | "none";
|
||||
lazy: boolean;
|
||||
activeRecord: boolean;
|
||||
@ -29,6 +32,7 @@ export function getDefaultGenerationOptions(): IGenerationOptions {
|
||||
convertCaseFile: "pascal",
|
||||
convertCaseEntity: "pascal",
|
||||
convertCaseProperty: "camel",
|
||||
convertEol: EOL,
|
||||
propertyVisibility: "none",
|
||||
lazy: false,
|
||||
activeRecord: false,
|
||||
|
Loading…
Reference in New Issue
Block a user