diff --git a/src/IGenerationOptions.ts b/src/IGenerationOptions.ts index 7e3ae8f..462f330 100644 --- a/src/IGenerationOptions.ts +++ b/src/IGenerationOptions.ts @@ -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,