Skip to content

Commit

Permalink
change ZI020_GE4 type to textEnumeration (#5743)
Browse files Browse the repository at this point in the history
* change ZI020_GE4 type to textEnumeration

* update node version to 16.0.0

* grab type instead of hardcoding enumeration

* update tds71_full_schema.js with correct type enumeration
  • Loading branch information
abalosc1 authored Apr 23, 2024
1 parent 6c3718f commit 2338107
Show file tree
Hide file tree
Showing 3 changed files with 933 additions and 933 deletions.
2 changes: 1 addition & 1 deletion VagrantProvisionVars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export GLPK_VERSION=4.64
export LIBOAUTHCPP_VERSION=0.1.0
export LIBPHONENUMBER_VERSION=8.12.39
export LIBPOSTAL_VERSION=1.1
export NODE_VERSION=14.16.1
export NODE_VERSION=16.0.0
export NPM_VERSION=6.14.12
export V8_VERSION=8.4.371.19
export STXXL_VERSION=1.3.1
Expand Down
2 changes: 1 addition & 1 deletion scripts/schema/ConvertTDSv71Schema_XML.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def printJavascript(schema,withDefs):
aString += 'definition:"%s",' % (schema[f]['columns'][k]['definition'])

if 'func' in schema[f]['columns'][k]:
aString += 'type:"enumeration",defValue:"%s",enumerations: %s}' % (schema[f]['columns'][k]['defValue'],schema[f]['columns'][k]['func'])
aString += 'type:"%s",defValue:"%s",enumerations: %s}' % (schema[f]['columns'][k]['type'], schema[f]['columns'][k]['defValue'],schema[f]['columns'][k]['func'])
if num_attrib > 1: # Are we at the last attribute? yes = no trailing comma
aString += ','
num_attrib -= 1
Expand Down
Loading

0 comments on commit 2338107

Please sign in to comment.