sqljson-query
Advanced tools
Comparing version 1.7.24 to 1.7.25
@@ -91,8 +91,12 @@ "use strict"; | ||
case 'decimal': | ||
case 'bigint': | ||
case 'int': | ||
case 'integer': | ||
case 'int4': | ||
case 'bigint': | ||
case 'smallint': | ||
case 'int8': | ||
case 'int4': | ||
case 'int2': | ||
case 'serial': | ||
case 'smallserial': | ||
case 'bigserial': | ||
return generalNumericTableFieldPropertyType(tfp); | ||
@@ -102,2 +106,3 @@ case 'float': | ||
case 'double': | ||
case 'double precision': | ||
return floatingNumericTableFieldPropertyType(tfp); | ||
@@ -104,0 +109,0 @@ case 'varchar': |
@@ -73,8 +73,12 @@ "use strict"; | ||
case 'decimal': | ||
case 'bigint': | ||
case 'int': | ||
case 'integer': | ||
case 'int4': | ||
case 'bigint': | ||
case 'smallint': | ||
case 'int8': | ||
case 'int4': | ||
case 'int2': | ||
case 'serial': | ||
case 'smallserial': | ||
case 'bigserial': | ||
return withNullability(tfp.nullable, 'number'); | ||
@@ -84,2 +88,3 @@ case 'float': | ||
case 'double': | ||
case 'double precision': | ||
return floatingNumericTableFieldPropertyType(tfp); | ||
@@ -86,0 +91,0 @@ case 'varchar': |
{ | ||
"name": "sqljson-query", | ||
"version": "1.7.24", | ||
"version": "1.7.25", | ||
"description": "Command line tool to generate SQL/JSON queries and Typescript types for query results.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -159,8 +159,12 @@ import { upperCamelCase, indentLines, Nullable } from '../../util/mod'; | ||
case 'decimal': | ||
case 'bigint': | ||
case 'int': | ||
case 'integer': | ||
case 'int4': | ||
case 'bigint': | ||
case 'smallint': | ||
case 'int8': | ||
case 'int4': | ||
case 'int2': | ||
case 'serial': | ||
case 'smallserial': | ||
case 'bigserial': | ||
return generalNumericTableFieldPropertyType(tfp); | ||
@@ -170,2 +174,3 @@ case 'float': | ||
case 'double': | ||
case 'double precision': | ||
return floatingNumericTableFieldPropertyType(tfp); | ||
@@ -172,0 +177,0 @@ case 'varchar': |
@@ -137,8 +137,12 @@ import { upperCamelCase, Nullable } from '../../util/mod'; | ||
case 'decimal': | ||
case 'bigint': | ||
case 'int': | ||
case 'integer': | ||
case 'int4': | ||
case 'bigint': | ||
case 'smallint': | ||
case 'int8': | ||
case 'int4': | ||
case 'int2': | ||
case 'serial': | ||
case 'smallserial': | ||
case 'bigserial': | ||
return withNullability(tfp.nullable, 'number'); | ||
@@ -148,2 +152,3 @@ case 'float': | ||
case 'double': | ||
case 'double precision': | ||
return floatingNumericTableFieldPropertyType(tfp); | ||
@@ -150,0 +155,0 @@ case 'varchar': |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
513161
8975