Socket
Socket
Sign inDemoInstall

breeze-entity-generator

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

breeze-entity-generator - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

enum.template.txt
{{#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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc