Socket
Socket
Sign inDemoInstall

breeze-entity-generator

Package Overview
Dependencies
9
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

2

enum.template.txt
{{#enumTypes}}export enum {{shortName}} {
{{#each values}} {{this}} = {{lookup ../ordinals @index}},
{{#each values}} {{this}} = {{#with (lookup ../ordinals @index)}}{{#if length}}"{{this}}"{{else}}{{this}}{{/if}}{{/with}},
{{/each}}

@@ -4,0 +4,0 @@ }

{
"name": "breeze-entity-generator",
"version": "1.4.0",
"version": "1.4.1",
"description": "Generate TypeScript modules for entities from Breeze metadata",

@@ -5,0 +5,0 @@ "repository": {

@@ -129,2 +129,3 @@ # Breeze Entity Generator

1.3.4 - Fix class name of RegistrationHelper; Fix include path to base complex type
1.4.0 - Add property comments indicating type, maxlength, key, and fk
1.4.0 - Add property comments indicating type, maxlength, key, and fk
1.4.1 - Add handling for string or number enums, based on how they are defined in metadata.enumTypes

@@ -158,3 +158,3 @@ var fs = require('fs');

if (config.useEnumTypes) {
if (config.useEnumTypes && metadataStore.enumTypes) {
metadataStore.enumModules = metadataStore.enumTypes.map(function (enumType) {

@@ -161,0 +161,0 @@ return { entityType: enumType, path: enumType.shortName, moduleName: fileNameCase("Enums", config) };

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc