schema-typegen
Advanced tools
Comparing version 2.6.3 to 2.7.0
@@ -10,3 +10,2 @@ 'use strict' | ||
bigint: [], | ||
object: ['json', 'jsonb'], | ||
Date: ['timestamp', 'timestamptz'], | ||
@@ -16,5 +15,6 @@ 'Array<string>': ['_bpchar', '_char', '_varchar', '_text', '_uuid', '_bytea', '_inet', '_time', '_timetz', '_interval', '_name'], | ||
'Array<boolean>': ['_bool'], | ||
'Array<object>': ['_json', '_jsonb'], | ||
'Array<Date>': ['_timestamp', '_timestamptz'], | ||
'Array<bigint>': [] | ||
'Array<bigint>': [], | ||
'Record<string, any> | Array<Record<string, any>>': ['json', 'jsonb'], | ||
'Array<Record<string, any> | Array<Record<string, any>>>': ['_json', '_jsonb'] | ||
} | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "schema-typegen", | ||
"version": "2.6.3", | ||
"version": "2.7.0", | ||
"description": "Generate TypeScript type definitions from database schema", | ||
"main": "schema-typegen.js", | ||
"types": "schema-typegen.d.ts", | ||
"main": "index.js", | ||
"bin": { | ||
"schema-typegen": "schema-typegen.js" | ||
"schema-typegen": "index.js" | ||
}, | ||
"scripts": { | ||
"test": "tap test/*.js --100 --before=test/helpers/setup-postgres.js", | ||
"test:types": "tsd", | ||
"lint": "standard", | ||
@@ -40,4 +40,8 @@ "lint:fix": "standard --fix" | ||
"standard": "^14.3.4", | ||
"tap": "^14.10.7" | ||
"tap": "^14.10.7", | ||
"tsd": "^0.13.1" | ||
}, | ||
"tsd": { | ||
"directory": "test/types" | ||
} | ||
} |
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
15458
4
271