breeze-entity-generator
Advanced tools
Comparing version 1.3.0 to 1.3.1
{{#enumTypes}}export enum {{shortName}} { | ||
{{#each values}} {{this}} = "{{this}}", | ||
{{#each values}} {{this}} = {{lookup ../ordinals @index}}, | ||
{{/each}} | ||
@@ -4,0 +4,0 @@ } |
{ | ||
"name": "breeze-entity-generator", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Generate TypeScript modules for entities from Breeze metadata", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -53,3 +53,3 @@ # Breeze Entity Generator | ||
`useEnumTypes`: Optionally generate an Enums.ts file containing enums defined in the metadata. Only effective if input file contains an "enumTypes" section. | ||
`useEnumTypes`: Optionally generate an Enums.ts file containing enums defined in the metadata. Only effective if input metadata contains an "enumTypes" section. | ||
@@ -116,1 +116,3 @@ ## Description | ||
1.2.1 - Fix enum type references | ||
1.3.0 - Use TypeScript enum types instead of string unions for enums. | ||
1.3.1 - Use ordinal values instead of strings for enum definitions, e.g. `Green = 2`. Template change only. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38832
116